1 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
5 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
6 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
7 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
8 * elf/rtld.c (_dl_start_final): Likewise.
9 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
10 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
12 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
13 (_dl_cpuclock_offset): Remove.
14 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
15 cpuclock_offset_ununsed.
16 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
18 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
19 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
20 * nptl/pthread_clock_gettime.c: Remove file.
21 * nptl/pthread_clock_settime.c: Likewise.
22 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
23 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
24 and CLOCK_PROCESS_CPUTIME_ID support.
25 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
26 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
27 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
28 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
29 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
31 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
33 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
35 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
36 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
37 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
39 * sysdeps/s390/memmem-arch13.S: New file.
40 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
41 if it is only used as fallback.
42 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
43 * sysdeps/s390/multiarch/ifunc-impl-list.c
44 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
46 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
48 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
49 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
50 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
52 * sysdeps/s390/multiarch/ifunc-impl-list.c
53 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
54 * sysdeps/s390/strstr-arch13.S: New file.
55 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
56 if it is only used as fallback.
57 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
59 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
61 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
62 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
63 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
64 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
66 * sysdeps/s390/multiarch/ifunc-impl-list.c
67 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
68 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
69 S390_IS_ARCH13_MIE3): New defines.
71 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
73 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
74 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
75 * sysdeps/s390/configure.ac: Add checks for arch13 support.
76 * sysdeps/s390/configure: Regenerated.
78 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
80 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
81 Add vxe2, vxp, dflt, sort flags.
82 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
83 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
85 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
86 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
87 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
88 HWCAP_S390_DFLT): Define.
90 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
93 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
95 * locale/programs/ld-collate.c (collate_output): Likewise.
97 2019-03-21 DJ Delorie <dj@redhat.com>
100 * iconv/iconvconfig.c (write_output): Replace floating point math
101 with integer math to avoid imprecise results.
102 * locale/programs/ld-collate.c (collate_output): Likewise.
104 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
106 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
107 Add HWCAP_S390_VX and HWCAP_S390_VXE.
109 2019-03-20 mansayk <6688000@gmail.com>
112 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
113 (abday): Likewise, but remove the trailing dots.
115 2019-03-19 Joseph Myers <joseph@codesourcery.com>
117 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
119 (HWCAP_PACA): Likewise.
120 (HWCAP_PACG): Likewise.
121 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
123 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
125 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
127 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
130 2019-03-15 Joseph Myers <joseph@codesourcery.com>
132 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
134 (old_getpagesize): New syscall.
136 2019-03-15 Felix Yan <felixonmars@archlinux.org>
139 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
140 * localedata/locales/cmn_TW (era): Likewise.
141 * localedata/locales/hak_TW (era): Likewise.
142 * localedata/locales/lzh_TW (era): Likewise.
143 * localedata/locales/nan_TW (era): Likewise.
145 2019-03-14 Florian Weimer <fweimer@redhat.com>
147 Remove obsolete, never-implemented XSI STREAMS declarations.
148 * manual/terminal.texi (Allocation): Remove portability note and
150 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
152 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
153 * sysdeps/unix/inet/Subdirs (streams): Remove.
154 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
155 (conformtest-headers-UNIX98): Likewise.
156 (conformtest-headers-XOPEN2K): Likewise.
157 (conformtest-headers-POSIX2008): Likewise.
158 * posix/compat-streams.c: New file.
159 * posix/Makefile (routines): Add it.
160 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
161 getpmsg, isastream, putmsg, putpmsg.
162 (GLIBC_2.30): New section.
163 * bits/stropts.h: Remove file.
164 * bits/xtitypes.h: Likewise.
165 * conform/data/stropts.h-data: Likewise.
166 * include/stropts.h: Likewise.
167 * include/sys/stropts.h: Likewise.
168 * include/xtitypes.h: Likewise.
169 * streams/Makefile: Likewise.
170 * streams/fattach.c: Likewise.
171 * streams/fdetach.c: Likewise.
172 * streams/getmsg.c: Likewise.
173 * streams/getpmsg.c: Likewise.
174 * streams/isastream.c: Likewise.
175 * streams/putmsg.c: Likewise.
176 * streams/putpmsg.c: Likewise.
177 * streams/stropts.h: Likewise.
178 * streams/sys/stropts.h: Likewise.
179 * sysdeps/ia64/bits/xtitypes.h: Likewise.
180 * sysdeps/s390/bits/xtitypes.h: Likewise.
181 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
182 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
183 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
184 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
185 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
186 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
187 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
188 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
189 * sysdeps/x86/bits/xtitypes.h: Likewise.
191 2019-03-14 Florian Weimer <fweimer@redhat.com>
193 * nss/tst-nss-files-alias-truncated.c (do_test): Load
195 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
196 but not with libnss_files.
197 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
199 2019-03-14 Zack Weinberg <zackw@panix.com>
201 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
202 Specify encoding="utf-8" when opening headers to check.
204 2019-03-13 Joseph Myers <joseph@codesourcery.com>
206 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
208 (Context.checkout_tar): Handle variable major version for Linux
211 2019-03-13 Florian Weimer <fweimer@redhat.com>
214 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
216 2019-03-13 Zack Weinberg <zackw@panix.com>
218 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
220 * include/inttypes.h: Adjust to match.
221 * include/stdint.h: New wrapper.
223 2019-03-13 Zack Weinberg <zackw@panix.com>
225 * scripts/check-obsolete-constructs.py: New test script.
226 * scripts/check-installed-headers.sh: Remove tests for
227 obsolete typedefs, superseded by check-obsolete-constructs.py.
228 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
229 as a special test. Update commentary.
230 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
231 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
233 * posix/sys/types.h (__u_intN_t): Remove.
234 (u_int8_t): Typedef using __uint8_t.
235 (u_int16_t): Typedef using __uint16_t.
236 (u_int32_t): Typedef using __uint32_t.
237 (u_int64_t): Typedef using __uint64_t.
239 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
241 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
243 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
244 Ignore types other than AT_HWCAP.
245 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
246 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
248 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
249 in the case of falling back to generic output mechanism.
250 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
253 2019-03-12 Florian Weimer <fweimer@redhat.com>
255 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
257 2019-03-12 Florian Weimer <fweimer@redhat.com>
260 resolv: Enable full ICMP errors for UDP DNS sockets
261 * resolv/res_enable_icmp.c: New file.
262 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
263 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
264 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
267 2019-03-11 Mao Han <han_mao@c-sky.com>
269 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
270 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
272 2019-03-11 Mao Han <han_mao@c-sky.com>
274 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
275 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
276 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
278 2019-03-11 Mao Han <han_mao@c-sky.com>
280 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
282 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
285 2019-03-11 Mao Han <han_mao@c-sky.com>
287 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
288 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
291 2019-03-08 Mike FABIAN <mfabian@redhat.com>
294 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
295 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
297 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
298 * localedata/unicode-gen/PropList.txt: Likewise.
299 * localedata/unicode-gen/UnicodeData.txt: Likewise.
300 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
301 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
302 * localedata/charmaps/UTF-8: Regenerate.
303 * localedata/locales/i18n_ctype: Likewise.
304 * localedata/locales/tr_TR: Likewise.
305 * localedata/locales/translit_circle: Likewise.
306 * localedata/locales/translit_cjk_compat: Likewise.
307 * localedata/locales/translit_combining: Likewise.
308 * localedata/locales/translit_compat: Likewise.
309 * localedata/locales/translit_font: Likewise.
310 * localedata/locales/translit_fraction: Likewise.
312 2019-03-07 Joseph Myers <joseph@codesourcery.com>
314 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
315 than after operators.
316 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
317 (setitimer_locked): Likewise.
318 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
319 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
320 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
321 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
322 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
323 (PPC_CPU_SUPPORTED): Likewise.
324 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
325 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
326 (stat_overflow): Likewise.
327 (statfs_overflow): Likewise.
328 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
329 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
330 (eq_ttyname_r): Likewise.
331 (run_chroot_tests): Likewise.
333 2019-03-07 Florian Weimer <fweimer@redhat.com>
335 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
338 2019-03-07 Martin Liska <mliska@suse.cz>
340 * math/Makefile: Change location where math-vector-fortran.h is
342 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
343 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
344 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
345 * scripts/check-installed-headers.sh: Skip Fortran header files.
346 * scripts/check-wrapper-headers.py: Likewise.
348 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
350 * nptl/nptl-init.c (__have_futex_clock_realtime,
351 __have_futex_clock_realtime): Remove definition.
352 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
353 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
354 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
355 __ASSUME_FUTEX_CLOCK_REALTIME support.
356 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
357 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
358 * sysdeps/unix/sysv/linux/kernel-features.h
359 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
360 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
363 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
365 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
366 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
367 __GI___wcscpy and wcscpy.
369 2019-03-04 Florian Weimer <fweimer@redhat.com>
371 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
373 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
376 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
378 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
379 * sysdeps/s390/s390-32/sysdep.h: Likewise.
381 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
384 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
385 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
387 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
389 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
392 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
393 (do_test_call_varg): Likewise.
394 (do_test_call_rarg): Likewise.
395 * sysdeps/ieee754/ldbl-opt/Makefile
396 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
398 ($(objpfx)tst-nldbl-warn.c): New rule.
399 ($(objpfx)tst-nldbl-error.c): Likewise.
400 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
403 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
406 * include/bits/error-ldbl.h: New file.
407 * include/error.h: Include stdarg.h. Declare internal functions
408 __error_internal and __error_at_line_internal.
409 * misc/Makefile (headers): Add bits/error-ldbl.h.
410 * misc/bits/error-ldbl.h: New file.
411 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
412 avoid the inclusion of bits/error.h.
413 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
414 and __nldbl_error_at_line.
415 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
416 (__nldbl_error, __ndlbl_error_at_line): New functions.
417 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
418 Redirect error and error_at_line.
419 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
428 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
429 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
430 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
432 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
435 * include/bits/err-ldbl.h: New file.
436 * include/err.h: Add prototypes for the internal functions:
437 __vwarnx_internal and __vwarn_internal.
438 * misc/Makefile (headers): Add bits/err-ldbl.h.
439 * misc/bits/err-ldbl.h: New file.
440 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
441 defined, i.e.: when -mlong-double-64 is in use.
442 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
443 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
444 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
445 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
446 (VA_CALL): New macro.
447 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
448 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
450 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
451 declare prototypes for the new functions.
452 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
461 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
462 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
463 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
465 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
467 * sysdeps/ieee754/ldbl-opt/Makefile
468 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
469 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
470 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
472 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
475 * argp/Makefile (headers): Add bits/argp-ldbl.h.
476 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
477 * argp/bits/argp-ldbl.h: New file.
478 * include/argp.h: Include stdarg.h. Add prototypes for internal
479 functions: __argp_error_internal and __argp_failure_internal.
480 * include/bits/argp-ldbl.h: New file.
481 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
482 __nldbl_argp_error and __nldbl_argp_failure.
483 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
484 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
485 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
486 Redirect argp_error and argp_failure calls.
487 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
496 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
497 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
498 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
500 2019-03-01 Florian Weimer <fweimer@redhat.com>
503 * elf/tst-big-note-lib.S: Create a syntactically valid note.
504 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
505 code, to avoid creating an ABI tag note.
506 (modules-names-nobuild): Add tst-big-note-lib.
508 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
510 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
511 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
513 2019-03-01 Florian Weimer <fweimer@redhat.com>
516 * sysdeps/unix/sysv/linux/netlink_assert_response.c
517 (__netlink_assert_response): Add additional missing newlines.
519 2019-02-28 Joseph Myers <joseph@codesourcery.com>
521 * sysdeps/powerpc/powerpc32/dl-machine.c
522 (__elf_machine_fixup_plt): Use space before '('.
523 (__process_machine_rela): Likewise.
524 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
526 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
528 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
530 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
533 (check_result): Likewise.
534 (check_excepts): Likewise.
535 (check_op): Likewise.
537 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
538 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
540 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
543 (__makecontext): Likewise.
544 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
547 2019-02-28 Florian Weimer <fweimer@redhat.com>
550 elf: Add test with a local IFUNC resolver.
551 * elf/ifuncmain9.c: New file.
552 * elf/ifuncmain9pic.c: Likewise.
553 * elf/ifuncmain9picstatic.c: Likewise.
554 * elf/ifuncmain9pie.c: Likewise.
555 * elf/ifuncmain9static.c: Likewise.
556 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
557 ifuncmain9static, ifuncmain9picstatic.
558 * elf/Makefile [multi-arch && build-shared] (tests-internal):
559 Add ifuncmain9, ifuncmain9pic.
560 * elf/Makefile [multi-arch && build-shared && have-fpie]
561 (ifunc-pie-tests): Add ifuncmain9pie.
562 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
563 (CFLAGS-ifuncmain9picstatic.c): Likewise.
564 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
566 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
568 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
569 * configure: Regenerated.
570 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
572 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
574 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
575 symbol as __wcspcy instead of wcscpy.
577 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
579 * include/stdio.h (__renameat2): New hidden prototype.
580 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
581 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
582 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
583 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
585 2019-02-27 Joseph Myers <joseph@codesourcery.com>
587 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
590 * benchtests/bench-strcpy.c (do_test): Use space before '('.
591 * benchtests/bench-string.h (cmdline_process_function): Likewise.
592 * benchtests/bench-strlen.c (do_test): Likewise.
593 (test_main): Likewise.
594 * catgets/gencat.c (read_old): Likewise.
595 * elf/cache.c (load_aux_cache): Likewise.
596 * iconvdata/bug-iconv8.c (do_test): Likewise.
597 * math/test-tgmath-ret.c (do_test): Likewise.
598 * nis/nis_call.c (rec_dirsearch): Likewise.
599 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
600 * nptl/tst-audit-threads.c (do_test): Likewise.
601 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
602 * nss/nss_test1.c (init): Likewise.
603 * nss/test-netdb.c (test_hosts): Likewise.
604 * posix/execvpe.c (maybe_script_execute): Likewise.
605 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
606 * stdio-common/tst-printf.c (do_test): Likewise.
607 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
608 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
609 * stdlib/qsort.c (STACK_SIZE): Likewise.
610 * stdlib/test-canon.c (do_test): Likewise.
611 * stdlib/tst-swapcontext1.c (do_test): Likewise.
612 * string/memcmp.c (OPSIZ): Likewise.
613 * string/test-strcpy.c (do_test): Likewise.
614 (do_random_tests): Likewise.
615 * string/test-strlen.c (do_test): Likewise.
616 (test_main): Likewise.
617 * string/test-strrchr.c (do_test): Likewise.
618 (do_random_tests): Likewise.
619 * string/tester.c (test_memrchr): Likewise.
620 (test_memchr): Likewise.
621 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
622 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
623 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
624 (read_encoded_value_with_base): Likewise.
625 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
626 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
627 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
628 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
629 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
630 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
632 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
634 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
635 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
636 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
638 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
640 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
642 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
644 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
645 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
646 (FP_XSTATE_MAGIC2_SIZE): Likewise.
647 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
648 * time/test_time.c (main): Likewise.
650 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
652 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
654 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
657 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
660 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
662 * include/wchar.h (__wcscpy): New prototype.
663 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
664 (__wcscpy): Route internal symbol to generic implementation.
665 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
666 Add internal __wcscpy alias.
667 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
668 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
669 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
670 * wcsmbs/wcscpy.c (wcscpy): Add
671 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
672 use generic implementation.
673 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
675 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
678 * sysdeps/m68k/wcpcpy.c: Remove file.
679 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
681 2019-02-26 Joseph Myers <joseph@codesourcery.com>
683 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
684 than after operators.
685 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
686 * sysdeps/mach/hurd/getcwd.c
687 (__hurd_canonicalize_directory_name_internal): Likewise.
688 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
689 (pthread_mutex_consistent): Likewise.
690 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
692 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
693 (__pthread_mutex_transfer_np): Likewise.
694 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
695 (__pthread_mutex_unlock): Likewise.
696 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
697 (mtx_owned_p): Likewise.
698 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
699 (pthread_mutexattr_getrobust): Likewise.
700 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
701 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
703 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
704 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
705 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
706 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
707 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
708 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
709 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
711 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
713 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
714 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
715 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
716 (____longjmp_chk): Likewise.
717 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
719 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
720 (INTERNAL_SYSCALL): Likewise.
721 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
722 (INTERNAL_SYSCALL): Likewise.
723 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
724 (__get_clockfreq_via_cpuinfo): Likewise.
726 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
728 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
729 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
730 (WORD_COPY_BWD): Likewise.
731 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
732 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
734 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
735 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
737 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
739 2019-02-25 Joseph Myers <joseph@codesourcery.com>
741 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
742 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
743 rather than after operators.
744 * elf/cache.c (print_cache): Likewise.
745 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
746 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
747 * hurd/hurdinit.c (_hurd_setproc): Likewise.
748 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
749 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
750 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
751 (reauth_proc): Likewise.
752 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
753 (__file_name_split_at): Likewise.
754 (__directory_name_split_at): Likewise.
755 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
756 * hurd/port2fd.c (_hurd_port2fd): Likewise.
757 * iconv/gconv_dl.c (do_print): Likewise.
758 * inet/netinet/in.h (struct sockaddr_in): Likewise.
759 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
760 * locale/setlocale.c (new_composite_name): Likewise.
761 * malloc/memusagestat.c (main): Likewise.
762 * misc/fstab.c (fstab_convert): Likewise.
763 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
765 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
766 (getgrent_next_file): Likewise.
767 (internal_getgrnam_r): Likewise.
768 (internal_getgrgid_r): Likewise.
769 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
771 (internal_getgrent_r): Likewise.
772 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
773 (getpwent_next_nss): Likewise.
774 (getpwent_next_file): Likewise.
775 (internal_getpwnam_r): Likewise.
776 (internal_getpwuid_r): Likewise.
777 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
779 (getspent_next_nss): Likewise.
780 (internal_getspnam_r): Likewise.
781 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
782 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
783 * string/strchr.c (STRCHR): Likewise.
784 * string/strchrnul.c (STRCHRNUL): Likewise.
785 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
786 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
787 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
788 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
789 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
791 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
792 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
793 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
794 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
795 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
796 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
797 (open_file): Likewise.
798 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
799 (pthread_mutexattr_setprotocol): Likewise.
800 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
801 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
802 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
803 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
804 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
806 (elf_machine_rela): Likewise.
807 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
808 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
809 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
810 * sysdeps/posix/rename.c (rename): Likewise.
811 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
812 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
813 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
814 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
815 * sysdeps/unix/grantpt.c (grantpt): Likewise.
816 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
817 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
819 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
821 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
822 * time/tzfile.c (__tzfile_compute): Likewise.
824 2019-02-22 Joseph Myers <joseph@codesourcery.com>
826 * benchtests/bench-memmem.c (simple_memmem): Break lines before
827 rather than after operators.
828 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
829 * crypt/md5.c (md5_finish_ctx): Likewise.
830 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
831 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
832 * elf/cache.c (load_aux_cache): Likewise.
833 * elf/dl-load.c (open_verify): Likewise.
834 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
835 * elf/readelflib.c (process_elf_file): Likewise.
836 * elf/rtld.c (dl_main): Likewise.
837 * elf/sprof.c (generate_call_graph): Likewise.
838 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
839 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
840 * hurd/dtable.c (reauth_dtable): Likewise.
841 * hurd/getdport.c (__getdport): Likewise.
842 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
843 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
844 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
846 * hurd/hurdioctl.c (fioctl): Likewise.
847 * hurd/hurdselect.c (_hurd_select): Likewise.
848 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
849 (STOPSIGS): Likewise.
850 * hurd/hurdstartup.c (_hurd_startup): Likewise.
851 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
852 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
853 * hurd/msgportdemux.c (msgport_server): Likewise.
854 * hurd/setauth.c (_hurd_setauth): Likewise.
855 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
856 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
857 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
858 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
859 * login/tst-utmp.c (do_check): Likewise.
860 (simulate_login): Likewise.
861 * mach/lowlevellock.h (lll_lock): Likewise.
862 (lll_trylock): Likewise.
863 * math/test-fenv.c (ALL_EXC): Likewise.
864 * math/test-fenvinline.c (ALL_EXC): Likewise.
865 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
866 * nis/nis_call.c (__do_niscall3): Likewise.
867 * nis/nis_callback.c (cb_prog_1): Likewise.
868 * nis/nis_defaults.c (searchaccess): Likewise.
869 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
870 * nis/nis_ismember.c (internal_ismember): Likewise.
871 * nis/nis_local_names.c (nis_local_principal): Likewise.
872 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
873 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
875 * nis/ypclnt.c (yp_match): Likewise.
876 (yp_first): Likewise.
878 (yp_master): Likewise.
879 (yp_order): Likewise.
880 * nscd/hstcache.c (cache_addhst): Likewise.
881 * nscd/initgrcache.c (addinitgroupsX): Likewise.
882 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
883 (internal_getpwuid_r): Likewise.
884 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
885 * posix/glob.h (__GLOB_FLAGS): Likewise.
886 * posix/regcomp.c (peek_token): Likewise.
887 (peek_token_bracket): Likewise.
888 (parse_expression): Likewise.
889 * posix/regexec.c (sift_states_iter_mb): Likewise.
890 (check_node_accept_bytes): Likewise.
891 * posix/tst-spawn3.c (do_test): Likewise.
892 * posix/wordexp-test.c (testit): Likewise.
893 * posix/wordexp.c (parse_tilde): Likewise.
894 (exec_comm): Likewise.
895 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
896 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
897 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
898 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
899 * stdio-common/tst-fileno.c (do_test): Likewise.
900 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
901 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
902 * stdlib/strtod_l.c (round_and_return): Likewise.
903 (____STRTOF_INTERNAL): Likewise.
904 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
905 * string/strcspn.c (STRCSPN): Likewise.
906 * string/test-memmem.c (simple_memmem): Likewise.
907 * termios/tcsetattr.c (tcsetattr): Likewise.
908 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
909 * time/asctime.c (asctime_internal): Likewise.
910 * time/strptime_l.c (__strptime_internal): Likewise.
911 * time/sys/time.h (timercmp): Likewise.
912 * time/tzfile.c (__tzfile_compute): Likewise.
914 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
917 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
919 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
921 * argp/argp-help.c (__argp_error_internal): New function,
922 renamed from __argp_error, but that takes a 'mode_flags'
923 parameter to control the format of long double parameters.
924 (__argp_error): Converted into a call __argp_error_internal.
925 (__argp_failure_internal): New function, renamed from
926 __argp_failure, but that takes a 'mode_flags' parameter.
927 (__argp_failure): Converted into a call __argp_failure_internal.
928 * misc/err.c (__vwarnx_internal): New function, renamed from
929 vwarnx, but that takes a 'mode_flags' parameter.
930 (vwarnx): Converted into a call to __vwarnx_internal.
931 (__vwarn_internal): New function, renamed from vwarn, but that
932 takes a 'mode_flags' parameter.
933 (vwarn): Converted into a call to __vwarn_internal.
934 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
935 call to __vfxprintf with 'mode_flags'.
936 (__error_internal): New function, renamed from error, but that
937 takes a 'mode_flags' parameter.
938 (error): Converted into a call to __error_internal.
939 (__error_at_line_internal): New function, renamed from
940 error_at_line, but that takes a 'mode_flags' parameter.
941 (error_at_line): Converted into a call to
942 __error_at_line_internal.
943 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
944 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
947 2019-02-20 Martin Liska <mliska@suse.cz>
949 * math/Makefile: Install math-vector-fortran.h.
950 * bits/math-vector-fortran.h: New file.
951 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
953 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
955 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
956 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
958 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
960 * nptl/pthread_mutex_trylock.c: Fix comment.
962 2019-02-19 Carlos O'Donell <carlos@redhat.com>
964 * nptl/pthread_tryjoin.c: Fix comment.
966 2019-02-18 Joseph Myers <joseph@codesourcery.com>
969 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
970 after R_SPARC_H34 case.
972 2019-02-18 Florian Weimer <fweimer@redhat.com>
974 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
975 (getanswer): Do not call Dprintf.
976 (res_gethostbyname2_context): Likewise.
977 (res_gethostbyaddr_context): Likewise.
979 2019-02-18 Florian Weimer <fweimer@redhat.com>
981 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
983 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
985 * libio/stdfiles.c: Update comment.
986 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
987 set _IO_stdin, _IO_stdout, _IO_stderr.
988 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
989 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
991 (_IO_deallocate_file): New inline function.
992 * libio/iolibio.h (_IO_vprintf): Remove definition.
993 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
994 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
995 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
997 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
998 __builtin_expect. Use _IO_legacy_file.
1000 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
1002 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
1003 Initialize ctid with a known value and remove update of ctid
1005 (wait_tid): Adjust arguments and call futex_wait with ctid_val
1006 as assumed current value of ctid_ptr.
1008 2019-02-15 Florian Weimer <fweimer@redhat.com>
1010 Check that non-sysdeps headers have wrapper headers.
1011 * scripts/check-wrapper-headers.py: New file.
1012 * Makefile (tests-special): Add check-wrapper-headers.out.
1013 (check-wrapper-headers.out): New target.
1014 * Rules (tests-special): Add check-wrapper-headers.out.
1015 (check-wrapper-headers.out): New target.
1017 2019-02-15 Florian Weimer <fweimer@redhat.com>
1019 Add missing header wrappers under include/.
1020 * include/ar.h: New file.
1021 * include/bits/mqueue2.h: Likewise.
1022 * include/bits/stdio.h: Likewise.
1023 * include/bits/stdio2.h: Likewise.
1024 * include/fstab.h: Likewise.
1025 * include/fts.h: Likewise.
1026 * include/lastlog.h: Likewise.
1027 * include/netinet/icmp6.h: Likewise.
1028 * include/netinet/igmp.h: Likewise.
1029 * include/netinet/ip6.h: Likewise.
1030 * include/re_comp.h: Likewise.
1031 * include/regexp.h: Likewise.
1032 * include/rpcsvc/bootparam.h: Likewise.
1033 * include/rpcsvc/yp_prot.h: Likewise.
1034 * include/sys/random.h: Likewise.
1035 * include/sys/stropts.h: Likewise.
1036 * include/sys/ttychars.h: Likewise.
1037 * include/sys/vfs.h: Likewise.
1038 * include/wait.h: Likewise.
1040 2019-02-15 Florian Weimer <fweimer@redhat.com>
1042 * nptl_db/proc_service.h: Move to ...
1043 * sysdeps/nptl/proc_service.h: ... here.
1044 * nptl_db/thread_db.h: Move to ...
1045 * sysdeps/nptl/thread_db.h: ... here.
1046 * nptl/descr.h: Include <thread_db.h>.
1048 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1050 * io/Makefile (tests): Add tst-lockf.
1051 * io/lockf.c (lockf): Use __fcntl and only define for
1052 !__OFF_T_MATCHES_OFF64_T.
1053 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
1054 __OFF_T_MATCHES_OFF64_T case.
1055 * io/tst-lockf.c: New file.
1056 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
1057 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
1058 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
1059 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
1060 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
1061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
1062 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
1063 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
1064 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
1066 2019-02-15 Florian Weimer <fweimer@redhat.com>
1069 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
1070 pd->result after the thread descriptor has been freed.
1072 2019-02-15 Joseph Myers <joseph@codesourcery.com>
1074 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
1075 from function return type.
1077 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
1079 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1081 * scripts/test_printers_common.py: Set TERM to a known harmless
1084 2019-02-14 Joseph Myers <joseph@codesourcery.com>
1086 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
1087 (xdr_u_int): Likewise.
1088 (xdr_enum): Likewise.
1089 (xdr_bytes): Reword fall-through comment.
1090 (xdr_string): Likewise.
1092 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1095 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
1096 (tests): Add tst-join8 tst-join9.
1097 * nptl/lll_timedwait_tid.c: Remove file.
1098 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
1099 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
1100 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
1101 * nptl/pthread_join_common.c (timedwait_tid): New function.
1102 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
1104 * nptl/tst-join5.c (thread_join): New function.
1105 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
1107 * nptl/tst-join8.c: New file.
1108 * nptl/tst-join9.c: Likewise.
1109 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
1110 lll_futex_timed_wait_cancel): Add generic macros.
1111 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
1113 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1114 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1115 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1116 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
1118 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
1120 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1121 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
1122 (lll_futex_timed_wait_cancel): New macro.
1124 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
1126 * benchtests/Makefile: Add malloc-simple benchmark.
1127 * benchtests/bench-malloc-simple.c: New benchmark.
1129 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
1131 * benchtests/bench-memmove.c (do_one_test): Remove unused
1134 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
1138 2019-01-13 Jim Wilson <jimw@sifive.com>
1141 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
1142 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
1144 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
1146 * nptl/Makefile (tests): Add tst-unwind-thread.
1147 (CFLAGS-tst-unwind-thread.c): Define.
1148 * nptl/tst-unwind-thread.c: New file.
1149 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
1152 2019-02-13 Joseph Myers <joseph@codesourcery.com>
1154 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
1156 * nis/nis_call.c (__do_niscall3): Likewise.
1158 * catgets/gencat.c (normalize_line): Use braces around empty
1160 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1161 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
1162 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
1163 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
1164 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
1165 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
1166 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
1169 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
1172 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
1174 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
1175 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
1176 * benchtests/bench-strchr.c (stupid_strchr): Remove.
1177 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
1178 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
1179 * benchtests/bench-strlen.c (builtin_strlen): Remove.
1180 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
1181 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
1182 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
1183 * benchtests/bench-strspn.c (stupid_strspn): Remove.
1184 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
1185 * benchtests/bench-bcopy.c: Delete file.
1186 * benchtests/bench-bzero.c: Likewise.
1187 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
1188 (simple_memccpy): Remove.
1189 (generic_memccpy): Add function.
1190 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
1191 * benchtests/bench-memmove.c (simple_bcopy): Remove.
1192 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
1193 (generic_mempcpy): Add new function.
1194 * benchtests/bench-memset.c (simple_bzero): Remove.
1195 (builtin_bzero): Remove.
1196 (builtin_memset): Remove.
1197 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
1198 (generic_rawmemchr): Add new function.
1200 2019-02-12 Florian Weimer <fweimer@redhat.com>
1202 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
1204 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1207 * elf/Makefile (tests): Add tst-audit13.
1208 (modules-names): Add tst-audit13mod1.
1209 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
1211 * elf/tst-audit13.c: New file.
1212 * elf/tst-audit13mod1.c: Likewise.
1214 2019-02-12 Florian Weimer <fweimer@redhat.com>
1217 * elf/rtld.c (unload_audit_module): New function.
1218 (report_audit_module_load_error): Likewise.
1219 (load_audit_module): Likewise. Extracted from dl_main. Call
1220 _dl_close if the laversion symbol cannot be found. Use early
1221 returns for error handling. Add malloc error check. Check for a
1222 zero return value from la_version. Remove spurious comment about
1223 static TLS initialization. Remove useless casts.
1224 (notify_audit_modules_of_loaded_object): New function. Extracted
1226 (load_audit_module): Likewise.
1227 (dl_main): Call load_audit_modules.
1229 2019-02-12 Joseph Myers <joseph@codesourcery.com>
1231 * elf/dl-exception.c (_dl_exception_create_format): Add
1232 fall-through comments.
1233 * elf/ldconfig.c (parse_conf_include): Likewise.
1234 * elf/rtld.c (print_statistics): Likewise.
1235 * locale/programs/charmap.c (parse_charmap): Likewise.
1236 * misc/mntent_r.c (__getmntent_r): Likewise.
1237 * posix/wordexp.c (parse_arith): Likewise.
1238 (parse_backtick): Likewise.
1239 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
1240 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
1241 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1243 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
1245 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
1246 Use float instead of double.
1248 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
1250 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
1252 2019-02-08 Joseph Myers <joseph@codesourcery.com>
1254 * sysdeps/powerpc/bits/mathinline.h: Remove.
1256 2019-02-08 Florian Weimer <fweimer@redhat.com>
1258 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
1259 * math/bits/math-finite.h: Move to ...
1260 * bits/math-finite.h: ... here.
1262 2019-02-08 Florian Weimer <fweimer@redhat.com>
1264 * sysdeps/generic/bits/unistd_ext.h: Move to ...
1265 * bits/unistd_ext.h: here.
1267 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
1270 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
1271 * nss/tst-nss-files-hosts-long.c: New file.
1272 * nss/tst-nss-files-hosts-long.root: New directory.
1273 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
1274 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
1276 2019-02-08 Florian Weimer <fweimer@redhat.com>
1278 * include/bits/unistd_ext.h: Remove file.
1279 * posix/bits/unistd_ext.h: Move to ...
1280 * sysdeps/generic/bits/unistd_ext.h: ... here.
1282 2019-02-08 Florian Weimer <fweimer@redhat.com>
1284 * include/bits/unistd_ext.h: New file.
1286 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
1288 * time/tst-strftime2.c: Use array_length macros instead of magic
1291 2019-02-08 Florian Weimer <fweimer@redhat.com>
1294 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
1296 * nptl/register-atfork.c (__run_fork_handlers): Only perform
1297 locking if the new do_locking argument is true.
1298 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
1299 __run_fork_handlers.
1301 2019-02-08 Florian Weimer <fweimer@redhat.com>
1304 Linux: Add gettid system call wrapper.
1305 * posix/Makefile (headers): Add bits/unistd_ext.h.
1306 * posix/bits/unistd_ext.h: New file.
1307 * posix/unistd.h: Include it.
1308 * manual/process.texi (Process Identification): Document gettid.
1309 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
1310 tst-gettid, tst-gettid-kill.
1311 (tst-gettid): Link with $(shared-thread-library).
1312 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
1313 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
1314 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
1315 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
1316 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
1317 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
1319 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1321 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1322 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
1324 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
1326 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
1328 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
1330 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1332 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1334 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1336 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1337 (GLIBC_2.30): Likewise.
1338 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1339 (GLIBC_2.30): Likewise.
1340 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1341 (GLIBC_2.30): Likewise.
1342 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1343 (GLIBC_2.30): Likewise.
1344 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1347 (GLIBC_2.30): Likewise.
1348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1349 (GLIBC_2.30): Likewise.
1350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1351 (GLIBC_2.30): Likewise.
1352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1353 (GLIBC_2.30): Likewise.
1354 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1356 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1358 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1360 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1361 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1363 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1365 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1367 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1369 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
1371 2019-02-07 Florian Weimer <fweimer@redhat.com>
1373 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
1374 compatibility symbols.
1376 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
1379 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1380 Add compiler barriers and comments.
1382 2019-02-07 Florian Weimer <fweimer@redhat.com>
1384 * include/array_length.h (array_length): Do not use a statement
1385 expression and _Static_assert, so that array_length can be used at
1386 file scope and as a constant expression.
1388 2019-02-07 Florian Weimer <fweimer@redhat.com>
1390 * support/xdlfcn.h (xdlmopen): Declare.
1391 * support/xdlmopen.c: New file.
1392 * support/Makefile (libsupport-routines): Add xdlmopen.
1394 2019-02-06 Joseph Myers <joseph@codesourcery.com>
1396 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
1397 before return type, without separate inline.
1398 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
1399 * elf/dl-tunables.h (tunable_is_name): Likewise.
1400 * malloc/malloc.c (do_set_trim_threshold): Likewise.
1401 (do_set_top_pad): Likewise.
1402 (do_set_mmap_threshold): Likewise.
1403 (do_set_mmaps_max): Likewise.
1404 (do_set_mallopt_check): Likewise.
1405 (do_set_perturb_byte): Likewise.
1406 (do_set_arena_test): Likewise.
1407 (do_set_arena_max): Likewise.
1408 (do_set_tcache_max): Likewise.
1409 (do_set_tcache_count): Likewise.
1410 (do_set_tcache_unsorted_limit): Likewise.
1411 * nis/nis_subr.c (count_dots): Likewise.
1412 * nptl/allocatestack.c (advise_stack_range): Likewise.
1413 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
1415 (reduce_sincos): Likewise.
1416 (do_sincos): Likewise.
1417 * sysdeps/unix/sysv/linux/x86/elision-conf.c
1418 (do_set_elision_enable): Likewise.
1419 (TUNABLE_CALLBACK_FNDECL): Likewise.
1421 2019-02-06 Florian Weimer <fweimer@redhat.com>
1423 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
1424 (xdlsym): Use dlerror to detect a NULL symbol.
1426 2019-02-06 Florian Weimer <fweimer@redhat.com>
1428 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
1430 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1432 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
1434 * libio/tst-bz24153.c (wide): Use wide char format specifier.
1436 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
1438 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
1439 __wmemcmp and weak alias to wmemcmp.
1441 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
1444 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
1445 TLS_TCB_AT_TP tls variant.
1446 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
1447 Add alignment checks.
1448 * support/Makefile (libsupport-routines): Add xposix_memalign and
1450 * support/support.h: Add xposix_memalign.
1451 * support/xthread.h: Add xpthread_attr_setstack.
1452 * support/xposix_memalign.c: New File.
1453 * support/xpthread_attr_setstack.c: Likewise.
1455 2019-02-05 Florian Weimer <fweimer@redhat.com>
1458 arm: Use "nr" constraint for Systemtap probes, to avoid the
1459 compiler using memory operands for constants, due to the "o"
1460 alternative in the default "nor" constraint.
1461 * include/stap-probe.h [USE_STAP_PROBE]: Include
1462 <stap-probe-machine.h>
1463 * sysdeps/generic/stap-probe-machine.h: New file.
1464 * sysdeps/arm/stap-probe-machine.h: Likewise.
1466 2019-02-04 Joseph Myers <joseph@codesourcery.com>
1468 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
1469 with 0, not tcache->entries[tc_idx].
1471 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
1474 2019-02-04 Andreas Schwab <schwab@suse.de>
1478 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
1479 looking up collating elements match against (wide) character
1480 sequence instead of name. Correct alignment adjustment.
1481 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
1482 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
1483 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
1484 (LOCALES): Add cs_CZ.ISO-8859-2.
1485 * posix/tst-fnmatch4.c: New file.
1486 * posix/tst-fnmatch5.c: New file.
1487 * include/wchar.h (__wmemcmp): Declare.
1488 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
1489 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
1490 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
1491 * sysdeps/s390/wmemcmp.c: Likewise.
1493 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
1497 * NEWS: Updated for CVE-2019-7309.
1498 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
1499 upper 32 bits of RDX register for x32. Use unsigned Jcc
1500 instructions, instead of signed.
1501 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
1502 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
1504 2019-02-04 Florian Weimer <fweimer@redhat.com>
1506 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
1507 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
1508 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
1510 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
1511 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
1512 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
1513 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
1515 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
1517 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
1519 (posix_spawn_file_actions_addopen): Likewise.
1520 (posix_spawn_file_actions_addclose): Likewise.
1521 (posix_spawn_file_actions_adddup2): Likewise.
1522 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
1524 (posix_spawn_file_actions_addfchdir_np): Likewise.
1526 2019-02-04 David Newall <glibc@davidnewall.com>
1528 elf: Implement --preload option for the dynamic linker.
1529 * elf/rtld.c (preloadarg): New variable.
1530 (handle_preload_list): Pass through “where” argument to
1532 (dl_main): Handle "--preload" and add second call to
1533 handle_preload_list.
1534 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
1535 (tst-rtld-preload-OBJS): Set variable.
1536 (tst-rtld-preload.out): New target.
1537 * elf/tst-rtld-preload.sh: New file.
1539 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
1541 * Makefile (testrun.sh): Exit in case of incorrect argument.
1543 2019-02-04 Florian Weimer <fweimer@redhat.com>
1545 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
1548 2019-02-03 Florian Weimer <fweimer@redhat.com>
1550 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
1551 implicit overflow checks.
1553 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
1555 * stdlib/isomac.c: Include <unistd.h>.
1557 2019-02-03 Florian Weimer <fweimer@redhat.com>
1559 * include/time.h (__tzfile_default): Use int, not long int, for
1561 * time/tzfile.c (struct ttinfo): Change type of the offset member
1563 (__tzfile_read): Remove useless cast.
1564 (__tzfile_default): Adjust prototype.
1565 * time/tzset.c (tz_rule): Change type of the offset member to int.
1566 (parse_offset): Change the type of the sign variable to int.
1568 2019-02-03 Florian Weimer <fweimer@redhat.com>
1571 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
1572 * libio/getchar.c (getchar): Likewise.
1573 * libio/getchar_u.c (getchar_unlocked): Likewise.
1574 * libio/getwchar.c (getwchar): Likewise.
1575 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1576 * libio/iogets.c (_IO_gets): Likewise.
1577 * libio/vscanf.c (_IO_vscanf): Likewise.
1578 * libio/vwscanf.c (__vwscanf): Likewise.
1579 * libio/tst-bz24153.c: New file.
1580 * libio/Makefile (tests): Add it.
1582 2019-02-02 Florian Weimer <fweimer@redhat.com>
1585 * manual/resource.texi (Basic Scheduling Functions): Add
1586 portability note. Change process to task throughout the section.
1587 Remove incorrect comment about sched_yield as it affects
1588 tasks/threads, not entire processes.
1589 * sysdeps/unix/sysv/linux/bits/posix_opt.h
1590 (_POSIX_PRIORITY_SCHEDULING): Update comment.
1592 2019-02-01 Joseph Myers <joseph@codesourcery.com>
1594 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
1595 * configure: Regenerated.
1596 * manual/install.texi (Tools for Compilation): Update minimum GCC
1598 * INSTALL: Regenerated.
1600 2019-02-01 Florian Weimer <fweimer@redhat.com>
1602 * support/support_test_compare_string.c
1603 (support_test_compare_string): Use "string" in error message.
1604 * support/tst-test_compare_string.c (do_test): Adjust.
1606 2019-02-01 Florian Weimer <fweimer@redhat.com>
1608 * support/support_format_address_family.c
1609 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
1611 2019-02-01 Florian Weimer <fweimer@redhat.com>
1613 * manual/socket.texi (Internet Address Formats): Clarify the byte
1614 order of struct sockaddr_in, struct sockaddr_in6. Document
1615 sin6_flowinfo and sin6_scope_id.
1617 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
1619 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
1620 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
1621 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
1622 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
1623 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
1624 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
1626 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1628 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
1629 [!MEMCHR](MEMCHR): Set to __memchr.
1630 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
1631 Add memchr_generic and memchr_nosimd.
1632 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1633 (__libc_ifunc_impl_list): Add memchr ifuncs.
1634 * sysdeps/aarch64/multiarch/memchr.c: New file.
1635 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
1636 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
1638 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1640 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
1642 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1643 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
1644 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
1645 Add IS_EMAG check for ifunc dispatch.
1646 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
1647 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
1649 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1651 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
1652 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
1654 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
1657 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
1659 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
1661 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
1663 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
1664 syscall-template file.
1666 2019-01-31 Carlos O'Donell <carlos@redhat.com>
1667 Torvald Riegel <triegel@redhat.com>
1668 Rik Prohaska <prohaska7@gmail.com>
1671 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
1672 tst-rwlock-trywrlock-stall.
1673 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1674 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
1675 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
1676 Set __wrphase_fute to 1 only if we started the write phase.
1677 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
1678 * nptl/tst-rwlock-trywrlock-stall.c: New file.
1679 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
1680 * support/xpthread_rwlock_destroy.c: New file.
1681 * support/xthread.h: Declare xpthread_rwlock_destroy.
1683 2019-02-01 Joseph Myers <joseph@codesourcery.com>
1685 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
1688 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
1691 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
1692 * libio/fileops.c (_IO_new_file_underflow): Likewise
1693 * libio/wfileops.c (_IO_wfile_underflow): Likewise
1694 * libio/putchar.c (putchar): Likewise.
1695 * libio/putchar_u.c (putchar_unlocked): Likewise.
1696 * libio/putwchar.c (putchar): Likewise.
1697 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
1698 * libio/tst-bz24051.c: New test.
1699 * libio/Makefile (tests): Add tst-bz24051
1701 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
1704 regex: fix read overrun [BZ #24114]
1705 Problem found by AddressSanitizer, reported by Hongxu Chen in:
1706 https://debbugs.gnu.org/34140
1707 * posix/regexec.c (proceed_next_node):
1708 Do not read past end of input buffer.
1710 2019-01-31 Florian Weimer <fweimer@redhat.com>
1713 * nss/nss_files/files-alias.c (get_next_alias): Handle
1714 continuation line without newline at the end.
1715 * nss/tst-nss-files-alias-truncated.c: New file.
1716 * nss/Makefile [$(build-shared)] (tests): Add
1717 tst-nss-files-alias-truncated.
1718 (tst-nss-files-alias-truncated): Link with libnss_files.so.
1719 * support/namespace.h (struct support_chroot_configuration): Add
1721 (struct support_chroot): Add path_aliases member.
1722 * support/support_chroot.c (support_chroot_create): Handle
1724 (support_chroot_free): Free path_aliases.
1726 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
1728 * version.h (RELEASE): Set to "development".
1729 (VERSION): Set to "2.29.9000".
1730 * NEWS: Add section for 2.30.
1732 * version.h (RELEASE): Set to "stable".
1733 (VERSION): Set to "2.29".
1734 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
1736 * NEWS: Add the list of bugs fixed in 2.29.
1737 * manual/contrib.texi: Update contributors list with some more
1739 * manual/install.texi: Update latest versions of packages
1741 * INSTALL: Regenerated.
1743 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
1745 * po/be.po: Update translations.
1746 * po/bg.po: Likewise.
1747 * po/ca.po: Likewise.
1748 * po/cs.po: Likewise.
1749 * po/da.po: Likewise.
1750 * po/de.po: Likewise.
1751 * po/el.po: Likewise.
1752 * po/eo.po: Likewise.
1753 * po/es.po: Likewise.
1754 * po/fi.po: Likewise.
1755 * po/fr.po: Likewise.
1756 * po/gl.po: Likewise.
1757 * po/hr.po: Likewise.
1758 * po/hu.po: Likewise.
1759 * po/ia.po: Likewise.
1760 * po/id.po: Likewise.
1761 * po/it.po: Likewise.
1762 * po/ja.po: Likewise.
1763 * po/ko.po: Likewise.
1764 * po/lt.po: Likewise.
1765 * po/nb.po: Likewise.
1766 * po/nl.po: Likewise.
1767 * po/pl.po: Likewise.
1768 * po/pt_BR.po: Likewise.
1769 * po/ru.po: Likewise.
1770 * po/rw.po: Likewise.
1771 * po/sk.po: Likewise.
1772 * po/sl.po: Likewise.
1773 * po/sv.po: Likewise.
1774 * po/tr.po: Likewise.
1775 * po/uk.po: Likewise.
1776 * po/vi.po: Likewise.
1777 * po/zh_CN.po: Likewise.
1778 * po/zh_TW.po: Likewise.
1780 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
1783 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
1784 of $f3 register on $y_is_neg path.
1786 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
1789 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
1790 sigaltstack.ss_flags.
1792 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
1795 * manual/time.texi (strftime): Document "%Ey".
1796 * time/strftime_l.c (__strftime_internal): Set the default width
1797 padding with zero of "%Ey" to 2.
1800 * manual/time.texi (strftime): Document "%EC" and "%EY".
1801 * time/Makefile (tests): Add tst-strftime2.
1802 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
1803 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
1804 override padding for "%Ey".
1805 If an optional flag ('_' or '-') is specified to "%EY", interpret the
1806 "%Ey" in the subformat as if decorated with that flag.
1807 * time/tst-strftime2.c: New file.
1809 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1811 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
1815 * elf/Makefile (tests): Add tst-audit13.
1816 (modules-names): Add tst-audit13mod1.
1817 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
1819 * elf/rtld.c (dl_main): Handle invalid audit module version.
1820 * elf/tst-audit13.c: New file.
1821 * elf/tst-audit13mod1.c: Likewise.
1823 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
1825 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
1826 returned by __hurd_at_flags.
1827 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
1828 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
1829 directly instead of __hurd_file_name_lookup.
1831 2019-01-21 Joseph Myers <joseph@codesourcery.com>
1833 * scripts/build-many-glibcs.py (Context.checkout): Default
1834 binutils version to 2.32 branch.
1836 2019-01-21 Florian Weimer <fweimer@redhat.com>
1840 resolv: Reject trailing characters in host names
1841 * include/arpa/inet.h (__inet_aton_exact): Declare.
1842 (inet_aton): Remove hidden prototype. No longer used internally.
1843 * nscd/gai.c (__inet_aton): Do not define.
1844 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
1845 * nss/digits_dots.c (__inet_aton): Likewise.
1846 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
1847 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
1848 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
1849 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
1850 (tst-resolv-trailing): Likewise.
1851 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
1853 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
1854 Make static. Add endp parameter.
1855 (__inet_aton_exact): New function.
1856 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
1857 (__inet_addr): Call inet_aton_end.
1858 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
1859 not just IPv6. Call __inet_aton_exact.
1860 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
1861 (tests): Make const. Add additional test cases with trailing
1863 (do_test): Use array_length.
1864 * resolv/tst-inet_aton_exact.c: New file.
1865 * resolv/tst-resolv-trailing.c: Likewise.
1866 * resolv/tst-resolv-nondecimal.c: Likewise.
1867 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
1869 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1873 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
1874 Clear the upper 32 bits of RSI register.
1875 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
1876 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
1877 and tst-size_t-wcsnlen.
1878 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
1879 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
1881 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1885 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
1886 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1887 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1888 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
1889 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
1891 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1895 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
1896 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1897 * sysdeps/x86_64/strcmp.S: Likewise.
1898 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
1899 tst-size_t-strncmp and tst-size_t-wcsncmp.
1900 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
1901 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
1902 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
1904 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1908 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
1909 RDX_LP for length. Clear the upper 32 bits of RDX register.
1910 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
1911 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
1912 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
1913 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
1915 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1919 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
1920 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
1921 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
1922 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
1924 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1928 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
1929 length. Clear the upper 32 bits of RDX register.
1930 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1931 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
1933 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
1935 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
1937 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
1939 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1943 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
1944 length. Clear the upper 32 bits of RDX register.
1945 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1946 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1947 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
1949 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
1950 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
1952 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1956 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
1957 upper 32 bits of RDX register.
1958 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
1959 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
1961 * sysdeps/x86_64/x32/test-size_t.h: New file.
1962 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
1963 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
1965 2019-01-18 Florian Weimer <fweimer@redhat.com>
1968 resolv: Do not send queries for non-host-names in nss_dns.
1969 * resolv/nss_dns/dns-host.c (check_name): New function.
1970 (_nss_dns_gethostbyname2_r): Use it.
1971 (_nss_dns_gethostbyname_r): Likewise.
1972 (_nss_dns_gethostbyname4_r): Likewise.
1974 2019-01-21 Florian Weimer <fweimer@redhat.com>
1976 * resolv/inet_addr.c: Reformat to GNU style.
1977 (__inet_addr, __inet_aton): Update comment.
1979 2019-01-18 Florian Weimer <fweimer@redhat.com>
1981 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
1982 ("malloc: Use current (C11-style) atomics for fastbin access").
1983 This commit introduces a substantial performance regression on
1985 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
1986 (REMOVE_FB): Define.
1987 (_int_malloc): Use it and reindent.
1988 (_int_free): Use CAS loop with
1989 catomic_compare_and_exchange_val_rel.
1990 (malloc_consolidate): Use atomic_exchange_acq.
1993 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
1995 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
1997 (LDFLAGS-tst-minsigstksz-2): Likewise.
1998 (LDFLAGS-tst-minsigstksz-3): Likewise.
1999 (LDFLAGS-tst-minsigstksz-3a): Likewise.
2000 (LDFLAGS-tst-minsigstksz-4): Likewise.
2002 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
2004 * manual/time.texi (strftime): Fix the wording to "alternative" rather
2007 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
2009 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
2011 2019-01-16 Zack Weinberg <zackw@panix.com>
2013 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
2014 (xget_sigstack_location): New test support functions.
2015 * support/xsigstack.c: New file, implementing them.
2016 * support/tst-xsigstack.c: New test for them.
2017 * support/Makefile: Update.
2019 * signal/tst-minsigstksz-1.c
2020 * signal/tst-minsigstksz-2.c
2021 * signal/tst-minsigstksz-3.c
2022 * signal/tst-minsigstksz-3a.c
2023 * signal/tst-minsigstksz-4.c: New tests.
2024 * signal/Makefile: Run them.
2026 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
2028 * po/libc.pot: Regenerate.
2030 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2032 * math/libm-test-fma.inc (fma_test_data): Set
2033 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
2035 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2037 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
2038 (do_test): Changed __vector __int128_t to __vector unsigned int.
2040 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2042 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2043 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
2044 stpcpy-avx2 and stpncpy-avx2.
2045 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
2046 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
2047 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
2049 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
2050 ifunc-strcpy.h}: rename header for a more generic name.
2051 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
2052 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
2053 AVX unaligned load is fast and vzeroupper is preferred.
2054 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
2055 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
2056 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
2057 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
2058 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
2059 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
2061 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
2063 * argp/argp-help.c: Fix typo in comment.
2064 * misc/sys/cdefs.h: Likewise.
2065 * posix/regexec.c (sift_states_iter_mb): Likewise.
2066 * socket/sockatmark.c: Likewise.
2067 * socket/sys/socket.h: Likewise.
2068 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
2069 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
2070 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
2071 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2072 * sysdeps/unix/sockatmark.c: Likewise.
2073 * time/strptime_l.c: Likewise.
2075 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
2077 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
2078 missing space after the cast of "_NL_CURRENT".
2080 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2082 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
2083 ifdef to fix read of VSCR.
2084 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
2085 tst-ucontext-ppc64-vscr.c to test list.
2086 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
2088 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
2090 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
2093 2019-01-09 Jim Wilson <jimw@sifive.com>
2095 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
2097 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
2099 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
2100 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
2101 __memcpy_falkor for ares.
2102 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
2104 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2107 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
2110 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
2111 4_FP_W_TYPEs are used for IEEE quad precision.
2112 * soft-fp/extendhftf2.c: Likewise.
2113 * soft-fp/extendsftf2.c: Likewise.
2114 * soft-fp/extendxftf2.c: Likewise.
2115 * soft-fp/trunctfdf2.c: Likewise.
2116 * soft-fp/trunctfhf2.c: Likewise.
2117 * soft-fp/trunctfsf2.c: Likewise.
2118 * soft-fp/trunctfxf2.c: Likewise.
2119 * sysdeps/alpha/ots_cvttx.c: Likewise.
2120 * sysdeps/alpha/ots_cvtxt.c: Likewise.
2121 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
2122 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
2123 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
2124 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
2125 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
2126 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
2127 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
2128 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
2129 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
2130 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
2131 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
2132 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
2133 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
2134 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
2135 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
2136 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
2138 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
2141 * Makeconfig: Build libm with -fno-math-errno but build the remaining
2142 code with -fmath-errno.
2143 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
2144 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
2145 * string/test-strerror-errno.c: New file.
2147 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
2150 * localedata/locales/en_US (date_fmt): Add, set to
2151 "%a %d %b %Y %r %Z".
2153 2019-01-07 Florian Weimer <fweimer@redhat.com>
2156 * manual/arith.texi (Math Error Reporting): Use @code{errno}
2157 instead of @var{errno}.
2158 (Parsing of Integers): Likewise.
2159 (Parsing of Floats): Likewise.
2160 * manual/filesys.texi (Working with Directory Trees): Likewise.
2161 (Temporary Files): Likewise.
2162 * manual/job.texi (Terminal Access Functions): Likewise.
2163 * manual/llio.texi (Synchronizing I/O): Likewise.
2164 * manual/math.texi (SVID Random): Likewise.
2165 * manual/message.texi (The catgets Functions): Likewise.
2166 (Translation with gettext): Likewise.
2167 (Locating gettext catalog): Likewise.
2168 (Charset conversion in gettext): Likewise.
2169 * manual/nss.texi (NSS Module Function Internals): Likewise.
2170 * manual/search.texi (Hash Search Function): Likewise.
2171 * manual/setjmp.texi (System V contexts): Likewise.
2172 * manual/time.texi (Sleeping): Likewise.
2173 * manual/users.texi (Lookup User): Likewise.
2174 (Lookup Group): Likewise.
2176 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2178 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
2181 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
2184 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
2185 __builtin_unreachable for default case in switch.
2186 (__ieee754_yn): Likewise.
2187 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2188 (__ieee754_ynl): Likewise.
2189 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2190 (__ieee754_ynl): Likewise.
2191 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2192 (__ieee754_ynl): Likewise.
2194 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2196 * manual/maint.texi: Use @{ and @}.
2198 2019-01-04 Florian Weimer <fweimer@redhat.com>
2200 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
2202 (do_in_chroot_1): Call it.
2204 Improve error reporting in case it is not possible to create a
2205 collision for the PTY name required by the test.
2207 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2209 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
2210 lll_wait_tid with timeout.
2211 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
2212 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
2213 futex_reltimed_wait_cancelable for cancelabla mode.
2214 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
2215 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
2217 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
2218 * sysdeps/posix/waitid.c (__sigwait): Likewise.
2219 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
2220 SYSCALL_CANCEL_NCS): New macro.
2221 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
2222 (lll_timedwait_tid): Remove macro.
2223 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
2225 (lll_timedwait_tid): Likewise.
2226 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
2228 (lll_timedwait_tid): Likewise.
2229 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
2231 (lll_timedwait_tid): Likewise.
2232 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
2233 Use INTERNAL_SYSCALL_CANCEL.
2234 * sysdeps/unix/sysv/linux/futex-internal.h
2235 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
2236 instead of __pthread_{enable,disable}_asynccancel.
2237 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
2238 (lll_futex_wait_cancel): New macro.
2240 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
2241 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
2243 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
2244 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
2246 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
2247 in backtrace analysis.
2248 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
2250 (tf_send): Likewise.
2252 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
2253 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
2254 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
2255 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
2256 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
2257 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
2258 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
2259 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
2260 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
2261 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
2262 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
2263 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
2265 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
2266 tst-cancel-wrappers.sh.
2267 (generated): Remove tst-cancel-wrappers.out.
2268 (tst-cancel-wrappers.out): Remove rule.
2269 * nptl/tst-cancel-wrappers.sh: Remove file.
2271 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
2273 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
2274 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
2277 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2280 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
2281 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
2282 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
2283 close-on-exec reset for adddup2 file action.
2284 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
2286 2019-01-03 Zack Weinberg <zackw@panix.com>
2288 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
2289 parameter. Only use deprecated scanf when __USE_GNU is defined
2290 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
2291 than 201103L, whichever is relevant for the language being compiled.
2293 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
2294 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
2295 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
2296 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
2297 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
2301 * libio/iovswscanf.c
2306 * stdio-common/fscanf.c
2307 * stdio-common/scanf.c
2308 * stdio-common/vfscanf.c
2309 * stdio-common/vfwscanf.c
2310 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
2311 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
2312 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
2313 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
2314 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
2315 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
2316 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
2317 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
2318 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
2319 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
2320 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
2321 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
2322 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
2323 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
2324 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
2326 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
2327 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
2328 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
2330 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
2331 with a preprocessor macro.
2333 * stdio-common/bug21.c, stdio-common/scanf14.c:
2334 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
2335 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
2336 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
2337 to xscanf, xfscanf, xsscanf.
2339 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
2340 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
2341 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
2342 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
2344 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
2345 override feature selection macros or provide definitions of u_char etc.
2346 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
2347 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
2348 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
2351 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2353 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2354 bits/termios-misc.h.
2355 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
2356 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2357 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2358 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2359 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
2360 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
2362 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
2363 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
2364 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
2365 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
2366 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
2367 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
2369 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
2370 (sysdep_headers): Add termios-misc.h.
2372 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
2373 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2374 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2376 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2378 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
2379 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
2380 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
2381 TCSAFLUSH): Move to termios-tcflow.h.
2382 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2383 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2384 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2385 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2387 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2389 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
2390 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
2391 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
2392 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
2393 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
2394 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
2395 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
2396 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
2398 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2399 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2400 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2401 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2403 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2405 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
2406 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
2407 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
2408 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
2409 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
2411 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2412 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2413 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2414 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2417 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2419 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
2420 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
2421 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
2422 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
2423 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
2424 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
2425 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
2426 __MAX_BAUD): Move to termios-baud.h.
2427 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
2428 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
2429 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2430 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2431 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2433 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2435 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
2436 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
2437 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
2438 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
2439 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
2440 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
2442 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
2443 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
2445 [USE_MISC] (XTABS): Likewise.
2446 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2447 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2448 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2449 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
2451 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
2453 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
2454 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
2455 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
2456 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
2457 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
2458 IUTF8): Move to termios-c_iflag.h.
2459 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2460 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2461 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2462 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2464 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
2466 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
2467 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
2468 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
2469 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
2470 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
2471 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
2472 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
2473 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.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/alpha/bits/termios-struct.h: New file.
2480 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
2481 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
2482 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
2483 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2485 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
2487 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
2489 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
2491 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
2493 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
2495 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
2496 _HAVE_C_OSPEED): Define.
2497 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
2498 _HAVE_C_OSPEED): Likewise.
2499 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
2500 _HAVE_C_OSPEED): Likewise.
2501 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
2502 (cfsetospeed): Check for define value instead of existence.
2503 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
2504 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
2505 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
2506 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
2507 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
2510 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
2512 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
2513 (TIOCSER_TEMT): Likewise.
2514 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
2515 (TEOCSER_TEMT): Likewise.
2517 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
2520 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
2522 2019-01-02 Joseph Myers <joseph@codesourcery.com>
2524 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
2526 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
2528 * sysdeps/htl/pt-barrierattr-setpshared.c
2529 (pthread_barrierattr_setpshared): Add stub warning.
2530 * sysdeps/htl/pt-condattr-setpshared.c
2531 (pthread_condattr_setpshared): Likewise.
2532 * sysdeps/htl/pt-mutexattr-setpshared.c
2533 (pthread_mutexattr_setpshared): Likewise.
2534 * sysdeps/htl/pt-rwlockattr-setpshared.c
2535 (pthread_rwlockattr_setpshared): Likewise.
2536 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
2537 (pthread_mutexattr_setpshared): Likewise.
2539 2019-01-02 Joseph Myers <joseph@codesourcery.com>
2541 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
2542 constants to match with Linux 4.20.
2544 * sysdeps/mips/mips32/libm-test-ulps: Update.
2545 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2547 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
2550 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
2551 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
2552 than __typeof (...) for the a_ptr variable.
2554 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2556 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
2557 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
2558 * libio/Makefile (tests): Add tst-sprintf-ub and
2560 (CFLAGS-tst-sprintf-ub.c): New variable.
2561 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
2562 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
2563 destination buffer and check for overflows in fortified mode.
2564 * libio/libioP.h (PRINTF_CHK): New macro.
2565 * libio/tst-sprintf-chk-ub.c: New file.
2566 * libio/tst-sprintf-ub.c: Likewise.
2568 2019-01-02 Florian Weimer <fweimer@redhat.com>
2571 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
2574 2019-01-02 Florian Weimer <fweimer@redhat.com>
2576 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
2578 2019-01-01 Joseph Myers <joseph@codesourcery.com>
2580 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
2583 * sysdeps/unix/sysv/linux/netpacket/packet.h
2584 (PACKET_IGNORE_OUTGOING): New macro.
2586 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
2589 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2591 (riscv_flush_icache): New syscall.
2593 * manual/texinfo.tex: Update to version 2018-12-28.17 with
2594 trailing whitespace removed.
2595 * scripts/config.guess: Update to version 2019-01-01.
2596 * scripts/config.sub: Update to version 2019-01-01.
2597 * scripts/move-if-change: Update from gnulib.
2599 * NEWS: Update copyright dates.
2600 * catgets/gencat.c (print_version): Likewise.
2601 * csu/version.c (banner): Likewise.
2602 * debug/catchsegv.sh: Likewise.
2603 * debug/pcprofiledump.c (print_version): Likewise.
2604 * debug/xtrace.sh (do_version): Likewise.
2605 * elf/ldconfig.c (print_version): Likewise.
2606 * elf/ldd.bash.in: Likewise.
2607 * elf/pldd.c (print_version): Likewise.
2608 * elf/sotruss.sh: Likewise.
2609 * elf/sprof.c (print_version): Likewise.
2610 * iconv/iconv_prog.c (print_version): Likewise.
2611 * iconv/iconvconfig.c (print_version): Likewise.
2612 * locale/programs/locale.c (print_version): Likewise.
2613 * locale/programs/localedef.c (print_version): Likewise.
2614 * login/programs/pt_chown.c (print_version): Likewise.
2615 * malloc/memusage.sh (do_version): Likewise.
2616 * malloc/memusagestat.c (print_version): Likewise.
2617 * malloc/mtrace.pl: Likewise.
2618 * manual/libc.texinfo: Likewise.
2619 * nptl/version.c (banner): Likewise.
2620 * nscd/nscd.c (print_version): Likewise.
2621 * nss/getent.c (print_version): Likewise.
2622 * nss/makedb.c (print_version): Likewise.
2623 * posix/getconf.c (main): Likewise.
2624 * scripts/test-installation.pl: Likewise.
2625 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2627 * All files with FSF copyright notices: Update copyright dates
2628 using scripts/update-copyrights.
2629 * locale/programs/charmap-kw.h: Regenerated.
2630 * locale/programs/locfile-kw.h: Likewise.
2632 2018-12-31 Joseph Myers <joseph@codesourcery.com>
2634 * timezone/zdump.c: Update from tzcode 2018i.
2635 * timezone/zic.c: Likewise.
2637 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
2639 regex: improve Gnulib port to AIX
2640 From the glibc point of view, this removes duplicate macro
2641 definitions and is obviously safe.
2642 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
2643 * posix/regex_internal.h:
2644 (__attribute__, __attribute_warn_unused_result__):
2645 Remove; already defined elsewhere.
2647 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
2650 * malloc/malloc.c (_int_realloc): Always call memcpy for the
2651 copying operation. (ncopies had the wrong type, resulting in an
2652 integer wraparound and too few elements being copied.)
2654 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
2657 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
2658 <asm/syscalls.h> exists with __has_include__ before including it.
2660 2018-12-31 Joseph Myers <joseph@codesourcery.com>
2662 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2665 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
2667 * hurd/lookup-retry: Include <unistd.h>.
2668 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
2669 Release it on return. Handle "pid" magical lookup retry.
2671 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2674 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
2675 (t_fmt_ampm): Likewise.
2676 * localedata/locales/aa_ER (t_fmt): Likewise.
2677 (t_fmt_ampm): Likewise.
2678 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
2679 (t_fmt_ampm): Likewise.
2680 * localedata/locales/aa_ET (t_fmt): Likewise.
2681 (t_fmt_ampm): Likewise.
2682 * localedata/locales/am_ET (t_fmt): Likewise.
2683 (t_fmt_ampm): Likewise.
2684 * localedata/locales/byn_ER (t_fmt): Likewise.
2685 (t_fmt_ampm): Likewise.
2686 * localedata/locales/om_ET (t_fmt): Likewise.
2687 (t_fmt_ampm): Likewise.
2688 * localedata/locales/sid_ET (t_fmt): Likewise.
2689 (t_fmt_ampm): Likewise.
2690 * localedata/locales/so_DJ (t_fmt): Likewise.
2691 (t_fmt_ampm): Likewise.
2692 * localedata/locales/so_ET (t_fmt): Likewise.
2693 (t_fmt_ampm): Likewise.
2694 * localedata/locales/so_SO (t_fmt): Likewise.
2695 (t_fmt_ampm): Likewise.
2696 * localedata/locales/ti_ER (t_fmt): Likewise.
2697 (t_fmt_ampm): Likewise.
2698 * localedata/locales/ti_ET (t_fmt): Likewise.
2699 (t_fmt_ampm): Likewise.
2700 * localedata/locales/tig_ER (t_fmt): Likewise.
2701 (t_fmt_ampm): Likewise.
2702 * localedata/locales/wal_ET (t_fmt): Likewise.
2703 (t_fmt_ampm): Likewise.
2705 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
2706 * localedata/locales/ar_IN (t_fmt): Likewise.
2707 * localedata/locales/bhb_IN (t_fmt): Likewise.
2708 * localedata/locales/bho_IN (t_fmt): Likewise.
2709 * localedata/locales/bi_VU (t_fmt): Likewise.
2710 * localedata/locales/bn_BD (t_fmt): Likewise.
2711 * localedata/locales/bn_IN (t_fmt): Likewise.
2712 * localedata/locales/brx_IN (t_fmt): Likewise.
2713 * localedata/locales/doi_IN (t_fmt): Likewise.
2714 * localedata/locales/en_HK (t_fmt): Likewise.
2715 (t_fmt_ampm): Likewise.
2716 * localedata/locales/en_IN (t_fmt): Likewise.
2717 * localedata/locales/en_PH (t_fmt): Likewise.
2718 * localedata/locales/gu_IN (t_fmt): Likewise.
2719 * localedata/locales/hi_IN (t_fmt): Likewise.
2720 * localedata/locales/hif_FJ (t_fmt): Likewise.
2721 * localedata/locales/hne_IN (t_fmt): Likewise.
2722 * localedata/locales/kn_IN (t_fmt): Likewise.
2723 * localedata/locales/kok_IN (t_fmt): Likewise.
2724 * localedata/locales/ks_IN (t_fmt): Likewise.
2725 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
2726 * localedata/locales/mag_IN (t_fmt): Likewise.
2727 * localedata/locales/mai_IN (t_fmt): Likewise.
2728 * localedata/locales/mjw_IN (t_fmt): Likewise.
2729 * localedata/locales/ml_IN (t_fmt): Likewise.
2730 * localedata/locales/mni_IN (t_fmt): Likewise.
2731 * localedata/locales/mr_IN (t_fmt): Likewise.
2732 * localedata/locales/ms_MY (t_fmt): Likewise.
2733 * localedata/locales/pa_IN (t_fmt): Likewise.
2734 * localedata/locales/raj_IN (t_fmt): Likewise.
2735 * localedata/locales/sa_IN (t_fmt): Likewise.
2736 * localedata/locales/sat_IN (t_fmt): Likewise.
2737 * localedata/locales/sd_IN (t_fmt): Likewise.
2738 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
2739 * localedata/locales/tcy_IN (t_fmt): Likewise.
2740 * localedata/locales/the_NP (t_fmt): Likewise.
2741 * localedata/locales/to_TO (t_fmt): Likewise.
2742 * localedata/locales/ur_IN (t_fmt): Likewise.
2744 * localedata/locales/hif_FJ (d_t_fmt): Set to
2745 "%A %d %b %Y %I:%M:%S %p".
2746 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
2748 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
2749 * localedata/locales/ar_BH (t_fmt): Likewise.
2750 * localedata/locales/ar_DZ (t_fmt): Likewise.
2751 * localedata/locales/ar_EG (t_fmt): Likewise.
2752 * localedata/locales/ar_IQ (t_fmt): Likewise.
2753 * localedata/locales/ar_JO (t_fmt): Likewise.
2754 * localedata/locales/ar_KW (t_fmt): Likewise.
2755 * localedata/locales/ar_LB (t_fmt): Likewise.
2756 * localedata/locales/ar_LY (t_fmt): Likewise.
2757 * localedata/locales/ar_OM (t_fmt): Likewise.
2758 * localedata/locales/ar_QA (t_fmt): Likewise.
2759 * localedata/locales/ar_SD (t_fmt): Likewise.
2760 * localedata/locales/ar_SS (t_fmt): Likewise.
2761 * localedata/locales/ar_SY (t_fmt): Likewise.
2762 * localedata/locales/ar_TN (t_fmt): Likewise.
2763 * localedata/locales/ar_YE (t_fmt): Likewise.
2765 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
2766 (t_fmt_ampm): Likewise.
2767 * localedata/locales/gez_ET (t_fmt): Likewise.
2768 (t_fmt_ampm): Likewise.
2770 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
2771 (t_fmt_ampm): Likewise.
2772 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
2774 * localedata/locales/zh_HK (t_fmt):
2775 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
2777 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
2778 because this locale does not use the 12-hour clock.
2779 (t_fmt): Set to "%Z %H:%M:%S".
2780 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
2782 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
2783 because this locale does not use the 12-hour clock.
2784 (t_fmt): Set to "%H:%M:%S %Z".
2785 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
2787 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
2788 because this locale does not use the 12-hour clock.
2789 (t_fmt): Set to "%T".
2790 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
2791 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
2793 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
2794 because this locale does not use the 12-hour clock.
2795 (t_fmt): Set to "%H:%M:%S %Z".
2796 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
2798 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
2799 because this locale does not use the 12-hour clock.
2800 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
2801 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
2803 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2807 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
2808 (t_fmt_ampm): Likewise.
2809 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
2810 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
2811 (d_fmt): Set to "%-d.%-m.%y".
2813 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2815 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
2816 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
2817 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
2819 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
2820 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
2821 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
2823 * support/blob_repeat.c (check_mul_overflow_size_t,
2824 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
2826 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
2828 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
2830 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
2832 regex: simplify Gnulib port
2833 This simplifies the code, by removing stuff intended for porting
2834 to Gnulib but no longer needed there.
2835 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
2836 uses of libc_hidden_def, weak_alias.
2837 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
2838 _Restrict_ except for public-facing headers.
2839 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
2840 Remove; already defined elsewhere.
2841 * posix/regex.c, posix/regex_internal.h:
2842 Use __GNUC_PREREQ instead of rolling our own.
2843 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
2845 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
2847 * benchtests/bench-strlen.c (generic_strlen): New function.
2848 (memchr_strlen): New function.
2850 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2852 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
2853 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
2854 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
2856 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2858 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2860 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2862 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
2863 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
2864 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
2865 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
2866 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
2867 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
2868 <sysdeps/ieee754/flt-32/s_sincosf.c>.
2870 2018-12-21 Joseph Myers <joseph@codesourcery.com>
2873 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
2874 PLT reference in libc.so.
2875 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
2876 _Q_lltoq and _Q_qtod PLT references in libc.so.
2878 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
2880 * benchtests/bench-memchr.c: Cleanup defines.
2881 * benchtests/bench-memcmp.c: Likewise.
2882 * benchtests/bench-memset.c: Likewise.
2883 * benchtests/bench-memset-large.c: Likewise.
2884 * benchtests/bench-memset-walk.c: Likewise.
2885 * benchtests/bench-stpcpy.c: Likewise.
2886 * benchtests/bench-stpncpy.c: Likewise.
2887 * benchtests/bench-strcat.c: Likewise.
2888 * benchtests/bench-strchr.c: Likewise.
2889 * benchtests/bench-strcmp.c: Likewise.
2890 * benchtests/bench-strcpy.c: Likewise.
2891 * benchtests/bench-strcspn.c: Likewise.
2892 * benchtests/bench-string.h: Likewise.
2893 * benchtests/bench-strlen.c: Likewise.
2894 * benchtests/bench-strncat.c: Likewise.
2895 * benchtests/bench-strncmp.c: Likewise.
2896 * benchtests/bench-strncpy.c: Likewise.
2897 * benchtests/bench-strnlen.c: Likewise.
2898 * benchtests/bench-strpbrk.c: Likewise.
2899 * benchtests/bench-strrchr.c: Likewise.
2900 * benchtests/bench-strspn.c: Likewise.
2902 2018-12-21 Joseph Myers <joseph@codesourcery.com>
2904 * stdlib/longlong.h: Update from GCC.
2907 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
2908 * configure: Regenerated.
2909 * manual/install.texi (Tools for Compilation): Update minimum GCC
2911 * INSTALL: Regenerated.
2913 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
2915 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
2917 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
2919 * malloc/malloc.c (mremap_chunk): Additional checks.
2921 2018-12-21 Mao Han <han_mao@c-sky.com>
2923 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
2924 * scripts/build-many-glibcs.py: Add C-SKY targets.
2925 * sysdeps/csky/Implies: New file.
2926 * sysdeps/csky/Makefile: Likewise.
2927 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
2928 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
2929 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
2930 * sysdeps/csky/abiv2/memcmp.S: Likewise.
2931 * sysdeps/csky/abiv2/memcpy.S: Likewise.
2932 * sysdeps/csky/abiv2/memmove.S: Likewise.
2933 * sysdeps/csky/abiv2/memset.S: Likewise.
2934 * sysdeps/csky/abiv2/setjmp.S: Likewise.
2935 * sysdeps/csky/abiv2/start.S: Likewise.
2936 * sysdeps/csky/abiv2/strcmp.S: Likewise.
2937 * sysdeps/csky/abiv2/strcpy.S: Likewise.
2938 * sysdeps/csky/abiv2/strlen.S: Likewise.
2939 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
2940 * sysdeps/csky/abort-instr.h: Likewise.
2941 * sysdeps/csky/atomic-machine.h: Likewise.
2942 * sysdeps/csky/bits/endian.h: Likewise.
2943 * sysdeps/csky/bits/fenv.h: Likewise.
2944 * sysdeps/csky/bits/link.h: Likewise.
2945 * sysdeps/csky/bits/setjmp.h: Likewise.
2946 * sysdeps/csky/bsd-_setjmp.S: Likewise.
2947 * sysdeps/csky/bsd-setjmp.S: Likewise.
2948 * sysdeps/csky/configure: Likewise.
2949 * sysdeps/csky/configure.ac: Likewise.
2950 * sysdeps/csky/dl-machine.h: Likewise.
2951 * sysdeps/csky/dl-procinfo.c: Likewise.
2952 * sysdeps/csky/dl-procinfo.h: Likewise.
2953 * sysdeps/csky/dl-sysdep.h: Likewise.
2954 * sysdeps/csky/dl-tls.h: Likewise.
2955 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
2956 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
2957 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
2958 * sysdeps/csky/fpu/fegetenv.c: Likewise.
2959 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
2960 * sysdeps/csky/fpu/fegetmode.c: Likewise.
2961 * sysdeps/csky/fpu/fegetround.c: Likewise.
2962 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
2963 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
2964 * sysdeps/csky/fpu/fenv_private.h: Likewise.
2965 * sysdeps/csky/fpu/fesetenv.c: Likewise.
2966 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
2967 * sysdeps/csky/fpu/fesetmode.c: Likewise.
2968 * sysdeps/csky/fpu/fesetround.c: Likewise.
2969 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
2970 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
2971 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
2972 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
2973 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
2974 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
2975 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
2976 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
2977 * sysdeps/csky/fpu_control.h: Likewise.
2978 * sysdeps/csky/gccframe.h: Likewise.
2979 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
2980 * sysdeps/csky/ldsodefs.h: Likewise.
2981 * sysdeps/csky/libc-tls.c: Likewise.
2982 * sysdeps/csky/linkmap.h: Likewise.
2983 * sysdeps/csky/machine-gmon.h: Likewise.
2984 * sysdeps/csky/memusage.h: Likewise.
2985 * sysdeps/csky/nofpu/Implies: Likewise.
2986 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
2987 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
2988 * sysdeps/csky/nptl/Makefile: Likewise.
2989 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
2990 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
2991 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
2992 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
2993 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
2994 * sysdeps/csky/nptl/tls.h: Likewise.
2995 * sysdeps/csky/preconfigure: Likewise.
2996 * sysdeps/csky/sfp-machine.h: Likewise.
2997 * sysdeps/csky/sotruss-lib.c: Likewise.
2998 * sysdeps/csky/stackinfo.h: Likewise.
2999 * sysdeps/csky/sysdep.h: Likewise.
3000 * sysdeps/csky/tininess.h: Likewise.
3001 * sysdeps/csky/tst-audit.h: Likewise.
3002 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
3003 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
3004 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
3005 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
3006 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
3007 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
3008 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
3009 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
3010 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
3011 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
3012 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
3013 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
3014 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
3015 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
3016 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
3017 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
3018 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
3019 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
3020 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
3021 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
3022 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
3023 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
3024 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
3025 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
3026 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
3027 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
3028 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
3029 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
3030 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
3031 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
3032 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
3033 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
3034 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
3035 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
3036 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
3037 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
3038 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
3039 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
3040 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
3041 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
3042 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
3043 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
3044 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
3045 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
3047 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
3049 * include/time.h (__difftime64): Add.
3050 * time/difftime.c (subtract): convert to 64-bit time.
3051 * time/difftime.c (__difftime64): Add.
3052 * time/difftime.c (__difftime): Wrap around __difftime64.
3054 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
3056 * manual/examples/add.c: Remove redundant "if not".
3057 * manual/examples/argp-ex1.c: Likewise.
3058 * manual/examples/argp-ex2.c: Likewise.
3059 * manual/examples/argp-ex3.c: Likewise.
3060 * manual/examples/argp-ex4.c: Likewise.
3061 * manual/examples/atexit.c: Likewise.
3062 * manual/examples/db.c: Likewise.
3063 * manual/examples/dir.c: Likewise.
3064 * manual/examples/dir2.c: Likewise.
3065 * manual/examples/execinfo.c: Likewise.
3066 * manual/examples/filecli.c: Likewise.
3067 * manual/examples/filesrv.c: Likewise.
3068 * manual/examples/fmtmsgexpl.c: Likewise.
3069 * manual/examples/genpass.c: Likewise.
3070 * manual/examples/inetcli.c: Likewise.
3071 * manual/examples/inetsrv.c: Likewise.
3072 * manual/examples/isockad.c: Likewise.
3073 * manual/examples/longopt.c: Likewise.
3074 * manual/examples/memopen.c: Likewise.
3075 * manual/examples/memstrm.c: Likewise.
3076 * manual/examples/mkdirent.c: Likewise.
3077 * manual/examples/mkfsock.c: Likewise.
3078 * manual/examples/mkisock.c: Likewise.
3079 * manual/examples/mygetpass.c: Likewise.
3080 * manual/examples/pipe.c: Likewise.
3081 * manual/examples/popen.c: Likewise.
3082 * manual/examples/rprintf.c: Likewise.
3083 * manual/examples/search.c: Likewise.
3084 * manual/examples/select.c: Likewise.
3085 * manual/examples/setjmp.c: Likewise.
3086 * manual/examples/sigh1.c: Likewise.
3087 * manual/examples/sigusr.c: Likewise.
3088 * manual/examples/stpcpy.c: Likewise.
3089 * manual/examples/strdupa.c: Likewise.
3090 * manual/examples/strftim.c: Likewise.
3091 * manual/examples/subopt.c: Likewise.
3092 * manual/examples/swapcontext.c: Likewise.
3093 * manual/examples/termios.c: Likewise.
3094 * manual/examples/testopt.c: Likewise.
3095 * manual/examples/testpass.c: Likewise.
3096 * manual/examples/timeval_subtract.c: Likewise.
3098 2018-12-19 Joseph Myers <joseph@codesourcery.com>
3100 * sysdeps/x86/fpu/math_private.h: New file.
3101 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
3103 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
3108 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3110 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
3111 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
3112 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
3113 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
3115 (_dl_show_auxv): Give a special treatment to
3116 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
3117 and AT_L3_CACHEGEOMETRY.
3118 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
3119 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
3120 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
3121 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
3123 2018-12-19 Andreas Schwab <schwab@suse.de>
3125 * nscd/connections.c (check_use): Don't abort on invalid len.
3127 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
3129 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
3130 values in the 64bit value cases.
3132 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
3138 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
3144 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
3147 (__gmtime64_r): Add.
3149 (__gmtime64_r): Add.
3150 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
3156 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
3159 (__localtime64_r): Add.
3161 (__localtime64_r): Add.
3162 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
3164 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3166 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
3167 kernel_sigction definition.
3169 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
3171 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
3173 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
3174 __syscall_rt_sigaction.
3175 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
3176 (kernel_sigaction): Use Linux generic defintion.
3178 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
3179 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
3180 (__syscall_rt_sigaction): Remove implementation.
3181 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
3183 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
3184 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
3185 INTERNAL_SYSCALL): Remove definitions.
3186 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
3187 action and signal set size.
3188 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
3189 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
3191 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3192 James Clarke <jrtc27@jrtc27.com>
3195 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
3196 Define if SA_RESTORER is defined.
3197 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
3198 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
3200 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
3201 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
3203 (HAS_SA_RESTORER): Define.
3204 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
3205 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
3206 (HAS_SA_RESTORER): Define.
3207 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
3208 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
3209 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
3210 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
3211 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3213 2018-12-18 Joseph Myers <joseph@codesourcery.com>
3215 * sysdeps/unix/sysv/linux/kernel-features.h
3216 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
3217 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3218 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
3219 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3220 (__ASSUME_ST_INO_64_BIT): Likewise.
3221 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3222 <kernel-features.h>.
3223 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3224 Remove conditional code.
3225 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3226 <kernel-features.h>.
3227 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3228 Remove conditional code.
3229 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
3230 <kernel-features.h>.
3231 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3232 Remove conditional code.
3233 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
3234 <kernel-features.h>.
3235 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
3236 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
3238 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3240 * sysdeps/s390/multiarch/ifunc-resolve.h
3241 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
3242 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
3243 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
3244 Delete macro definition.
3245 (s390_libc_ifunc_init): Rename to
3246 s390_libc_ifunc_expr_stfle_init.
3247 * sysdeps/s390/bzero: Use
3248 s390_libc_ifunc_expr_stfle_init instead of
3249 s390_libc_ifunc_init.
3250 * sysdeps/s390/memcmp.c: Likewise.
3251 * sysdeps/s390/memcpy.c: Likewise.
3252 * sysdeps/s390/mempcpy.c: Likewise.
3253 * sysdeps/s390/memset.c: Likewise.
3255 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3257 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
3258 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
3260 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3262 * sysdeps/s390/multiarch/Makefile
3263 (sysdep_routines): Remove wmemcmp variants.
3264 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
3265 * sysdeps/s390/multiarch/ifunc-impl-list.c
3266 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
3267 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
3268 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
3269 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
3270 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
3271 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
3272 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
3273 * sysdeps/s390/ifunc-wmemcmp.h: New file.
3275 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3277 * sysdeps/s390/multiarch/Makefile
3278 (sysdep_routines): Remove wmemset variants.
3279 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
3280 * sysdeps/s390/multiarch/ifunc-impl-list.c
3281 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
3282 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
3283 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
3284 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
3285 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
3286 * sysdeps/s390/multiarch/wmemset.c: Move to ...
3287 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
3288 * sysdeps/s390/ifunc-wmemset.h: New file.
3290 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3292 * sysdeps/s390/multiarch/Makefile
3293 (sysdep_routines): Remove wmemchr variants.
3294 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
3295 * sysdeps/s390/multiarch/ifunc-impl-list.c
3296 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
3297 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
3298 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
3299 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
3300 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
3301 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
3302 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
3303 * sysdeps/s390/ifunc-wmemchr.h: New file.
3305 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3307 * sysdeps/s390/multiarch/Makefile
3308 (sysdep_routines): Remove wcscspn variants.
3309 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
3310 * sysdeps/s390/multiarch/ifunc-impl-list.c
3311 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
3312 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
3313 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
3314 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
3315 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
3316 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
3317 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
3318 * sysdeps/s390/ifunc-wcscspn.h: New file.
3320 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3322 * sysdeps/s390/multiarch/Makefile
3323 (sysdep_routines): Remove wcspbrk variants.
3324 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
3325 * sysdeps/s390/multiarch/ifunc-impl-list.c
3326 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
3327 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
3328 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
3329 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
3330 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
3331 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
3332 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
3333 * sysdeps/s390/ifunc-wcspbrk.h: New file.
3335 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3337 * sysdeps/s390/multiarch/Makefile
3338 (sysdep_routines): Remove wcsspn variants.
3339 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
3340 * sysdeps/s390/multiarch/ifunc-impl-list.c
3341 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
3342 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
3343 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
3344 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
3345 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
3346 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
3347 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
3348 * sysdeps/s390/ifunc-wcsspn.h: New file.
3350 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3352 * sysdeps/s390/multiarch/Makefile
3353 (sysdep_routines): Remove wcsrchr variants.
3354 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
3355 * sysdeps/s390/multiarch/ifunc-impl-list.c
3356 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
3357 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
3358 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
3359 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
3360 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
3361 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
3362 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
3363 * sysdeps/s390/ifunc-wcsrchr.h: New file.
3365 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3367 * sysdeps/s390/multiarch/Makefile
3368 (sysdep_routines): Remove wcschrnul variants.
3369 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
3370 * sysdeps/s390/multiarch/ifunc-impl-list.c
3371 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
3372 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
3373 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
3374 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
3375 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
3376 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
3377 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
3378 * sysdeps/s390/ifunc-wcschrnul.h: New file.
3380 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3382 * sysdeps/s390/multiarch/Makefile
3383 (sysdep_routines): Remove wcschr variants.
3384 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
3385 * sysdeps/s390/multiarch/ifunc-impl-list.c
3386 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
3387 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
3388 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
3389 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
3390 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
3391 * sysdeps/s390/multiarch/wcschr.c: Move to ...
3392 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
3393 * sysdeps/s390/ifunc-wcschr.h: New file.
3395 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3397 * sysdeps/s390/multiarch/Makefile
3398 (sysdep_routines): Remove wcsncmp variants.
3399 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
3400 * sysdeps/s390/multiarch/ifunc-impl-list.c
3401 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
3402 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
3403 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
3404 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
3405 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
3406 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
3407 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
3408 * sysdeps/s390/ifunc-wcsncmp.h: New file.
3410 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3412 * sysdeps/s390/multiarch/Makefile
3413 (sysdep_routines): Remove wcscmp variants.
3414 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
3415 * sysdeps/s390/multiarch/ifunc-impl-list.c
3416 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
3417 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
3418 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
3419 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
3420 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
3421 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
3422 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
3423 * sysdeps/s390/ifunc-wcscmp.h: New file.
3425 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3427 * sysdeps/s390/multiarch/Makefile
3428 (sysdep_routines): Remove wcsncat variants.
3429 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
3430 * sysdeps/s390/multiarch/ifunc-impl-list.c
3431 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
3432 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
3433 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
3434 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
3435 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
3436 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
3437 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
3438 * sysdeps/s390/ifunc-wcsncat.h: New file.
3440 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3442 * sysdeps/s390/multiarch/Makefile
3443 (sysdep_routines): Remove wcscat variants.
3444 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
3445 * sysdeps/s390/multiarch/ifunc-impl-list.c
3446 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
3447 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
3448 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
3449 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
3450 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
3451 * sysdeps/s390/multiarch/wcscat.c: Move to ...
3452 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
3453 * sysdeps/s390/ifunc-wcscat.h: New file.
3455 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3457 * sysdeps/s390/multiarch/Makefile
3458 (sysdep_routines): Remove wcpncpy variants.
3459 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
3460 * sysdeps/s390/multiarch/ifunc-impl-list.c
3461 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
3462 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
3463 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
3464 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
3465 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
3466 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
3467 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
3468 * sysdeps/s390/ifunc-wcpncpy.h: New file.
3470 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3472 * sysdeps/s390/multiarch/Makefile
3473 (sysdep_routines): Remove wcsncpy variants.
3474 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
3475 * sysdeps/s390/multiarch/ifunc-impl-list.c
3476 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
3477 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
3478 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
3479 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
3480 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
3481 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
3482 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
3483 * sysdeps/s390/ifunc-wcsncpy.h: New file.
3485 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3487 * sysdeps/s390/multiarch/Makefile
3488 (sysdep_routines): Remove wcpcpy variants.
3489 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
3490 * sysdeps/s390/multiarch/ifunc-impl-list.c
3491 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
3492 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
3493 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
3494 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
3495 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
3496 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
3497 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
3498 * sysdeps/s390/ifunc-wcpcpy.h: New file.
3500 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3502 * sysdeps/s390/multiarch/Makefile
3503 (sysdep_routines): Remove wcscpy variants.
3504 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
3505 * sysdeps/s390/multiarch/ifunc-impl-list.c
3506 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
3507 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
3508 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
3509 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
3510 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
3511 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
3512 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
3513 * sysdeps/s390/ifunc-wcscpy.h: New file.
3515 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3517 * sysdeps/s390/multiarch/Makefile
3518 (sysdep_routines): Remove wcsnlen variants.
3519 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
3520 * sysdeps/s390/multiarch/ifunc-impl-list.c
3521 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
3522 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
3523 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
3524 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
3525 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
3526 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
3527 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
3528 * sysdeps/s390/ifunc-wcsnlen.h: New file.
3530 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3532 * sysdeps/s390/multiarch/Makefile
3533 (sysdep_routines): Remove wcslen variants.
3534 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
3535 * sysdeps/s390/multiarch/ifunc-impl-list.c
3536 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
3537 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
3538 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
3539 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
3540 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
3541 * sysdeps/s390/multiarch/wcslen.c: Move to ...
3542 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
3543 * sysdeps/s390/ifunc-wcslen.h: New file.
3545 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3547 * sysdeps/s390/multiarch/Makefile
3548 (sysdep_routines): Remove memrchr variants.
3549 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
3550 * sysdeps/s390/multiarch/ifunc-impl-list.c
3551 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
3552 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
3553 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
3554 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
3555 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
3556 * sysdeps/s390/multiarch/memrchr.c: Move to ...
3557 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
3558 * sysdeps/s390/ifunc-memrchr.h: New file.
3560 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3562 * sysdeps/s390/multiarch/Makefile
3563 (sysdep_routines): Remove memccpy variants.
3564 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
3565 * sysdeps/s390/multiarch/ifunc-impl-list.c
3566 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
3567 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
3568 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
3569 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
3570 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
3571 * sysdeps/s390/multiarch/memccpy.c: Move to ...
3572 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
3573 * sysdeps/s390/ifunc-memccpy.h: New file.
3575 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3577 * sysdeps/s390/multiarch/Makefile
3578 (sysdep_routines): Remove rawmemchr variants.
3579 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
3580 * sysdeps/s390/multiarch/ifunc-impl-list.c
3581 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
3582 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
3583 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
3584 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
3585 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
3586 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
3587 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
3588 * sysdeps/s390/ifunc-rawmemchr.h: New file.
3590 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3592 * sysdeps/s390/multiarch/Makefile
3593 (sysdep_routines): Remove memchr variants.
3594 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
3595 * sysdeps/s390/multiarch/ifunc-impl-list.c
3596 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
3597 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
3598 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
3599 * sysdeps/s390/multiarch/memchr.c: Move to ...
3600 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
3601 * sysdeps/s390/ifunc-memchr.h: New file.
3602 * sysdeps/s390/s390-64/memchr.S: Move to ...
3603 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
3604 for 31/64bit and ifunc handling.
3605 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
3606 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
3607 * sysdeps/s390/s390-32/memchr.S: Likewise.
3609 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3611 * sysdeps/s390/multiarch/Makefile
3612 (sysdep_routines): Remove strcspn variants.
3613 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
3614 * sysdeps/s390/multiarch/ifunc-impl-list.c
3615 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
3616 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
3617 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
3618 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
3619 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
3620 * sysdeps/s390/multiarch/strcspn.c: Move to ...
3621 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
3622 * sysdeps/s390/ifunc-strcspn.h: New file.
3624 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3626 * sysdeps/s390/multiarch/Makefile
3627 (sysdep_routines): Remove strpbrk variants.
3628 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
3629 * sysdeps/s390/multiarch/ifunc-impl-list.c
3630 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
3631 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
3632 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
3633 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
3634 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
3635 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
3636 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
3637 * sysdeps/s390/ifunc-strpbrk.h: New file.
3639 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3641 * sysdeps/s390/multiarch/Makefile
3642 (sysdep_routines): Remove strspn variants.
3643 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
3644 * sysdeps/s390/multiarch/ifunc-impl-list.c
3645 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
3646 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
3647 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
3648 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
3649 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
3650 * sysdeps/s390/multiarch/strspn.c: Move to ...
3651 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
3652 * sysdeps/s390/ifunc-strspn.h: New file.
3654 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3656 * sysdeps/s390/multiarch/Makefile
3657 (sysdep_routines): Remove strrchr variants.
3658 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
3659 * sysdeps/s390/multiarch/ifunc-impl-list.c
3660 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
3661 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
3662 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
3663 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
3664 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
3665 * sysdeps/s390/multiarch/strrchr.c: Move to ...
3666 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
3667 * sysdeps/s390/ifunc-strrchr.h: New file.
3669 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3671 * sysdeps/s390/multiarch/Makefile
3672 (sysdep_routines): Remove strchrnul variants.
3673 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
3674 * sysdeps/s390/multiarch/ifunc-impl-list.c
3675 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
3676 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
3677 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
3678 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
3679 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
3680 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
3681 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
3682 * sysdeps/s390/ifunc-strchrnul.h: New file.
3684 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3686 * sysdeps/s390/multiarch/Makefile
3687 (sysdep_routines): Remove strchr variants.
3688 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
3689 * sysdeps/s390/multiarch/ifunc-impl-list.c
3690 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
3691 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
3692 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
3693 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
3694 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
3695 * sysdeps/s390/multiarch/strchr.c: Move to ...
3696 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
3697 * sysdeps/s390/ifunc-strchr.h: New file.
3699 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3701 * sysdeps/s390/multiarch/Makefile
3702 (sysdep_routines): Remove strncmp variants.
3703 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
3704 * sysdeps/s390/multiarch/ifunc-impl-list.c
3705 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
3706 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
3707 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
3708 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
3709 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
3710 * sysdeps/s390/multiarch/strncmp.c: Move to ...
3711 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
3712 * sysdeps/s390/ifunc-strncmp.h: New file.
3714 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3716 * sysdeps/s390/multiarch/Makefile
3717 (sysdep_routines): Remove strcmp variants.
3718 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
3719 * sysdeps/s390/multiarch/ifunc-impl-list.c
3720 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
3721 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
3722 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
3723 * sysdeps/s390/multiarch/strcmp.c: Move to ...
3724 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
3725 * sysdeps/s390/ifunc-strcmp.h: New file.
3726 * sysdeps/s390/s390-64/strcmp.S: Move to ...
3727 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
3728 for 31/64bit and ifunc handling.
3729 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
3730 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
3731 * sysdeps/s390/s390-32/strcmp.S: Likewise.
3733 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3735 * sysdeps/s390/multiarch/Makefile
3736 (sysdep_routines): Remove strncat variants.
3737 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
3738 * sysdeps/s390/multiarch/ifunc-impl-list.c
3739 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
3740 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
3741 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
3742 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
3743 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
3744 * sysdeps/s390/multiarch/strncat.c: Move to ...
3745 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
3746 * sysdeps/s390/ifunc-strncat.h: New file.
3748 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3750 * sysdeps/s390/multiarch/Makefile
3751 (sysdep_routines): Remove strcat variants.
3752 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
3753 * sysdeps/s390/multiarch/ifunc-impl-list.c
3754 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
3755 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
3756 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
3757 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
3758 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
3759 * sysdeps/s390/multiarch/strcat.c: Move to ...
3760 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
3761 * sysdeps/s390/ifunc-strcat.h: New file.
3763 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3765 * sysdeps/s390/multiarch/Makefile
3766 (sysdep_routines): Remove stpncpy variants.
3767 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
3768 * sysdeps/s390/multiarch/ifunc-impl-list.c
3769 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
3770 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
3771 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
3772 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
3773 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
3774 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
3775 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
3776 * sysdeps/s390/ifunc-stpncpy.h: New file.
3778 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3780 * sysdeps/s390/multiarch/Makefile
3781 (sysdep_routines): Remove strncpy variants.
3782 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
3783 * sysdeps/s390/multiarch/ifunc-impl-list.c
3784 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
3785 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
3786 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
3787 * sysdeps/s390/multiarch/strncpy.c: Move to ...
3788 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
3789 * sysdeps/s390/ifunc-strncpy.h: New file.
3790 * sysdeps/s390/s390-64/strncpy.S: Move to ...
3791 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
3792 and adjust ifunc handling.
3793 * sysdeps/s390/s390-32/strncpy.S: Move to ...
3794 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
3795 and adjust ifunc handling.
3796 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
3797 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
3799 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3801 * sysdeps/s390/multiarch/Makefile
3802 (sysdep_routines): Remove stpcpy variants.
3803 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
3804 * sysdeps/s390/multiarch/ifunc-impl-list.c
3805 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
3806 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
3807 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
3808 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
3809 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
3810 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
3811 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
3812 * sysdeps/s390/ifunc-stpcpy.h: New file.
3814 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3816 * sysdeps/s390/multiarch/Makefile
3817 (sysdep_routines): Remove strcpy variants.
3818 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
3819 * sysdeps/s390/multiarch/ifunc-impl-list.c
3820 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
3821 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
3822 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
3823 * sysdeps/s390/multiarch/strcpy.c: Move to ...
3824 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
3825 * sysdeps/s390/ifunc-strcpy.h: New file.
3826 * sysdeps/s390/s390-64/strcpy.S: Move to ...
3827 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
3828 for 31/64bit and ifunc handling.
3829 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
3830 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
3831 * sysdeps/s390/s390-32/strcpy.S: Likewise.
3833 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3835 * sysdeps/s390/multiarch/Makefile
3836 (sysdep_routines): Remove strnlen variants.
3837 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
3838 * sysdeps/s390/multiarch/ifunc-impl-list.c
3839 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
3840 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
3841 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
3842 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
3843 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
3844 * sysdeps/s390/multiarch/strnlen.c: Move to ...
3845 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
3846 * sysdeps/s390/ifunc-strnlen.h: New file.
3848 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3850 * sysdeps/s390/multiarch/Makefile
3851 (sysdep_routines): Remove strlen variants.
3852 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
3853 * sysdeps/s390/multiarch/ifunc-impl-list.c
3854 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
3855 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
3856 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
3857 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
3858 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
3859 * sysdeps/s390/multiarch/strlen.c: Move to ...
3860 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
3861 * sysdeps/s390/ifunc-strlen.h: New file.
3863 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3865 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
3866 * sysdeps/s390/multiarch/ifunc-impl-list.c
3867 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
3868 * sysdeps/s390/ifunc-memmem.h: New file.
3869 * sysdeps/s390/memmem.c: Likewise.
3870 * sysdeps/s390/memmem-c.c: Likewise.
3871 * sysdeps/s390/memmem-vx.c: Likewise.
3873 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3875 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
3876 * sysdeps/s390/multiarch/ifunc-impl-list.c
3877 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
3878 * sysdeps/s390/ifunc-strstr.h: New file.
3879 * sysdeps/s390/strstr.c: Likewise.
3880 * sysdeps/s390/strstr-c.c: Likewise.
3881 * sysdeps/s390/strstr-vx.c: Likewise.
3883 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3885 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
3886 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
3887 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
3888 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
3890 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
3891 * sysdeps/s390/memmove-c.c: New file.
3892 * sysdeps/s390/memmove.c: Likewise.
3893 * sysdeps/s390/multiarch/ifunc-impl-list.c
3894 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
3896 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3898 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
3899 * sysdeps/s390/configure.ac: Add check for z13 support.
3900 * sysdeps/s390/configure: Regenerated.
3902 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3904 * sysdeps/s390/memcopy.h: New file.
3906 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3908 * sysdeps/s390/s390-32/bcopy.S: Remove.
3909 * sysdeps/s390/s390-64/bcopy.S: Likewise.
3911 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3913 * sysdeps/s390/ifunc-memcpy.h: New File.
3914 * sysdeps/s390/memcpy.S: Move to ...
3915 * sysdeps/s390/memcpy-z900.S ... here.
3916 Move implementations from memcpy-s390x.s to here.
3917 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
3918 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3919 Remove memcpy/mempcpy variants.
3920 * sysdeps/s390/Makefile (sysdep_routines):
3921 Add memcpy/mempcpy variants.
3922 * sysdeps/s390/multiarch/ifunc-impl-list.c
3923 (__libc_ifunc_impl_list): Adjust ifunc variants for
3925 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
3927 * sysdeps/s390/memcpy.c: ... here.
3928 Adjust ifunc variants for memcpy.
3929 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
3930 * sysdeps/s390/mempcpy.c: ... here.
3931 Adjust ifunc variants for mempcpy.
3932 * sysdeps/s390/mempcpy.S: Delete file.
3934 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3936 * sysdeps/s390/s390-64/memcpy.S: Move to ...
3937 * sysdeps/s390/memcpy.S: ... here.
3938 Adjust to be usable for 31/64bit.
3939 * sysdeps/s390/s390-32/memcpy.S: Delete File.
3940 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
3941 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
3942 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3943 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
3944 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
3945 Adjust to be usable for 31/64bit.
3946 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
3947 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
3948 * sysdeps/s390/multiarch/memcpy.c: ... here.
3949 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
3951 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3953 * sysdeps/s390/ifunc-memcmp.h: New File.
3954 * sysdeps/s390/memcmp.S: Move to ...
3955 * sysdeps/s390/memcmp-z900.S ... here.
3956 Move implementations from memcmp-s390x.s to here.
3957 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
3958 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3959 Remove memcmp variants.
3960 * sysdeps/s390/Makefile (sysdep_routines):
3961 Add memcmp variants.
3962 * sysdeps/s390/multiarch/ifunc-impl-list.c
3963 (__libc_ifunc_impl_list): Adjust ifunc variants for
3965 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
3967 * sysdeps/s390/memcmp.c: ... here.
3968 Adjust ifunc variants for memcmp.
3970 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3972 * sysdeps/s390/s390-64/memcmp.S: Move to ...
3973 * sysdeps/s390/memcmp.S: ... here.
3974 Adjust to be usable for 31/64bit.
3975 * sysdeps/s390/s390-32/memcmp.S: Delete File.
3976 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
3977 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
3979 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3980 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
3981 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
3982 Adjust to be usable for 31/64bit.
3983 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
3984 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
3985 * sysdeps/s390/multiarch/memcmp.c: ... here.
3986 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
3988 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3990 * sysdeps/s390/s390-32/bzero.S: Delete file.
3991 * sysdeps/s390/s390-64/bzero.S: Likewise.
3992 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
3993 * sysdeps/s390/bzero.c: New file.
3994 * sysdeps/s390/memset-z900.S: Add bzero entry points.
3995 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
3996 * sysdeps/s390/multiarch/ifunc-impl-list.c
3997 (__libc_ifunc_impl_list): Add bzero ifunc variants.
3999 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4001 * sysdeps/s390/ifunc-memset.h: New File.
4002 * sysdeps/s390/memset.S: Move to ...
4003 * sysdeps/s390/memset-z900.S ... here.
4004 Move implementations from memset-s390x.s to here.
4005 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
4006 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4007 Remove memset variants.
4008 * sysdeps/s390/Makefile (sysdep_routines):
4009 Add memset variants.
4010 * sysdeps/s390/multiarch/ifunc-impl-list.c
4011 (__libc_ifunc_impl_list): Adjust ifunc variants for
4013 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
4015 * sysdeps/s390/memset.c: ... here.
4016 Adjust ifunc variants for memset.
4018 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4020 * sysdeps/s390/s390-64/memset.S: Move to ...
4021 * sysdeps/s390/memset.S: ... here.
4022 Adjust to be usable for 31/64bit.
4023 * sysdeps/s390/s390-32/memset.S: Delete File.
4024 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
4025 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
4027 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4028 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
4029 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
4030 Adjust to be usable for 31/64bit.
4031 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
4032 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
4033 * sysdeps/s390/multiarch/memset.c: ... here.
4034 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
4036 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4038 * sysdeps/s390/multiarch/ifunc-resolve.h
4039 (s390_libc_ifunc_init, s390_libc_ifunc,
4040 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
4042 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4044 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
4045 * sysdeps/s390/configure.ac: Add check for z10 support.
4046 * sysdeps/s390/configure: Regenerated.
4048 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
4050 * sysdeps/i386/atomic-machine.h: Merged with ...
4051 * sysdeps/x86_64/atomic-machine.h: To ...
4052 * sysdeps/x86/atomic-machine.h: This. New file.
4054 2018-12-18 Florian Weimer <fweimer@redhat.com>
4056 Rewrite locale/gen-translit.pl in Python.
4057 * locale/Makefile (generated): Add C-translit.h.
4058 (before-compile): Add $(objpfx)C-translit.h.
4059 (C-translit.h): Move to $(objpfx). Create target directory.
4060 Build using Python script.
4061 * locale/gen-translit.py: New file.
4062 * locale/gen-translit.pl: Remove file.
4063 * locale/C-translit.h.in: Change comment character to '#' for
4064 easier parsing without a C preprocessor.
4065 * locale/C-translit.h: Remove generated file.
4066 * manual/install.texi (Tools for Compilation): Do not mention
4068 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
4069 Remove locale/C-translit.h.
4070 * scripts/update-copyrights: Likewise.
4071 * INSTALL: Regenerate.
4073 2018-12-18 Florian Weimer <fweimer@redhat.com>
4076 * localedata/locales/bi_VU: Remove executable bit from file.
4078 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
4081 (__localtime64): Add.
4082 * manual/maint.texi: Document Y2038 symbol handling.
4084 (__localtime64): Add.
4085 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
4087 2018-12-17 Joseph Myers <joseph@codesourcery.com>
4089 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
4092 * scripts/glibcextract.py (compare_macro_consts): Take parameters
4093 to allow extra macros from first or second sources.
4094 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
4095 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
4096 (tests-special): Add $(objpfx)tst-mman-consts.out.
4097 ($(objpfx)tst-mman-consts.out): New makefile target.
4099 2018-12-17 Mao Han <han_mao@c-sky.com>
4101 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
4102 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
4103 without stat64 system call support.
4104 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
4105 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
4106 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4107 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
4108 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
4109 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
4110 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
4111 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
4112 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
4113 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
4114 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
4116 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
4118 regex: fix storage-exhaustion error
4120 * posix/regexec.c (get_subexp):
4121 Do not continue if storage is exhausted.
4123 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
4125 regex: fix heap-use-after-free error
4127 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
4128 https://debbugs.gnu.org/32592
4129 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
4130 call extend_buffers which reallocates the re_string_t internal buffer.
4131 Local variable 'buf' was not updated in such case, resulting in
4133 * posix/regexec.c (get_subexp): Update 'buf' after call to
4136 2018-12-15 Florian Weimer <fweimer@redhat.com>
4138 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
4139 (minimum_stride_size): Use it.
4140 (support_blob_repeat_allocate): Likewise.
4142 2018-12-14 Joseph Myers <joseph@codesourcery.com>
4144 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
4149 2018-12-14 Florian Weimer <fweimer@redhat.com>
4151 * manual/process.texi (Process Creation Concepts): Remove
4152 documentation of process (ID) lifetime. List more process
4153 creation functions. Reference Process Identification section.
4154 (Process Identification): Add information about process ID
4155 lifetime. Describe Linux thread/task IDs.
4156 * manual/signal.texi (Signaling Another Process): Mention that the
4157 signal is always sent to the process.
4159 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4161 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
4162 and tst-ldbl-efgcvt.
4163 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
4164 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
4165 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
4166 (fcvt_tests, output_error, output_r_error, do_test): Use the
4167 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
4168 select the type of floating-point variables and arguments; to
4169 produce extra tests for double and conversion specifiers for
4170 printf; and to set the names of called functions.
4171 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
4172 in tst-efgcvt-template.c.
4173 * misc/tst-ldbl-efgcvt.c: Likewise.
4175 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
4177 * nss/Makefile (tst-nss-test3.out): New rule.
4179 2018-12-13 Joseph Myers <joseph@codesourcery.com>
4181 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
4184 2018-12-13 fanjinke <fanjinke@hygon.cn>
4186 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
4189 2018-12-13 Andreas Schwab <schwab@suse.de>
4192 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
4193 (__pthread_rwlock_rdlock_full): Update expected value for
4194 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
4195 * nptl/tst-rwlock-pwn.c: New file.
4196 * nptl/Makefile (tests): Add tst-rwlock-pwn.
4198 2018-12-12 Joseph Myers <joseph@codesourcery.com>
4200 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
4203 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4205 * benchtests/scripts/compare_bench.py (do_compare): write to
4206 stderr in casestat is not present.
4207 * benchtests/scripts/compare_bench.py (plot_graphs): write to
4208 stderr in case timings field is not present. Also string showing
4209 the output filename goes into the stderr.
4211 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4213 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
4214 and ZeroDivisorError exceptions.
4215 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
4216 argument to loop through user provided statistics.
4217 * benchtests/scripts/compare_bench.py (main): Include the --stats
4220 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4222 * benchtests/scripts/compare_bench.py (compare_runs): Continue
4225 2018-12-12 Florian Weimer <fweimer@redhat.com>
4227 * sysdeps/posix/timespec_get.c: Add missing “any later version”
4228 clause to copyright header.
4230 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4233 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
4234 registers saved in the stack frame.
4235 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
4236 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
4238 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4240 * include/bits/monetary-ldbl.h: New file.
4241 * include/bits/printf-ldbl.h: Likewise.
4242 * include/bits/stdio-ldbl.h: Likewise.
4243 * include/bits/stdlib-ldbl.h: Likewise.
4244 * include/bits/syslog-ldbl.h: Likewise.
4245 * include/bits/wchar-ldbl.h: Likewise.
4247 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4249 * libio/libio.h: Remove redirection for _IO_vfprintf.
4251 2018-12-11 Andreas Schwab <schwab@suse.de>
4253 * Makerules: Remove all references to abilist-pattern.
4254 (update-all-abi): Simplify find expression.
4256 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
4259 * math/auto-libm-test-in: Add new test case.
4260 * math/auto-libm-test-out-pow: Regenerated.
4261 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
4263 2018-12-10 DJ Delorie <dj@redhat.com>
4266 * support/test-container.c: Move postclean step to before we
4269 2018-12-10 Joseph Myers <joseph@codesourcery.com>
4271 * scripts/gen-as-const.py (main): Handle --python option.
4272 * scripts/gen-py-const.awk: Remove.
4273 * Makerules (py-const-script): Use gen-as-const.py.
4274 ($(py-const)): Likewise.
4275 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
4276 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
4277 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
4278 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
4279 ~PTHREAD_MUTEX_NO_ELISION_NP.
4280 * manual/README.pretty-printers: Update reference to
4283 * scripts/glibcextract.py: New file.
4284 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
4285 or tempfile. Import glibcexctract.
4286 (compute_c_consts): Remove. Moved to glibcextract.py.
4287 (gen_test): Update reference to compute_c_consts.
4289 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
4290 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
4291 * sysdeps/unix/sysv/linux/Makefile
4292 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
4293 Redirect stderr as well as stdout.
4295 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
4298 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
4299 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
4300 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
4301 ALWAYS_USE_VSYSCALL.
4302 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
4303 ALWAYS_USE_VSYSCALL.
4304 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
4305 ALWAYS_USE_VSYSCALL.
4307 2018-12-10 Florian Weimer <fweimer@redhat.com>
4310 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
4311 offset instead of count for clarity. Fix typo in comment.
4312 (__old_getdents64): Keep track of previous offset. Use it to call
4314 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
4315 that d_off is never zero.
4317 2018-12-10 Andreas Schwab <schwab@suse.de>
4319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
4320 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
4321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
4322 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
4323 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
4325 2018-12-10 Joseph Myers <joseph@codesourcery.com>
4327 * timezone/private.h: Update from tzcode 2018g.
4328 * timezone/tzfile.h: Likewise.
4329 * timezone/tzselect.ksh: Likewise.
4330 * timezone/zdump.c: Likewise.
4331 * timezone/zic.c: Likewise.
4333 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4336 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
4337 (do_test): Adjust buffer size and fix format.
4339 2018-12-07 DJ Delorie <dj@redhat.com>
4342 * malloc/tst-tcfree3.c: New.
4343 * malloc/Makefile: Add it.
4345 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
4347 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
4349 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4351 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
4352 used as a mask for the mode argument of __vfscanf_internal and
4353 __vfwscanf_internal.
4354 * stdio-common/vfscanf-internal.c
4355 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
4356 (__strtof128_internal): Define to __wcstof128_internal.
4357 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
4358 __strtof128_internal or __wcstof128_internal when the format of
4359 long double is the same as _Float128.
4361 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
4363 * include/unistd.h (__confstr): Add prototype and hidden prototype.
4364 * posix/confstr.c (confstr): Rename to __confstr.
4365 (__confstr): Add hidden def.
4366 (confstr): Add weak alias for __confstr.
4367 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
4370 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
4372 * NEWS: Mention getcpu.
4373 * include/sched.h (__getcpu): New libc_hidden_proto.
4374 * manual/resource.texi: Document getcpu.
4375 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
4376 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
4377 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
4378 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4379 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4380 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4381 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4382 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4383 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4384 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4385 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4386 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4387 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
4389 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4390 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4391 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4400 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
4401 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4402 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4403 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4404 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4405 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4406 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4407 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4408 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
4409 * sysdeps/unix/sysv/linux/getcpu.c: New file.
4410 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
4413 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
4415 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
4417 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
4419 2018-12-07 Florian Weimer <fweimer@redhat.com>
4422 * posix/Makefile (routines): Add spawn_faction_addfchdir.
4423 * posix/Versions (GLIBC_2.29): Export
4424 posix_spawn_file_actions_addfchdir_np.
4425 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
4426 * posix/spawn_faction_destroy.c
4427 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
4428 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
4429 and the field action.fchdir_action.
4430 * posix/tst-spawn-chdir.c (add_chdir): New function.
4431 (do_test): Add do_fchdir loop. Call add_chdir.
4432 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
4433 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4434 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
4435 posix_spawn_file_actions_addfchdir_np.
4436 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
4438 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
4440 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
4441 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
4443 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
4445 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
4447 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
4449 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
4451 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
4453 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4454 (GLIBC_2.29): Likewise.
4455 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4456 (GLIBC_2.29): Likewise.
4457 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4458 (GLIBC_2.29): Likewise.
4459 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4460 (GLIBC_2.29): Likewise.
4461 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
4463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4464 (GLIBC_2.29): Likewise.
4465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4466 (GLIBC_2.29): Likewise.
4467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4468 (GLIBC_2.29): Likewise.
4469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4470 (GLIBC_2.29): Likewise.
4471 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
4473 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
4475 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
4477 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
4478 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
4480 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
4482 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
4484 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
4487 2018-12-06 Joseph Myers <joseph@codesourcery.com>
4489 * manual/texinfo.tex: Update to version 2018-09-21.20 with
4490 trailing whitespace removed.
4491 * scripts/config.guess: Update to version 2018-11-28.
4492 * scripts/config.sub: Update to version 2018-11-28.
4493 * scripts/install-sh: Update to version 2018-03-11.20.
4494 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
4495 * scripts/move-if-change: Update to version 2018-03-07 03:47.
4497 2018-12-07 Florian Weimer <fweimer@redhat.com>
4501 * inet/tst-if_index-long.c: New file.
4502 * inet/Makefile (tests): Add tst-if_index-long.
4504 2018-12-07 Florian Weimer <fweimer@redhat.com>
4506 * support/check.h (support_record_failure_is_failed): Declare.
4507 * support/descriptors.h: New file.
4508 * support/support_descriptors.c: Likewise.
4509 * support/tst-support_descriptors.c: Likewise.
4510 * support/support_record_failure.c
4511 (support_record_failure_is_failed): New function.
4512 * support/Makefile (libsupport-routines): Add support_descriptors.
4513 (tests): Add tst-support_descriptors.
4515 2018-12-05 Zack Weinberg <zackw@panix.com>
4516 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4518 * stdio-common/vfprintf-internal.c
4519 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
4520 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
4521 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
4522 and __no_long_double.
4523 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
4524 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
4525 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
4526 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
4527 and __nldbl_*syslog* functions.
4528 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
4529 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
4530 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
4531 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
4532 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
4533 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
4534 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
4535 (__nldbl_vwprintf, __nldbl_wprintf):
4536 Directly call the appropriate __v*printf_internal routine, passing
4537 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
4539 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
4540 (__nldbl___printf_chk, __nldbl___snprintf_chk)
4541 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
4542 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
4543 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
4544 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4545 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
4546 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
4547 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
4548 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
4549 Likewise, and also pass PRINTF_FORTIFY when appropriate.
4550 (__nldbl_syslog, __nldbl_vsyslog):
4551 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
4552 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4554 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4557 2018-12-05 Zack Weinberg <zackw@panix.com>
4558 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4561 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
4562 Moved here from debug/vsprintf_chk.c.
4563 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
4564 and completion logic for the strfile to match exactly what
4565 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
4566 _IO_str_init_static_internal instead of maxlen-1.
4567 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4568 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
4569 __vsprintf_internal.
4571 * debug/vsprintf_chk.c (__vsprintf_chk)
4572 * debug/sprintf_chk.c (__sprintf_chk):
4573 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
4574 'flags' argument is positive, and slen as maxlen. No need to lock
4575 the FILE and/or construct a temporary FILE. Minimize and normalize
4576 header inclusions and variable names. Do not libc_hidden_def anything.
4578 * debug/asprintf_chk.c (__asprintf_chk)
4579 * debug/dprintf_chk.c (__dprintf_chk)
4580 * debug/fprintf_chk.c (__fprintf_chk)
4581 * debug/fwprintf_chk.c (__fwprintf_chk)
4582 * debug/printf_chk.c (__printf_chk)
4583 * debug/snprintf_chk.c (__snprintf_chk)
4584 * debug/swprintf_chk.c (__swprintf_chk)
4585 * debug/vasprintf_chk.c (__vasprintf_chk)
4586 * debug/vdprintf_chk.c (__vdprintf_chk)
4587 * debug/vfprintf_chk.c (__vfprintf_chk)
4588 * debug/vfwprintf_chk.c (__vfwprintf_chk)
4589 * debug/vprintf_chk.c (__vprintf_chk)
4590 * debug/vsnprintf_chk.c (__vsnprintf_chk)
4591 * debug/vswprintf_chk.c (__vswprintf_chk)
4592 * debug/vwprintf_chk.c (__vwprintf_chk)
4593 * debug/wprintf_chk.c (__wprintf_chk):
4594 Directly call the corresponding vxxprintf_internal function, passing
4595 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
4596 the FILE and/or construct a temporary FILE. Minimize and normalize
4597 header inclusions and variable names. Do not libc_hidden_def anything.
4599 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
4600 __obstack_vprintf_internal.
4601 (__obstack_vprintf_chk): Convert into a wrapper that calls
4602 __obstack_vprintf_internal (these two functions already had the
4603 same code) and move to new file...
4604 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
4606 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
4607 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
4608 * debug/Makefile (routines): Add vobprintf_chk.
4610 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4611 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4612 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
4613 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4614 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
4615 (__nldbl___obstack_vfprintf_chk):
4616 Directly call the corresponding vxxprintf_internal function,
4617 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
4618 duplicate comparison of slen with 0 or maxlen from the corresponding
4619 non-__nldbl function.
4621 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
4622 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
4623 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
4624 Remove libc_hidden_proto.
4626 * stdio-common/vfprintf-internal.c
4627 (__vfprintf_internal, __vfwprintf_internal):
4628 Do not check _IO_FLAGS2_FORTIFY.
4629 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
4630 * libio/libioP.h: Update prototype of __vsprintf_internal and add
4631 a comment explaining why it has the maxlen argument.
4632 (_IO_acquire_lock_clear_flags2_fct): Remove.
4633 (_IO_acquire_lock_clear_flags2): Remove.
4634 (_IO_release_lock): Remove conditional statement which will
4636 (_IO_acquire_lock): Remove variable which is now unused.
4637 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
4638 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
4640 * stdio-common/Makefile (tests): Add tst-bz11319 and
4641 tst-bz11319-fortify2.
4642 (CFLAGS-tst-bz11319-fortify2.c): New macro.
4643 * stdio-common/tst-bz11319-fortify2.c: New file.
4644 * stdio-common/tst-bz11319.c: Likewise.
4646 2018-12-05 Zack Weinberg <zackw@panix.com>
4647 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4649 * misc/syslog.c: Include libioP.h, not iolibio.h.
4650 (__vsyslog_internal): New function with the former body of
4651 __vsyslog_chk; takes mode_flags argument same as
4652 __v*printf_internal. Call __vfprintf_internal directly.
4654 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
4655 Remove libc_hidden_def.
4656 (__syslog, __syslog_chk): Use __vsyslog_internal.
4657 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
4659 * include/sys/syslog.h: Add multiple inclusion guard.
4660 Add prototype for __vsyslog_internal.
4661 Remove declaration and libc_hidden_proto for __vsyslog_chk.
4663 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
4664 Use __vsyslog_internal.
4666 2018-12-05 Zack Weinberg <zackw@panix.com>
4667 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4669 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
4670 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
4671 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
4673 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
4674 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
4676 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
4677 Include wctype.h here if COMPILE_WPRINTF is defined.
4678 Define __vfprintf_internal or __vfwprintf_internal, depending
4680 Temporarily, on entry to this function, update mode_flags
4681 according to the environmental settings corresponding to
4682 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
4683 Throughout, check mode_flags instead of __ldbl_is_dbl and
4684 _IO_FLAGS2_FORTIFY on the destination FILE.
4685 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
4686 Include vfprintf-internal.c. Don't include wctype.h.
4687 * stdio-common/vfprintf.c: New file. Just define __vfprintf
4688 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
4690 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
4691 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
4693 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
4695 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
4696 and add mode_flags argument; use __vfprintf_internal.
4697 (__vdprintf): New function. Alias vdprintf to this.
4698 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
4699 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
4700 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
4701 (__obstack_printf): Use __obstack_printf_internal.
4702 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
4703 public aliases __vsnprintf and vsnprintf.
4704 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
4706 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
4707 public aliases _IO_vsprintf and vsprintf.
4708 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
4709 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
4710 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
4711 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
4712 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
4714 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
4715 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
4716 * stdio-common/fprintf.c, stdio-common/fxprintf.c
4717 * stdio-common/printf.c: Use __vfprintf_internal.
4719 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
4720 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
4721 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
4723 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
4724 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
4725 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
4726 __vfwprintf_internal.
4728 * libio/libio.h: Remove libc_hidden_proto and declaration for
4730 Remove declaration of _IO_vfwprintf.
4731 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
4733 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
4735 * include/stdio.h: Add prototype for __vasprintf.
4736 (__vsnprintf): Remove declaration, because there are no more
4738 * include/wchar.h (__vfwprintf, __vswprintf): Remove
4739 declaration, because there are no more internal calls.
4741 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
4742 __vsnprintf_internal, instead of _IO_vsnprintf.
4743 * argp/argp-help.c (__argp_error, __argp_failure): Use
4744 __vasprintf_internal, instead of _IO_vasprintf.
4745 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
4746 redefine, because there are no more internal calls.
4748 2018-12-05 Zack Weinberg <zackw@panix.com>
4749 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4751 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
4752 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
4753 Include libio/strfile.h instead of libioP.h.
4754 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
4755 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
4756 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
4757 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
4758 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
4759 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
4760 necessary. Do not set __no_long_double. Normalize variable names.
4761 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
4762 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
4763 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
4764 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
4765 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
4766 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
4767 Call __vfscanf_internal / __vfwscanf_internal directly, passing
4768 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
4769 Do not set __no_long_double. Normalize variable names.
4771 2018-12-05 Zack Weinberg <zackw@panix.com>
4772 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4774 * stdio-common/isoc99_scanf.c
4775 * stdio-common/isoc99_fscanf.c
4776 * stdio-common/isoc99_sscanf.c
4777 * stdio-common/isoc99_vscanf.c
4778 * stdio-common/isoc99_vfscanf.c
4779 * stdio-common/isoc99_vsscanf.c
4780 * wcsmbs/isoc99_wscanf.c
4781 * wcsmbs/isoc99_fwscanf.c
4782 * wcsmbs/isoc99_swscanf.c
4783 * wcsmbs/isoc99_vwscanf.c
4784 * wcsmbs/isoc99_vfwscanf.c
4785 * wcsmbs/isoc99_vswscanf.c:
4786 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
4787 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
4788 No need to lock and unlock the FILE passed to that function.
4790 * stdio-common/vfscanf-internal.c
4791 (__vfscanf_internal, __vfwscanf_internal):
4792 Don't look at _IO_FLAGS2_SCANF_STD.
4793 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
4794 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
4795 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
4797 2018-12-05 Zack Weinberg <zackw@panix.com>
4798 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4800 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
4801 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
4802 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
4803 * libio/strfile.h: Add multiple inclusion guard.
4804 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
4806 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
4807 consistency with the other version of this file.
4808 (ldbl_compat_symbol): New macro.
4809 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
4812 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
4813 Define __vfscanf_internal or __vfwscanf_internal, depending on
4814 COMPILE_WSCANF; don't define any other public symbols.
4815 Remove errval and code to set errp.
4816 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
4817 as the mode_flags argument.
4818 (encode_error, conv_error, input_error): Don't set errval.
4819 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
4820 Include vfscanf-internal.c.
4821 * stdio-common/vfscanf.c: New file defining the public entry
4822 point vfscanf, which calls __vfscanf_internal.
4823 * stdio-common/vfwscanf.c: New file defining the public entry
4824 point vfwscanf, which calls __vfwscanf_internal.
4826 * stdio-common/iovfscanf.c: New file.
4827 * stdio-common/iovfwscanf.c: Likewise.
4829 * stdio-common/Makefile (routines): Add vfscanf-internal,
4830 vfwscanf-internal, iovfscanf, iovfwscanf.
4831 * stdio-common/Versions: Mention GLIBC_2.29, so that
4832 it can be used in SHLIB_COMPAT expressions.
4833 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
4834 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
4835 Call __vfscanf_internal, instead of _IO_vfscanf.
4836 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
4838 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
4841 * libio/iovsscanf.c: Clean up includes, when possible. Use
4842 _IO_strfile_read or _IO_strfile_readw, when needed. Call
4843 __vfscanf_internal or __vfwscanf_internal directly.
4844 * libio/iovswscanf.c: Likewise.
4845 * libio/swscanf.c: Likewise.
4846 * libio/vscanf.c: Likewise.
4847 * libio/vwscanf.c: Likewise.
4848 * libio/wscanf.c: Likewise.
4849 * stdio-common/isoc99_fscanf.c: Likewise.
4850 * stdio-common/isoc99_scanf.c: Likewise.
4851 * stdio-common/isoc99_sscanf.c: Likewise.
4852 * stdio-common/isoc99_vfscanf.c: Likewise.
4853 * stdio-common/isoc99_vscanf.c: Likewise.
4854 * stdio-common/isoc99_vsscanf.c: Likewise.
4855 * stdio-common/scanf.c: Likewise.
4856 * stdio-common/sscanf.c: Likewise.
4857 * wcsmbs/isoc99_fwscanf.c: Likewise.
4858 * wcsmbs/isoc99_swscanf.c: Likewise.
4859 * wcsmbs/isoc99_vfwscanf.c: Likewise.
4860 * wcsmbs/isoc99_vswscanf.c: Likewise.
4861 * wcsmbs/isoc99_vwscanf.c: Likewise.
4862 * wcsmbs/isoc99_wscanf.c: Likewise.
4864 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
4867 (__tz_compute): Replace time_t with __time64_t.
4868 (__tz_convert): Replace time_t* with __time64_t.
4869 (__offtime): Replace time_t* with __time64_t.
4871 (__gmtime_r): Adjust call to __tz_convert.
4874 (__localtime_r): Likewise.
4875 (localtime): Likewise.
4876 * time/offtime.c: Replace time_t with __time64_t.
4877 * time/tzset.c: Likewise.
4879 2018-12-04 Joseph Myers <joseph@codesourcery.com>
4881 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
4882 dynamic linker unless [$(run-built-tests) = yes].
4884 2018-12-03 DJ Delorie <dj@delorie.com>
4886 * support/test-container.c (check_for_unshare_hints): New.
4887 (main): Call it if unshare fails. Add support for "su" scriptlet
4890 2018-12-03 Joseph Myers <joseph@codesourcery.com>
4892 * scripts/gen-as-const.py (compute_c_consts): Take an argument
4893 'START' to indicate that start text should be output.
4894 (gen_test): Likewise.
4895 (main): Generate 'START' for first symbol or '--' line, or at end
4896 of input if not previously generated.
4898 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
4901 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
4902 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
4903 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
4904 ALWAYS_USE_VSYSCALL.
4906 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4909 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
4912 2018-12-03 Carlos O'Donell <carlos@redhat.com>
4915 * locale/programs/localedef.c: Declare boolean hard_links default true.
4916 (options): Add --no-hard-links option.
4917 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
4918 * locale/programs/localedef.h: Declare prototype for hard_links.
4919 * locale/programs/locfile.c (write_locale_data): Don't use hard
4920 links if hard_links is false.
4922 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
4924 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
4926 (__cache_sysconf): Likewise.
4927 (init_cacheinfo): Likewise.
4928 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
4929 populate COMMON_CPUID_INDEX_80000007 and
4930 COMMON_CPUID_INDEX_80000008.
4931 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
4932 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
4933 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
4934 (init_cpu_features): Use _Static_assert on
4935 index_arch_Fast_Unaligned_Load.
4936 __get_cpuid_registers and __get_arch_feature. Updated for
4937 cpu_features_basic. Set stepping in cpu_features.
4938 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
4939 (FEATURE_INDEX_2): New.
4940 (FEATURE_INDEX_MAX): Changed to enum.
4941 (COMMON_CPUID_INDEX_D_ECX_1): New.
4942 (COMMON_CPUID_INDEX_80000007): Likewise.
4943 (COMMON_CPUID_INDEX_80000008): Likewise.
4944 (cpuid_registers): Likewise.
4945 (cpu_features_basic): Likewise.
4946 (CPU_FEATURE_USABLE): Likewise.
4947 (bit_arch_XXX_Usable): Likewise.
4948 (cpu_features): Use cpuid_registers and cpu_features_basic.
4949 (bit_arch_XXX): Reweritten.
4950 (bit_cpu_XXX): Likewise.
4951 (index_cpu_XXX): Likewise.
4952 (reg_XXX): Likewise.
4953 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
4955 (CHECK_CPU_FEATURE): New.
4956 (CHECK_CPU_FEATURE_USABLE): Likewise.
4957 (cpu_kinds): Likewise.
4958 (do_test): Print vendor, family, model and stepping. Check
4959 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
4960 (TEST_FUNCTION): Removed.
4961 Include <support/test-driver.c> instead of
4962 "../../test-skeleton.c".
4963 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
4964 Check POPCNT instead of POPCOUNT.
4965 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
4967 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4969 * scripts/gen-as-const.py (main): Avoid emitting empty line when
4970 there is no element in `consts'.
4972 2018-12-01 Florian Weimer <fweimer@redhat.com>
4974 * support/support_capture_subprocess.c
4975 (support_capture_subprocess): Check that pipe descriptors have
4976 expected values. Close original pipe descriptors in subprocess.
4978 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
4981 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
4982 attr with __pthread_default_barrierattr.
4983 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
4984 attr with __pthread_default_condattr.
4985 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
4986 attr with __pthread_default_mutexattr.
4987 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
4988 attr with __pthread_default_rwlockattr.
4990 2018-12-01 Kemi Wang <kemi.wang@intel.com>
4992 * manual/tunables.texi (POSIX Thread Tunables): New node.
4993 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
4994 * nptl/nptl-init.c: Include pthread_mutex_conf.h
4995 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
4996 __pthread_tunables_init.
4997 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
4998 (max_adaptive_count): Define.
4999 * nptl/pthread_mutex_conf.c: New file.
5000 * nptl/pthread_mutex_conf.h: New file.
5001 * sysdeps/generic/adaptive_spin_count.h: New file.
5002 * sysdeps/nptl/dl-tunables.list: New file.
5003 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
5004 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
5005 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
5008 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
5011 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
5012 * stdlib/on_exit.c (__on_exit): Likewise.
5013 * stdlib/Makefile (tests): Add tst-bz20544.
5014 * stdlib/tst-bz20544.c: New test.
5016 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
5019 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
5020 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
5023 2018-11-30 Florian Weimer <fweimer@redhat.com>
5025 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
5026 Extend error logging.
5027 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
5030 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5032 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
5033 __sigismember instead of sigismember.
5034 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
5035 cancel_handler): New definitions.
5036 (do_system): Use posix_spawn instead of fork and execl and remove
5038 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
5039 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
5040 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
5041 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
5042 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
5043 * sysdeps/unix/sysv/linux/system.c: Likewise.
5047 * NEWS: Add new semantic for atfork with popen and system.
5048 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
5051 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5054 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
5055 modification order when accessing reloc_result->addr.
5056 * include/link.h (reloc_result): Add field init.
5057 * nptl/Makefile (tests): Add tst-audit-threads.
5058 (modules-names): Add tst-audit-threads-mod1 and
5059 tst-audit-threads-mod2.
5060 Add rules to build tst-audit-threads.
5061 * nptl/tst-audit-threads-mod1.c: New file.
5062 * nptl/tst-audit-threads-mod2.c: Likewise.
5063 * nptl/tst-audit-threads.c: Likewise.
5064 * nptl/tst-audit-threads.h: Likewise.
5066 2018-11-30 Joseph Myers <joseph@codesourcery.com>
5068 * scripts/gen-as-const.py: New file.
5069 * scripts/gen-as-const.awk: Remove.
5070 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
5072 ($(objpfx)test-as-const-%.c): Likewise.
5074 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
5076 * elf/dl-exception.c: Include <_itoa.h>.
5078 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
5080 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
5081 returned by __f_setlk.
5083 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
5084 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5086 * elf/Makefile (tests-internal): Add tst-create_format1.
5087 * elf/dl-exception.c (_dl_exception_create_format): Support
5089 * elf/tst-create_format1.c: New file.
5091 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
5093 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
5094 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
5096 * argp/argp-help.c (__argp_failure): Likewise.
5098 2018-11-29 Mao Han <han_mao@c-sky.com>
5100 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
5101 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
5102 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
5103 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
5104 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
5105 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
5106 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
5107 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
5108 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
5109 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
5110 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
5111 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
5112 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
5113 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
5114 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
5115 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
5116 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
5117 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
5118 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
5119 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
5120 (R_CKCORE_TLS_TPOFF32): New defines.
5122 2018-11-29 Florian Weimer <fweimer@redhat.com>
5124 * posix/Makefile (before-compile): Remove testcases.h and
5126 (generated): Add testcases.h and ptestcases.h.
5127 (testcases.h, ptestcases.h): Move to $(objpfx).
5128 (runtests.o): Add dependency on testcases.h.
5129 (runptests.o): Add dependency on ptestcases.h.
5130 * posix/testcases.h, posix/ptestcases.h: Remove files.
5131 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
5132 not touch posix/testcases.h and posix/ptestcases.h.
5134 2018-11-28 Florian Weimer <fweimer@redhat.com>
5136 support: Add signal support to support_capture_subprocess_check.
5137 * support/capture_subprocess.h (support_capture_subprocess_check):
5138 Adjust comment and rename parameter.
5139 * support/support_capture_subprocess_check.c
5140 (print_actual_status): New function.
5141 (support_capture_subprocess_check): Support negative
5142 status_or_signal. Call print_actual_status.
5143 * support/tst-support_capture_subprocess.c (do_test): Call
5144 support_capture_subprocess_check.
5145 * libio/tst-vtables-common.c (termination_status)
5146 (init_termination_status): Remove.
5147 (check_for_termination): Adjust support_capture_subprocess_check
5149 (do_test): Remove call to init_termination_status.
5151 2018-11-28 Joseph Myers <joseph@codesourcery.com>
5153 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
5154 source directory instead of a copy.
5155 (CommandList.create_copy_dir): Remove.
5157 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
5159 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5161 2018-11-28 Florian Weimer <fweimer@redhat.com>
5163 * support/support.h (support_quote_string): Do not use str
5166 2018-11-27 Joseph Myers <joseph@codesourcery.com>
5168 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
5169 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
5171 2018-11-27 Florian Weimer <fweimer@redhat.com>
5173 * support/support.h (support_quote_string): Declare.
5174 * support/support_quote_string.c: New file.
5175 * support/tst-support_quote_string.c: Likewise.
5176 * support/Makefile (libsupport-routines): Add
5177 support_quote_string.
5178 (tests): Add tst-support_quote_string.
5180 2018-11-27 Florian Weimer <fweimer@redhat.com>
5184 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
5185 descriptor leak in case of ENODEV error.
5187 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
5190 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
5191 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
5192 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
5194 2018-11-26 Carlos O'Donell <carlos@redhat.com>
5196 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
5197 Error for unknown lines.
5199 2018-11-26 Joseph Myers <joseph@codesourcery.com>
5201 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
5202 Touch additional files.
5204 2018-11-26 Florian Weimer <fweimer@redhat.com>
5207 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
5210 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
5213 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
5214 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
5215 SHARED. Include sysdep.h.
5216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
5217 ALWAYS_USE_VSYSCALL.
5218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
5219 ALWAYS_USE_VSYSCALL.
5221 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
5224 * nptl/Makefile (tests-static): Add tst-cond11-static.
5226 * nptl/tst-cond11-static.c: New File.
5227 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
5228 tst-affinity-static.
5230 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
5232 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
5233 (USE_VSYSCALL): Likewise.
5234 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
5235 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
5237 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
5239 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
5242 2018-11-23 Joseph Myers <joseph@codesourcery.com>
5245 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5246 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
5249 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
5251 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
5252 (tst-cet-legacy-1a-ARGS): New.
5253 ($(objpfx)tst-cet-legacy-1a): New target.
5254 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
5256 2018-11-22 Joseph Myers <joseph@codesourcery.com>
5258 * conform/conformtest.py (CompileSubTest.__init__): Set
5259 self.run_early to False.
5260 (ExecuteSubTest.__init__): Likewise.
5261 (HeaderTests.run): Try running all non-optional, non-XFAILed
5262 compilation tests in a single execution of the compiler.
5264 * conform/conformtest.py (CompileSubTest): New class.
5265 (ExecuteSubTest): Likewise.
5266 (ElementTest.run): Rename to gen_subtests. Append tests to
5267 self.subtests instead of running them.
5268 (ConstantTest.run): Likewise.
5269 (SymbolTest.run): Likewise.
5270 (TypeTest.run): Likewise.
5271 (TagTest.run): Likewise.
5272 (FunctionTest.run): Likewise.
5273 (VariableTest.run): Likewise.
5274 (MacroFunctionTest.run): Likewise.
5275 (MacroStrTest.run): Likewise.
5276 (HeaderTests.handle_test_line): Generate subtests for tests.
5277 (HeaderTests.run): Run subtests for tests.
5279 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5281 * math/Versions (GLIBC_2.29): Add pow.
5282 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
5284 * math/w_pow.c: New file.
5285 * sysdeps/i386/fpu/w_pow.c: New file.
5286 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
5287 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
5288 and add necessary aliases.
5289 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
5290 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
5291 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5292 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5293 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5294 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5295 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5296 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5297 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5298 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5299 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5300 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5301 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5302 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5303 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5308 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5309 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5310 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5311 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5312 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5313 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5314 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5315 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
5317 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
5318 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
5319 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
5321 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5323 * math/Versions (GLIBC_2.29): Add log2.
5324 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
5326 * math/w_log2.c: New file.
5327 * sysdeps/i386/fpu/w_log2.c: New file.
5328 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
5329 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
5330 and add necessary aliases.
5331 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
5332 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
5333 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5334 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5335 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5336 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5337 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5338 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5339 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5340 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5341 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5342 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5343 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5344 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5345 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5350 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5351 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5352 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5353 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5354 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5355 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5356 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5358 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5360 * math/Versions (GLIBC_2.29): Add log.
5361 * math/w_log_compat.c (__log_compat): Change to versioned compat
5363 * math/w_log.c: New file.
5364 * sysdeps/i386/fpu/w_log.c: New file.
5365 * sysdeps/ia64/fpu/e_log.S: Update.
5366 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
5367 and add necessary aliases.
5368 * sysdeps/ieee754/dbl-64/w_log.c: New file.
5369 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
5370 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5371 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5372 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5373 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5374 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5375 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5376 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5377 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5378 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5379 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5380 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5381 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5382 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5387 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5388 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5389 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5390 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5391 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5392 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5393 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5394 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
5396 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
5397 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
5398 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
5399 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
5401 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5403 * math/Versions (GLIBC_2.29): Add exp and exp2.
5404 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
5405 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
5406 * math/w_exp_compat.c (__exp_compat): Likewise.
5407 * math/w_exp.c: New file.
5408 * math/w_exp2.c: New file.
5409 * sysdeps/i386/fpu/w_exp.c: New file.
5410 * sysdeps/i386/fpu/w_exp2.c: New file.
5411 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
5412 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
5413 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
5414 and add necessary aliases.
5415 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
5416 and add necessary aliases.
5417 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
5418 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
5419 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
5420 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
5421 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5422 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5423 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5424 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5425 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5426 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5427 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5428 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5429 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5430 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5431 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5432 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5433 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5438 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5439 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5440 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5441 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5442 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5443 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5444 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5445 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
5446 (__ieee754_exp): Rename to __exp.
5447 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
5448 (__ieee754_exp): Rename to __exp.
5449 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
5450 (__ieee754_exp): Rename to __exp.
5451 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
5453 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
5455 2018-11-20 DJ Delorie <dj@redhat.com>
5457 * malloc/malloc.c (tcache_entry): Add key field.
5458 (tcache_put): Set it.
5459 (tcache_get): Likewise.
5460 (_int_free): Check for double free in tcache.
5461 * malloc/tst-tcfree1.c: New.
5462 * malloc/tst-tcfree2.c: New.
5463 * malloc/Makefile: Run the new tests.
5464 * manual/probes.texi: Document memory_tcache_double_free probe.
5466 * dlfcn/dlerror.c (check_free): Prevent double frees.
5468 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
5470 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
5472 2018-11-20 Joseph Myers <joseph@codesourcery.com>
5474 * conform/conformtest.py (ElementTest.run): Use unique identifiers
5475 in tests. Use names for format arguments.
5476 (ConstantTest.run): Likewise.
5477 (SymbolTest.run): Likewise.
5478 (TypeTest.run): Likewise.
5479 (TagTest.run): Likewise.
5480 (FunctionTest.run): Likewise.
5481 (VariableTest.run): Likewise.
5482 (MacroFunctionTest.run): Likewise.
5483 (MacroStrTest.run): Likewise.
5484 (HeaderTests.__init__): Set self.num_tests.
5485 (HeaderTests.handle_test_line): Set test.num. Increment
5488 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
5490 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
5491 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
5494 2018-11-19 Mao Han <han_mao@c-sky.com>
5496 * scripts/config.guess: Update to version 2018-08-29.
5497 * scripts/config.sub: Update to version 2018-08-29.
5499 2018-11-19 Florian Weimer <fweimer@redhat.com>
5501 support: Print timestamps in timeout handler.
5502 * support/support_test_main.c (print_timestamp): New function.
5503 (signal_handler): Use it to print the termination time and the
5504 time of the last write to standard output.
5506 2018-11-16 Zack Weinberg <zackw@panix.com>
5507 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5509 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
5510 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
5512 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
5513 and add flags argument. Check flags instead of __ldbl_is_dbl when
5514 deciding whether to set is_long_double.
5515 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
5516 passing zero for flags argument.
5517 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
5519 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5520 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
5521 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
5522 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
5523 variable names. Remove libc_hidden_def/libc_hidden_proto from
5524 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
5525 longer called from within the library.
5526 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
5527 for __nldbl___vstrfmon_l, declare it explicitly.
5529 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
5531 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
5533 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
5535 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
5536 F_SETLK64, F_SETLKW64, respectively.
5537 * sysdeps/mach/hurd/f_setlk.c: New file.
5538 * sysdeps/mach/hurd/f_setlk.h: New file.
5539 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
5541 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
5542 (__libc_fcntl): Move non-flock operations to...
5543 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
5544 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
5546 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
5548 mktime: DEBUG_MKTIME cleanup
5549 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
5550 And it’s no longer needed now that glibc and Gnulib both have
5551 their own testing mechanisms for mktime.
5552 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
5554 mktime: fix non-EOVERFLOW errno handling
5556 mktime was not properly reporting failures when the underlying
5557 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
5558 them like EOVERFLOW failures, and set errno to EOVERFLOW.
5559 The problem could happen on non-glibc platforms, with Gnulib.
5560 * time/mktime.c (guess_time_tm): Remove, replacing with ...
5561 (tm_diff): ... this simpler function, which does not change errno.
5562 All callers changed to deal with errno themselves.
5563 (ranged_convert, __mktime_internal): Return failure immediately if
5564 the underlying function reports any failure other than EOVERFLOW.
5565 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
5568 mktime: fix bug with Y2038 DST transition
5570 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
5571 mishandle a DST transition that jumps over the Y2038 boundary.
5572 No such DST transitions are known so this is only a theoretical
5573 bug, but we might as well do things right.
5575 mktime: make more room for overflow
5577 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
5578 This is so that we can add tm_diff results to a previous guess,
5579 which will be useful in a later patch.
5581 mktime: simplify offset guess
5583 * time/mktime.c (__mktime_internal): Omit excess precision.
5585 mktime: new test for mktime failure
5587 Based on a test suggested by Albert Aribaud in:
5588 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
5589 * time/Makefile (tests): Add bug-mktime4.
5590 * time/bug-mktime4.c: New file.
5592 mktime: fix EOVERFLOW bug
5594 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
5595 Include libc-config.h, not config.h, for __set_errno.
5596 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
5598 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
5600 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
5601 __attribute_copy__ to copy attributes from name. Drop static qualifier
5602 to avoid warnings about leaf attribute not having effect on static
5605 2018-11-13 Florian Weimer <fweimer@redhat.com>
5607 * malloc/malloc.c (fastbin_push_entry): New function.
5608 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
5609 (REMOVE_FB): Remove macro.
5610 (_int_malloc): Use fastbin_pop_entry and reindent.
5611 (_int_free): Use fastbin_push_entry.
5612 (malloc_consolidate): Use atomic_exchange_acquire.
5614 2018-11-13 Joseph Myers <joseph@codesourcery.com>
5616 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
5617 alias attribute, not with strong_alias.
5619 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
5620 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
5621 with additional parameter thread.
5622 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
5623 in terms of __hidden_ver2.
5624 (hidden_tls_def): New macro.
5625 (libc_hidden_tls_def): Likewise.
5626 (rtld_hidden_tls_def): Likewise.
5627 (libm_hidden_tls_def): Likewise.
5628 (libmvec_hidden_tls_def): Likewise.
5629 (libresolv_hidden_tls_def): Likewise.
5630 (librt_hidden_tls_def): Likewise.
5631 (libdl_hidden_tls_def): Likewise.
5632 (libnss_files_hidden_tls_def): Likewise.
5633 (libnsl_hidden_tls_def): Likewise.
5634 (libnss_nisplus_hidden_tls_def): Likewise.
5635 (libutil_hidden_tls_def): Likewise.
5636 (libutil_hidden_tls_def): Likweise.
5637 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
5638 libc_hidden_tls_def.
5639 (__sim_disabled_exceptions_thread): Likewise.
5640 (__sim_round_mode_thread): Likewise.
5642 * sysdeps/sparc/sparc-ifunc.h [SHARED]
5643 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
5644 copy attributes from name.
5646 2018-11-12 Joseph Myers <joseph@codesourcery.com>
5648 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
5649 Use __attribute_copy__ to copy attributes from name.
5651 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
5652 with __hidden_ver1 call.
5653 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
5654 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
5655 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
5656 (__cosf): Do not declare here.
5657 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
5658 (__sincosf): Do not declare here.
5659 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
5660 (__sinf): Do not declare here.
5662 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
5663 (__BIG_ENDIAN): Likewise.
5664 (__BYTE_ORDER): Likewise.
5665 (strong_alias): Likewise.
5666 (_strong_alias): Likewise.
5668 2018-11-12 Florian Weimer <fweimer@redhat.com>
5670 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
5671 function. Move after the definition of in_smallbin_range. Do not
5672 use __builtin_expect for paths that lead to a noreturn function.
5673 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
5674 because it is unclear whether this is in fact an unlikely
5676 (_int_malloc, _int_free): Adjust.
5677 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
5679 * malloc/arena.c (heap_trim): Likewise.
5681 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5683 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
5684 it, free it if needed.
5685 (reauthenticate): Test and use ccwdir.
5686 (child_init_port): In non-resetids case, test and use ccwdir.
5687 (child_chdir): New nested function to set ccwdir.
5688 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
5689 * hurd/hurd/port.h (_hurd_port_move): New function.
5690 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
5691 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
5692 * hurd/Versions (_hurd_port_move): Export function.
5693 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
5695 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
5696 of dtablesize for allocating dtable_cloexec.
5698 2018-11-09 Martin Sebor <msebor@redhat.com>
5700 * include/libc-symbols.h (__attribute_copy__): Define macro unless
5701 it's already defined.
5702 (_strong_alias): Use __attribute_copy__.
5703 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
5704 * misc/sys/cdefs.h (__attribute_copy__): New macro.
5705 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
5706 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
5707 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
5708 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
5709 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
5710 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
5711 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
5712 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
5713 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
5714 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
5715 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
5716 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
5717 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
5718 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
5719 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
5720 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
5721 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
5723 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5725 * misc/tst-efgcvt.c: Include support/check.h and
5726 support/test-driver.c. Do not include test-skeleton.c.
5727 (error_count): Remove.
5728 (output_error): Replace increments to error_count with calls to
5729 support_record_failure.
5730 (output_r_error): Likewise.
5731 (special): Likewise.
5732 (do_test): Unconditionally return zero.
5733 (TEST_FUNCTION): Remove.
5735 2018-11-09 Joseph Myers <joseph@codesourcery.com>
5737 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
5739 ($(linknamespace-header-tests)): Likewise.
5741 * conform/conformtest.py: New file.
5742 * conform/conformtest.pl: Remove.
5743 * conform/GlibcConform.pm: Likewise.
5744 * conform/glibcconform.py (KEYWORDS_C90): New constant.
5745 (KEYWORDS_C99): Likewise.
5746 (KEYWORDS): Likewise.
5747 * conform/Makefile ($(conformtest-header-tests)): Use
5748 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
5749 option. Use --header instead of --headers.
5750 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
5752 * conform/data/spawn.h-data: Likewise.
5753 * conform/data/fcntl.h-data (openat): Add space after function
5755 * conform/data/wchar.h-data (wcscasecmp): Likewise.
5756 (wcscasecmp_l): Likewise.
5757 * conform/data/termios.h-data (c_cc): Add space after element
5760 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5762 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
5763 instead of manually comparing and reporting mismatching strings.
5764 * misc/tst-ldbl-error.c (do_one_test): Likewise.
5765 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
5767 2018-11-08 Joseph Myers <joseph@codesourcery.com>
5769 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
5770 __ASSUME_SOCKETCALL.
5771 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5772 (__ASSUME_SOCKETCALL): Remove.
5773 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5774 (__ASSUME_SOCKETCALL): Likewise.
5775 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5776 (__ASSUME_SOCKETCALL): Likewise.
5777 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5778 (__ASSUME_SOCKETCALL): Likewise.
5779 * sysdeps/unix/sysv/linux/s390/kernel-features.h
5780 (__ASSUME_SOCKETCALL): Likewise.
5781 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5782 (__ASSUME_SOCKETCALL): Likewise.
5783 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5784 (__ASSUME_SOCKETCALL): Likewise.
5786 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
5789 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
5790 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
5791 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
5792 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
5793 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
5796 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
5799 * resolv/tst-resolv-network.c: Add test for getnetbyname.
5801 2018-11-07 Joseph Myers <joseph@codesourcery.com>
5804 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5805 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5806 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5807 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5809 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5811 * support/support_test_compare_string.c
5812 (support_test_compare_string): Fix printf format.
5814 2018-11-07 Florian Weimer <fweimer@redhat.com>
5816 Implement TEST_COMPARE_STRING.
5817 * support/check.h (TEST_COMPARE_STRING): Define.
5818 (support_test_compare_string): Declare.
5819 * support/Makefile (libsupport-routines): Add
5820 support_test_compare_string.
5821 (tests): Add tst-test_compare_string.
5822 * support/support_test_compare_string.c: New file.
5823 * support/tst-test_compare_string.c: Likewise.
5825 2018-11-07 Andreas Schwab <schwab@suse.de>
5828 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
5829 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
5832 2018-11-06 Joseph Myers <joseph@codesourcery.com>
5835 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5836 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
5837 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
5838 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
5841 2018-11-06 Florian Weimer <fweimer@redhat.com>
5844 * posix/Makefile (routines): Add spawn_faction_addchdir.
5845 (tests): Add tst-spawn-chdir.
5846 * posix/Versions (GLIBC_2.29): Add
5847 posix_spawn_file_actions_addchdir_np.
5848 * posix/spawn_faction_addchdir.c: New file.
5849 * posix/spawn_faction_destroy.c
5850 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
5851 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
5852 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
5854 * posix/tst-spawn-chdir.c: New file.
5855 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
5856 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5857 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
5858 posix_spawn_file_actions_addchdir_np.
5859 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
5861 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
5863 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
5864 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
5866 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
5868 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
5870 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
5872 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
5874 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
5876 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5877 (GLIBC_2.29): Likewise.
5878 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5879 (GLIBC_2.29): Likewise.
5880 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5881 (GLIBC_2.29): Likewise.
5882 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5883 (GLIBC_2.29): Likewise.
5884 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
5886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5887 (GLIBC_2.29): Likewise.
5888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5889 (GLIBC_2.29): Likewise.
5890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5891 (GLIBC_2.29): Likewise.
5892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5893 (GLIBC_2.29): Likewise.
5894 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
5896 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
5898 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
5900 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
5901 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
5903 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
5905 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
5907 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
5910 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5912 * misc/Makefile (tests): Add tst-ldbl-error.
5913 * misc/tst-ldbl-error.c: New file.
5915 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5917 * misc/Makefile (tests): Add tst-ldbl-warn.
5918 * misc/tst-ldbl-warn.c: New file.
5920 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5922 * argp/Makefile (tests): Add tst-ldbl-argp.
5923 * argp/tst-ldbl-argp.c: New file.
5925 2018-11-05 Arjun Shankar <arjun@redhat.com>
5927 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
5928 __gconv_path_elem and call __gconv_get_path unconditionally.
5930 2018-11-05 Andreas Schwab <schwab@suse.de>
5933 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
5934 creating the first helper thread failed.
5936 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
5938 * sysdeps/mach/hurd/msync.c: New file.
5940 2018-11-02 Florian Weimer <fweimer@redhat.com>
5942 * support/shell-container.c (copy_func): Call
5943 support_copy_file_range instead of copy_file_range to support
5944 cross-device copies.
5946 2018-11-02 Florian Weimer <fweimer@redhat.com>
5948 * support/test-container.c: Include <libc-pointer-arith.h> for
5951 2018-11-01 Zong Li <zong@andestech.com>
5953 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
5954 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
5955 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
5956 (__FP_FRAC_SET_8): Add implementation for RV32 use.
5958 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
5959 variable to avoid overlap arguments.
5961 2018-11-01 Joseph Myers <joseph@codesourcery.com>
5963 * posix/bug-regex22.c (main): Use puts with distinct error
5964 messages for unexpected success of re_compile_pattern, not printf
5965 with NULL argument to %s.
5967 * stdio-common/bug22.c: Include <libc-diag.h>.
5968 (do_test): Disable -Wformat-overflow= warnings around fprintf
5969 calls outputting more than INT_MAX characters.
5970 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
5971 around printf call with NULL %s argument.
5974 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
5975 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
5977 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5978 (__ASSUME_RECVMSG_SYSCALL): Likewise.
5979 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5980 (__ASSUME_SENDTO_SYSCALL): Likewise.
5981 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5982 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
5984 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5985 (__ASSUME_CONNECT_SYSCALL): Likewise.
5986 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5987 (__ASSUME_RECVFROM_SYSCALL): Likewise.
5988 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
5990 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
5992 [__LINUX_KERNEL_VERSION >= 0x040400]
5993 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5994 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
5997 (setsockopt): Likewise.
5999 2018-11-01 Fredrik Noring <noring@nocrew.org>
6001 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
6002 with the ISA override.
6004 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
6006 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
6009 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
6011 * manual/errno.texi (EIEIO): Document how translators should
6012 translate the error message.
6013 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
6014 printing trailing whitespaces refused by git.
6015 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
6016 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6017 * hurd/Makefile (user-interfaces): Add pci.
6019 2018-10-30 Joseph Myers <joseph@codesourcery.com>
6021 * conform/linknamespace.py: New file.
6022 * conform/linknamespace.pl: Remove file.
6023 * conform/Makefile ($(linknamespace-header-tests)): Use
6024 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
6027 2018-10-30 Florian Weimer <fweimer@redhat.com>
6029 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
6032 2018-10-30 Florian Weimer <fweimer@redhat.com>
6034 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
6036 2018-10-30 Florian Weimer <fweimer@redhat.com>
6038 * stdlib/tst-strtod-overflow.c (do_test): Switch to
6039 support_blob_repeat.
6041 2018-10-30 Florian Weimer <fweimer@redhat.com>
6043 Avoid spurious test failures in stdlib/test-bz22786.
6044 * support/Makefile (libsupport-routines): Add blob_repeat.
6045 (tests): Add tst-support_blob_repeat.
6046 * support/blob_repeat.h: New file.
6047 * support/blob_repeat.c: Likewise.
6048 * support/tst-support_blob_repeat.c: Likewise.
6049 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
6050 support_blob_repeat_allocate.
6052 2018-10-30 Andreas Schwab <schwab@suse.de>
6055 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
6056 Don't use tail call.
6057 * elf/tst-unwind-main.c: New file.
6058 * elf/Makefile (tests): Add tst-unwind-main.
6059 (CFLAGS-tst-unwind-main.c): Define.
6061 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
6064 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
6066 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
6068 2018-10-29 Joseph Myers <joseph@codesourcery.com>
6070 * conform/glibcconform.py: Do not import shutil.
6071 (list_exported_functions): Use tempfile.TemporaryDirectory instead
6074 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
6075 critic_missing for versions before 3.4.
6076 * configure: Regenerated.
6077 * manual/install.texi (Tools for Compilation): Document
6078 requirement for Python to build glibc.
6079 * INSTALL: Regenerated.
6080 * Rules [PYTHON]: Make code unconditional.
6081 * benchtests/Makefile [PYTHON]: Likewise.
6082 * conform/Makefile [PYTHON]: Likewise.
6083 * manual/Makefile [PYTHON]: Likewise.
6084 * math/Makefile [PYTHON]: Likewise.
6086 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6088 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
6089 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
6090 answer to interrupt_operation, return EIEIO instead of EINTR.
6091 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
6092 _hurd_intr_rpc_msg_about_to global point to start of controlled
6093 assembly snippet. Make it check canceled flag.
6094 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
6095 the _hurd_intr_rpc_msg_about_to point.
6096 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
6097 issue, remove cancel flag check.
6099 2018-10-26 Joseph Myers <joseph@codesourcery.com>
6101 * scripts/build-many-glibcs.py: Remove compatibility for missing
6102 os.cpu_count and re.fullmatch.
6104 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
6107 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
6108 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
6109 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
6111 2018-10-25 Joseph Myers <joseph@codesourcery.com>
6113 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
6116 2018-10-25 Florian Weimer <fweimer@redhat.com>
6120 XFAIL siginfo_t si_band conform test on sparc64.
6121 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
6122 (__SI_BAND_TYPE): Only override long int default type on sparc64.
6123 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6124 (conformtest-xfail-conds): Add sparc64-linux.
6125 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
6127 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
6129 2018-10-25 Joseph Myers <joseph@codesourcery.com>
6131 * elf/elf.h (NT_MIPS_DSP): New macro.
6132 (NT_MIPS_FP_MODE): Likewise.
6134 2018-10-25 Zong Li <zong@andestech.com>
6136 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
6137 name by adding the file extension (.so).
6139 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
6141 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
6142 (test-xfail-ISO11/threads.h/linknamespace,
6143 test-xfail-ISO11/threads.h/conform): Add.
6145 2018-10-24 Joseph Myers <joseph@codesourcery.com>
6147 * math/gen-libm-test.py: Import os.
6148 (ALL_FLOATS_MANUAL): New constant.
6149 (ALL_FLOATS_SUFFIX): Likewise.
6150 (Ulps.all_functions): New function.
6151 (real_all_ulps): Likewise.
6152 (generate_err_table_sub): Likewise.
6153 (generate_err_table): Likewise.
6154 (main): Handle -s and -m options.
6155 * manual/libm-err-tab.pl: Remove.
6156 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
6157 instead of libm-err-tab.pl.
6158 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
6160 * manual/install.texi (Tools for Compilation): Document
6161 requirement for Python to build manual.
6162 * INSTALL: Regenerated.
6164 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
6166 * bits/time64.h: New file.
6167 * include/time.h: Replace internal_time_t with __time64_t.
6168 * posix/bits/types (__time64_t): Add.
6169 * stdlib/Makefile: Add bits/time64.h to includes.
6170 * time/tzfile.c: Replace internal_time_t with __time64_t.
6172 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6174 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
6175 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
6176 __posix_spawn_file_actions_init, __posix_spawnattr_init,
6177 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
6178 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
6180 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
6181 * posix/spawn_faction_addclose.c
6182 (__posix_spawn_file_actions_addclose): Add hidden definition.
6183 * posix/spawn_faction_adddup2.c
6184 (__posix_spawn_file_actions_adddup2): Likewise.
6185 * posix/spawn_faction_destroy.c
6186 (__posix_spawn_file_actions_destroy): Likewise.
6187 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
6189 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
6190 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
6191 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
6193 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
6194 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
6197 2018-10-24 Andreas Schwab <schwab@suse.de>
6200 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
6202 * elf/cache.c (print_cache): Likewise.
6204 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
6206 * bits/timesize.h: New file.
6207 * stdlib/Makefile (headers): Add bits/timesize.h.
6208 * sysdeps/unix/sysv/linux/bits/msq-pad.h
6209 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
6210 * sysdeps/unix/sysv/linux/bits/sem-pad.h
6211 (__SEM_PAD_AFTER_TIME): Likewise.
6212 * sysdeps/unix/sysv/linux/bits/shm-pad.h
6213 (__SHM_PAD_AFTER_TIME): Likewise.
6214 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
6215 (__MSQ_PAD_BEFORE_TIME): Likewise.
6216 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
6217 (__SEM_PAD_BEFORE_TIME): Likewise.
6218 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
6219 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
6220 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
6221 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
6222 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
6223 (__MSQ_PAD_BEFORE_TIME): Likewise.
6224 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
6225 (__SEM_PAD_BEFORE_TIME): Likewise.
6226 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
6227 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
6228 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
6229 (__MSQ_PAD_BEFORE_TIME): Likewise.
6230 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
6231 (__SEM_PAD_BEFORE_TIME): Likewise.
6232 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
6233 (__SHM_PAD_BEFORE_TIME): Likewise.
6234 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
6235 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
6236 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
6238 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
6240 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
6241 USE_RDTSCP is defined.
6242 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
6243 USE_RDTSCP is defined.
6245 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6247 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
6251 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
6252 independently of other flags.
6254 2018-10-23 Florian Weimer <fweimer@redhat.com>
6256 * time/tst-mktime2.c (N_STRINGS): Remove.
6257 (set_timezone): New function.
6258 (spring_forward_gap): Call it. Use FAIL_EXIT1.
6259 (mktime_test1): Report localtime failure and check errno value.
6261 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
6262 (do_test): Remove alarm call. Use set_timezone and array_length.
6264 2018-10-23 Andreas Schwab <schwab@suse.de>
6266 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
6267 (__start_context): Use END instead of PSEUDO_END.
6269 2018-10-22 Joseph Myers <joseph@codesourcery.com>
6271 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
6274 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6278 * wcsmbs/c32rtomb.c: New file.
6279 * wcsmbs/mbrtoc32.c: Likewise.
6280 * wcsmbs/tst-c32-state.c: Likewise.
6281 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
6282 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
6283 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
6284 (tests): Add tst-c32-state.
6285 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
6288 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
6290 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
6291 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
6293 2018-10-19 Joseph Myers <joseph@codesourcery.com>
6296 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
6297 pair and return 0 in that case, and use saved character to
6298 interpret following character.
6299 * wcsmbs/tst-c16-surrogate.c: New file.
6300 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
6301 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
6302 Depend on $(gen-locales)
6304 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
6307 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
6308 (struct siginfo_t): Use correct type for si_band.
6310 2018-10-19 Florian Weimer <fweimer@redhat.com>
6313 * resource/bits/types/struct_rusage.h (struct rusage): Update
6314 comment on struct. Remove extraneous field comment.
6316 2018-10-18 David S. Miller <davem@davemloft.net>
6318 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
6319 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
6320 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
6321 sysdep_routines in subdir elf.
6322 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
6323 version for __vdso_clock_gettime.
6324 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
6326 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
6327 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6329 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
6331 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
6333 * sysdeps/i386/init-arch.h: Removed.
6334 * sysdeps/i386/i586/init-arch.h: Likewise.
6335 * sysdeps/i386/i686/init-arch.h: Likewise.
6336 * sysdeps/i386/i686/hp-timing.h: Likewise.
6337 * sysdeps/x86_64/hp-timing.h: Likewise.
6338 * sysdeps/i386/isa.h: New file.
6339 * sysdeps/i386/i586/isa.h: Likewise.
6340 * sysdeps/i386/i686/isa.h: Likewise.
6341 * sysdeps/x86_64/isa.h: Likewise.
6342 * sysdeps/x86/hp-timing.h: New file.
6343 * sysdeps/x86/init-arch.h: Include <isa.h>.
6345 2018-10-17 Joseph Myers <joseph@codesourcery.com>
6347 * math/libm-test-pow.inc (pow_test_data): Do not allow
6348 divide-by-zero exception for pow(+/- 0, -Inf).
6350 2018-10-17 Zack Weinberg <zackw@panix.com>
6352 * manual/job.texi (Job Control is Optional): Remove node, as
6353 job control has not been optional in quite some time.
6354 (Job Control): Mention briefly that systems older than
6355 POSIX.1-2001 might not support job control.
6356 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
6357 defined on systems conforming to POSIX.1-2001.
6359 2018-10-17 Arjun Shankar <arjun@redhat.com>
6362 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
6364 * (__gconv_read_conf): Mark function static.
6365 * (once): New static variable.
6366 * (__gconv_load_conf): New function.
6367 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
6368 * iconv/gconv_db.c (once): Remove static variable.
6369 * (__gconv_compare_alias): Use __gconv_load_conf instead of
6371 * (__gconv_find_transform): Likewise.
6372 * iconv/tst-iconv-mt.c: New test.
6373 * iconv/Makefile: Add tst-iconv_mt.
6375 2018-10-17 Joseph Myers <joseph@codesourcery.com>
6377 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6379 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
6380 (shmatt_t): Define as __syscall_ulong_t.
6381 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
6382 and [__SHM_PAD_AFTER_TIME].
6383 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
6384 Define shm_segsz and associated padding based on
6385 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
6386 Use __syscall_ulong_t instead of unsigned long int.
6387 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
6389 [__USE_MISC] (struct shm_info): Likewise.
6390 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
6391 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
6392 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
6393 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
6394 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
6395 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
6396 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
6397 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
6398 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
6399 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
6400 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
6402 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6404 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
6405 (SHMLBA): Remove macro.
6406 (__getpagesize): Remove function declaration.
6407 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
6409 (SHMLBA): Remove macro.
6410 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
6412 (SHMLBA): Remove macro.
6413 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
6415 (SHMLBA): Remove macro.
6416 (__getpagesize): Remove function declaration.
6417 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
6419 (SHMLBA): Remove macro.
6420 (__getshmlba): Remove function declaration.
6421 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
6422 (SHMLBA): Remove macro.
6423 (__getpagesize): Remove function declaration.
6424 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
6425 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
6426 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
6427 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
6428 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
6429 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
6430 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
6431 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
6432 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
6433 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
6435 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
6438 * nptl/tst-mutex10.c: New File.
6439 * nptl/Makefile (tests): Add tst-mutex10.
6440 (tst-mutex10-ENV): New variable.
6441 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
6442 Ensure that elision path is used if elision is available.
6443 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
6445 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
6447 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
6448 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
6449 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
6450 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
6452 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
6453 (__pthread_mutex_cond_lock_adjust): Likewise.
6454 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
6456 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
6457 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6458 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6459 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
6461 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
6462 Use atomic_load_relaxed and atomic_store_relaxed.
6463 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
6464 Use atomic_store_relaxed.
6466 2018-10-17 Andreas Schwab <schwab@suse.de>
6468 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
6469 * crypt/badsalttest.c (TIMEOUT): Likewise.
6470 * crypt/sha256c-test.c (TIMEOUT): Likewise.
6471 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
6472 * io/test-lfs.c (TIMEOUT): Likewise.
6473 * libio/tst-atime.c (TIMEOUT): Likewise.
6474 * localedata/tst-leaks.c (TIMEOUT): Likewise.
6475 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
6476 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
6477 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
6478 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
6479 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
6480 * nptl/tst-cond11.c (TIMEOUT): Likewise.
6481 * nptl/tst-cond14.c (TIMEOUT): Likewise.
6482 * nptl/tst-cond15.c (TIMEOUT): Likewise.
6483 * nptl/tst-cond24.c (TIMEOUT): Likewise.
6484 * nptl/tst-cond25.c (TIMEOUT): Likewise.
6485 * nptl/tst-kill2.c (TIMEOUT): Likewise.
6486 * nptl/tst-kill3.c (TIMEOUT): Likewise.
6487 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
6488 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
6489 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
6490 * nptl/tst-once2.c (TIMEOUT): Likewise.
6491 * nptl/tst-once3.c (TIMEOUT): Likewise.
6492 * nptl/tst-once4.c (TIMEOUT): Likewise.
6493 * nptl/tst-robust8.c (TIMEOUT): Likewise.
6494 * nptl/tst-robust9.c (TIMEOUT): Likewise.
6495 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
6496 * nptl/tst-sem14.c (TIMEOUT): Likewise.
6497 * nptl/tst-sem6.c (TIMEOUT): Likewise.
6498 * nptl/tst-signal3.c (TIMEOUT): Likewise.
6499 * nptl/tst-spin4.c (TIMEOUT): Likewise.
6500 * nptl/tst-tls3.c (TIMEOUT): Likewise.
6501 * nptl/tst-tls4.c (TIMEOUT): Likewise.
6502 * posix/tst-chmod.c (TIMEOUT): Likewise.
6503 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
6504 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
6505 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
6506 * posix/tst-regex2.c (TIMEOUT): Likewise.
6507 * posix/tst-waitid.c (TIMEOUT): Likewise.
6508 * rt/tst-aio.c (TIMEOUT): Likewise.
6509 * rt/tst-aio10.c (TIMEOUT): Likewise.
6510 * rt/tst-aio4.c (TIMEOUT): Likewise.
6511 * rt/tst-aio5.c (TIMEOUT): Likewise.
6512 * rt/tst-aio6.c (TIMEOUT): Likewise.
6513 * rt/tst-aio64.c (TIMEOUT): Likewise.
6514 * rt/tst-aio7.c (TIMEOUT): Likewise.
6515 * rt/tst-aio9.c (TIMEOUT): Likewise.
6516 * rt/tst-clock.c (TIMEOUT): Likewise.
6517 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
6518 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
6519 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
6520 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
6521 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
6522 * rt/tst-timer4.c (TIMEOUT): Likewise.
6523 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
6524 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
6525 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
6526 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
6527 * time/tst-ftime.c (TIMEOUT): Likewise.
6528 * timezone/tst-tzset.c (TIMEOUT): Likewise.
6530 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
6532 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
6533 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
6536 2018-10-15 Joseph Myers <joseph@codesourcery.com>
6538 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6540 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
6541 instead of <bits/wordsize.h>.
6542 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
6543 and [__SEM_PAD_AFTER_TIME].
6544 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
6545 __syscall_ulong_t instead of unsigned long int.
6546 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
6547 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
6548 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
6549 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
6550 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
6551 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
6552 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
6553 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
6554 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
6555 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
6556 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
6558 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
6560 regex: simplify by using intprops.h
6562 * posix/regex_internal.h [_LIBC]: Include intprops.h.
6563 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
6564 intprops.h defines them.
6566 regex: __builtin_expect → __glibc_unlikely
6568 This refactoring was prompted by a problem when the regex code is
6569 used as part of Gnulib and when the builder’s compiler does not grok
6570 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
6571 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
6572 Although this refactoring does not fix the problem directly,
6573 we might as well have Gawk use the now-preferred glibc style for when
6574 __builtin_expect is unavailable.
6575 * posix/regex_internal.h (BE): Remove.
6576 All uses replaced by __glibc_unlikely or __glibc_likely.
6578 2018-10-11 Joseph Myers <joseph@codesourcery.com>
6580 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6582 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
6583 instead of <bits/wordsize.h>.
6584 (msgqnum_t): Define as __syscall_ulong_t.
6585 (msglen_t): Likewise.
6586 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
6587 and [__MSQ_PAD_AFTER_TIME].
6588 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
6589 __syscall_ulong_t instead of unsigned long int.
6590 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
6591 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
6592 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
6593 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
6594 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
6595 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
6596 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
6597 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
6598 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
6599 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
6600 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
6602 2018-10-10 Joseph Myers <joseph@codesourcery.com>
6604 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
6605 (struct shmid_ds): Condition padding after time fields on
6607 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
6608 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
6609 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
6611 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
6612 (struct semid_ds): Condition padding after time fields on
6614 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
6615 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
6616 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
6617 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
6619 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
6620 (struct msqid_ds): Condition padding after time fields on
6622 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
6623 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
6624 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
6625 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
6627 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
6629 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
6631 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
6633 * libio/tst-readline.c (TIMEOUT): Define.
6635 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
6637 mktime fix for Gnulib + coreutils
6639 This fix affects only Gnulib. Problem discovered when
6640 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
6642 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
6643 Do not define since it is not used. Defining an unused static
6644 function prompts a warning from GCC when Coreutils is configured
6645 with --enable-gcc-warnings.
6647 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6649 * benchtests/scripts/compare_bench.py (main): set float type on
6652 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
6655 * localedata/locales/kl_GL (mon): Update, the relative case.
6656 (alt_mon): Add, fill with month names in the nominative case.
6657 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
6658 (d_fmt): Set to "%b %d %Y".
6660 2018-10-04 Joseph Myers <joseph@codesourcery.com>
6662 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
6663 <bits/mman-linux.h>.
6664 (PROT_READ): Don't define here.
6665 (PROT_WRITE): Likewise.
6666 (PROT_EXEC): Likewise.
6667 (PROT_NONE): Likewise.
6668 (PROT_GROWSDOWN): Likewise.
6669 (PROT_GROWSUP): Likewise.
6670 (MAP_SHARED): Likewise.
6671 (MAP_PRIVATE): Likewise.
6672 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
6673 [__USE_MISC] (MAP_FILE): Likewise.
6674 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
6675 [__USE_MISC] (MAP_ANON): Likewise.
6676 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
6677 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
6678 (MCL_CURRENT): Likewise.
6679 (MCL_FUTURE): Likewise.
6680 (MCL_ONFAULT): Likewise.
6681 [__USE_MISC] (MADV_NORMAL): Likewise.
6682 [__USE_MISC] (MADV_RANDOM): Likewise.
6683 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
6684 [__USE_MISC] (MADV_WILLNEED): Likewise.
6685 [__USE_MISC] (MADV_DONTNEED): Likewise.
6686 [__USE_MISC] (MADV_FREE): Likewise.
6687 [__USE_MISC] (MADV_REMOVE): Likewise.
6688 [__USE_MISC] (MADV_DONTFORK): Likewise.
6689 [__USE_MISC] (MADV_DOFORK): Likewise.
6690 [__USE_MISC] (MADV_HWPOISON): Likewise.
6691 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
6692 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
6693 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
6694 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
6695 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
6696 (__MAP_ANONYMOUS): New macro.
6697 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
6698 <bits/mman-linux.h> inclusion.
6699 (MAP_FIXED): Likewise.
6700 (MS_SYNC): Likewise.
6701 (MS_ASYNC): Likewise.
6702 (MS_INVALIDATE): Likewise.
6703 [__USE_MISC] (MADV_MERGEABLE): Likewise.
6704 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
6705 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
6706 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
6707 [__USE_MISC] (MADV_DONTDUMP): Likewise.
6708 [__USE_MISC] (MADV_DODUMP): Likewise.
6709 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
6710 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
6713 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
6715 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
6716 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
6717 Add test-nldbl-redirect.
6718 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
6719 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
6720 $(objpfx)libnldbl_nonshared.a.
6722 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
6724 * support/support.h (support_objdir_elf_ldso): New variable.
6725 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
6726 * support/Makefile (CFLAGS-support_paths.c): Add definition
6727 for OBJDIR_ELF_LDSO_PATH.
6728 * support/test-container.c (main): Search for the ld.so
6729 which is also used by the testsuite.
6731 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
6734 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
6735 should be "sap" rather than "sab".
6736 (day): Fix spelling of Sunday, should be "sapaat" rather than
6739 2018-10-02 Joseph Myers <joseph@codesourcery.com>
6741 * math/libm-test-fma.inc (fma_test_data): Add more tests.
6743 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
6746 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
6747 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
6748 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
6750 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6752 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
6754 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
6756 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
6758 (CFLAGS-elision-unlock.c): Likewise.
6759 (CFLAGS-elision-timed.c): Likewise.
6760 (CFLAGS-elision-trylock.c): Likewise.
6761 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
6763 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6766 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
6767 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
6768 new fd_to_filename interface.
6769 * libio/freopen64.c (freopen64): Likewise.
6770 * libio/tst-memstream.h: New file.
6771 * libio/tst-memstream4.c: Likewise.
6772 * libio/tst-wmemstream4.c: Likewise.
6773 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
6774 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
6775 and remove internal dynamic allocation.
6777 2018-10-01 Joseph Myers <joseph@codesourcery.com>
6779 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
6780 (MREMAP_MAYMOVE): Do not define here.
6781 [__USE_GNU] (MREMAP_FIXED): Likewise.
6782 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
6783 (MREMAP_MAYMOVE): Define here instead.
6784 [__USE_GNU] (MREMAP_FIXED): Likewise.
6785 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
6786 (MREMAP_MAYMOVE): Remove.
6787 [__USE_GNU] (MREMAP_FIXED): Likewise.
6789 2018-09-28 Joseph Myers <joseph@codesourcery.com>
6791 * math/fromfp.h: Do not include <math_private.h>.
6792 * math/s_cacosh_template.c: Likewise.
6793 * math/s_casin_template.c: Likewise.
6794 * math/s_casinh_template.c: Likewise.
6795 * math/s_ccos_template.c: Likewise.
6796 * math/s_cproj_template.c: Likewise.
6797 * math/s_fdim_template.c: Likewise.
6798 * math/s_fmaxmag_template.c: Likewise.
6799 * math/s_fminmag_template.c: Likewise.
6800 * math/s_iseqsig_template.c: Likewise.
6801 * math/s_ldexp_template.c: Likewise.
6802 * math/s_nextdown_template.c: Likewise.
6803 * math/w_log1p_template.c: Likewise.
6804 * math/w_scalbln_template.c: Likewise.
6805 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
6806 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
6807 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
6808 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
6809 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
6810 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
6811 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
6812 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
6813 * sysdeps/i386/fpu/s_atanl.c: Likewise.
6814 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
6815 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
6816 * sysdeps/i386/fpu/s_fdim.c: Likewise.
6817 * sysdeps/i386/fpu/s_logbl.c: Likewise.
6818 * sysdeps/i386/fpu/s_rintl.c: Likewise.
6819 * sysdeps/i386/fpu/s_significandl.c: Likewise.
6820 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
6821 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
6822 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6823 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6824 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
6825 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6826 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6827 * sysdeps/ieee754/k_standardf.c: Likewise.
6828 * sysdeps/ieee754/k_standardl.c: Likewise.
6829 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6830 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
6831 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
6832 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
6833 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
6834 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
6835 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6836 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6837 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6838 * sysdeps/ieee754/s_signgam.c: Likewise.
6839 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
6840 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
6841 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
6842 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6843 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6844 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
6845 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6846 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
6847 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6848 * sysdeps/riscv/rvd/s_finite.c: Likewise.
6849 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
6850 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
6851 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
6852 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
6853 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
6854 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
6855 * sysdeps/riscv/rvf/fegetround.c: Likewise.
6856 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
6857 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
6858 * sysdeps/riscv/rvf/fesetround.c: Likewise.
6859 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
6860 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
6861 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
6862 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6863 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
6864 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6865 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
6866 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
6867 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
6868 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
6869 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
6870 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
6871 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
6872 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
6873 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6874 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6875 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
6877 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
6879 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
6882 * sysdeps/i386/dl-cet.c: Removed.
6883 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
6885 (_dl_runtime_profile_shstk): Likewise.
6886 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
6887 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
6889 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6892 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
6893 do_test_with_invalid_iov): New tests.
6894 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
6895 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
6896 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
6898 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
6899 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
6900 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
6902 2018-09-27 Joseph Myers <joseph@codesourcery.com>
6904 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6905 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
6906 (MATH_REDIRECT_BINARY_ARGS): New macro.
6907 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6908 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
6909 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
6911 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
6912 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6913 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
6914 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6915 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6916 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6917 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
6920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
6922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
6923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
6924 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
6925 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
6926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
6928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
6930 * sysdeps/generic/math_private_calls.h
6931 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
6932 Do not declare and define as an inline function.
6933 * math/divtc3.c (__divtc3): Use copysign functions instead of
6934 __copysign variants.
6935 * math/multc3.c (__multc3): Likewise.
6936 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
6937 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
6938 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6939 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6941 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6942 (__ieee754_yn): Likewise.
6943 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6944 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
6945 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6946 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6947 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
6949 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
6950 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6952 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6954 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6956 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6957 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6959 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6960 (__ieee754_ynf): Likewise.
6961 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
6962 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6963 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
6964 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6966 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6967 (__ieee754_ynl): Likewise.
6968 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6969 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6970 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6972 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6973 (__ieee754_ynl): Likewise.
6974 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
6975 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6976 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6977 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6979 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6981 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
6982 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6983 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
6984 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6985 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6987 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6988 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
6989 using MATH_REDIRECT.
6990 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
6992 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
6993 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6994 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6995 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
6996 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6997 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6998 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
7000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
7001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
7002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
7003 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7004 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7005 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7006 (round): Redirect to __round.
7007 (__roundl): Call round instead of __round.
7008 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
7010 [_ARCH_PWR5X] (__roundf): Likewise.
7011 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
7012 functions instead of __round variants.
7013 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7014 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
7016 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
7018 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
7020 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
7021 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
7023 (__ieee754_expl): Call roundl instead of __roundl.
7025 2018-09-27 Andreas Schwab <schwab@suse.de>
7028 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
7029 (do_test): Make st1 static.
7031 2018-09-26 Andreas Schwab <schwab@suse.de>
7034 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
7035 * elf/Makefile (tests): Add tst-unwind-ctor.
7036 (modules-names): Add tst-unwind-ctor-lib.
7037 ($(objpfx)tst-unwind-ctor): Depend on
7038 $(objpfx)tst-unwind-ctor-lib.so.
7040 2018-09-26 Joseph Myers <joseph@codesourcery.com>
7042 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
7043 file. Most contents moved from ....
7044 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
7045 and include <bits/mman-map-flags-generic.h>.
7046 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7047 (sysdep_headers): Add bits/mman-map-flags-generic.h.
7048 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
7049 <bits/mman-map-flags-generic.h>.
7050 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
7051 macros defined in <bits/mman-map-flags-generic.h>.
7052 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
7053 <bits/mman-map-flags-generic.h>.
7054 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
7055 defined in <bits/mman-map-flags-generic.h>.
7057 2018-09-26 Andreas Schwab <schwab@suse.de>
7059 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
7062 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
7063 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7064 Fangrui Song <maskray@google.com>
7067 * config.make.in (have-textrel_ifunc): New define.
7068 * configure.ac: Add check if linker supports textrel relocation with
7070 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
7072 (CFLAGS-tst-ifunc-textrel.c): New rule.
7073 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
7074 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
7075 * elf/tst-ifunc-textrel.c: New file.
7077 2018-09-25 Joseph Myers <joseph@codesourcery.com>
7079 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
7080 <bits/procfs-prregset.h>.
7081 (prgregset_t): Define using __prgregset_t.
7082 (prfpregset_t): Define using __prfpregset_t.
7083 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7084 (sysdep_headers): Add bits/procfs-prregset.h.
7085 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
7086 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
7087 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
7088 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
7090 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
7091 <bits/procfs-id.h> and <bits/procfs-extra.h>.
7092 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
7094 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7095 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
7096 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
7097 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
7098 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
7099 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
7100 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
7101 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
7102 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
7103 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
7104 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
7105 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
7106 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
7107 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
7108 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
7109 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
7110 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
7111 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
7112 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
7113 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
7114 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
7115 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
7116 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7117 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
7119 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
7120 AArch64 version. Include <bits/procfs.h>.
7121 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7122 (sysdep_headers): Add bits/procfs.h.
7123 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
7124 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
7125 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
7126 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
7127 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
7128 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
7129 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
7130 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
7131 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
7132 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
7133 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
7134 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
7135 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
7136 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
7137 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
7138 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7139 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
7141 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7143 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
7146 2018-09-25 Arjun Shankar <arjun@redhat.com>
7148 * iconv/gconv_int.h (__gconv_path_elem): Remove.
7149 (__gconv_max_path_elem_len): Likewise.
7150 (__gconv_nmodules): Likewise.
7151 (__gconv_get_path): Likewise.
7152 (path_elem): Move to ...
7153 * iconv/gconv_conf.c: ... here.
7154 (__gconv_get_path): Mark function static.
7155 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
7156 * iconv/gconv_open.c: ... here.
7158 2018-09-24 Andreas Schwab <schwab@suse.de>
7160 * scripts/haveversions.awk: New file.
7161 * Makerules ($(common-objpfx)Versions.def)
7162 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
7163 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
7165 * Makeconfig ($(common-objpfx)Versions.def)
7166 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
7167 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
7169 ($(common-objpfx)Versions.mk): New rule. Include it.
7170 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
7171 Emit error if build-obsolete-nsl = yes.
7172 * manual/install.texi (Configuring and compiling): Describe
7173 --enable-obsolete-nsl as unavaiable after version 2.28.
7174 * INSTALL: Regenerate.
7176 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7178 * NEWS: Add note about new TLE support on powerpc64le.
7179 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
7180 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
7182 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
7183 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
7184 * sysdeps/powerpc/powerpc32/sysdep.h,
7185 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
7186 ABORT_TRANSACTION): Remove macros.
7187 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
7188 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
7189 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
7190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
7191 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7192 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
7194 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
7196 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
7199 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
7200 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
7201 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
7202 which is the same as in it_IT.
7203 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
7204 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
7206 2018-09-20 Joseph Myers <joseph@codesourcery.com>
7208 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7209 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
7210 using MATH_REDIRECT.
7211 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
7213 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
7214 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7215 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
7216 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7217 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7218 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
7220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
7221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
7222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
7223 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7224 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7225 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
7226 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
7227 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
7228 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
7229 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
7230 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7231 (ceil): Redirect to __ceil.
7232 (floor): Redirect to __floor.
7233 (trunc): Redirect to __trunc.
7234 (__truncl): Call trunc instead of __trunc.
7235 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
7237 [_ARCH_PWR5X] (__truncf): Likewise.
7238 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
7239 trunc functions instead of __trunc variants.
7240 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7242 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7244 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7246 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7249 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
7250 [__i586__ || __pentium__].
7251 [__i486__]: Handle explicitly.
7252 (HAS_CPUID): Define to 1 if above macros are undefined.
7253 (HAS_I586): Likewise.
7254 (HAS_I686): Likewise.
7256 2018-09-20 Florian Weimer <fweimer@redhat.com>
7258 * misc/tst-gethostid.c: New file.
7259 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
7260 (tst-gethostid): Link with -ldl.
7262 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
7264 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
7265 value from gethostbyname_r.
7267 2018-09-19 Carlos O'Donell <carlos@redhat.com>
7269 * stdlib/tst-setcontext9.c (f1): Rename to...
7271 (f1b): New function implementing lower half of f1 in alternate stack.
7273 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
7275 Fix mktime localtime offset confusion
7277 * include/time.h (__mktime_internal): The localtime offset is now
7278 of type long int instead of time_t. This is the longstanding type
7279 in glibc, and it is more than enough to represent difference
7280 between localtime and gmtime even if it is 32 bits and time_t is
7281 64. Changing it now will let us avoid an unnecessary change when
7282 time_t is widened to 64 bits on 32-bit platforms.
7283 * time/mktime-internal.h (mktime_offset_t): Now long int.
7285 Merge mktime, timegm from upstream Gnulib
7286 [BZ #23603][BZ #16346]
7287 This fixes some obscure problems with integer overflow.
7288 Although it looks scary, it is almost all a byte-for-byte copy
7289 from Gnulib, and the Gnulib code has been tested reasonably well.
7290 * include/intprops.h: New file, copied from Gnulib.
7291 * include/verify.h, time/mktime-internal.h:
7292 New tiny files, simplified from Gnulib.
7293 * time/mktime.c: Copy from Gnulib. This has the following changes:
7294 Do not include config.h if DEBUG_MKTIME is nonzero.
7295 Include stdbool.h, intprops.h, verify.h.
7296 Include string.h only if needed.
7297 Include stdlib.h on MS-Windows.
7298 Include mktime-internal.h.
7299 (DEBUG_MKTIME): Default to 0, and simplify later uses.
7300 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
7301 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
7302 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
7303 simplify later conditionals; default the others to zero. Use
7304 these conditionals to express only the code needed on the current
7305 platform. In uses of these conditionals, explicitly spell out how
7306 _LIBC affects things, so it’s easier to review from a glibc
7308 (WRAPV): Remove; no longer needed now that we have
7309 systematic overflow checking.
7310 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
7311 compartmentalize tzset issues. Move system-dependent tzsettish
7312 code here from mktime.
7313 (verify): Remove; now done by verify.h. All uses changed.
7314 (long_int): Use a more-conservative definition, to avoid
7316 (SHR): Remove, replacing with ...
7317 (shr): New function, which means we needn’t worry about side
7318 effects in args, and conversion analysis is simpler.
7319 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
7320 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
7321 (time_t_avg, time_t_add_ok): Remove.
7322 (mktime_min, mktime_max): New constants.
7323 (leapyear, isdst_differ): Use bool for booleans.
7324 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
7325 Use long_int, not time_t, for mktime differences.
7326 (long_int_avg): New function, replacing time_t_avg.
7327 INT_ADD_WRAPV replaces time_t_add_ok.
7328 (guess_time_tm): 6th arg is now long_int, not time_t const *.
7330 (convert_time): New function.
7331 (ranged_convert): Use it.
7332 (__mktime_internal): Last arg now points to mktime_offset_t, not
7333 time_t. All uses changed. This is a no-op on glibc, where
7334 mktime_offset_t is always time_t. Use int, not time_t, for UTC
7335 offset guess. Directly check for integer overflow instead of
7336 using a heuristic that works only 99.9...% of the time.
7337 Access *OFFSET only once, to avoid an unlikely race if the
7338 compiler delays a load and if this cascades into a signed integer
7340 (mktime): Move tzsettish code to my_tzset, and move
7341 localtime_offset to within mktime so that it doesn’t
7342 need a separate ifdef.
7343 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
7344 instead of localtime.
7345 * time/timegm.c: Copy from Gnulib. This has the following changes:
7346 Include mktime-internal.h.
7347 [!_LIBC]: Include config.h and time.h. Do not include
7348 timegm.h or time_r.h. Make __mktime_internal a macro,
7349 and include mktime-internal.h to get its declaration.
7350 (timegm): Temporary is now mktime_offset_t, not time_t.
7351 This affects only Gnulib.
7353 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
7356 * string/test-strstr.c (pr23637): New function.
7357 (test_main): Add tests with longer needles.
7358 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
7359 * string/strstr.c (AVAILABLE): Likewise.
7361 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
7363 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
7365 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
7367 * NEWS: Mention pow improvements.
7368 * math/Makefile (type-double-routines): Add e_pow_log_data.
7369 * sysdeps/generic/math_private.h (__exp1): Remove.
7370 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
7371 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
7372 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
7374 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
7375 (exp_inline): Remove.
7376 (__ieee754_exp): Only single double input is handled.
7377 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
7378 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
7379 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
7380 (__pow_log_data): Define.
7381 * sysdeps/ieee754/dbl-64/upow.h: Remove.
7382 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
7383 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
7384 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
7386 (CFLAGS-e_pow-fma4.c): Likewise.
7388 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
7390 Simplify tzfile fstat failure code
7392 * time/tzfile.c (__tzfile_read): Simplify slightly.
7394 Fix tzfile low-memory assertion failure
7396 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
7397 when registering time zone abbreviations.
7399 2018-09-18 Joseph Myers <joseph@codesourcery.com>
7401 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
7402 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
7403 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
7404 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
7405 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
7406 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
7407 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
7408 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7409 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7411 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
7413 (__ceill): Call ceil instead of __ceil.
7414 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
7416 (__floorl): Call floor instead of __floor.
7418 2018-09-17 Joseph Myers <joseph@codesourcery.com>
7420 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7421 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
7422 using MATH_REDIRECT.
7423 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
7425 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
7426 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7427 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7428 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
7429 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7430 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7431 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7432 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
7433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
7434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
7435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
7436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
7437 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7438 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7439 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
7440 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
7441 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
7442 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
7443 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
7445 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
7446 functions instead of __ceil variants.
7447 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7448 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
7450 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
7452 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7453 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
7455 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7456 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7459 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
7461 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
7462 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
7463 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
7464 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
7465 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
7466 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
7467 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
7468 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
7469 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
7470 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
7471 (ILL_BADIADDR): Remove constant.
7472 (TRAP_BRANCH): Likewise.
7473 (TRAP_HWBKPT): Likewise.
7475 2018-09-14 Joseph Myers <joseph@codesourcery.com>
7478 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
7479 Remove [_MIPS_SIM = _ABIN32] conditional case.
7480 (struct elf_prpsinfo): Likewise.
7483 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
7484 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
7485 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
7487 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
7488 elf_prpsinfo): Likewise.
7489 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
7490 elf_prpsinfo): Likewise.
7491 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
7494 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7495 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
7496 using MATH_REDIRECT.
7497 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
7499 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
7500 * sysdeps/alpha/fpu/s_rint.c: Likewise.
7501 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
7502 * sysdeps/i386/fpu/s_rintl.c: Likewise.
7503 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7504 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7505 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
7506 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7507 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7508 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7509 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
7510 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
7511 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
7512 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
7513 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
7514 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7515 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7516 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
7517 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
7518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
7519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
7520 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
7521 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
7522 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
7523 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
7524 * sysdeps/x86_64/fpu/math_private.h: Remove file.
7525 * math/e_scalb.c (invalid_fn): Use rint functions instead of
7527 * math/e_scalbf.c (invalid_fn): Likewise.
7528 * math/e_scalbl.c (invalid_fn): Likewise.
7529 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7531 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7533 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
7534 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
7535 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7537 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7539 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7541 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
7542 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
7544 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7545 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
7547 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7548 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
7549 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7550 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
7551 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7552 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
7553 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7554 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
7555 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7556 && !NO_MATH_REDIRECT] (floor): Likewise.
7557 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
7559 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
7560 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7561 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7562 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
7563 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7564 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7565 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7566 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
7567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
7568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
7569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
7570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
7571 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7572 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7573 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
7574 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
7575 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
7576 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
7577 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
7579 [_ARCH_PWR5X] (__floorf): Likewise.
7580 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
7582 [__SSE4_1__] (__floorf): Likewise.
7583 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
7584 instead of __floor variants.
7585 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
7586 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
7587 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
7588 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
7589 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
7590 * math/w_tgamma_compat.c (__tgamma): Likewise.
7591 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
7592 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
7593 * math/w_tgammal_compat.c (__tgammal): Likewise.
7594 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
7595 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7597 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
7598 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
7599 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
7600 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7602 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7603 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
7605 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
7606 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
7608 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7609 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
7611 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
7612 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7613 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
7614 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
7615 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7616 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7618 2018-09-12 Joseph Myers <joseph@codesourcery.com>
7620 * elf/Makefile (modules-names-tests): New variable.
7622 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
7624 * NEWS: Mention log2 improvements.
7625 * math/Makefile (type-double-routines): Add e_log2_data.
7626 * sysdeps/i386/fpu/e_log2_data.c: New file.
7627 * sysdeps/ia64/fpu/e_log2_data.c: New file.
7628 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
7629 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
7630 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
7631 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
7632 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
7634 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
7636 * NEWS: Mention log improvement.
7637 * math/Makefile (type-double-routines): Add e_log_data.
7638 * sysdeps/i386/fpu/e_log_data.c: New file.
7639 * sysdeps/ia64/fpu/e_log_data.c: New file.
7640 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
7641 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
7642 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
7643 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
7644 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
7645 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
7647 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
7648 Xuepeng Guo <xuepeng.guo@intel.com>
7651 * sysdeps/i386/start.S: Include <sysdep.h>
7652 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
7653 enabled. Add cfi_undefined (eip).
7655 2018-09-11 Joseph Myers <joseph@codesourcery.com>
7657 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
7659 (EXTRACT_WORDS64): Likewise.
7660 (INSERT_WORDS64): Likewise.
7661 (GET_FLOAT_WORD): Likewise.
7662 (SET_FLOAT_WORD): Likewise.
7664 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
7666 (Config.build_gcc): Use --disable-libsanitizer for first GCC
7667 build, but not for second build if --full-gcc. Use
7668 --enable-languages=all for second build if --full-gcc.
7669 (get_parser): Add --full-gcc option.
7670 (main): Update call to Context.
7672 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
7675 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
7676 Single Quotation Mark).
7677 (thousands_sep): Likewise.
7678 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
7679 * localedata/locales/it_IT (thousands_sep): Use ".".
7680 (grouping): Use "3;3".
7682 2018-09-10 Joseph Myers <joseph@codesourcery.com>
7684 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
7685 x86_64 and i686 configs using --enable-obsolete-rpc
7686 --enable-obsolete-nsl.
7688 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
7690 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7692 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
7694 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
7695 Increment size of new_argv by one.
7697 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
7700 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
7701 * localedata/locales/ar_IN (d_fmt): Likewise.
7702 * localedata/locales/bhb_IN (d_fmt): Likewise.
7703 * localedata/locales/bho_IN (d_fmt): Likewise.
7704 * localedata/locales/bn_BD (d_fmt): Likewise.
7705 * localedata/locales/bn_IN (d_fmt): Likewise.
7706 * localedata/locales/doi_IN (d_fmt): Likewise.
7707 * localedata/locales/gu_IN (d_fmt): Likewise.
7708 * localedata/locales/hi_IN (d_fmt): Likewise.
7709 * localedata/locales/hne_IN (d_fmt): Likewise.
7710 * localedata/locales/kn_IN (d_fmt): Likewise.
7711 * localedata/locales/mag_IN (d_fmt): Likewise.
7712 * localedata/locales/mai_IN (d_fmt): Likewise.
7713 * localedata/locales/mjw_IN (d_fmt): Likewise.
7714 * localedata/locales/ml_IN (d_fmt): Likewise.
7715 * localedata/locales/mni_IN (d_fmt): Likewise.
7716 * localedata/locales/mr_IN (d_fmt): Likewise.
7717 * localedata/locales/pa_IN (d_fmt): Likewise.
7718 * localedata/locales/raj_IN (d_fmt): Likewise.
7719 * localedata/locales/sat_IN (d_fmt): Likewise.
7720 * localedata/locales/sd_IN (d_fmt): Likewise.
7721 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
7722 * localedata/locales/ta_IN (d_fmt): Likewise.
7723 * localedata/locales/ta_LK (d_fmt): Likewise.
7724 * localedata/locales/tcy_IN (d_fmt): Likewise.
7725 * localedata/locales/ur_IN (d_fmt): Likewise.
7727 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
7728 * localedata/locales/ks_IN (d_fmt): Likewise.
7729 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
7731 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
7732 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
7733 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
7734 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
7736 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
7738 * NEWS: Mention exp and exp2 improvements.
7739 * math/Makefile (libm-support): Remove t_exp.
7740 (type-double-routines): Add math_err and e_exp_data.
7741 * sysdeps/aarch64/libm-test-ulps: Update.
7742 * sysdeps/arm/libm-test-ulps: Update.
7743 * sysdeps/i386/fpu/e_exp_data.c: New file.
7744 * sysdeps/i386/fpu/math_err.c: New file.
7745 * sysdeps/i386/fpu/t_exp.c: Remove.
7746 * sysdeps/ia64/fpu/e_exp_data.c: New file.
7747 * sysdeps/ia64/fpu/math_err.c: New file.
7748 * sysdeps/ia64/fpu/t_exp.c: Remove.
7749 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
7750 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
7751 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
7752 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
7753 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
7754 * sysdeps/ieee754/dbl-64/math_config.h: New file.
7755 * sysdeps/ieee754/dbl-64/math_err.c: New file.
7756 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
7757 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
7758 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
7759 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
7760 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
7761 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
7762 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
7763 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7764 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7766 2018-09-05 Joseph Myers <joseph@codesourcery.com>
7768 * sysdeps/alpha/fpu/math_private.h: Remove.
7770 * sysdeps/generic/math_private.h
7771 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
7772 Move this inline function ....
7773 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
7774 * include/math.h [!_ISOMAC]: To here....
7776 2018-09-04 Joseph Myers <joseph@codesourcery.com>
7778 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
7780 [!FE_HAVE_ROUNDING_MODES]: And this code ....
7781 * include/fenv.h [!_ISOMAC]: ... to here.
7782 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
7783 (feraiseexcept): Likewise.
7784 * math/fromfp.h: Do not include <fenv_private.h>.
7785 * math/s_cexp_template.c: Likewise.
7786 * math/s_csin_template.c: Likewise.
7787 * math/s_csinh_template.c: Likewise.
7788 * math/s_ctan_template.c: Likewise.
7789 * math/s_ctanh_template.c: Likewise.
7790 * math/s_iseqsig_template.c: Likewise.
7791 * math/w_acos_compat.c: Likewise.
7792 * math/w_acosf_compat.c: Likewise.
7793 * math/w_acosl_compat.c: Likewise.
7794 * math/w_asin_compat.c: Likewise.
7795 * math/w_asinf_compat.c: Likewise.
7796 * math/w_asinl_compat.c: Likewise.
7797 * math/w_j0_compat.c: Likewise.
7798 * math/w_j0f_compat.c: Likewise.
7799 * math/w_j0l_compat.c: Likewise.
7800 * math/w_j1_compat.c: Likewise.
7801 * math/w_j1f_compat.c: Likewise.
7802 * math/w_j1l_compat.c: Likewise.
7803 * math/w_jn_compat.c: Likewise.
7804 * math/w_jnf_compat.c: Likewise.
7805 * math/w_log10_compat.c: Likewise.
7806 * math/w_log10f_compat.c: Likewise.
7807 * math/w_log10l_compat.c: Likewise.
7808 * math/w_log2_compat.c: Likewise.
7809 * math/w_log2f_compat.c: Likewise.
7810 * math/w_log2l_compat.c: Likewise.
7811 * math/w_log_compat.c: Likewise.
7812 * math/w_logf_compat.c: Likewise.
7813 * math/w_logl_compat.c: Likewise.
7814 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7815 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7816 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7817 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7818 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7819 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7820 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7821 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7822 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7823 * sysdeps/ieee754/k_standardl.c: Likewise.
7824 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7825 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7826 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7827 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7828 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7829 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7830 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7831 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7832 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7833 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7834 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7835 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7836 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7837 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7838 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7839 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7840 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7841 * math/w_ilogb_template.c: Include <fenv.h> instead of
7843 * math/w_llogb_template.c: Likewise.
7844 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7845 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7847 2018-09-03 Joseph Myers <joseph@codesourcery.com>
7849 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
7850 * math/fromfp.h: Include <fenv_private.h>.
7851 * math/math-narrow.h: Likewise.
7852 * math/s_cexp_template.c: Likewise.
7853 * math/s_csin_template.c: Likewise.
7854 * math/s_csinh_template.c: Likewise.
7855 * math/s_ctan_template.c: Likewise.
7856 * math/s_ctanh_template.c: Likewise.
7857 * math/s_iseqsig_template.c: Likewise.
7858 * math/w_acos_compat.c: Likewise.
7859 * math/w_acosf_compat.c: Likewise.
7860 * math/w_acosl_compat.c: Likewise.
7861 * math/w_asin_compat.c: Likewise.
7862 * math/w_asinf_compat.c: Likewise.
7863 * math/w_asinl_compat.c: Likewise.
7864 * math/w_ilogb_template.c: Likewise.
7865 * math/w_j0_compat.c: Likewise.
7866 * math/w_j0f_compat.c: Likewise.
7867 * math/w_j0l_compat.c: Likewise.
7868 * math/w_j1_compat.c: Likewise.
7869 * math/w_j1f_compat.c: Likewise.
7870 * math/w_j1l_compat.c: Likewise.
7871 * math/w_jn_compat.c: Likewise.
7872 * math/w_jnf_compat.c: Likewise.
7873 * math/w_llogb_template.c: Likewise.
7874 * math/w_log10_compat.c: Likewise.
7875 * math/w_log10f_compat.c: Likewise.
7876 * math/w_log10l_compat.c: Likewise.
7877 * math/w_log2_compat.c: Likewise.
7878 * math/w_log2f_compat.c: Likewise.
7879 * math/w_log2l_compat.c: Likewise.
7880 * math/w_log_compat.c: Likewise.
7881 * math/w_logf_compat.c: Likewise.
7882 * math/w_logl_compat.c: Likewise.
7883 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
7884 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
7885 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
7886 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
7887 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7888 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7889 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7890 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7891 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7892 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7893 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7894 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7895 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
7896 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
7897 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7898 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
7899 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7900 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7901 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7902 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7903 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7904 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7905 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7906 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7907 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7908 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7909 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7910 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
7911 * sysdeps/ieee754/float128/float128_private.h: Likewise.
7912 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7913 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7914 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7915 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
7916 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7917 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7918 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7919 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7920 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7921 * sysdeps/ieee754/k_standardl.c: Likewise.
7922 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7923 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7924 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7925 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7926 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7927 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7928 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7929 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7930 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7931 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7932 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7933 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7934 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7935 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7936 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7937 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
7938 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7939 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
7940 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7941 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7942 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7943 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7944 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7945 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7946 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7947 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7948 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7949 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7950 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
7951 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7952 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7953 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7954 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7955 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7956 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7957 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7958 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7959 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7960 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7961 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7962 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
7963 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7964 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
7965 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7966 * sysdeps/riscv/rvd/s_finite.c: Likewise.
7967 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
7968 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
7969 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
7970 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
7971 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
7972 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
7973 * sysdeps/riscv/rvf/fegetround.c: Likewise.
7974 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
7975 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
7976 * sysdeps/riscv/rvf/fesetround.c: Likewise.
7977 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
7978 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
7979 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
7980 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7981 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
7982 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7983 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
7984 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
7985 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
7986 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
7987 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
7988 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
7989 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
7990 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
7991 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7992 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7994 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7997 * include/stdio.h (__libc_fatal): Mention newline in comment.
7998 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
7999 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
8000 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8001 * nss/nsswitch.c (__nss_next2): Likewise.
8002 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
8003 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
8004 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
8005 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8006 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
8007 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
8008 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
8009 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
8010 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
8011 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
8012 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
8013 * sysdeps/unix/sysv/linux/netlink_assert_response.c
8014 (__netlink_assert_response): Likewise.
8016 2018-08-31 Joseph Myers <joseph@codesourcery.com>
8018 * conform/glibcconform.py: New file.
8019 * conform/list-header-symbols.py: Likewise.
8020 * conform/list-header-symbols.pl: Remove.
8021 * conform/Makefile (tests-special): Only add linknamespace tests
8023 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
8025 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
8028 * support/Makefile (libsupport-routines): Add
8029 support_copy_file_range and xcopy_file_range.
8030 * support/support.h: Include <sys/types.h>.
8031 (support_copy_file_range): New prototype.
8032 * support/support_copy_file_range.c: New file. Copied and
8033 modified from io/copy_file_range-compat.c.
8034 * support/test-container.c (copy_one_file): Call xcopy_file_rang
8035 instead of copy_file_range.
8036 * support/xcopy_file_range.c: New file.
8037 * support/xunistd.h (xcopy_file_range): New prototype.
8039 2018-08-30 Carlos O'Donell <carlos@redhat.com>
8041 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
8042 xpthread_create and xpthread_join.
8044 2018-08-30 Florian Weimer <fweimer@redhat.com>
8046 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
8048 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
8050 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
8053 2018-08-29 Joseph Myers <joseph@codesourcery.com>
8055 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
8056 and minus_oflow as non-finite.
8058 2018-08-28 Joseph Myers <joseph@codesourcery.com>
8060 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
8061 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
8062 moved to fenv_private.h except for ...
8063 (TOINT_INTRINSICS): Kept in math_private.h.
8064 (roundtoint): Likewise.
8065 (converttoint): Likewise.
8066 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
8067 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8068 * sysdeps/arm/math_private.h: Remove.
8069 * sysdeps/generic/fenv_private.h: New file. Contents moved from
8071 * sysdeps/generic/math_private.h: ... this file. Include
8072 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
8073 Include <fenv_private.h>. Remove functions and macros moved to
8075 * sysdeps/i386/fpu/math_private.h: Remove.
8076 * sysdeps/mips/math_private.h: Move to ....
8077 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
8078 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
8079 [__mips_hard_float] conditional. Include next <fenv_private.h>.
8080 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
8081 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8082 * sysdeps/powerpc/fpu/math_private.h: Do not include
8084 * sysdeps/riscv/rvf/math_private.h: Move to ....
8085 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
8086 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
8088 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
8089 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8090 * sysdeps/sparc/fpu/math_private.h: Remove.
8091 * sysdeps/i386/fpu/fenv_private.h: Move to ....
8092 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
8093 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
8095 * sysdeps/x86_64/fpu/math_private.h: Do not include
8096 <sysdeps/i386/fpu/fenv_private.h>.
8098 2018-08-28 Florian Weimer <fweimer@redhat.com>
8101 * posix/tst-regcomp-truncated.c: New file.
8102 * posix/Makefile (tests): Add it.
8103 (tst-regcomp-truncated.out): Depend on generated locales.
8105 2018-08-28 Florian Weimer <fweimer@redhat.com>
8107 * support/test-container.c (main): Treat unshare failure with
8108 EPERM as an unsupported test.
8110 2018-08-28 Florian Weimer <fweimer@redhat.com>
8113 nscd: Fix use-after-free in addgetnetgrentX and its callers.
8114 * nscd/netgroupcache.c
8115 (addgetnetgrentX): Add tofreep parameter. Do not free
8116 heap-allocated buffer.
8117 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
8118 (addgetnetgrentX_ignore): New function.
8119 (addgetnetgrent): Call it.
8120 (readdgetnetgrent): Likewise.
8122 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8124 * string/memmem.c: Use memcmp for first match.
8126 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
8129 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
8131 2018-08-27 DJ Delorie <dj@redhat.com>
8133 * support/Makefile (others): Don't list programs explicitly as a
8134 dependency of "others".
8136 2018-08-27 Joseph Myers <joseph@codesourcery.com>
8138 * sysdeps/generic/math-tests-trap-force.h: New file.
8139 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
8140 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
8141 * sysdeps/powerpc/math-tests.h: Remove file.
8142 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
8144 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
8145 Torvald Riegel <triegel@redhat.com>
8148 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
8149 Update r to include the set wake-request flag if waiters are
8150 remaining after spinning.
8152 2018-08-27 Joseph Myers <joseph@codesourcery.com>
8154 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
8156 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
8159 regex: fix uninitialized memory access
8160 I introduced this bug into gnulib in commit
8161 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
8162 eventually it was merged into glibc. The bug was found by
8163 project-repo <bugs@feusi.co> and reported here:
8164 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
8165 Diagnosis and draft fix reported by Assaf Gordon here:
8166 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
8167 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
8168 * posix/regex_internal.c (build_wcs_upper_buffer):
8169 Fix bug when mbrtowc returns 0.
8171 2018-08-24 Carlos O'Donell <carlos@redhat.com>
8173 * po/be.po: Update translation.
8175 2018-08-24 DJ Delorie <dj@delorie.com>
8177 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
8180 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8183 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
8184 create temporary files in source tree.
8186 2018-08-24 Joseph Myers <joseph@codesourcery.com>
8188 * sysdeps/generic/math-tests-trap.h: New file.
8189 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
8190 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
8191 * sysdeps/aarch64/math-tests.h: Remove file.
8192 * sysdeps/arm/math-tests.h: Likewise.
8193 * sysdeps/riscv/math-tests.h: Likewise.
8194 * sysdeps/aarch64/math-tests-trap.h: New file.
8195 * sysdeps/arm/math-tests-trap.h: Likewise.
8196 * sysdeps/riscv/math-tests-trap.h: Likewise.
8198 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
8200 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
8201 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
8202 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
8203 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
8204 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
8205 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
8206 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8207 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
8208 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
8209 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8210 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8211 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8212 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8213 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
8214 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
8215 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
8216 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8217 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8219 2018-08-23 Joseph Myers <joseph@codesourcery.com>
8221 * sysdeps/generic/math-tests-exceptions.h: New file.
8222 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
8223 (EXCEPTION_TESTS_float): Do not define here.
8224 (EXCEPTION_TESTS_double): Likewise.
8225 (EXCEPTION_TESTS_long_double): Likewise.
8226 (EXCEPTION_TESTS_float128): Likewise.
8227 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
8229 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
8230 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
8231 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
8232 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
8233 * sysdeps/mips/math-tests.h: Likewise.
8234 * sysdeps/nios2/math-tests.h: Likewise.
8235 * sysdeps/riscv/math-tests.h [!__riscv_flen]
8236 (EXCEPTION_TESTS_float): Do not define here.
8237 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
8238 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
8239 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
8241 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
8243 * NEWS: Move optimized sinf entry to 2.29.
8245 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
8247 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
8249 2018-08-22 DJ Delorie <dj@redhat.com>
8251 * Makefile (testroot.pristine): New rules to initialize the
8252 test-in-container "testroot".
8253 * Makerules (all-testsuite): Add tests-container.
8254 * Rules (tests-expected): Add tests-container.
8255 (binaries-all-tests): Likewise.
8256 (tests-container): New, run these tests in the testroot container.
8257 * support/Makefile (others): Add *-container, support_paths.c,
8258 xmkdirp, and links-dso-program.
8259 * support/links-dso-program-c.c: New.
8260 * support/links-dso-program.cc: New.
8261 * support/test-container.c: New.
8262 * support/shell-container.c: New.
8263 * support/echo-container.c: New.
8264 * support/true-container.c: New.
8265 * support/xmkdirp.c: New.
8266 * support/xsymlink.c: New.
8267 * support/support_paths.c: New.
8268 * support/support.h: Add support paths prototypes.
8269 * support/xunistd.h: Add xmkdirp () and xsymlink ().
8271 * nss/tst-nss-test3.c: Convert to test-in-container.
8272 * nss/tst-nss-test3.root/: New.
8274 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
8276 regex: port Gnulib code to z/OS POSIX environment
8277 Problem reported by Arnold Robbins in:
8278 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
8279 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
8282 2018-08-22 Joseph Myers <joseph@codesourcery.com>
8284 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
8285 (ROUNDING_TESTS_double): Remove.
8286 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
8287 (ROUNDING_TESTS_double): Remove.
8288 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
8289 (ROUNDING_TESTS_double): Remove.
8290 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
8291 (ROUNDING_TESTS_float): Remove.
8292 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
8293 (ROUNDING_TESTS_float): Remove.
8294 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
8295 (ROUNDING_TESTS_float): Remove.
8296 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
8298 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8299 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8301 * sysdeps/generic/math-tests-rounding.h: New file.
8302 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
8303 (ROUNDING_TESTS_float): Do not define here.
8304 (ROUNDING_TESTS_double): Likewise.
8305 (ROUNDING_TESTS_long_double): Likewise.
8306 (ROUNDING_TESTS_float128): Likewise.
8307 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
8308 (ROUNDING_TESTS_double): Undefine before defining.
8309 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
8310 (ROUNDING_TESTS_double): Undefine before defining.
8311 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
8312 (ROUNDING_TESTS_double): Undefine before defining.
8313 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
8314 (ROUNDING_TESTS_float): Undefine before defining.
8315 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
8316 (ROUNDING_TESTS_float): Undefine before defining.
8317 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
8318 (ROUNDING_TESTS_float): Undefine before defining.
8319 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
8320 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
8322 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
8323 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
8324 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
8325 * sysdeps/riscv/math-tests.h [!__riscv_flen]
8326 (ROUNDING_TESTS_float): Do not define here.
8327 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
8328 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
8329 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
8330 (ROUNDING_TESTS_float): Likewise.
8331 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
8332 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
8333 * sysdeps/mips/math-tests.h [__mips_soft_float]
8334 (ROUNDING_TESTS_float): Likewise.
8335 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
8336 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
8337 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
8338 (ROUNDING_TESTS_double): Likewise.
8339 (ROUNDING_TESTS_long_double): Likewise.
8341 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
8343 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
8344 (PF_XDP): New macro.
8345 (AF_XDP): New macro.
8346 (SOL_XDP): New macro.
8348 2018-08-21 Joseph Myers <joseph@codesourcery.com>
8350 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
8351 (TCP_INQ): Likewise.
8352 (TCP_CM_INQ): Likewise.
8353 (TCP_REPAIR_ON): Likewise.
8354 (TCP_REPAIR_OFF): Likewise.
8355 (TCP_REPAIR_OFF_NO_WP): Likewise.
8356 (struct tcp_zerocopy_receive): New type.
8358 2018-08-21 Florian Weimer <fweimer@redhat.com>
8360 * support/support.h (support_descriptor_supports_holes): Declare.
8361 * support/Makefile (libsupport-routines): Add
8362 support_descriptor_supports_holes.
8363 * support/support_descriptor_supports_holes.c: New file.
8364 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
8365 and stop testing if holes are not supported.
8366 * io/test-lfs.c (do_prepare): Likewise.
8367 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
8369 * timezone/tst-tzset.c (create_tz_file): Likewise.
8370 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
8372 (do_prepare): Set it.
8373 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
8375 2018-08-21 Florian Weimer <fweimer@redhat.com>
8378 * Makeconfig (+cflags): Do not sort (and deduplicate).
8380 2018-08-21 Florian Weimer <fweimer@redhat.com>
8382 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
8383 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
8385 2018-08-20 Florian Weimer <fweimer@redhat.com>
8387 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
8388 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
8390 2018-08-20 Joseph Myers <joseph@codesourcery.com>
8392 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
8393 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
8394 and ssi_arch members.
8396 * elf/elf.c (NT_VMCOREDD): New macro.
8397 (AT_MINSIGSTKSZ): Likewise.
8399 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8401 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8402 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
8403 s_cosf-ppc64 and s_cosf-power8.
8404 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
8405 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8406 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8407 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
8409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
8410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
8411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
8412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
8413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
8414 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
8415 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
8417 2018-08-17 Florian Weimer <fweimer@redhat.com>
8419 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8421 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
8423 * malloc/malloc.c (_int_malloc): Additional binning code checks.
8425 2018-08-16 Florian Weimer <fweimer@redhat.com>
8427 * configure.ac: Add --with-nonshared-cflags option.
8428 * config.make.in (extra-nonshared-cflags): Set variable.
8429 * Makeconfig (CFLAGS-.oS): Use it.
8430 * manual/install.texi (Configuring and compiling): Document
8431 --with-nonshared-cflags.
8432 * configure: Regenerate.
8433 * INSTALL: Likewise.
8435 2018-08-16 Florian Weimer <fweimer@redhat.com>
8437 * Makeconfig (ASFLAGS): Always append required assembler flags.
8439 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
8441 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
8442 (malloc_consolidate): Likewise.
8444 2018-08-16 Pochang Chen <johnchen902@gmail.com>
8446 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
8448 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
8450 * benchtests/bench-strlen.c (do_test): Allocate buffers before
8453 * benchtests/bench-strlen.c: Print performance numbers in json.
8455 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8457 * sysdeps/powerpc/powerpc64/multiarch/Makefile
8458 (sysdep_routines): Build strcmp-power9 and strncmp-power9
8459 only for little endian.
8460 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8461 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
8462 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
8463 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
8464 Add check for little endian.
8465 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
8466 (__strcmp_power9): Add check for little endian.
8467 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
8468 Add check for little endian.
8469 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
8470 (__strncmp_power9): Add check for little endian.
8471 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
8472 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
8473 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
8474 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
8475 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
8477 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
8479 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
8480 [!STRLEN](STRLEN): Set to __strlen.
8481 * sysdeps/aarch64/multiarch/strlen.c: New file.
8482 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
8483 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
8484 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
8485 (__libc_ifunc_impl_list): Add strlen.
8486 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
8487 strlen_generic and strlen_asimd.
8489 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
8491 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
8492 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
8493 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
8495 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
8497 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
8499 2018-08-14 Florian Weimer <fweimer@redhat.com>
8502 * include/stdio.h (__vfxprintf): Declare.
8503 * stdio-common/fxprintf.c (__vfxprintf): New function.
8504 (__fxprintf): Call it.
8505 * misc/err.c (convert_and_print): Remove function.
8506 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
8507 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
8508 * misc/Makefile (tests): Add tst-warn-wide.
8509 * misc/tst-warn-wide.c: New file.
8511 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
8512 Szabolcs Nagy <szabolcs.nagy@arm.com>
8514 * NEWS: Mention sinf, cosf, sincosf.
8515 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
8516 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
8517 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
8518 constants rather than including generic sincosf.h.
8519 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
8520 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
8521 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
8522 (reduced_cos): Remove.
8523 (sinf_poly): New function.
8524 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
8526 2018-08-14 Florian Weimer <fweimer@redhat.com>
8530 * nss/nss_files/files-alias.c (get_next_alias): During :include:
8531 processing, bail out if no room, and close the stream before
8533 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
8534 (tst-nss-files-alias-leak): Link with libdl.
8535 (tst-nss-files-alias-leak.out): Depend on nss_files.
8537 * nss/tst-nss-files-alias-leak.c: New file.
8539 2018-08-14 Florian Weimer <fweimer@redhat.com>
8541 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
8542 server_user, stat_user.
8544 2018-08-13 Joseph Myers <joseph@codesourcery.com>
8546 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8548 (io_pgetevents): New syscall.
8551 * manual/install.texi (Configuring and compiling): Do not list
8552 tools used for testing pretty printers here.
8553 (Tools for Compilation): List Python, PExpect and GDB here.
8554 Update descriptions of uses of Perl and Python.
8555 * INSTALL: Regenerate.
8557 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8560 2018-08-13 Florian Weimer <fweimer@redhat.com>
8562 * misc/error.c (error): Add missing va_end call.
8563 (error_at_line): Likewise.
8565 2018-08-13 Florian Weimer <fweimer@redhat.com>
8567 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
8569 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
8571 * benchtests/scripts/benchout.schema.json (properties): Add
8574 * benchtests/bench-skeleton.c (main): Add duration and
8575 iterations attributes.
8577 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
8579 regex: Gnulib unibyte RRI uses bytes not chars
8580 Adjust the non-glibc code to agree with what Gawk needs for
8581 rational range interpretation (RRI) for regular expression ranges.
8582 In unibyte locales, Gawk wants ranges to use the underlying byte
8583 rather than the character code point. This change does not affect
8585 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
8586 In unibyte locales, use the byte value rather than
8587 running it through btowc.
8589 2018-08-10 Joseph Myers <joseph@codesourcery.com>
8591 * sysdeps/generic/math-tests-snan.h: New file.
8592 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
8593 (SNAN_TESTS_float): Do not define here.
8594 (SNAN_TESTS_double): Likewise.
8595 (SNAN_TESTS_long_double): Likewise.
8596 (SNAN_TESTS_float128): Likewise.
8597 * sysdeps/i386/fpu/math-tests-snan.h: New file.
8598 * sysdeps/i386/fpu/math-tests.h: Remove file.
8599 * sysdeps/ia64/math-tests-snan.h: New file.
8600 * sysdeps/ia64/math-tests.h: Remove file.
8601 * sysdeps/x86/math-tests.h: Likewise.
8602 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
8604 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8605 Szabolcs Nagy <szabolcs.nagy@arm.com>
8607 * math/Makefile: Add s_sincosf_data.c.
8608 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
8609 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
8610 (sincosf_poly): Likewise.
8611 (reduce_small): Likewise.
8612 (reduce_large): Likewise.
8613 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
8614 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
8615 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
8616 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
8618 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8619 Szabolcs Nagy <szabolcs.nagy@arm.com>
8621 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
8622 (converttoint): Use lround.
8623 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
8624 document the semantics when TOINT_INTRINSICS is set.
8625 (converttoint): Likewise.
8626 (TOINT_RINT): Remove.
8627 (TOINT_SHIFT): Remove.
8628 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
8631 2018-08-10 Florian Weimer <fweimer@redhat.com>
8634 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
8636 (__old_getdents64): Use getdents64. Convert entries without
8638 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
8639 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
8640 tst-readdir64-compat.
8642 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8644 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
8647 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8649 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
8650 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
8651 code to s390x-mcount.h and #include it.
8652 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
8653 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
8656 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8658 * stdlib/Versions: Remove __fentry__.
8659 * sysdeps/i386/Versions: Add __fentry__.
8660 * sysdeps/x86_64/Versions: Add __fentry__.
8662 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8664 * sysdeps/s390/Makefile: Register the new tests.
8665 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
8666 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
8667 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
8668 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
8669 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
8670 * sysdeps/s390/tst-dl-runtime.c: New file.
8672 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8674 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8677 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8679 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8682 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8684 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8687 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8689 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8692 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8694 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8695 Use symbolic offsets for stack variables.
8697 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8699 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8700 Use symbolic offsets for stack variables.
8702 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8704 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8705 Use symbolic offsets for stack variables.
8707 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8709 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8710 Use symbolic offsets for stack variables.
8712 2018-08-09 Joseph Myers <joseph@codesourcery.com>
8714 * math/gen-libm-test.py: New file.
8715 * math/gen-libm-test.pl: Remove.
8716 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
8717 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
8719 ($(libm-test-c-noauto-obj)): Likewise.
8720 ($(libm-test-c-auto-obj)): Likewise.
8721 ($(libm-test-c-narrow-obj)): Likewise.
8722 (regen-ulps): Likewise.
8723 * math/README.libm-test: Update references to gen-libm-test.pl.
8724 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
8725 referencing gen-libm-test.pl.
8726 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
8727 * math/libm-test-support.c: Likewise.
8728 * math/libm-test-support.h: Likewise.
8729 * sysdeps/generic/libm-test-ulps: Likewise.
8731 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
8733 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
8736 2018-08-08 Joseph Myers <joseph@codesourcery.com>
8738 * math/libm-test-nextdown.inc (do_test): Move comment to ....
8739 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
8741 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8743 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
8745 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
8746 __pthread_setspecific): Add hidden proto.
8747 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
8748 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
8750 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
8752 * benchtests/bench-string.h (buf1_size, buf2_size): New
8754 (init_sizes): New function.
8755 (test_init): Use it.
8756 (alloc_buf, exit_error): New functions.
8757 (alloc_bufs): Use ALLOC_BUF.
8758 (realloc_bufs): Remove.
8759 * benchtests/bench-memcmp.c (do_test): Adjust.
8760 * benchtests/bench-memset-large.c (do_test): Likewise.
8761 * benchtests/bench-memset-walk.c (do_test): Likewise.
8762 * benchtests/bench-memset.c (do_test): Likewise.
8763 * benchtests/bench-strncmp.c (do_test): Likewise.
8765 2018-08-06 Andreas Schwab <schwab@suse.de>
8767 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
8768 of CONST_THREAD_AREA.
8770 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
8772 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
8773 (STATE_SAVE_MASK): Likewise.
8774 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
8775 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
8776 (STATE_SAVE_MASK): Likewise.
8777 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
8778 instead of <cpu-features.h>.
8780 2018-08-03 DJ Delorie <dj@redhat.com>
8782 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
8783 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
8785 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
8787 2018-08-03 Joseph Myers <joseph@codesourcery.com>
8789 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
8791 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
8792 * math/libm-test-logb.inc (logb_test_data): Likewise.
8794 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
8796 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
8797 * string/strstr.c (AVAILABLE): Likewise.
8799 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8801 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
8803 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
8804 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
8805 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
8807 2018-08-03 Carlos O'Donell <carlos@redhat.com>
8809 * po/be.po: Update translation.
8811 * po/be.po: Update translation.
8813 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8815 * sysdeps/x86/cpu-features-offsets.sym
8816 (rtld_global_ro_offsetof): Removed.
8817 (CPU_FEATURES_SIZE): Likewise.
8818 (CPUID_OFFSET): Likewise.
8819 (CPUID_SIZE): Likewise.
8820 (CPUID_EAX_OFFSET): Likewise.
8821 (CPUID_EBX_OFFSET): Likewise.
8822 (CPUID_ECX_OFFSET): Likewise.
8823 (CPUID_EDX_OFFSET): Likewise.
8824 (FAMILY_OFFSET): Likewise.
8825 (MODEL_OFFSET): Likewise.
8826 (FEATURE_OFFSET): Likewise.
8827 (FEATURE_SIZ): Likewise.
8828 (COMMON_CPUID_INDEX_1): Likewise.
8829 (COMMON_CPUID_INDEX_7): Likewise.
8830 (FEATURE_INDEX_1): Likewise.
8831 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
8833 2018-08-02 Carlos O'Donell <carlos@redhat.com>
8835 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
8836 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
8837 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
8838 (install-locales): Depend on install-locale-archive.
8839 (install-locale-archive): Define.
8840 (install-locale-files): Define.
8841 (build-one-locale): Define macro.
8842 * manual/install.texi (Running make install): Document.
8843 * manual/INSTALL: Regenerate.
8845 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
8847 * benchtests/scripts/compare_strings.py: Import traceback.
8848 (parse_file): Pretty-print error.
8850 * NEWS: Mention the change.
8851 * elf/dl-tunables.list: Rename tune namespace to cpu.
8852 * sysdeps/powerpc/dl-tunables.list: Likewise.
8853 * sysdeps/x86/dl-tunables.list: Likewise.
8854 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
8856 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
8857 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
8858 * manual/README.tunables: Likewise.
8859 * manual/tunables.texi: Likewise.
8860 * sysdeps/powerpc/cpu-features.c: Likewise.
8861 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
8862 (init_cpu_features): Likewise.
8863 * sysdeps/x86/cpu-features.c: Likewise.
8864 * sysdeps/x86/cpu-features.h: Likewise.
8865 * sysdeps/x86/cpu-tunables.c: Likewise.
8866 * sysdeps/x86_64/Makefile: Likewise.
8867 * sysdeps/x86/dl-cet.c: Likewise.
8869 2018-08-02 Joseph Myers <joseph@codesourcery.com>
8872 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
8873 [__mips_hard_float].
8874 (FE_UNDERFLOW): Likewise.
8875 (FE_OVERFLOW): Likewise.
8876 (FE_DIVBYZERO): Likewise.
8877 (FE_INVALID): Likewise.
8878 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
8879 (FE_TOWARDZERO): Define only if [__mips_hard_float].
8880 (FE_UPWARD): Likewise.
8881 (FE_DOWNWARD): Likewise.
8882 (__FE_UNDEFINED): Define if [!__mips_hard_float]
8883 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
8884 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
8885 [__mips_hard_float].
8886 (FP_ROUNDMODE): Likewise.
8887 (FP_RND_NEAREST): Likewise.
8888 (FP_RND_ZERO): Likewise.
8889 (FP_RND_PINF): Likewise.
8890 (FP_RND_MINF): Likewise.
8891 (FP_EX_INVALID): Likewise.
8892 (FP_EX_OVERFLOW): Likewise.
8893 (FP_EX_UNDERFLOW): Likewise.
8894 (FP_EX_DIVZERO): Likewise.
8895 (FP_EX_INEXACT): Likewise.
8896 (FP_INIT_ROUNDMODE): Likewise.
8897 * sysdeps/mips/nofpu/fesetenv.c: New file.
8898 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
8900 2018-08-01 Joseph Myers <joseph@codesourcery.com>
8902 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
8903 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
8904 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
8905 conditional on [FE_UPWARD].
8907 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
8909 regex: fix memory leak in Gnulib
8910 Problem and fix reported by Assaf Gordon in:
8911 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
8912 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
8913 range_ends members too, as they are defined in 'struct
8914 re_charset_t' even if not _LIBC. This affects only Gnulib.
8916 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
8918 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
8920 (get_common_indices): This.
8921 (init_cpu_features): Updated.
8923 2018-08-01 Joseph Myers <joseph@codesourcery.com>
8925 * sysdeps/generic/math-tests-snan-payload.h: New file.
8926 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
8927 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
8928 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
8929 * sysdeps/generic/math-tests.h: Include
8930 <math-tests-snan-payload.h>.
8931 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
8932 * sysdeps/hppa/math-tests.h: Remove file.
8933 * sysdeps/mips/math-tests.h [!__mips_nan2008]
8934 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
8935 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
8938 * sysdeps/generic/math-tests-snan-cast.h: New file.
8939 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
8940 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
8941 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
8942 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
8944 2018-08-01 Carlos O'Donel <carlos@redhat.com>
8946 * version.h (RELEASE): Set to "development".
8947 (VERSION): Set to "2.28.9000".
8948 * NEWS (2.29): New section.
8950 * version.h (RELEASE): Set to "stable".
8951 (VERSION): Set to "2.28".
8952 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
8953 * NEWS: Add the list of bugs fixed in 2.28.
8955 * po/ca.po: Update to latest version.
8956 * po/cs.po: Likewise
8957 * po/da.po: Likewise
8958 * po/el.po: Likewise
8959 * po/eo.po: Likewise
8960 * po/es.po: Likewise
8961 * po/fi.po: Likewise
8962 * po/fr.po: Likewise
8963 * po/gl.po: Likewise
8964 * po/hu.po: Likewise
8965 * po/ia.po: Likewise
8966 * po/id.po: Likewise
8967 * po/it.po: Likewise
8968 * po/ja.po: Likewise
8969 * po/ko.po: Likewise
8970 * po/lt.po: Likewise
8971 * po/nb.po: Likewise
8972 * po/nl.po: Likewise
8973 * po/pt_BR.po: Likewise
8974 * po/ru.po: Likewise
8975 * po/rw.po: Likewise
8976 * po/sk.po: Likewise
8977 * po/sl.po: Likewise
8978 * po/tr.po: Likewise
8979 * po/zh_CN.po: Likewise
8980 * po/zh_TW.po: Likewise
8982 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8984 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
8986 (init): ... before initializing libpthread.
8988 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
8989 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
8990 (__mach_setup_tls): ... new function.
8991 (mach_setup_tls): New alias.
8992 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
8993 __mach_setup_thread.
8994 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
8995 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
8996 * mach/Versions [libc] (mach_setup_tls): Add symbol.
8997 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
8999 2018-07-31 Carlos O'Donell <carlos@redhat.com>
9001 * manual/install.texi: Update versions.
9002 * INSTALL: Regenerate.
9004 * manual/contrib.texi (Contributors): Update contributions.
9006 2018-07-31 Carlos O'Donell <carlos@redhat.com>
9008 * po/be.po: Update translations.
9010 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9012 * sysdeps/sh/libm-test-ulps: Update.
9014 2018-07-30 Carlos O'Donell <carlos@redhat.com>
9016 * po/bg.po: Update translations.
9017 * po/de.po: Likewise.
9018 * po/hr.po: Likewise.
9019 * po/pt_BR.po: Likewise.
9020 * po/sv.po: Likewise.
9021 * po/vi.po: Likewise.
9023 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
9026 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
9027 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
9028 (CFLAGS-tst-cet-property-1.o): New.
9029 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
9030 ($(objpfx)tst-cet-property-2): Likewise.
9031 ($(objpfx)tst-cet-property-2.out): Likewise.
9032 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
9033 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
9034 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
9035 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
9036 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
9038 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
9041 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
9043 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
9045 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
9046 __sbrk): Do not set attribute_hidden.
9047 * sysdeps/mach/hurd/not-errno.h: New file.
9048 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
9049 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
9051 2018-07-27 Carlos O'Donell <carlos@redhat.com>
9053 * po/uk.po: Update translations.
9054 * po/cs.po: Likewise.
9055 * po/pl.po: Likewise.
9057 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
9059 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
9060 parse beyond the note end.
9062 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9064 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
9065 kernel does not support OFD locks.
9066 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
9068 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9070 * sysdeps/mach/hurd/Versions (libc): Make __access and
9071 __access_noerrno external so they can override the ld symbols.
9072 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
9073 __writev, __open64, __access_noerrno extern so they can be overrided.
9074 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
9075 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
9077 2018-07-26 Carlos O'Donell <carlos@redhat.com>
9079 * po/libc.pot: Regenerate.
9081 2018-07-26 Joseph Myers <joseph@codesourcery.com>
9083 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
9085 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
9088 * sysdeps/x86/cpu-features.c (get_extended_indices): New
9090 (init_cpu_features): Call get_extended_indices for both Intel
9092 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
9093 Remove "for AMD" comment.
9095 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
9098 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
9099 COMMON_CPUID_INDEX_80000001.
9101 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
9103 * string/tst-xbzero-opt.c (use_test_buffer): New function.
9104 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
9106 2018-07-26 Florian Weimer <fweimer@redhat.com>
9108 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
9109 aliases for symbols not in the implementation namespace.
9111 2018-07-25 Carlos O'Donell <carlos@redhat.com>
9114 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
9115 lowercase in LATIN script.
9116 * localedata/Makefile (test-input): Add en_US.UTF-8.
9117 * localedata/en_US.UTF-8.in: New file.
9118 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
9119 and restore old tests.
9120 * posix/tst-regexloc.c (do_test): Add back range expression test.
9122 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9124 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
9126 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9128 * nptl/threads.h: Move to ...
9129 * sysdeps/nptl/threads.h: ... here.
9130 * sysdeps/hurd/stdc-predef.h: New file.
9132 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9134 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
9135 tst-cet-setcontext-1 if CET is enabled.
9136 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
9137 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
9139 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9141 * include/threads.h: Move to ...
9142 * sysdeps/nptl/threads.h: ... here.
9143 * sysdeps/htl/threads.h: New file.
9144 * conform/Makefile (linknamespace-libs-ISO11): Use
9145 static-thread-library instead of linking libpthread.
9146 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
9148 2018-07-25 Florian Weimer <fweimer@redhat.com>
9150 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
9151 nanoseconds into seconds.
9152 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
9153 (do_test): Likewise.
9154 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
9155 (do_test): Likewise. Avoid nanosecond overflow and spurious
9156 timeouts due to system load.
9157 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
9158 (child_wait): Increment it.
9159 (do_test): Wait as long as necessary until all expected threads
9162 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
9163 H.J. Lu <hongjiu.lu@intel.com>
9165 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
9167 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
9168 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
9169 (__push___start_context): New.
9170 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
9172 (__getcontext): Record the current shadow stack base. Save the
9173 caller's shadow stack pointer and base.
9174 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
9175 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
9176 (__push___start_context): New prototype.
9177 (__makecontext): Call __push___start_context to allocate a new
9178 shadow stack, push __start_context onto the new stack as well
9179 as the new shadow stack.
9180 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
9182 (__setcontext): Restore the target shadow stack.
9183 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
9185 (__swapcontext): Record the current shadow stack base. Save
9186 the caller's shadow stack pointer and base. Restore the target
9188 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9189 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
9190 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
9192 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9194 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
9195 tst-setcontext8 and tst-setcontext9.
9196 * stdlib/tst-setcontext6.c: New file.
9197 * stdlib/tst-setcontext7.c: Likewise.
9198 * stdlib/tst-setcontext8.c: Likewise.
9199 * stdlib/tst-setcontext9.c: Likewise.
9201 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9203 * stdlib/Makefile ((tests): Add tst-setcontext5.
9204 * stdlib/tst-setcontext5.c: New file.
9206 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9208 * stdlib/Makefile (tests): Add tst-setcontext4.
9209 * stdlib/tst-setcontext4.c: New file.
9211 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9213 * stdlib/Makefile (tests): Add tst-swapcontext1.
9214 * stdlib/tst-swapcontext1.c: New test.
9216 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9218 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
9219 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
9220 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
9221 and tst-cet-legacy-4c.
9222 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
9223 and tst-cet-legacy-mod-4.
9224 (CFLAGS-tst-cet-legacy-2.c): New.
9225 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
9226 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
9227 (CFLAGS-tst-cet-legacy-3.c): Likewise.
9228 (CFLAGS-tst-cet-legacy-4.c): Likewise.
9229 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
9230 ($(objpfx)tst-cet-legacy-1): Likewise.
9231 ($(objpfx)tst-cet-legacy-2): Likewise.
9232 ($(objpfx)tst-cet-legacy-2.out): Likewise.
9233 ($(objpfx)tst-cet-legacy-2a): Likewise.
9234 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
9235 ($(objpfx)tst-cet-legacy-4): Likewise.
9236 ($(objpfx)tst-cet-legacy-4.out): Likewise.
9237 ($(objpfx)tst-cet-legacy-4a): Likewise.
9238 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
9239 (tst-cet-legacy-4a-ENV): Likewise.
9240 ($(objpfx)tst-cet-legacy-4b): Likewise.
9241 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
9242 (tst-cet-legacy-4b-ENV): Likewise.
9243 ($(objpfx)tst-cet-legacy-4c): Likewise.
9244 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
9245 (tst-cet-legacy-4c-ENV): Likewise.
9246 * sysdeps/x86/tst-cet-legacy-1.c: New file.
9247 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
9248 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
9249 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
9250 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
9251 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
9252 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
9253 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
9254 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
9255 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
9256 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
9258 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9260 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
9261 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
9263 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
9264 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
9267 2018-07-25 Andreas Schwab <schwab@suse.de>
9270 * locale/weightwc.h (findidx): Handle the case where usrc is a
9271 prefix of cp but one character too short.
9273 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9275 * NEWS: Add ISO C threads addition.
9277 2018-07-24 Florian Weimer <fweimer@redhat.com>
9279 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9280 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
9281 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
9284 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9286 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
9287 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
9288 <sys/prctl.h> and <asm/prctl.h>.
9289 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
9290 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
9292 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
9293 ARCH_CET_LEGACY_BITMAP.
9294 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
9295 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
9296 * sysdeps/x86/libc-start.c: Include <startup.h>.
9298 2018-07-24 Florian Weimer <fweimer@redhat.com>
9300 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
9301 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
9303 2018-07-24 Rical Jasan <rj@2c3t.io>
9304 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9305 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
9308 * manual/debug.texi: Update adjacent chapter name.
9309 * manual/probes.texi: Likewise.
9310 * manual/threads.texi (ISO C Threads): New section.
9311 (POSIX Threads): Convert to a section.
9313 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9314 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
9317 * nptl/Makefile (tests): Add new test files.
9318 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
9319 * nptl/tst-cnd-basic.c: Likewise.
9320 * nptl/tst-cnd-broadcast.c: Likewise.
9321 * nptl/tst-cnd-timedwait.c: Likewise.
9322 * nptl/tst-mtx-basic.c: Likewise.
9323 * nptl/tst-mtx-recursive.c: Likewise.
9324 * nptl/tst-mtx-timedlock.c: Likewise.
9325 * nptl/tst-mtx-trylock.c: Likewise.
9326 * nptl/tst-thrd-basic.c: Likewise.
9327 * nptl/tst-thrd-detach.c: Likewise.
9328 * nptl/tst-thrd-sleep.c: Likewise.
9329 * nptl/tst-tss-basic.c: Likewise.
9331 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9334 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
9335 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
9337 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9338 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9339 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9340 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9341 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9342 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9343 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9344 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9345 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9346 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9347 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9348 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
9355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9356 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9357 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9358 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9359 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9360 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9361 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9362 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9363 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9364 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
9365 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
9366 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
9367 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
9368 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
9370 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
9371 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
9372 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
9373 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
9374 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
9375 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
9376 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
9377 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
9378 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
9379 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
9380 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
9381 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
9383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
9384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9388 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
9389 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
9390 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
9391 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
9392 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
9393 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
9394 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
9395 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
9398 * conform/data/threads.h-data (thread_local): New macro.
9399 (TSS_DTOR_ITERATIONS): Likewise.
9401 (tss_dtor_t): Likewise.
9402 (tss_create): New function.
9403 (tss_get): Likewise.
9404 (tss_set): Likewise.
9405 (tss_delete): Likewise.
9406 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
9407 tss_get, and tss_set objects.
9408 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
9409 * nptl/tss_create.c: New file.
9410 * nptl/tss_delete.c: Likewise.
9411 * nptl/tss_get.c: Likewise.
9412 * nptl/tss_set.c: Likewise.
9413 * sysdeps/nptl/threads.h (thread_local): New define.
9414 (TSS_DTOR_ITERATIONS): Likewise.
9415 (tss_t): New typedef.
9416 (tss_dtor_t): Likewise.
9417 (tss_create): New prototype.
9418 (tss_get): Likewise.
9419 (tss_set): Likewise.
9420 (tss_delete): Likewise.
9423 * conform/data/threads.h-data (cnd_t): New type.
9424 (cnd_init): New function.
9425 (cnd_signal): Likewise.
9426 (cnd_broadcast): Likewise.
9427 (cnd_wait): Likewise.
9428 (cnd_timedwait): Likewise.
9429 (cnd_destroy): Likewise.
9430 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
9431 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
9433 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
9434 * nptl/cnd_broadcast.c: New file.
9435 * nptl/cnd_destroy.c: Likewise.
9436 * nptl/cnd_init.c: Likewise.
9437 * nptl/cnd_signal.c: Likewise.
9438 * nptl/cnd_timedwait.c: Likewise.
9439 * nptl/cnd_wait.c: Likewise.
9440 * sysdeps/nptl/threads.h (cnd_t): New type.
9441 (cnd_init): New prototype.
9442 (cnd_signa): Likewise.
9443 (cnd_broadcast): Likewise.
9444 (cnd_wait): Likewise.
9445 (cnd_timedwait): Likewise.
9446 (cnd_destroy): Likewise.
9449 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
9450 (once_flag): New type.
9451 (call_once): New function.
9452 * nptl/Makefile (libpthread-routines): Add call_once object.
9453 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
9454 * nptl/call_once.c: New file.
9455 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
9456 (once_flag): New type.
9457 (call_once): New prototype.
9460 * conform/data/threads.h-data (mtx_plain): New constant.
9461 (mtx_recursive): Likewise.
9462 (mtx_timed): Likewise.
9464 (mtx_init): New function.
9465 (mtx_lock): Likewise.
9466 (mtx_timedlock): Likewise.
9467 (mtx_trylock): Likewise.
9468 (mtx_unlock): Likewise.
9469 (mtx_destroy): Likewise.
9470 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
9471 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
9472 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
9473 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
9474 * nptl/mtx_destroy.c: New file.
9475 * nptl/mtx_init.c: Likewise.
9476 * nptl/mtx_lock.c: Likewise.
9477 * nptl/mtx_timedlock.c: Likewise.
9478 * nptl/mtx_trylock.c: Likewise.
9479 * nptl/mtx_unlock.c: Likewise.
9480 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
9481 (mtx_recursive): Likewise.
9482 (mtx_timed): Likewise.
9484 (mtx_init): New prototype.
9485 (mtx_lock): Likewise.
9486 (mtx_timedlock): Likewise.
9487 (mtx_trylock): Likewise.
9488 (mtx_unlock): Likewise.
9489 (mtx_destroy): Likewise.
9492 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
9493 (linknamespace-libs-ISO11): Add libpthread.a.
9494 * conform/data/threads.h-data: New file: add C11 thrd_* types and
9496 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
9497 * nptl/Makefile (headers): Add threads.h.
9498 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
9499 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
9501 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
9502 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
9503 thrd_join, thrd_sleep, and thrd_yield symbols.
9504 * nptl/descr.h (struct pthread): Add c11 field.
9505 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
9506 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
9507 routine with expected function prototype.
9508 (__pthread_create_2_1): Add C11 threads check based on attribute
9510 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
9511 * nptl/thrd_create.c: New file.
9512 * nptl/thrd_current.c: Likewise.
9513 * nptl/thrd_detach.c: Likewise.
9514 * nptl/thrd_equal.c: Likewise.
9515 * nptl/thrd_exit.c: Likewise.
9516 * nptl/thrd_join.c: Likewise.
9517 * nptl/thrd_priv.h: Likewise.
9518 * nptl/thrd_sleep.c: Likewise.
9519 * nptl/thrd_yield.c: Likewise.
9520 * include/threads.h: Likewise.
9522 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9524 * bits/indirect-return.h: New file.
9525 * misc/sys/cdefs.h (__glibc_has_attribute): New.
9526 * sysdeps/x86/bits/indirect-return.h: Likewise.
9527 * stdlib/Makefile (headers): Add bits/indirect-return.h.
9528 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
9529 (swapcontext): Add __INDIRECT_RETURN.
9530 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
9531 (prepare_test_buffer): Use it.
9533 2018-07-24 Andreas Schwab <schwab@suse.de>
9536 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
9537 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
9539 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9541 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
9542 Redefine if shadow stack is enabled.
9543 (SYSCALL_ERROR_LABEL): Likewise.
9544 (__vfork): Pop shadow stack and jump back to to caller directly
9545 when shadow stack is in use.
9546 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
9547 Redefine if shadow stack is enabled.
9548 (SYSCALL_ERROR_LABEL): Likewise.
9549 (__vfork): Pop shadow stack and jump back to to caller directly
9550 when shadow stack is in use.
9552 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9554 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
9557 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
9560 2018-07-20 Joseph Myers <joseph@codesourcery.com>
9562 * scripts/build-many-glibcs.py (Context.checkout): Default
9563 binutils version to 2.31 branch.
9565 2018-07-20 Zong Li <zong@andestech.com>
9567 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
9568 URL of gcc's tarball.
9570 2018-07-20 Florian Weimer <fweimer@redhat.com>
9573 * posix/regcomp.c (build_equiv_class): When comparing weights, do
9574 not compare an extra byte after the end of the weights.
9576 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
9578 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
9580 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
9582 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
9583 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
9584 * scripts/check-execstack.awk: Consider `xfail' variable containing a
9585 list of libraries whose stack executability is expected.
9586 * elf/Makefile ($(objpfx)check-execstack.out): Pass
9587 $(check-execstack-xfail) to check-execstack.awk through `xfail'
9589 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
9590 libc.so libpthread.so.
9592 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
9594 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
9596 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
9598 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
9600 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
9602 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9604 * benchtests/scripts/compare_bench.py (__main__): use the argparse
9605 library to improve command line parsing.
9606 (__main__): make schema file as optional parameter (--schema),
9607 defaulting to benchtests/scripts/benchout.schema.json.
9608 (main): move out of the parsing stuff to __main_ and leave it
9609 only as caller of main comparison functions.
9611 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
9613 * NEWS: Add a note for Intel CET status.
9614 * manual/install.texi: Likewise.
9615 * INSTALL: Regenerated.
9617 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
9620 * localedata/locales/oc_FR (mon): Rename to...
9621 (alt_mon): This, then update October (typo fix).
9622 (mon): New content (genitive case, month names preceded by
9626 * localedata/locales/oc_FR (abday): Update all items.
9627 (day): Update Wednesday and Saturday (typo fixes).
9628 (abmon): Update all items, except May.
9629 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
9630 (LC_IDENTIFICATION): Bump the revision number and date.
9631 Keep the "category" entries in alphabetic order.
9632 (LC_ADDRESS): Remove no longer needed comment.
9633 (LC_COLLATE): Use “copy "ca_ES"”.
9634 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
9637 2018-07-18 Joseph Myers <joseph@codesourcery.com>
9639 * grp/tst_fgetgrent.c: Include <unistd.h>.
9640 (main): Use mkstemp instead of tmpnam.
9641 * io/test-utime.c (main): Likewise.
9642 * posix/annexc.c (macrofile): Change to modifiable array.
9643 (main): Remove macrofile here.
9644 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
9646 (check_header): Do not remove macrofile here.
9647 * posix/bug-getopt1.c: Include <stdlib.h>.
9648 (do_test): Use mkstemp instead of tmpnam.
9649 * posix/bug-getopt2.c: Include <stdlib.h>.
9650 (do_test): Use mkstemp instead of tmpnam.
9651 * posix/bug-getopt3.c: Include <stdlib.h>.
9652 (do_test): Use mkstemp instead of tmpnam.
9653 * posix/bug-getopt4.c: Include <stdlib.h>.
9654 (do_test): Use mkstemp instead of tmpnam.
9655 * posix/bug-getopt5.c: Include <stdlib.h>.
9656 (do_test): Use mkstemp instead of tmpnam.
9657 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
9658 (main): Use mkstemp instead of tmpnam.
9659 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
9660 (main): Use mkstemp instead of tmpnam.
9661 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
9662 (main): use mkstemp instead of tmpnam.
9663 * stdlib/isomac.c (macrofile): Change to modifiable array.
9664 (main): Remove macrofile here.
9665 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
9667 (check_header): Do not remove macrofile here.
9669 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9671 * manual/tunables.texi: Document glibc.tune.x86_ibt and
9672 glibc.tune.x86_shstk.
9674 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9676 * NEWS: Mention --enable-cet.
9677 * manual/install.texi: Document --enable-cet.
9678 * INSTALL: Regenerated.
9680 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9682 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
9683 Add _CET_NOTRACK before indirect jump to jump table.
9685 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9687 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
9688 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9691 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9693 * sysdeps/i386/i686/multiarch/strcat-sse2.S
9694 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9697 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9699 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
9700 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9703 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9705 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
9706 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9709 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9711 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
9712 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9714 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
9716 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9718 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
9719 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9722 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9724 * sysdeps/i386/i686/multiarch/memset-sse2.S
9725 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9728 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9730 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
9731 indirect jump to jump table.
9733 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9735 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
9736 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9740 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9742 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
9743 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9747 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9749 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9750 _CET_NOTRACK before indirect jump to jump table.
9752 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9754 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
9755 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9758 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9760 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
9761 indirect jump to jump table.
9763 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
9766 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
9767 (LOCALES): Likewise.
9768 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
9769 * localedata/locales/sah_RU: New file.
9770 * localedata/sah_RU.UTF-8.in: New file.
9772 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9774 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
9776 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9777 _CET_ENDBR to indirect jump targets and adjust jump destination
9779 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
9781 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9782 _CET_ENDBR to indirect jump targets and adjust jump destination
9784 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
9786 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
9787 _CET_ENDBR to indirect jump targets and adjust jump destination
9790 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9792 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9795 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9797 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
9799 (_dl_tlsdesc_undefweak): Likewise.
9800 (_dl_tlsdesc_dynamic): Likewise.
9801 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
9802 (_dl_tlsdesc_resolve_rel): Likewise.
9803 (_dl_tlsdesc_resolve_rela): Likewise.
9804 (_dl_tlsdesc_resolve_hold): Likewise.
9805 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
9806 (_dl_tlsdesc_undefweak): Likewise.
9807 (_dl_tlsdesc_dynamic): Likewise.
9808 (_dl_tlsdesc_resolve_rela): Likewise.
9809 (_dl_tlsdesc_resolve_hold): Likewise.
9811 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9813 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
9815 * sysdeps/x86_64/crti.S (_init): Likewise.
9818 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
9821 * localedata/locales/os_RU (mon): Rename to...
9823 (mon): Import from CLDR (genitive case).
9825 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9827 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
9828 cet-tunables.h> when CET is enabled.
9830 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
9833 * configure.ac: Add --enable-cet.
9834 * configure: Regenerated.
9835 * elf/Makefille (all-built-dso): Add a comment.
9836 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
9837 Include <dl-prop.h>.
9838 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
9840 * elf/dl-open.c: Include <dl-prop.h>.
9841 (dl_open_worker): Call _dl_open_check.
9842 * elf/rtld.c: Include <dl-prop.h>.
9843 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
9845 * sysdeps/generic/dl-prop.h: New file.
9846 * sysdeps/i386/dl-cet.c: Likewise.
9847 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
9848 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
9849 * sysdeps/x86/cet-tunables.h: Likewise.
9850 * sysdeps/x86/check-cet.awk: Likewise.
9851 * sysdeps/x86/configure: Likewise.
9852 * sysdeps/x86/configure.ac: Likewise.
9853 * sysdeps/x86/dl-cet.c: Likewise.
9854 * sysdeps/x86/dl-procruntime.c: Likewise.
9855 * sysdeps/x86/dl-prop.h: Likewise.
9856 * sysdeps/x86/libc-start.h: Likewise.
9857 * sysdeps/x86/link_map.h: Likewise.
9858 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
9860 (_dl_runtime_profile): Likewise.
9861 (_dl_runtime_resolve_shstk): New.
9862 (_dl_runtime_profile_shstk): Likewise.
9863 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
9865 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
9866 (CFLAGS-.os): Likewise.
9867 (CFLAGS-.op): Likewise.
9868 (CFLAGS-.oS): Likewise.
9869 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
9871 (tests-special): Add $(objpfx)check-cet.out.
9872 (cet-built-dso): New.
9873 (+$(cet-built-dso:=.note)): Likewise.
9874 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
9875 ($(objpfx)check-cet.out): New.
9876 (generated): Add check-cet.out.
9877 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
9879 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
9880 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
9881 (init_cpu_features): Call get_cet_status to check CET status
9882 and update dl_x86_feature_1 with CET status. Call
9883 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
9884 (set_x86_shstk). Disable and lock CET in libc.a.
9885 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
9886 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
9887 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
9888 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
9889 (_CET_ENDBR): Define if not defined.
9890 (ENTRY): Add _CET_ENDBR.
9891 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
9893 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
9895 (_dl_runtime_profile): Likewise.
9897 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
9900 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
9901 restore r2 on longjmp.
9902 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
9904 Added rules to build test tst-setjmp-bug21895-static.
9905 Added module setjmp-bug21895 and rules to build a shared object from it.
9906 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
9907 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
9909 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
9911 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
9912 * benchtests/bench-strstr.c: Likewise.
9913 * string/memmem.c (FASTSEARCH): Define.
9914 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
9915 Add support for FASTSEARCH.
9916 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
9917 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
9918 (FASTSEARCH): Define.
9919 * string/test-strcasestr.c: Rename __strnlen to strnlen.
9920 * string/test-strstr.c: Likewise.
9922 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
9924 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
9925 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
9927 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
9928 H.J. Lu <hongjiu.lu@intel.com>
9930 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
9931 (__longjmp): Restore shadow stack pointer if shadow stack is
9932 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
9933 isn't defined for __longjmp_cancel.
9934 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
9935 (_setjmp): Save shadow stack pointer if shadow stack is enabled
9936 and SHADOW_STACK_POINTER_OFFSET is defined.
9937 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
9938 (setjmp): Save shadow stack pointer if shadow stack is enabled
9939 and SHADOW_STACK_POINTER_OFFSET is defined.
9940 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
9941 (__sigsetjmp): Save shadow stack pointer if shadow stack is
9942 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9943 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
9945 (____longjmp_chk): Restore shadow stack pointer if shadow stack
9946 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9947 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
9948 Remove jmp_buf-ssp.sym.
9949 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9951 (____longjmp_chk): Restore shadow stack pointer if shadow stack
9952 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9953 * sysdeps/x86/Makefile (gen-as-const-headers): Add
9955 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
9956 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
9957 (__longjmp): Restore shadow stack pointer if shadow stack is
9958 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
9959 isn't defined for __longjmp_cancel.
9960 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
9961 (__sigsetjmp): Save shadow stack pointer if shadow stack is
9962 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9964 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
9967 * nptl/pthread_create.c: Include <tls-setup.h>.
9968 (__pthread_create_2_1): Call tls_setup_tcbhead.
9969 * sysdeps/generic/tls-setup.h: New file.
9970 * sysdeps/x86/nptl/tls-setup.h: Likewise.
9971 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
9972 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
9974 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
9976 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
9977 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
9978 (X86_FEATURE_1_SHSTK): Likewise.
9979 (CET_ENABLED): Likewise.
9980 (IBT_ENABLED): Likewise.
9981 (SHSTK_ENABLED): Likewise.
9983 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
9986 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
9987 (LOCALES): Likewise.
9988 * localedata/dsb_DE.UTF-8.in: New file.
9989 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
9991 2018-07-12 Florian Weimer <fweimer@redhat.com>
9993 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
9994 __mprotect, not mprotect.
9996 2018-07-11 Florian Weimer <fweimer@redhat.com>
9998 * io/Makefile (headers): Add bits/statx.h.
10000 2018-07-10 Mike FABIAN <mfabian@redhat.com>
10002 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
10003 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
10005 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
10006 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
10009 2018-07-10 Florian Weimer <fweimer@redhat.com>
10011 * io/Makefile (routines): Add statx.
10012 (tests-internal): Add tst-statx.
10013 * io/Versions (GLIBC_2.28): Export statx.
10014 * io/bits/statx.h: New file.
10015 * io/sys/stat.h [__USE_GNU]: Include it.
10016 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
10017 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
10019 * io/statx.c: New file.
10020 * io/statx_generic.: Likewise.
10021 * io/tst-statx.: Likewise.
10022 * include/bits/statx.h: Likewise.
10023 * sysdeps/unix/sysv/linux/kernel-features.h
10024 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
10025 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10026 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
10027 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
10029 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10030 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
10031 * sysdeps/unix/sysv/linux/statx.c: New file.
10032 * manual/filesys.texi: Note that statx is undocumented.
10033 * sysdeps/**/libc*.abilist: Update.
10035 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10037 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
10038 a kernel issue which lead to test failure in some cases.
10040 2018-07-10 Florian Weimer <fweimer@redhat.com>
10043 * posix/regexec.c (check_node_accept_bytes): When comparing
10044 weights, do not compare an extra byte after the end of the
10047 2018-07-10 Florian Weimer <fweimer@redhat.com>
10049 * libio/readline.c: Fix copyright year.
10050 * libio/tst-readline.c Likewise.
10051 * nss/tst-nss-files-hosts-getent.c: Likewise.
10053 2018-07-06 Florian Weimer <fweimer@redhat.com>
10056 * nss/nss_files/files-XXX.c (internal_getent): Use
10057 __libc_readline_unlocked. Seek back to the start of the line if
10058 parsing failes with ERANGE.
10059 (get_contents_ret, get_contents): Remove.
10060 * nss/tst-nss-files-hosts-getent.c: New file.
10061 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
10062 (tst-nss-files-hosts-getent): Link with -ldl.
10064 2018-07-06 Florian Weimer <fweimer@redhat.com>
10066 * include/stdio.h (__libc_readline_unlocked): Declare.
10067 (__ftello64, __fseeko64): Declare aliases.
10068 * libio/readline.c: New file.
10069 * libio/tst-readline.c: Likewise.
10070 (routines): Add readline.
10071 (tests-internal): Add tst-readlime.
10072 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
10073 __libc_readline_unlocked.
10074 * libio/fseeko.c (__fseeko): Rename from fseeko.
10075 (fseeko): Add alias.
10076 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
10077 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
10078 (fseeko64): Add alias.
10079 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
10080 * libio/ftello64.c (__ftello64): Rename from ftello64.
10081 (ftello64): Add alias.
10083 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
10085 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
10088 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
10090 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
10091 Use dl_hwcap without masking.
10092 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
10093 Remove HWCAP_CPUID.
10095 2018-07-06 Florian Weimer <fweimer@redhat.com>
10097 * conform/conformtest.pl (checknamespace): Escape literal braces
10098 in regular expressions.
10100 2018-07-06 Amit Pawar <amit.pawar@amd.com>
10102 * sysdeps/x86/cpu-features.c (get_common_indeces):
10103 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
10104 * sysdeps/x86/cpu-features.c (init_cpu_features):
10105 AVX_Fast_Unaligned_Load is disabled for Excavator core.
10107 2018-07-05 Florian Weimer <fweimer@redhat.com>
10109 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
10111 (CFLAGS-elf-init.oS): Likewise.
10113 2018-07-05 Florian Weimer <fweimer@redhat.com>
10114 Carlos O'Donell <carlos@redhat.com>
10116 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
10117 $(no-stack-protector). stack_chk_fail_local.c can be compiled
10118 with stack protector enabled because there is no risk of infinite
10121 2018-07-05 Maciej W. Rozycki <macro@mips.com>
10125 * libc-abis (ABSOLUTE): New ABI.
10126 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
10127 * NEWS: Mention the new ABI.
10129 2018-07-05 Florian Weimer <fweimer@redhat.com>
10132 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
10133 (RENAME_WHITEOUT): Define.
10134 [__USE_GNU] (renameat2): Declare.
10135 * stdio-common/Makefile (routines): Add renameat2.
10136 (tests): Add tst-renameat2.
10137 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
10138 * stdio-common/renameat2.c: New file.
10139 * stdio-common/tst-renameat2.c: Likewise.
10140 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
10141 * manual/filesys.texi (Temporary Files): Note that renameat2 is
10143 * sysdeps/unix/sysv/linux/kernel-features.h
10144 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
10145 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10146 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
10147 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10148 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
10149 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10150 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
10151 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10152 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
10153 * include/stdio.h (__renameat): Add alias for renameat.
10154 * stdio-common/renameat.c (__renameat): Rename from renameat.
10155 Add hidden definition and alias.
10156 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
10157 * sysdeps/mach/hurd/renameat.c: Likewise.
10158 * sysdeps/**/libc*.abilist: Add renameat2.
10160 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10162 * posix/bug-regex33.c: Fix build after regex sync.
10164 2018-07-04 Carlos O'Donell <carlos@redhat.com>
10167 * localedata/tst-langinfo-setlocale.c: New file.
10168 * localedata/tst-langinfo-setlocale-static.c: New file.
10169 * localedata/tst-langinfo-newlocale.c: New file.
10170 * localedata/tst-langinfo-newlocale-static.c: New file.
10171 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
10172 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
10173 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
10174 (tests-static): Remove tst-langinfo-static. Add
10175 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
10176 (tests-special): Remove $(objpfx)tst-langinfo.out,
10177 $(objpfx)tst-langinfo-static.out. Add
10178 $(objpfx)tst-langinfo-setlocale.out,
10179 $(objpfx)tst-langinfo-newlocale.out,
10180 $(objpfx)tst-langinfo-setlocale-static.out,
10181 $(objpfx)tst-langinfo-newlocale-static.out.
10182 ($(objpfx)tst-langinfo.out): Remove.
10183 ($(objpfx)tst-langinfo-static.out): Remove.
10184 ($(objpfx)tst-langinfo-newlocale.out): New target.
10185 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
10186 (test-xfail-tst-langinfo-newlocale-static): Add.
10187 ($(objpfx)tst-langinfo-setlocale.out): New target.
10188 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
10189 * localedata/tst-langinfo.c: Call test_locale.
10190 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
10193 2018-07-04 Florian Weimer <fweimer@redhat.com>
10195 testrun.sh: Implement --tool=strace, --tool=valgrind
10196 * Makefile (testrun-script): Define variable.
10197 (testrun.sh): Use variable.
10198 * manual/install.texi (Tools for Compilation): make 4.0 or later
10200 * configure.ac: Check for make 4.0 or later.
10201 * INSTALL: Regenerate.
10202 * configure: Likewise.
10204 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10210 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
10211 * posix/PCRE.tests: Remove invalid test.
10212 * posix/bug-regex28.c: Fix expected values for used syntax.
10213 * posix/bug-regex37.c: New file.
10214 * posix/bug-regex38.c: Likewise.
10215 * posix/regcomp.c: Sync with gnulib.
10216 * posix/regex.c: Likewise.
10217 * posix/regex.h: Likewise.
10218 * posix/regex_internal.c: Likewise.
10219 * posix/regex_internal.h: Likewise.
10220 * posix/regexec.c: Likewise.
10222 2018-06-26 Mike FABIAN <mfabian@redhat.com>
10225 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
10226 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
10227 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
10228 * localedata/unicode-gen/PropList.txt: likewise.
10229 * localedata/unicode-gen/UnicodeData.txt: likewise.
10230 * localedata/charmaps/UTF-8: Regenerate.
10231 * localedata/locales/i18n_ctype: likewise.
10232 * localedata/locales/tr_TR: likewise.
10233 * localedata/locales/translit_circle: likewise.
10234 * localedata/locales/translit_cjk_compat: likewise.
10235 * localedata/locales/translit_combining: likewise.
10236 * localedata/locales/translit_compat: likewise.
10237 * localedata/locales/translit_font: likewise.
10238 * localedata/locales/translit_fraction: likewise.
10240 2018-07-03 Florian Weimer <fweimer@redhat.com>
10243 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
10244 * stdio-common/tst-printf.sh: Adjust expected output.
10245 * LICENSES: Update.
10247 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10249 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
10252 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10254 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
10255 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
10256 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
10257 * stdio-common/tst-printfsz-islongdouble.c: New file.
10258 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
10259 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
10260 [subdir == stdio-common] (routines): Add ieee128-printf_size.
10261 [subdir == stdio-common] (tests-internal): Add
10262 test-printf-size-ieee128, and test-printf-size-ibm128.
10263 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
10264 (CFLAGS-test-printf-size-ibm128.c): New variables.
10265 [subdir == stdio-common] (tests-special): Add
10266 $(objpfx)test-printf-size-ieee128.out and
10267 $(objpfx)test-printf-size-ibm128.out.
10268 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
10269 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
10270 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
10271 __printf_sizeieee128.
10272 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
10274 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
10276 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
10279 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
10281 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
10282 (exp2f_inline): Likewise.
10283 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
10284 (__math_uflowf): Likewise.
10285 (__math_may_uflowf): Likewise.
10286 (__math_divzerof): Likewise.
10287 (__math_invalidf): Likewise.
10288 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
10289 (__math_oflowf): Likewise.
10290 (__math_uflowf): Likewise.
10291 (__math_may_uflowf): Likewise.
10292 (__math_divzerof): Likewise.
10293 (__math_invalidf): Likewise.
10295 2018-06-29 DJ Delorie <dj@redhat.com>
10296 Carlos O'Donell <carlos@redhat.com>
10299 * include/libc-symbols.h: Comment the freeres framework.
10300 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
10301 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
10302 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
10303 * dlfcn/dlerror.c: Include libc-symbols.h
10304 (__dlerror_main_freeres): New function.
10305 * dlfcn/dlfreeres.c: New file.
10306 * dlfcn/sdlfreeres.c: New file.
10307 * include/dlfcn.h: Declare __dlerror_main_freeres.
10308 * malloc/set-freeres.c: Declare __libdl_freeres, and
10309 __libpthread_freeres.
10310 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
10311 the releavant libraries are loaded.
10312 * malloc/thread-freeres.c: Add comments.
10313 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
10314 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
10315 * nptl/allocatestack.c (__nptl_free_stacks): New function.
10316 (__free_stacks): Rename to...
10317 (free_stacks): ...this. Mark static.
10318 (queue_stack): Call free_stacks.
10319 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
10320 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
10321 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
10322 ptr_freeres element from struct.
10323 (pthread_functions): Remove .ptr_freeres from struct initializer.
10324 [SHARED] (nptl_freeres): Remove.
10325 * nptl/nptlfreeres.c: New file.
10327 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
10328 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
10330 (__free_stacks): Rename to...
10331 (__nptl_stacks_freeres): ...this.
10332 (__shm_directory_freeres): Declare.
10333 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
10334 (__nptl_unwind_freeres): ...this.
10335 * resolv/res-close.c: Add comment.
10336 * resolv/resolv_conf.c: Include libc-symbols.h.
10337 * string/strerror_l.c: Include libc-symbols.h.
10338 * sunrpc/rpc_thread.c: Include libc-symbols.h.
10339 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
10340 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
10341 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
10343 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10345 * stdlib/tst-strfmon_l.c: Add tests for long double.
10347 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
10350 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
10351 * localedata/locales/dsb_DE: New file.
10353 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
10356 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
10358 (alt_mon): New entry, import from CLDR (nominative case).
10360 2018-06-29 Sylvain Lesage <severo@rednegra.net>
10363 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
10365 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
10367 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
10368 Use vector registers.
10370 * sysdeps/aarch64/multiarch/memmove_falkor.S
10371 (__memcpy_falkor): Use vector registers.
10373 2018-06-29 Martin Sebor <msebor@redhat.com>
10375 * manual/stdio.texi (Customizing Printf): Mention interaction
10376 with GCC built-ins.
10378 2018-06-29 Maciej W. Rozycki <macro@mips.com>
10381 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
10382 `st_value' is 0 if `st_shndx' is SHN_ABS.
10383 * elf/tst-absolute-zero.c: New file.
10384 * elf/tst-absolute-zero-lib.c: New file.
10385 * elf/tst-absolute-zero-lib.lds: New file.
10386 * elf/Makefile (tests): Add `tst-absolute-zero'.
10387 (modules-names): Add `tst-absolute-zero-lib'.
10388 (LDLIBS-tst-absolute-zero-lib.so): New variable.
10389 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
10390 ($(objpfx)tst-absolute-zero: New dependency.
10392 2018-06-29 Zack Weinberg <zackw@panix.com>
10394 * configure.ac: New command-line option --disable-crypt.
10395 Force --disable-nss-crypt when --disable-crypt is given, with a
10396 warning if it was explicitly enabled.
10397 * configure: Regenerate.
10398 * config.make.in: New boolean substitution variable $(build-crypt).
10399 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
10400 when $(build-crypt).
10401 * manual/install.texi: Document --disable-crypt.
10402 * INSTALL: Regenerate.
10404 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
10405 which is never set.
10406 * conform/Makefile: Only include libcrypt.a in
10407 linknamespace-libs-xsi and linknamespace-libs-XPG4
10408 when $(build-crypt).
10409 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
10410 USE_CRYPT to 1 when $(build-crypt).
10411 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
10412 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
10413 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
10415 2018-06-29 Zack Weinberg <zackw@panix.com>
10417 * crypt/crypt.h, posix/unistd.h: Update comments and
10418 prototypes for crypt and crypt_r.
10420 * manual/crypt.texi (Cryptographic Functions): New initial
10422 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
10423 (Unpredictable Bytes): Improve initial exposition. Clarify error
10424 behavior of getentropy and getrandom.
10425 * manual/examples/genpass.c: Generate a salt using getentropy
10426 instead of the current time. Use hash $5$ (SHA-2-256).
10427 * manual/examples/testpass.c: Demonstrate validation against
10428 hashes generated with three different one-way functions.
10430 * manual/intro.texi: crypt.texi does not need an overview
10433 * manual/nss.texi, manual/memory.texi, manual/socket.texi
10434 * manual/terminal.texi: Consistently refer to "passphrases"
10435 * instead of "passwords", and to the "user database" instead
10436 * of the "password database".
10437 * manual/users.texi: Similarly. Add notes about how actual
10438 passphrase hashes are now stored in the shadow database.
10439 Remove 20-year-old junk todo note.
10441 2018-06-29 Zack Weinberg <zackw@panix.com>
10443 * manual/crypt.texi: Use a normal top-level @node declaration.
10444 Move most of the introductory text to the 'crypt' section.
10445 Move the example programs below the @deftypefun for 'crypt_r'.
10446 Move the 'getpass' section...
10447 * manual/terminal.texi: ...here.
10449 2018-06-29 Zack Weinberg <zackw@panix.com>
10450 Florian Weimer <fweimer@redhat.com>
10452 * posix/unistd.h: Do not declare encrypt.
10453 (_XOPEN_CRYPT): Remove macro definition.
10454 (crypt): Declare only for _USE_MISC.
10455 * stdlib/stdlib.h: Do not declare setkey.
10456 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
10457 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
10459 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
10460 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
10461 into compat symbols. Don't define initial_perm if it's not
10463 * crypt/cert.c: Link explicitly with the expected versions for
10464 setkey and encrypt. If they are not available at all, mark
10465 the test as unsupported.
10467 * sunrpc/des_crypt.c: Unconditionally block linkage with
10468 cbc_crypt and ecb_crypt for new binaries.
10469 * sunrpc/des_soft.c: Unconditionally block linkage with
10470 des_setparity for new binaries.
10472 * manual/crypt.texi: Remove the entire "DES Encryption"
10473 section. Also remove the paragraph talking about FIPS 140-2
10474 from the introduction.
10475 * manual/string.texi (strfry, memfrob): Revise. Recommend use
10476 of libgcrypt for "real" encryption, not DES.
10477 * manual/conf.texi (Constants for Sysconf): Mention that
10478 _XOPEN_CRYPT is no longer impelemented.
10480 * conform/data/unistd.h-data: Remove crypt function declaration.
10482 2018-06-29 Florian Weimer <fweimer@redhat.com>
10485 * malloc/hooks.c: Update comments on restoring of dumped heaps.
10486 (disallow_malloc_check): Remove variable.
10487 (__malloc_check_init): Adjust.
10488 (malloc_set_state): Update comment.
10489 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
10492 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
10495 * localedata/locales/ast_ES (mon): Rename to...
10497 (mon): Import from CLDR (genitive case).
10499 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
10500 Jakub Sitnicki <jkbs@redhat.com>
10503 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
10504 on NLM_F_DUMP_INTR.
10506 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
10508 * manual/llio.texi: Remove spurious space.
10510 2018-06-28 Florian Weimer <fweimer@redhat.com>
10513 * time/bits/types/struct_timespec.h: Change header inclusion guard to
10516 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10518 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
10519 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
10520 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
10521 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
10522 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
10523 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
10524 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
10526 2018-06-27 Maciej W. Rozycki <macro@mips.com>
10529 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
10530 Copy and null-terminate entries that are not terminated, in
10531 addition to empty ones.
10533 2018-06-27 Florian Weimer <fweimer@redhat.com>
10536 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
10537 (extend_alloca_account): Remove.
10538 * manual/stdio.texi (Variable Arguments Output): Update comment.
10540 2018-06-27 Joseph Myers <joseph@codesourcery.com>
10542 * nptl/sockperf.c: Remove file.
10544 2018-06-27 Florian Weimer <fweimer@redhat.com>
10547 * elf/dl-deps.c (_dl_map_object_deps): Use struct
10548 scratch_buffer instead of extend_alloca.
10550 2018-06-27 Florian Weimer <fweimer@redhat.com>
10553 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
10554 scratch_buffer instead of extend_alloca. Update comments.
10556 2018-06-27 Florian Weimer <fweimer@redhat.com>
10559 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
10560 instead of extend_alloca.
10562 2018-06-26 Joseph Myers <joseph@codesourcery.com>
10565 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
10566 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
10568 * scripts/test-installation.pl: Put temporary files in build
10569 directory, not /tmp.
10570 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
10571 (CFLAGS-bug4.c): Likewise.
10572 (CFLAGS-bug5.c): Likewise.
10573 (CFLAGS-test-fseek.c): Likewise.
10574 (CFLAGS-test-popen.c): Likewise.
10575 (CFLAGS-test_rdwr.c): Likewise.
10576 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
10578 * stdio-common/bug4.c (main): Likewise.
10579 * stdio-common/bug5.c (main): Likewise.
10580 * stdio-common/test-fseek.c (TESTFILE): Likewise.
10581 * stdio-common/test-popen.c (do_test): Likewise.
10582 * stdio-common/test_rdwr.c (main): Likewise.
10584 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
10586 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
10587 (sem_open): Set sem.newsem.pad to zero for valgrind.
10589 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10592 * NEWS: Mention fcntl64 addition.
10593 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
10594 * login/utmp_file.c: Likewise.
10595 * sysdeps/posix/fdopendir.c: Likewise.
10596 * sysdeps/posix/opendir.c: Likewise.
10597 * sysdeps/unix/pt-fcntl.c: Likewise.
10598 * include/fcntl.h (__libc_fcntl64, __fcntl64,
10599 __fcntl64_nocancel_adjusted): New prototype.
10600 (__fcntl_nocancel_adjusted): Remove prototype.
10601 * io/Makefile (routines): Add fcntl64.
10602 (CFLAGS-fcntl64.c): New rule.
10603 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
10604 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
10605 * io/fcntl.h (fcntl64): Add prototype and redirect if
10606 __USE_FILE_OFFSET64 is defined.
10607 * io/fcntl64.c: New file.
10608 * manual/llio.text: Add a note for which commands fcntl acts a
10609 cancellation point.
10610 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
10611 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
10612 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
10614 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
10615 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
10617 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
10618 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
10619 to __fcntl64_nocancel.
10620 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
10621 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
10622 to __fcntl64_nocancel.
10623 * sysdeps/generic/not-cancel.h: Likewise.
10624 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
10625 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
10626 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
10627 (fcntl64): New symbol.
10628 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10629 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10630 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10633 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10634 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10635 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10636 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10637 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10638 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
10639 fcntl64): Likewise.
10640 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10641 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
10642 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10643 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10644 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10645 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10646 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10647 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10648 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10653 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10654 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10655 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10657 2018-06-26 Florian Weimer <fweimer@redhat.com>
10659 Run thread shutdown functions in an explicit order.
10660 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
10662 (__libc_thread_freeres): Call thread shutdown functions
10664 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
10665 * include/string.h (__strerror_thread_freeres): Declare.
10666 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
10667 arena_thread_freeres. No longer static. Remove thread shutdown
10669 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
10671 * resolv/res-close.c (__res_thread_freeres): Renamed from
10672 res_thread_freeres. No longer static. Remove thread shutdown
10674 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
10675 * resolv/resolv_conf.c (freeres): Remove incorrect section
10676 attribute and use libc_freeres_fn.
10677 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
10678 strerror_thread_freeres. No longer static. Remove thread
10679 shutdown hook registration.
10680 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
10681 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
10682 shutdown hook registration.
10683 * Makerules (shlib.lds): Do not provide section boundary symbols
10684 for __libc_thread_subfreeres.
10685 * manual/memory.texi (Basic Allocation): Update comment.
10687 2018-06-26 Florian Weimer <fweimer@redhat.com>
10689 Remove always-defined _RPC_THREAD_SAFE_ macro.
10690 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
10691 Do not define _RPC_THREAD_SAFE_.
10692 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
10694 * sunrpc/clnt_perr.c: Likewise.
10695 * sunrpc/clnt_raw.c: Likewise.
10696 * sunrpc/clnt_simp.c: Likewise.
10697 * sunrpc/key_call.c: Likewise.
10698 * sunrpc/rpc_common.c: Likewise.
10699 * sunrpc/rpc_main.c: Likewise.
10700 * sunrpc/rpc_thread.c: Likewise.
10701 * sunrpc/svc.c: Likewise.
10702 * sunrpc/svc_raw.c: Likewise.
10703 * sunrpc/svc_simple.c: Likewise.
10704 * sumrpc/svcauth_des.c: Likewise.
10706 2018-06-26 Florian Weimer <fweimer@redhat.com>
10708 * libio/Makefile (tests-internal): Add tst-vtables,
10709 tst-vtables-interposed.
10710 * libio/tst-vtables.c: New file.
10711 * libio/tst-vtables-common.c: Likewise.
10712 * libio/tst-vtables-interposed.c: Likewise.
10714 2018-06-26 Florian Weimer <fweimer@redhat.com>
10716 * support/support_test_main.c (support_test_main): Only call
10717 setvbuf if not disables.
10718 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
10719 * support/test-driver.h (struct test_config): Add no_setvbuf member.
10721 2018-06-26 Florian Weimer <fweimer@redhat.com>
10724 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
10726 2018-06-25 Florian Weimer <fweimer@redhat.com>
10729 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10730 Use struct scratch_buffer instead of extend_alloca.
10732 2018-06-25 Florian Weimer <fweimer@redhat.com>
10735 * nss/getent.c (initgroups_keys): Use dynarray instead of
10738 2018-06-25 Florian Weimer <fweimer@redhat.com>
10741 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
10742 Use struct scratch_buffer instead of extend_alloca.
10744 2018-06-25 Florian Weimer <fweimer@redhat.com>
10747 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
10748 back to malloc directly, without stack allocations.
10750 2018-06-25 Florian Weimer <fweimer@redhat.com>
10753 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
10756 2018-06-25 Florian Weimer <fweimer@redhat.com>
10759 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
10761 * nscd/hstcache.c (addhstbyX): Likewise.
10762 * nscd/pwdcache.c (addpwbyX): Likewise.
10763 * nscd/servicescache.c (addservbyX): Likewise.
10765 2018-06-25 Florian Weimer <fweimer@redhat.com>
10768 * nscd/connections.c (read_cmdline): New function.
10769 (restart): Use it. Update comment.
10771 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10774 * localedata/locales/csb_PL (mon): Rename to...
10776 (abmon): Rename to...
10777 (ab_alt_mon): This.
10778 (mon): Add with proper genitive forms, copy from Wikipedia.
10781 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10784 * localedata/locales/csb_PL (mon): Fix typos:
10785 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
10786 (yesstr): Add, value is "jo".
10787 (nostr): Add, value is "nié".
10789 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10791 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
10792 all log1p and significand functions on m680x0.
10793 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
10794 of s_significand.c..
10795 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
10796 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
10797 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
10798 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
10799 s_log1p.c and include it..
10801 2018-06-21 Vincent Chen <vincentc@andestech.com>
10803 * elf/elf.h (R_NDS32_NONE): New define.
10804 (R_NDS32_32_RELA): Likewise.
10805 (R_NDS32_COPY): Likewise.
10806 (R_NDS32_GLOB_DAT): Likewise.
10807 (R_NDS32_JUMP_SLOT): Likewise.
10808 (R_NDS32_RELATIVE): Likewise.
10809 (R_NDS32_TLS_TPOFF): Likewise.
10810 (R_NDS32_TLS_DESC): Likewise.
10812 2018-06-21 Mark Wielaard <mark@klomp.org>
10814 * elf/elf.h (R_BPF_MAP_FD): Removed.
10815 (R_BPF_64_64, R_BPF_64_32): New.
10817 2018-06-21 Florian Weimer <fweimer@redhat.com>
10820 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
10821 Renamed from libc_feholdsetround_ctx.
10822 (default_libc_feresetround_ctx): Renamed from
10823 libc_feresetround_ctx.
10824 (default_libc_feholdsetround_noex_ctx): Renamed from
10825 libc_feholdsetround_noex_ctx.
10826 (default_libc_feresetround_noex_ctx): Renamed from
10827 libc_feresetround_noex_ctx.
10828 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
10829 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
10830 forwardning to the old implementations under the new names.
10831 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
10832 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
10833 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
10834 (libc_feresetround_ctx): Forward to default implements for i386
10835 and MATH_SET_BOTH_ROUNDING_MODES.
10836 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
10837 Add -DMATH_SET_BOTH_ROUNDING_MODES.
10839 2018-06-20 Joseph Myers <joseph@codesourcery.com>
10841 * string/tst-cmp.c: Include <libc-diag.h>.
10842 (strncmp_max): Disable -Wstringop-overflow= around call to
10844 (strncasecmp_max): Disable -Wstringop-overflow= around call to
10847 * string/bug-strpbrk1.c: Include <libc-diag.h>.
10848 (main): Disable -Wunused-value around call to strpbrk.
10849 * string/bug-strspn1.c: Include <libc-diag.h>.
10850 (main): Disable -Wunused-value around call to strspn.
10852 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10853 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10855 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
10856 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
10858 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10860 * math/Makefile (libm-calls): Move s_significandF to...
10861 (gen-libm-calls): ... here.
10862 * math/s_significand_template.c: New file.
10863 * math/s_significand.c: Removed.
10864 * math/s_significandf.c: Removed.
10865 * math/s_significandl.c: Removed.
10866 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
10867 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
10869 * math/e_exp2_template.c (declare_mgen_finite_alias,
10870 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
10871 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
10872 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
10874 2018-06-20 Florian Weimer <fweimer@redhat.com>
10876 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
10878 2018-06-19 Joseph Myers <joseph@codesourcery.com>
10881 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
10882 floating-point number to strtod functions rather than possibly
10883 negating result of those functions.
10884 * stdio-common/tst-scanf-round.c: New file.
10885 * stdio-common/Makefile (tests): Add tst-scanf-round.
10886 ($(objpfx)tst-scanf-round): Depend on $(libm).
10888 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
10890 * sysdeps/mach/hurd/localplt.data: Move to...
10891 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
10892 R_386_GLOB_DAT like on Linux i386.
10894 2018-06-18 Joseph Myers <joseph@codesourcery.com>
10896 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
10897 (SHM_STAT_ANY): New macro.
10898 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
10899 (SHM_STAT_ANY): Likewise.
10900 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
10901 (SHM_STAT_ANY): Likewise.
10902 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
10903 (SHM_STAT_ANY): Likewise.
10904 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
10905 (SHM_STAT_ANY): Likewise.
10906 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
10907 (SHM_STAT_ANY): Likewise.
10908 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
10909 (SHM_STAT_ANY): Likewise.
10910 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
10911 (SHM_STAT_ANY): Likewise.
10912 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
10913 (SHM_STAT_ANY): Likewise.
10914 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
10915 (SHM_STAT_ANY): Likewise.
10916 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
10917 (SHM_STAT_ANY): Likewise.
10918 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
10919 (SHM_STAT_ANY): Likewise.
10921 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
10922 (SEM_STAT_ANY): New macro.
10923 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
10924 (SEM_STAT_ANY): Likewise.
10925 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
10926 (SEM_STAT_ANY): Likewise.
10927 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
10928 (SEM_STAT_ANY): Likewise.
10929 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
10930 (SEM_STAT_ANY): Likewise.
10931 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
10932 (SEM_STAT_ANY): Likewise.
10933 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
10934 (SEM_STAT_ANY): Likewise.
10935 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
10936 (SEM_STAT_ANY): Likewise.
10937 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
10938 (SEM_STAT_ANY): Likewise.
10939 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
10940 (SEM_STAT_ANY): Likewise.
10942 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
10943 (MSG_STAT_ANY): New macro.
10944 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
10945 (MSG_STAT_ANY): Likewise.
10946 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
10947 (MSG_STAT_ANY): Likewise.
10948 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
10949 (MSG_STAT_ANY): Likewise.
10950 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
10951 (MSG_STAT_ANY): Likewise.
10952 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
10953 (MSG_STAT_ANY): Likewise.
10954 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
10955 (MSG_STAT_ANY): Likewise.
10956 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
10957 (MSG_STAT_ANY): Likewise.
10958 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
10959 (MSG_STAT_ANY): Likewise.
10960 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
10961 (MSG_STAT_ANY): Likewise.
10963 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10964 (MAP_TYPE): Change value to 0x2b.
10966 2018-06-18 Florian Weimer <fweimer@redhat.com>
10969 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
10970 socket with SOCK_CLOEXEC.
10972 2018-06-18 Joseph Myers <joseph@codesourcery.com>
10975 * sysdeps/powerpc/powerpc64/le/Makefile
10976 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
10977 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
10978 (gnulib-tests): Also add $(f128-loader-link) for
10979 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
10981 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
10983 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
10984 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
10986 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
10987 (sendfile64): New strong alias.
10988 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
10989 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
10990 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
10991 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
10993 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
10994 ___pthread_get_cleanup_stack.
10995 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
10996 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
10997 * mach/shortcut.awk: Make syscall stubs include
10998 <mach-shortcuts-hidden.h> and add hidden definition.
10999 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
11000 (__mach_msg): Add hidden prototype.
11001 * mach/msg.c: Include <mach.h>.
11002 (__mach_msg): Add hidden definition.
11003 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
11004 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
11005 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
11006 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
11007 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
11008 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
11009 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
11010 prototype and definition.
11011 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
11012 hidden target for _hurd_self_sigstate.
11014 2018-06-15 Joseph Myers <joseph@codesourcery.com>
11017 * stdlib/tst-strtod-nan-sign-main.c: New file.
11018 * stdlib/tst-strtod-nan-sign.c: Likewise.
11019 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
11020 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
11021 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
11022 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
11023 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
11025 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
11028 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
11031 2018-06-14 Florian Weimer <fweimer@redhat.com>
11034 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
11035 that the result stays within the ISO-8859-1 range.
11036 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
11037 characters are defined in IBM273.
11039 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
11041 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
11042 __mach_task_self): Remove attribute_hidden.
11044 2018-06-14 Joseph Myers <joseph@codesourcery.com>
11046 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
11047 ignore -Wrestrict for one test.
11049 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
11050 Szabolcs Nagy <szabolcs.nagy@arm.com>
11052 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
11054 2018-06-14 Florian Weimer <fweimer@redhat.com>
11056 * scripts/update-abilist.sh: Accept empty list of files to patch.
11058 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
11060 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
11061 test-xfail-check-abi-libmachuser): Add.
11062 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
11063 __libc_read and __libc_write to __read and __write.
11064 * sysdeps/hurd/include/hurd/port.h: New file.
11065 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
11066 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
11067 __thread_switch, __evc_wait): Move declarations to...
11068 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
11070 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
11071 use PLT to call _hurd_self_sigstate.
11073 2018-06-13 Joseph Myers <joseph@codesourcery.com>
11076 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
11077 MAX_EXP as overflowing.
11078 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
11080 (round_str): Output also whether result overflows in each rounding
11082 * stdlib/tst-strtod-round-data: Add more tests.
11083 * stdlib/tst-strtod-round-data.h: Regenerated.
11084 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
11085 (TEST): Handle extra arguments for overflow flags.
11086 (struct test_overflow): New type.
11087 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
11088 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
11089 (test_in_one_mode): Take argument with overflow information.
11090 (do_test): Update calls to test_in_one_mode.
11092 2018-06-12 Carlos O'Donell <carlos@redhat.com>
11094 * elf/dl-load (_dl_dst_substitute): Correct comment.
11095 (_dl_dst_count): Likewise.
11097 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
11098 lll_futex_timed_wait.
11100 2018-06-12 Joseph Myers <joseph@codesourcery.com>
11103 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
11105 * math/test-nan-const.c: New file.
11106 * math/Makefile (tests): Add test-nan-const.
11107 (CFLAGS-test-nan-const.c): New variable.
11109 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
11111 * benchtests/scripts/compare_strings.py (process_results): Add
11112 funcs argument. Compare only functions which are selected.
11113 (main): Check if base function is among selected functions.
11114 Pass selected functions to process_results.
11115 (__main__): Add -f/--functions argument.
11117 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
11118 Hongbo Zhang <hongbo.zhang@linaro.org>
11120 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
11121 __memcpy_falkor for phecda core.
11122 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
11123 __memmove_falkor for phecda core.
11124 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
11125 __memset_falkor for phecda core.
11126 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
11128 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
11129 macro to identify phecda core.
11131 2018-06-12 Carlos O'Donell <carlos@redhat.com>
11132 Andreas Schwab <schwab@suse.de>
11133 Dmitry V. Levin <ldv@altlinux.org>
11134 Florian Weimer <fweimer@redhat.com>
11141 * elf/dl-dst.h: Remove DL_DST_COUNT.
11142 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
11143 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
11144 (is_dst): Comment. Support ELF gABI.
11145 (_dl_dst_count): Comment. Simplify and count DSTs.
11146 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
11147 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
11150 2018-06-12 Zack Weinberg <zackw@panix.com>
11152 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
11153 * sysdeps/unix/sysv/linux/dl-sysdep.c
11154 Include not-cancel.h. Use __close_nocancel instead of __close,
11155 __open64_nocancel instead of __open, __read_nocancel instead of
11156 __libc_read, and __write_nocancel instead of __libc_write.
11158 * csu/check_fds.c (check_one_fd)
11159 * sysdeps/posix/fdopendir.c (__fdopendir)
11160 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
11161 instead of __fcntl and/or __libc_fcntl.
11163 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
11164 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
11165 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
11166 Use __open64_nocancel instead of __open_nocancel.
11168 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
11169 hidden_proto declarations to the end and issue them if either
11170 IS_IN(libc) or IS_IN(rtld).
11171 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
11172 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
11173 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
11174 read_nocancel, waitpid_nocancel, write_nocancel.
11176 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
11177 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
11178 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
11180 * nptl/pt-fcntl.c: New file.
11181 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
11182 (libpthread-routines): Add pt-fcntl.
11183 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
11184 (__libc_fcntl): Remove attribute_hidden.
11185 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
11186 __fcntl_nocancel_adjusted, not fcntl_common.
11187 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
11188 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
11189 to fcntl_nocancel.c.
11190 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
11191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
11192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11193 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
11195 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
11196 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
11197 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
11198 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
11199 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
11200 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
11201 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
11202 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
11203 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
11204 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
11205 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
11206 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
11207 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
11208 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
11209 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
11210 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
11211 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
11212 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
11213 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
11214 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
11216 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
11217 libpthread-routines.
11218 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
11221 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
11222 __libc_read, and __write instead of __libc_write. Define
11223 __open64 in addition to __open.
11225 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
11229 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
11230 to _private_tm[3] and add __glibc_reserved2.
11231 Add _Static_assert of offset of __private_ss == 0x30.
11232 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
11233 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
11235 2018-06-12 Florian Weimer <fweimer@redhat.com>
11237 x86: Make strncmp usable from rtld.
11238 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
11239 __strncmp_ia32 if in libc (and not in rtld).
11240 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
11241 strncmp if not in libc (and not to __strncmp_sse2).
11243 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
11246 * localedata/locales/gd_GB (mon): Rename to...
11248 (mon): Import from CLDR (genitive case).
11249 * localedata/locales/hsb_DE (mon): Rename to...
11251 (mon): Import from CLDR (genitive case).
11252 * localedata/locales/wa_BE (mon): Rename to...
11254 (mon): Add, fill with the proper genitive forms, but CLDR data
11255 is incomplete; completed according to the comments in this file.
11256 (d_t_fmt): Do not use "di" before the month name, no longer needed.
11258 * localedata/locales/wa_BE (country_name): Reword
11259 "Beljike" -> "Beldjike".
11261 2018-06-11 Joseph Myers <joseph@codesourcery.com>
11264 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
11265 cases of non-finite arguments.
11266 * math/libm-test-fma.inc (fma_test_data): Add more tests.
11268 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
11271 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
11273 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11276 * include/unistd.h (__execvpex): New prototype.
11277 * posix/Makefile (tests): Add tst-spawn4.
11278 (tests-internal): Add tst-spawn4-compat.
11279 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
11280 * posix/tst-spawn4-compat.c: New file.
11281 * posix/tst-spawn4.c: Likewise.
11282 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
11283 binaries as shell scripts.
11284 * sysdeps/posix/spawni.c (__spawni): Likewise.
11286 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
11289 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
11290 ($(all-built-dso:=.dynsym): New target.
11291 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
11292 ($(objpfx)check-initfini.out): New target.
11293 (generated): Add check-initfini.out.
11294 * scripts/check-initfini.awk: New file.
11295 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
11297 * sysdeps/alpha/crti.S (_init): Mark as hidden.
11299 * sysdeps/arm/crti.S (_init): Mark as hidden.
11301 * sysdeps/hppa/crti.S (_init): Mark as hidden.
11303 * sysdeps/i386/crti.S (_init): Mark as hidden.
11305 * sysdeps/ia64/crti.S (_init): Mark as hidden.
11307 * sysdeps/m68k/crti.S (_init): Mark as hidden.
11309 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
11311 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
11313 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
11315 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
11317 * sysdeps/nios2/crti.S (_init): Mark as hidden.
11319 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
11321 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
11323 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
11325 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
11327 * sysdeps/sh/crti.S (_init): Mark as hidden.
11329 * sysdeps/sparc/crti.S (_init): Mark as hidden.
11331 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
11334 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11336 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
11337 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
11338 and TF redirection to KFtype and KF only when the default
11339 long double type is not the IEEE 128-bit floating point type.
11341 2018-06-05 Joseph Myers <joseph@codesourcery.com>
11343 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
11345 (HWCAP_USCAT): Likewise.
11346 (HWCAP_ILRCPC): Likewise.
11347 (HWCAP_FLAGM): Likewise.
11348 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
11350 (_dl_aarch64_cap_flags): Add new flag names.
11352 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
11353 (MAP_FIXED_NOREPLACE): New macro.
11354 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
11355 (MAP_FIXED_NOREPLACE): Likewise.
11356 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
11357 (MAP_FIXED_NOREPLACE): Likewise.
11358 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
11359 (MAP_FIXED_NOREPLACE): Likewise.
11360 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
11361 (MAP_FIXED_NOREPLACE): Likewise.
11362 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
11363 (MAP_FIXED_NOREPLACE): Likewise.
11364 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
11365 (MAP_FIXED_NOREPLACE): Likewise.
11366 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
11367 (MAP_FIXED_NOREPLACE): Likewise.
11368 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
11369 (MAP_FIXED_NOREPLACE): Likewise.
11370 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
11371 (MAP_FIXED_NOREPLACE): Likewise.
11372 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
11373 (MAP_FIXED_NOREPLACE): Likewise.
11374 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
11375 (MAP_FIXED_NOREPLACE): Likewise.
11376 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
11377 (MAP_FIXED_NOREPLACE): Likewise.
11378 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
11379 (MAP_FIXED_NOREPLACE): Likewise.
11380 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
11381 (MAP_FIXED_NOREPLACE): Likewise.
11383 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11386 2018-06-04 Joseph Myers <joseph@codesourcery.com>
11388 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11391 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11393 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
11395 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
11397 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11399 * benchtests/scripts/compare_string.py: (process_results) Catch
11400 exception in non-existent base_func and catch exception in
11401 non-existent attribute.
11402 (parse_file) Catch exception if input file does not exist.
11404 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11406 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
11407 options to avoid diff calculation and omit header, respectively.
11408 (main): process --no-diff and --no-header
11410 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11411 H.J. Lu <hongjiu.lu@intel.com>
11413 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11414 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
11416 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11417 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
11418 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
11419 and __wcsncmp_sse2.
11420 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
11421 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
11422 AVX unaligned load is fast and vzeroupper is preferred.
11423 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
11424 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
11425 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
11426 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
11427 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
11428 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
11429 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
11430 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
11431 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
11432 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
11435 2018-06-01 Florian Weimer <fweimer@redhat.com>
11437 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
11438 configuring with --disable-multi-arch, building with
11439 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
11442 2018-06-01 Florian Weimer <fweimer@redhat.com>
11444 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
11445 results from building with “-march=x86-64 -mtune=generic
11446 -mfpmath=sse” and running on a Haswell-era CPU.
11448 2018-06-01 Joseph Myers <joseph@codesourcery.com>
11451 * soft-fp/sqrttf2.c: Remove file.
11452 * soft-fp/sqrtdf2.c: Move to ....
11453 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
11455 (__sqrtdf2): Make conditional on
11456 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
11458 * soft-fp/sqrtsf2.c: Move to ....
11459 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
11461 (__sqrtsf2): Make conditional on
11462 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
11464 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
11465 (gcc-double-routines): Remove sqrtdf2.
11466 (gcc-quad-routines): Remove sqrttf2.
11467 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
11468 Do not filter out sqrtsf2 and sqrtdf2.
11469 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11470 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
11472 2018-06-01 Florian Weimer <fweimer@redhat.com>
11474 * sysdeps/generic/libcidn.abilist: Remove file.
11476 2018-06-01 Florian Weimer <fweimer@redhat.com>
11479 * libio/strfile.h (struct _IO_str_fields): Rename members to
11480 discourage their use and add comment.
11481 (_IO_STR_DYNAMIC): Remove unused macro.
11482 * libio/strops.c (_IO_str_init_static_internal): Do not use
11483 callback pointers. Call malloc and free.
11484 (_IO_str_overflow): Do not use callback pointers. Call malloc
11486 (enlarge_userbuf): Likewise.
11487 (_IO_str_finish): Call free.
11488 * libio/wstrops.c (_IO_wstr_init_static): Initialize
11489 _allocate_buffer_unused.
11490 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
11492 (enlarge_userbuf): Likewise.
11493 (_IO_wstr_finish): Call free.
11494 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
11495 _allocate_buffer_unused, _free_buffer_unused.
11496 * libio/memstream.c (__open_memstream): Likewise.
11497 * libio/vasprintf.c (_IO_vasprintf): Likewise.
11498 * libio/wmemstream.c (open_wmemstream): Likewise.
11500 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
11502 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
11505 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11507 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
11508 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
11509 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
11511 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
11513 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
11515 2018-05-29 Florian Weimer <fweimer@redhat.com>
11517 * support/Makefile (libsupport-routines): Add
11518 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
11519 xpthread_barrierattr_setpshared.
11520 * support/xpthread_barrierattr_destroy.c: New file.
11521 * support/xpthread_barrierattr_init.c: Likewise.
11522 * support/xpthread_barrierattr_setpshared.c: Likewise.
11524 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
11527 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
11528 _r_debug and update DT_DEBUG for debugger.
11530 2018-05-29 Florian Weimer <fweimer@redhat.com>
11532 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
11533 (tst-strtod5i.out): Likewise.
11535 2018-05-25 Joseph Myers <joseph@codesourcery.com>
11537 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
11538 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
11539 (sparc64-quad-routines): New variable. Moved from ....
11540 [$(subdir) = soft-fp] (sysdep_routines): Add
11541 $(sparc64-quad-routines). Moved from ....
11542 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
11543 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
11544 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
11546 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
11547 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
11548 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
11549 * sysdeps/sparc/sparc64/qp_add.c: ... here.
11550 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
11551 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
11552 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
11553 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
11554 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
11555 * sysdeps/sparc/sparc64/qp_div.c: ... here.
11556 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
11557 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
11558 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
11559 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
11560 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
11561 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
11562 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
11563 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
11564 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
11565 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
11566 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
11567 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
11568 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
11569 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
11570 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
11571 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
11572 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
11573 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
11574 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
11575 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
11576 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
11577 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
11578 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
11579 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
11580 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
11581 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
11582 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
11583 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
11584 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
11585 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
11586 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
11587 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
11588 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
11589 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
11590 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
11591 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
11592 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
11593 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
11594 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
11595 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
11596 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
11597 * sysdeps/sparc/sparc64/qp_util.c: ... here.
11598 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
11599 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
11600 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
11601 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
11602 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
11603 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
11605 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
11606 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
11607 (sparc32-quad-routines): New variable. Moved from ....
11608 [$(subdir) = soft-fp] (sysdep_routines): Add
11609 $(sparc32-quad-routines). Moved from ....
11610 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
11611 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
11613 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
11614 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
11615 * sysdeps/sparc/sparc32/q_add.c: ... here.
11616 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
11617 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
11618 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
11619 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
11620 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
11621 * sysdeps/sparc/sparc32/q_div.c: ... here.
11622 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
11623 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
11624 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
11625 * sysdeps/sparc/sparc32/q_feq.c: ... here.
11626 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
11627 * sysdeps/sparc/sparc32/q_fge.c: ... here.
11628 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
11629 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
11630 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
11631 * sysdeps/sparc/sparc32/q_fle.c: ... here.
11632 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
11633 * sysdeps/sparc/sparc32/q_flt.c: ... here.
11634 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
11635 * sysdeps/sparc/sparc32/q_fne.c: ... here.
11636 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
11637 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
11638 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
11639 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
11640 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
11641 * sysdeps/sparc/sparc32/q_mul.c: ... here.
11642 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
11643 * sysdeps/sparc/sparc32/q_neg.c: ... here.
11644 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
11645 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
11646 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
11647 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
11648 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
11649 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
11650 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
11651 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
11652 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
11653 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
11654 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
11655 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
11656 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
11657 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
11658 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
11659 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
11660 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
11661 * sysdeps/sparc/sparc32/q_sub.c: ... here.
11662 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
11663 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
11664 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
11665 * sysdeps/sparc/sparc32/q_util.c: ... here.
11666 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
11667 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
11668 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
11669 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
11671 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11672 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11674 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
11675 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
11676 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
11677 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
11679 2018-05-24 Joseph Myers <joseph@codesourcery.com>
11681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
11683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11685 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
11686 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
11688 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11691 * math/math.h [C++] (iseqsig): Fix parameter type for the long
11694 2018-05-23 Joseph Myers <joseph@codesourcery.com>
11696 * sysdeps/sh/Implies: Remove sh/soft-fp.
11697 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
11698 * sysdeps/sh/sfp-machine.h: ... here.
11700 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11702 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11703 (__mempcpy_erms): Skip zero length.
11704 (__memmove_erms): Likewise.
11705 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11706 (__memset_erms): Likewise.
11708 2018-05-23 Joseph Myers <joseph@codesourcery.com>
11710 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
11711 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
11712 Add functions moved from ....
11713 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
11714 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
11715 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
11717 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
11718 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
11719 * sysdeps/alpha/e_sqrtl.c: ... here.
11720 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
11721 * sysdeps/alpha/local-soft-fp.h: ... here.
11722 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
11723 * sysdeps/alpha/ots_add.c: ... here.
11724 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
11725 * sysdeps/alpha/ots_cmp.c: ... here.
11726 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
11727 * sysdeps/alpha/ots_cmpe.c: ... here.
11728 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
11729 * sysdeps/alpha/ots_cvtqux.c: ... here.
11730 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
11731 * sysdeps/alpha/ots_cvtqx.c: ... here.
11732 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
11733 * sysdeps/alpha/ots_cvttx.c: ... here.
11734 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
11735 * sysdeps/alpha/ots_cvtxq.c: ... here.
11736 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
11737 * sysdeps/alpha/ots_cvtxt.c: ... here.
11738 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
11739 * sysdeps/alpha/ots_div.c: ... here.
11740 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
11741 * sysdeps/alpha/ots_mul.c: ... here.
11742 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
11743 * sysdeps/alpha/ots_nintxq.c: ... here.
11744 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
11745 * sysdeps/alpha/ots_sub.c: ... here.
11746 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
11747 * sysdeps/alpha/sfp-machine.h: ... here.
11749 2018-05-23 Florian Weimer <fweimer@redhat.com>
11757 Switch to extern IDNA implementation (libidn2).
11758 * libidn: Remove subdirectory.
11759 * LICENSES: Do not mention licensing conditions for the removed
11761 * config.h.in (HAVE_LIBIDN): Remove.
11762 * include/dlfcn.h (__libc_dlopen): Update comment.
11763 * include/idna.h: Remove file.
11764 * inet/Makefile (routines): Add idna.
11765 (tests-static, tests-internal): Add tst-idna_name_classify.
11766 (LOCALES): Generate locales for tests.
11767 (tst-idna_name_classify.out): Depend on generated locales.
11768 * inet/idna_name_classify.c: New file.
11769 * inet/tst-idna_name_classify.c: Likewise.
11770 * inet/net-internal.h (__idna_to_dns_encoding)
11771 (__idna_from_dns_encoding): Declare.
11772 * inet/net-internal.h (enum idna_name_classification): Define.
11773 (__idna_name_classify): Declare.
11774 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
11775 __idna_from_dns_encoding.
11776 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
11777 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
11778 name as a fallback in case of encoding errors.
11779 (getnameinfo): Use DEPRECATED_NI_IDN.
11780 * inet/idna.c: New file.
11781 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
11782 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
11783 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
11784 (modules-names): Add tst-no-libidn2.
11785 (extra-test-objs): Add tst-no-libidn2.os.
11786 (LDFLAGS-tst-no-libidn2.so): Set soname.
11787 (LOCALES): Set, and generate locales.
11788 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
11789 (tst-resolv-ai_idn-latin1): Likewise.
11790 (tst-resolv-ai_idn-nolibidn2): Likewise.
11791 (tst-resolv-ai_idn.out): Depend on locales.
11792 (tst-resolv-ai_idn-latin1.out): Depend on locales.
11793 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
11795 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
11796 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
11797 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
11798 * resolv/tst-resolv-ai_idn.c: New file.
11799 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
11800 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
11801 * resolv/tst-no-libidn2.c: Likewise.
11802 * support/support_format_addrinfo.c (format_ai_flags): Do not
11803 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
11804 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
11805 (gaih_inet): Call __idna_to_dns_encoding and
11806 __idna_from_dns_encoding, and use the original (punycode) name if
11807 __idna_from_dns_encoding fails due to an encoding error.
11808 (getaddrinfo): Use DEPRECATED_AI_IDN.
11809 * sysdeps/unix/inet/Subdirs (libidn): Remove.
11810 * sysdeps/unix/inet/configure: Remove file.
11811 * sysdeps/unix/inet/configure.ac: Likewise.
11813 2018-05-23 Florian Weimer <fweimer@redhat.com>
11815 Implement allocate_once.
11816 * include/allocate_once.h: New file.
11817 * misc/allocate_once.c: Likewise.
11818 * misc/tst-allocate_once.c: Likewise.
11819 * misc/Makefile (routines): Add allocate_once.
11820 (tests-internal): Add tst-allocate_once.
11821 (generated): Add tst-allocate_once.mtrace,
11822 tst-allocate_once-mem.out.
11823 (tests-special): Add tst-allocate_once-mem.out.
11824 (tst-allocate_once-ENV): Set MALLOC_TRACE.
11825 (tst-allocate_once-mem.out): Call mtrace.
11826 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
11828 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11831 * string/test-memcpy.c (do_test1): New function.
11832 (test_main): Call it.
11834 2018-05-23 Andreas Schwab <schwab@suse.de>
11838 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
11839 (L(preloop_large)): Save initial destination pointer in %r11 and
11840 use it instead of %rax after the loop.
11841 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
11843 2018-05-22 Joseph Myers <joseph@codesourcery.com>
11845 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
11846 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
11847 -I../soft-fp. Moved from ....
11848 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
11849 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
11850 * sysdeps/aarch64/e_sqrtl.c: ... here.
11851 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
11852 * sysdeps/aarch64/sfp-machine.h: ... here.
11854 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
11855 -Wmaybe-uninitialized around access to fq[0].
11856 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11860 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
11861 aliases for non-libc case of versioned symbols.
11862 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
11863 (llseek): Define as compat symbol if
11864 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
11866 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
11867 Make into a compat symbol, disabled for minimum symbol version
11868 GLIBC_2.28 and later.
11869 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
11871 2018-05-22 Florian Weimer <fweimer@redhat.com>
11873 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
11874 not add -mpreferred-stack-boundary=4.
11875 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
11876 (stack-align-test-flags): Likewise.
11877 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
11879 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
11880 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
11881 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
11882 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
11883 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
11884 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
11885 (CFLAGS-tst-align2.c): Likewise.
11887 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
11889 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
11890 (index_arch_Prefer_FSRM): Likewise.
11891 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
11892 Also check Prefer_FSRM.
11893 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
11894 Also return OPTIMIZE (erms) for Prefer_FSRM.
11896 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
11898 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
11899 (index_cpu_FSRM): Likewise.
11900 (reg_FSRM): Likewise.
11902 2018-05-18 Joseph Myers <joseph@codesourcery.com>
11904 * math/gen-tgmath-tests.py: Import sys.
11905 (Tests.__init__): Initialize macros_seen.
11906 (Tests.add_tests): Add macro to macros_seen. Only generate tests
11907 if requested to do so for this macro.
11908 (Tests.add_all_tests): Take argument for macro for which to
11910 (Tests.check_macro_list): New function.
11911 (main): Handle check-list argument and argument specifying macro
11912 for which to generate tests.
11913 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
11914 [PYTHON] (tgmath3-macro-tests): Likewise.
11915 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
11916 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
11917 not test-tgmath3.c.
11918 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
11919 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
11921 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
11922 [PYTHON] ($(foreach
11923 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
11925 [PYTHON] (tests-special): Add
11926 $(objpfx)test-tgmath3-macro-list.out.
11927 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
11929 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
11930 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
11934 * time/tzset.c (SECSPERDAY): Cast to time_t.
11935 * time/tst-y2039.c: New file.
11936 * time/Makefile (tests): Add tst-y2039.
11938 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11940 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11941 (PREFETCH_ONE_SET): Remove duplicate line.
11943 2018-05-17 Florian Weimer <fweimer@redhat.com>
11945 * sysdeps/generic/math-type-macros-double.h: Include
11946 <math-nan-payload-double.h> after <libm-alias-double.h>.
11947 * sysdeps/generic/math-type-macros-float.h: Include
11948 <math-nan-payload-float.h> after <libm-alias-float.h>.
11949 * sysdeps/generic/math-type-macros-float128.h: Include
11950 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
11951 * sysdeps/generic/math-type-macros-ldouble.h: Include
11952 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
11954 2018-05-17 Andreas Schwab <schwab@suse.de>
11956 * resolv/res_send.c (__res_context_send): Don't set errno when
11957 returing error after malloc failure.
11959 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
11961 * nptl/allocatestack.c (allocate_stack): Remove the
11962 !__ASSUME_PRIVATE_FUTEX paths.
11963 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
11964 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11966 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
11967 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11968 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11969 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11970 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
11971 !__ASSUME_PRIVATE_FUTEX path.
11972 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
11973 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
11974 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11975 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
11976 !__ASSUME_PRIVATE_FUTEX macros.
11977 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11978 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11979 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
11980 * sysdeps/unix/sysv/linux/kernel-features.h
11981 (__ASSUME_PRIVATE_FUTEX): Removed.
11983 2018-05-17 Joseph Myers <joseph@codesourcery.com>
11985 * math/Makefile (libm-narrow-fns): Add div.
11986 (libm-test-funcs-narrow): Likewise.
11987 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
11988 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
11989 * math/gen-auto-libm-tests.c (test_functions): Add div.
11990 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
11991 (NARROW_DIV_ROUND_TO_ODD): Likewise.
11992 (NARROW_DIV_TRIVIAL): Likewise.
11993 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
11995 (__ddivl): Likewise.
11996 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
11998 (CFLAGS-nldbl-ddiv.c): New variable.
11999 (CFLAGS-nldbl-fdiv.c): Likewise.
12000 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12002 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
12004 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
12005 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
12006 * math/auto-libm-test-in: Add tests of div.
12007 * math/auto-libm-test-out-narrow-div: New generated file.
12008 * math/libm-test-narrow-div.inc: New file.
12009 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
12010 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
12011 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
12012 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
12013 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
12014 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
12015 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
12016 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
12017 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
12018 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
12019 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
12020 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
12021 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
12022 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
12023 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
12024 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
12025 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
12026 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
12027 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12028 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12029 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12030 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12031 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12032 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12033 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12034 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12035 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12036 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12037 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12038 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12039 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12040 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12045 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12046 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12047 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12048 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12049 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12050 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12051 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12052 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12054 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12057 * nscd/nscd-client.h (sendfileall): Remove prototype.
12058 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
12059 (handle_request): Use writeall instead of sendfileall.
12060 * nscd/aicache.c (addhstaiX): Likewise.
12061 * nscd/grpcache.c (cache_addgr): Likewise.
12062 * nscd/hstcache.c (cache_addhst): Likewise.
12063 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12064 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
12065 * nscd/pwdcache.c (cache_addpw): Likewise.
12066 * nscd/servicescache.c (cache_addserv): Likewise.
12067 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
12068 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
12069 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
12072 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
12074 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
12075 Include <string/strncat.c>.
12076 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
12078 (__GI___strncat): New hidden alias.
12080 2018-05-16 Joseph Myers <joseph@codesourcery.com>
12082 * sysdeps/mips/mips32/libm-test-ulps: Update.
12083 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12085 2018-05-16 Florian Weimer <fweimer@redhat.com>
12087 * support/Makefile (libsupport-routines): Add support_quote_blob,
12088 support_test_compare_blob.
12089 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
12090 * support/check.h (TEST_COMPARE_BLOB): Define.
12091 (support_test_compare_blob): Declare.
12092 * support/support.h (support_quote_blob): Declare.
12093 * support/support_quote_blob.c: New file.
12094 * support/support_test_compare_blob.c: Likewise.
12095 * support/tst-support_quote_blob.c: Likewise.
12096 * support/tst-test_compare_blob.c: Likewise.
12098 2018-05-16 Florian Weimer <fweimer@redhat.com>
12100 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
12101 of <strtod_nan_double.h>.
12102 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
12103 instead of SET_MANTISSA.
12104 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
12105 of include <strtod_nan_float.h>.
12106 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
12107 instead of <strtod_nan_ldouble.h>.
12108 * stdlib/strtod_nan_double.h: Move to ...
12109 * sysdeps/generic/math-nan-payload-double.h: ... here.
12110 (FLOAT): Remove definition.
12111 (SET_MANTISSA): Rename to ...
12112 (SET_NAN_PAYLOAD): ... this.
12113 * stdlib/strtod_nan_float.h: Move to ...
12114 * sysdeps/generic/math-nan-payload-float.h: ... here.
12115 (FLOAT): Remove definition.
12116 (SET_MANTISSA): Rename to ...
12117 (SET_NAN_PAYLOAD): ... this.
12118 * sysdeps/generic/math-type-macros-double.h: Include
12119 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
12120 instead of <math-svid-compat.h>.
12121 * sysdeps/generic/math-type-macros-float.h: Include
12122 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
12123 instead of <math-svid-compat.h>.
12124 * sysdeps/generic/math-type-macros-float128.h: Include
12125 <math-nan-payload-float128.h>.
12126 * sysdeps/generic/math-type-macros-ldouble.h: Include
12127 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
12128 instead of <math-svid-compat.h>.
12129 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
12130 check for definition.
12131 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
12132 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
12133 Include <ieee754_float128.h>.
12134 (FLOAT): Remove definition.
12135 (SET_MANTISSA): Rename to ...
12136 (SET_NAN_PAYLOAD): ... this.
12137 * sysdeps/ieee754/float128/strtof128_nan.c: Include
12138 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
12139 Do not include <float128_private.h>.
12140 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
12141 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
12142 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
12143 (FLOAT): Remove definition.
12144 (SET_MANTISSA): Rename to ...
12145 (SET_NAN_PAYLOAD): ... this.
12146 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
12147 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
12148 (FLOAT): Remove definition.
12149 (SET_MANTISSA): Rename to ...
12150 (SET_NAN_PAYLOAD): ... this.
12151 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
12152 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
12153 (FLOAT): Remove definition.
12154 (SET_MANTISSA): Rename to ...
12155 (SET_NAN_PAYLOAD): ... this.
12156 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
12157 of "../stdlib/strtod_nan_double.h".
12158 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
12159 of "../stdlib/strtod_nan_float.h".
12160 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
12161 instead of "../stdlib/strtod_nan_ldouble.h".
12162 * manual/arith.texi (Parsing of Floats): Adjust comment.
12164 2018-05-16 Joseph Myers <joseph@codesourcery.com>
12166 * math/Makefile (libm-narrow-fns): Add mul.
12167 (libm-test-funcs-narrow): Likewise.
12168 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
12169 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
12170 * math/gen-auto-libm-tests.c (test_functions): Add mul.
12171 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
12172 (NARROW_MUL_ROUND_TO_ODD): Likewise.
12173 (NARROW_MUL_TRIVIAL): Likewise.
12174 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
12175 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
12177 (__dmull): Likewise.
12178 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
12180 (CFLAGS-nldbl-dmul.c): New variable.
12181 (CFLAGS-nldbl-fmul.c): Likewise.
12182 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12184 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
12186 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
12187 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
12188 * math/auto-libm-test-in: Add tests of mul.
12189 * math/auto-libm-test-out-narrow-mul: New generated file.
12190 * math/libm-test-narrow-mul.inc: New file.
12191 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
12192 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
12193 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
12194 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
12195 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
12196 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
12197 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
12198 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
12199 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
12200 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
12201 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
12202 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
12203 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
12204 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
12205 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
12206 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
12207 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
12208 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
12209 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12210 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12211 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12212 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12213 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12214 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12215 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12216 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12217 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12218 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12219 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12220 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12221 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12222 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12227 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12228 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12229 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12230 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12231 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12232 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12233 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12234 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12236 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12238 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
12239 with *%eax in call.
12241 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12243 * sysdeps/i386/ldsodefs.h: Removed.
12244 * sysdeps/x86_64/ldsodefs.h: Moved to ...
12245 * sysdeps/x86/ldsodefs.h: This.
12246 (La_i86_regs): New.
12247 (La_i86_retval): Likewise.
12248 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
12249 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
12251 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12253 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
12256 2018-05-13 Alan Modra <amodra@gmail.com>
12258 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
12259 R_PARISC_TLS_DTPOFF32 reloc addend.
12261 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12263 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
12264 * math/math.h: Restrict the prototype definition for the functions
12265 issignaling(_Float128) and iszero(_Float128); and template
12266 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
12267 __HAVE_FLOAT128_UNLIKE_LDBL.
12268 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
12269 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
12270 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
12271 __f128() constants; define the type _Float128 as long double;
12272 and reuse long double in __CFLOAT128.
12274 2018-05-11 Joseph Myers <joseph@codesourcery.com>
12276 * sysdeps/generic/math_private.h: Do not include
12278 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
12280 * math/fromfp.h: Include <math-barriers.h>.
12281 * math/math-narrow.h: Likewise.
12282 * math/s_nextafter.c: Likewise.
12283 * math/s_nexttowardf.c: Likewise.
12284 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
12285 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
12286 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
12287 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
12288 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12289 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12290 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12291 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12292 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12293 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12294 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12295 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12296 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12297 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12298 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12299 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12300 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12301 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12302 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12303 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12304 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12305 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12306 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12307 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12308 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12309 * sysdeps/ieee754/k_standardl.c: Likewise.
12310 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12311 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12312 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12313 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12314 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12315 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12316 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12317 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12318 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12319 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12320 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12321 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12322 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12323 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12324 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12325 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12326 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12327 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12328 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12329 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12330 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
12331 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
12333 2018-05-11 Florian Weimer <fweimer@redhat.com>
12335 Use 64-bit epoch values in the time zone file parser.
12336 * include/time.h (internal_time_t): Define.
12337 (__tzfile_compute): Use it.
12338 * time/tzfile.c (struct leap): Use internal_time_t for epoch
12340 (transitions): Switch to internal_time_t.
12341 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
12343 (__tzfile_compute): Use internal_time_t for timer argument. Check
12344 for truncation before calling __offtime.
12346 2018-05-11 Florian Weimer <fweimer@redhat.com>
12349 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
12350 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
12352 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
12353 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
12354 export without --enable-obsolete-rpc.
12355 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
12356 symbol. This should not have been exported, ever.
12358 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
12361 * localedata/locales/gd_GB (abmon): Fix typo in May:
12362 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
12364 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
12366 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
12367 Use multiple registers to copy data in loop tail.
12369 * sysdeps/aarch64/multiarch/memmove_falkor.S
12370 (__memmove_falkor): Use multiple registers to move data in
12373 2018-05-10 Joseph Myers <joseph@codesourcery.com>
12375 * math/math-underflow.h: New file.
12376 * sysdeps/generic/math_private.h: Do not include <float.h>.
12377 (fabs_tg): Remove macro. Moved to math-underflow.h.
12378 (min_of_type_f): Likewise.
12379 (min_of_type_): Likewise.
12380 (min_of_type_l): Likewise.
12381 (min_of_type_f128): Likewise.
12382 (min_of_type): Likewise.
12383 (math_check_force_underflow): Likewise.
12384 (math_check_force_underflow_nonneg): Likewise.
12385 (math_check_force_underflow_complex): Likewise.
12386 * math/e_exp2_template.c: Include <math-underflow.h>.
12387 * math/k_casinh_template.c: Likewise.
12388 * math/s_catan_template.c: Likewise.
12389 * math/s_catanh_template.c: Likewise.
12390 * math/s_ccosh_template.c: Likewise.
12391 * math/s_cexp_template.c: Likewise.
12392 * math/s_clog10_template.c: Likewise.
12393 * math/s_clog_template.c: Likewise.
12394 * math/s_csin_template.c: Likewise.
12395 * math/s_csinh_template.c: Likewise.
12396 * math/s_csqrt_template.c: Likewise.
12397 * math/s_ctan_template.c: Likewise.
12398 * math/s_ctanh_template.c: Likewise.
12399 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12400 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12401 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12402 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12403 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12404 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12405 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12406 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12407 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12408 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12409 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12410 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12411 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12412 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12413 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12414 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12415 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12416 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12417 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12418 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12419 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12420 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12421 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12422 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12423 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12424 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12425 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12426 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12427 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12428 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12429 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12430 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12431 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12432 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12433 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12434 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12435 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12436 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12437 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12438 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12439 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12440 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12441 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12442 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12443 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12444 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12445 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12446 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12447 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12448 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12449 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12450 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12451 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12452 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
12453 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12454 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12455 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12456 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12457 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12458 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12459 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12460 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
12461 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12462 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12463 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12464 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12465 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12466 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12467 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12468 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12469 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12470 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12471 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12472 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
12473 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12474 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12475 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12476 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12477 * sysdeps/x86/fpu/powl_helper.c: Likewise.
12478 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
12479 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
12480 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
12481 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
12482 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
12484 2018-05-09 Joseph Myers <joseph@codesourcery.com>
12486 * sysdeps/generic/math-barriers.h: New file.
12487 * sysdeps/generic/math_private.h [!math_opt_barrier]
12488 (math_opt_barrier): Move to math-barriers.h.
12489 [!math_opt_barrier] (math_force_eval): Likewise.
12490 * sysdeps/aarch64/fpu/math-barriers.h: New file.
12491 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
12493 (math_force_eval): Likewise.
12494 * sysdeps/alpha/fpu/math-barriers.h: New file.
12495 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
12497 (math_force_eval): Likewise.
12498 * sysdeps/x86/fpu/math-barriers.h: New file.
12499 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
12501 (math_force_eval): Likewise.
12502 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
12503 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
12504 multiple-include guard for rename.
12505 * sysdeps/powerpc/fpu/math-barriers.h: New file.
12506 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
12508 (math_force_eval): Likewise.
12510 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
12514 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
12516 * stdlib/Makefile (test-bz22786): New test.
12517 * stdlib/test-bz22786.c: New test.
12519 2018-05-09 Joseph Myers <joseph@codesourcery.com>
12521 * include/math-narrow-eval.h: New file. Contents moved from ....
12522 * sysdeps/generic/math_private.h: ... here.
12523 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
12524 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
12525 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
12526 * stdlib/strtod_l.c: Likewise.
12527 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
12528 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12529 * sysdeps/i386/fpu/s_fdim.c: Likewise.
12530 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12531 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12532 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12533 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12534 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12535 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12536 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
12537 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12538 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
12539 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12540 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12541 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12542 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12543 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12544 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12545 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12546 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12547 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12548 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12549 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12550 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12551 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12552 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12553 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12554 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12555 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
12557 2018-05-08 Andreas Schwab <schwab@suse.de>
12559 * sysdeps/nptl/internaltypes.h: Fix comment.
12561 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
12563 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12564 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
12567 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
12569 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
12570 of I into loop header.
12571 * benchtests/bench-memmove-walk.c
12572 (test_main): Likewise.
12574 2018-05-07 Alexandre Oliva <oliva@gnu.org>
12577 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
12578 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
12580 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12583 * elf/dl-load.c (open_verify): Fix stack overflow.
12584 * elf/Makefile (tst-big-note): New test.
12585 * elf/tst-big-note-lib.S: New.
12586 * elf/tst-big-note.c: New.
12588 2018-05-04 Joseph Myers <joseph@codesourcery.com>
12590 * scripts/abilist.awk: Ignore absolute symbols.
12591 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
12592 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
12593 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
12594 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
12595 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
12596 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
12597 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12598 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
12599 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
12600 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
12601 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
12602 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
12603 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
12604 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
12605 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
12606 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
12607 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
12608 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
12609 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12610 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
12611 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
12612 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
12613 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
12614 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
12615 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
12616 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
12617 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
12618 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
12619 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12620 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
12621 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
12622 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12623 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
12624 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
12625 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
12626 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
12627 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
12628 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
12629 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
12630 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
12631 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
12632 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12633 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
12634 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
12635 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12636 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
12637 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
12638 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
12639 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
12640 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
12641 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
12642 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
12643 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
12644 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
12645 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12646 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
12647 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
12648 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12649 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
12650 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
12651 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
12652 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
12653 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
12654 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
12655 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
12656 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
12657 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
12658 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12659 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
12660 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
12661 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12662 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
12663 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
12664 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
12665 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
12666 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
12667 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
12668 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
12669 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
12670 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
12671 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12672 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
12673 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
12674 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12675 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
12676 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
12677 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
12678 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
12679 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
12680 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
12681 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
12682 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
12684 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
12685 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12686 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
12687 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
12688 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12689 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
12690 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
12691 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
12692 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
12693 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
12694 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
12695 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
12696 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
12698 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
12699 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12700 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
12701 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
12702 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12703 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
12704 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
12705 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
12706 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
12707 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
12708 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
12709 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
12710 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
12711 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
12712 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12713 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
12714 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
12715 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12716 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
12717 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
12718 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
12719 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
12720 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
12721 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
12722 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12723 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
12724 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
12726 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
12727 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
12728 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
12729 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
12730 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12731 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
12732 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
12733 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
12734 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
12735 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
12736 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
12737 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
12738 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
12739 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
12740 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
12741 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
12742 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
12743 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
12744 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12745 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
12747 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
12748 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
12749 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
12750 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12751 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
12752 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
12753 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
12754 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
12755 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
12756 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
12757 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12758 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
12759 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
12760 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12761 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
12762 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
12763 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
12764 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
12765 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12766 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
12767 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
12768 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12769 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
12770 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
12771 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
12772 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
12773 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
12774 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
12775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
12776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
12778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
12780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
12781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
12782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
12783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
12784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
12786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
12788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
12789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
12791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
12792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
12797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
12798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
12800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
12802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
12804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
12805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
12809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
12810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
12811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
12812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
12816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
12817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
12823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
12825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
12826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
12827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
12829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
12831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
12833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
12834 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
12835 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
12837 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
12838 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12839 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
12840 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
12841 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12842 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
12843 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
12844 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
12845 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
12846 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
12847 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
12848 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
12849 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
12850 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
12852 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12853 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
12854 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
12855 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12856 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
12857 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
12858 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
12859 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
12860 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
12861 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
12862 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
12863 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
12865 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12866 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
12867 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
12868 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12869 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
12870 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
12871 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
12872 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
12873 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
12874 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
12875 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
12876 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
12877 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
12878 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12879 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
12880 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
12881 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12882 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
12883 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
12884 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
12885 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
12886 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
12887 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
12888 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
12889 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
12891 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
12892 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12893 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
12894 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
12895 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12896 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
12897 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
12898 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
12899 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
12900 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
12901 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
12902 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
12903 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
12905 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
12906 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12907 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
12908 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
12909 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12910 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
12911 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
12912 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
12913 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
12914 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
12915 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
12916 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
12917 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
12918 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
12919 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12920 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
12921 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
12922 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12923 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
12924 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
12925 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
12926 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
12927 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
12928 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
12929 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
12930 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
12931 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
12932 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
12933 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12934 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
12935 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
12936 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12937 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
12938 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
12939 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
12940 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
12941 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
12942 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
12944 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
12947 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
12948 Use atomic_load_acquire to load __tid.
12950 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12952 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
12953 Restore the pointer into %rdx, after syscall and use %rdx,
12954 instead of %rsi, to restore context.
12956 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12958 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
12959 Pop the pointer into %rdx after syscall and use %rdx, instead
12960 of %rsi, to restore context.
12962 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12964 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
12965 handlers after setjmp.
12966 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
12968 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
12969 <libc-pointer-arith.h>.
12970 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
12971 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
12972 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
12973 _JUMP_BUF_SIGSET_BITS_PER_WORD.
12974 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
12975 * sysdeps/x86/__longjmp_cancel.S: New file.
12976 * sysdeps/x86/longjmp.c: Likewise.
12977 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
12979 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12981 * NEWS: Add ustat.h deprecation entry.
12982 * bits/ustat.h: Remove file.
12983 * misc/sys/ustat.h: Likewise.
12984 * misc/ustat.h: Likewise.
12985 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
12986 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
12987 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
12988 compatibility mode.
12989 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
12990 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
12991 generic Linux implementation.
12993 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12995 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
12996 * math/w_expl_compat.c: Likewise.
12997 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
12999 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
13001 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
13003 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13005 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
13006 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
13007 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
13009 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
13010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13011 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13012 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
13013 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
13016 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13018 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
13020 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
13021 * math/w_asin_template.c: Likewise.
13022 * math/w_atanh_template.c: Likewise.
13024 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13026 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
13027 to powerpc/powerpc64/be for big-endian.
13028 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
13031 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
13032 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
13033 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
13034 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
13035 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
13036 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
13037 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
13038 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
13039 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
13040 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13041 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
13042 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
13043 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
13044 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
13045 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
13046 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
13047 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
13048 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
13049 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
13050 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
13051 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
13052 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13053 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
13054 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
13055 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
13056 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13057 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
13058 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
13059 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
13060 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
13061 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
13062 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
13064 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
13065 adjusted to imply powerpc64 and older processors on powerpc64/be.
13066 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
13067 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
13068 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
13069 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
13070 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
13071 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
13072 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
13073 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
13074 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
13075 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
13076 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
13077 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
13078 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
13079 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
13080 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
13081 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
13082 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
13083 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
13084 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
13085 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
13086 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
13087 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
13088 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
13089 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
13090 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
13091 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
13092 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
13093 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
13094 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
13095 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
13096 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
13098 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
13099 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
13100 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
13101 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
13103 * sysdeps/powerpc/powerpc64/be/Implies: New file.
13104 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
13105 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
13106 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
13108 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
13109 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
13110 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
13111 * sysdeps/powerpc/powerpc64le/configure: Likewise.
13112 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
13113 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
13114 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
13115 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
13116 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
13117 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
13118 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
13120 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
13121 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
13122 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
13123 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
13124 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
13125 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
13126 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
13127 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
13128 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
13129 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
13130 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
13132 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
13133 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
13134 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
13135 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
13136 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
13137 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
13138 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
13139 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
13140 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
13141 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
13142 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
13143 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
13145 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
13146 and adjusted to imply olders processors.
13147 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
13148 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
13149 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
13150 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
13151 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
13152 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
13153 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
13154 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
13155 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
13156 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
13157 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
13159 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
13161 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
13162 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
13164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
13166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
13167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
13169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
13171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
13173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
13175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
13176 powerpc64 and adjusted.
13177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
13178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
13179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
13182 2018-04-27 Joseph Myers <joseph@codesourcery.com>
13184 * sysdeps/tile: Remove.
13185 * sysdeps/unix/sysv/linux/tile: Likewise.
13186 * README (tilegx-*-linux-gnu): Remove from list of supported
13188 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
13189 contribution of support for generic Linux kernel syscall
13191 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
13192 tilegx configurations.
13193 (Config.install_linux_headers): Do not handle tile.
13194 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
13196 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
13197 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
13198 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
13199 conditional undefine and redefine.
13200 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
13202 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
13203 conditional undefine and redefine.
13205 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
13207 * signal/tst-sigaction.c: New file to test BZ #23069.
13208 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
13210 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13213 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
13214 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
13215 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
13216 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
13218 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13220 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
13221 _DIRENT_MATCHES_DIRENT64 is not defined.
13222 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
13223 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
13225 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
13226 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
13228 2018-04-25 Joseph Myers <joseph@codesourcery.com>
13230 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
13231 version to GCC 8 branch.
13233 2018-04-24 Joseph Myers <joseph@codesourcery.com>
13235 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
13236 (check_no_hidden): Use type of original function when declaring
13239 * sysdeps/unix/sysv/linux/sys/ptrace.h
13240 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
13241 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
13242 (struct __ptrace_seccomp_metadata): New type.
13243 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
13244 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13245 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
13246 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13247 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
13248 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13249 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
13250 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13251 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
13252 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13253 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
13254 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13255 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
13256 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13257 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
13258 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13260 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13262 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
13264 * dirent/versionsort.c (versionsort): Likewise.
13265 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
13266 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
13267 * dirent/versionsort64.c (versionsort64): Likewise.
13268 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
13269 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
13270 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
13271 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
13272 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
13273 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
13274 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
13275 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
13276 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
13277 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
13278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
13279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
13280 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
13281 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
13283 2018-04-23 Joseph Myers <joseph@codesourcery.com>
13285 * elf/elf.h (NT_PPC_PKEY): New macro.
13287 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
13290 * localedata/locales/hr_HR: fix thousands_sep and
13293 2018-04-20 Joseph Myers <joseph@codesourcery.com>
13295 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
13296 (XTABS): Define to TAB3.
13298 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13300 * sysdeps/hppa/fpu/libm-test-ulps: Update.
13302 * dirent/scandir-tail-common.c: New file.
13303 * dirent/scandir-tail.c: Use scandir-tail-common.c.
13304 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
13305 * dirent/scandir.c: Use scandir-tail-common.c.
13306 * dirent/scandirat.c: Likewise.
13307 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
13308 * dirent/scandir64.c (scandir64): Always build and alias to scandir
13309 if _DIRENT_MATCHES_DIRENT64 is defined.
13310 * dirent/scandirat64.c (scandirat64): Likewise.
13311 * include/dirent.h (__scandir_tail): Only define iff
13312 _DIRENT_MATCHES_DIRENT64 is not defined.
13313 (__scandir64_tail): Define regardless.
13314 (__scandirat, scandirat64): Remove libc_hidden_proto.
13315 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
13316 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
13317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
13318 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
13319 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13320 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
13321 * sysdeps/unix/sysv/linux/scandir64.c: New file.
13323 2018-04-20 Joseph Myers <joseph@codesourcery.com>
13325 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
13327 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
13329 (_dl_aarch64_cap_flags): Add asimdfhm.
13331 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
13333 * sysdeps/nios2/libm-test-ulps: Update.
13335 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13337 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
13338 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
13340 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
13342 (_DIRENT_MATCHES_DIRENT64): Undef
13343 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
13344 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
13345 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
13346 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
13347 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
13348 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
13349 use getdents64 syscalls as base.
13350 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
13351 symbol if required.
13352 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
13353 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
13354 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
13355 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
13356 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
13357 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
13358 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
13359 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
13360 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13361 (__get_clockfreq_via_proc_openprom): Use __getdents64.
13362 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
13364 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13366 * scripts/test_printers_common.py (init_test): Disable lock elision.
13368 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13370 * math/test-tgmath.c (count_double, count_float,
13371 count_ldouble, count_cdouble, count_cfloat,
13372 count_cldouble): Use volatile int.
13374 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
13376 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
13377 (conformtest-xfail-conds): Add i386-gnu.
13378 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
13380 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
13381 ipc_perm.cuid, ipc_perm.cgid): Likewise.
13382 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
13383 msqid_ds.msg_lrpid): Likewise.
13384 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
13386 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
13387 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
13388 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
13389 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
13391 (struct statvfs64): Likewise.
13392 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
13394 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
13395 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
13396 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
13397 instead of wait_queue.
13398 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
13399 instead of vm_area_struct.
13400 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
13401 struct sched_param definition to it.
13402 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13403 * bits/types/struct_sched_param.h: New file.
13404 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
13405 <bits/types/struct_sched_param.h> instead of <sched.h>.
13406 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
13407 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
13408 generic version but include <bits/pthreadtypes.h> to make struct
13409 sigevent's sigev_notify_attributes field a pthread_attr_t*.
13410 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
13412 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
13413 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
13414 [__USE_XOPEN] (OFDEL): New macro.
13415 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
13416 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
13417 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
13419 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
13420 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
13421 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
13423 * sysdeps/i386/sys/ucontext.h: Likewise.
13424 * sysdeps/m68k/sys/ucontext.h: Likewise.
13425 * sysdeps/mips/sys/ucontext.h: Likewise.
13426 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
13427 * sysdeps/mach/hurd/i386/Makefile
13428 (test-xfail-POSIX/fcntl.h/conform): Add.
13429 (test-xfail-POSIX/signal.h/conform): Add.
13430 (test-xfail-POSIX/semaphore.h/conform): Add.
13431 (test-xfail-POSIX/regex.h/conform): Add.
13432 (test-xfail-POSIX/aio.h/conform): Add.
13433 (test-xfail-POSIX/mqueue.h/conform): Add.
13434 (test-xfail-POSIX/sys/types.h/conform): Add.
13435 (test-xfail-UNIX98/fcntl.h/conform): Add.
13436 (test-xfail-UNIX98/netdb.h/conform): Add.
13437 (test-xfail-UNIX98/signal.h/conform): Add.
13438 (test-xfail-UNIX98/semaphore.h/conform): Add.
13439 (test-xfail-UNIX98/regex.h/conform): Add.
13440 (test-xfail-UNIX98/aio.h/conform): Add.
13441 (test-xfail-UNIX98/ftw.h/conform): Add.
13442 (test-xfail-UNIX98/mqueue.h/conform): Add.
13443 (test-xfail-UNIX98/netinet/in.h/conform): Add.
13444 (test-xfail-UNIX98/sys/wait.h/conform): Add.
13445 (test-xfail-UNIX98/sys/sem.h/conform): Add.
13446 (test-xfail-UNIX98/sys/uio.h/conform): Add.
13447 (test-xfail-UNIX98/sys/socket.h/conform): Add.
13448 (test-xfail-UNIX98/sys/types.h/conform): Add.
13449 (test-xfail-UNIX98/stdlib.h/conform): Add.
13450 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
13451 (test-xfail-POSIX2008/fcntl.h/conform): Add.
13452 (test-xfail-POSIX2008/netdb.h/conform): Add.
13453 (test-xfail-POSIX2008/signal.h/conform): Add.
13454 (test-xfail-POSIX2008/semaphore.h/conform): Add.
13455 (test-xfail-POSIX2008/regex.h/conform): Add.
13456 (test-xfail-POSIX2008/aio.h/conform): Add.
13457 (test-xfail-POSIX2008/mqueue.h/conform): Add.
13458 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
13459 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
13460 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
13461 (test-xfail-POSIX2008/sys/types.h/conform): Add.
13462 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
13463 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
13464 (test-xfail-XOPEN2K/netdb.h/conform): Add.
13465 (test-xfail-XOPEN2K/signal.h/conform): Add.
13466 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
13467 (test-xfail-XOPEN2K/regex.h/conform): Add.
13468 (test-xfail-XOPEN2K/aio.h/conform): Add.
13469 (test-xfail-XOPEN2K/ftw.h/conform): Add.
13470 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
13471 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
13472 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
13473 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
13474 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
13475 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
13476 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
13477 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
13478 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
13479 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
13480 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
13481 (test-xfail-XOPEN2K8/signal.h/conform): Add.
13482 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
13483 (test-xfail-XOPEN2K8/regex.h/conform): Add.
13484 (test-xfail-XOPEN2K8/aio.h/conform): Add.
13485 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
13486 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
13487 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
13488 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
13489 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
13490 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
13491 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
13492 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
13493 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
13494 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
13495 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
13497 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
13498 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
13500 2018-04-18 Joseph Myers <joseph@codesourcery.com>
13502 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
13503 --enable-obsolete for powerpc-linux-gnuspe.
13505 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13507 * conform/data/sys/un.h-data: Allow sun_ prefix.
13508 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
13510 * sysdeps/mach/include/mach.h: Likewise.
13511 * sysdeps/mach/include/mach/mig_support.h: Likewise.
13512 * sysdeps/mach/include/mach_error.h: Likewise.
13514 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13516 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
13517 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
13518 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
13519 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
13521 2018-04-16 Andreas Schwab <schwab@suse.de>
13524 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
13526 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
13528 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
13529 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
13531 2018-04-12 DJ Delorie <dj@redhat.com>
13533 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13536 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
13538 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
13539 (struct kernel_sigaction): Use the same definition on 31bit as is used
13542 2018-04-09 Florian Weimer <fweimer@redhat.com>
13545 * resolv/res_send.c (send_dg): Use designated initializers instead
13546 of assignment to zero-initialize other fields of struct mmsghdr.
13548 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13550 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
13551 __READDIR_ALIAS): Undefine after usage.
13552 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
13553 __READDIR_R_ALIAS): Likewise.
13554 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
13555 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
13556 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
13557 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
13558 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
13559 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
13560 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13561 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13562 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
13563 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
13564 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
13565 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
13566 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13567 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
13568 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
13569 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
13570 * sysdeps/unix/sysv/linux/readdir.c: New file.
13571 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
13572 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
13573 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
13575 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
13577 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
13579 * manual/charset.texi (Converting a Character): Fix typo.
13581 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13583 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13585 * sysdeps/arm/libm-test-ulps: Update.
13587 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
13588 as base implementation.
13589 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13590 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13591 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13592 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13593 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13594 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
13595 remove unrequired definitions and update comments.
13596 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
13597 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
13598 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
13599 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
13600 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
13601 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
13602 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
13603 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
13604 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
13605 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
13606 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
13607 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13608 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13609 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
13610 and RESET_SA_RESTORER hooks.
13612 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
13614 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13616 2018-04-05 Florian Weimer <fweimer@redhat.com>
13618 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
13619 integer overflow, memory leak on error, and indeterminate errno
13620 value. Add a null wide character to terminate the result string.
13621 * manual/charset.texi (Converting a Character): Mention embedded
13622 null bytes in the mbrtowc input string. Explain what happens in
13623 the -2 result case. Do not claim that mbrtowc is simple or
13624 obvious to use. Adjust the description of the code example. Use
13625 @code, not @var, for concrete variables.
13627 2018-04-05 Florian Weimer <fweimer@redhat.com>
13629 * manual/examples/mbstouwcs.c: New file.
13630 * manual/charset.texi (Converting a Character): Include it.
13632 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13634 * include/dirent.h (dirfd): Add hidden proto.
13635 * dirent/dirfd.c (dirfd): Add hidden def.
13636 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
13637 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
13639 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13641 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
13642 sin, cos and sincos to 1 ULP.
13644 2018-04-04 Maciej W. Rozycki <macro@mips.com>
13647 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
13649 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
13650 * elf/tst-absolute-sym.c: New file.
13651 * elf/tst-absolute-sym-lib.c: New file.
13652 * elf/tst-absolute-sym-lib.lds: New file.
13653 * elf/Makefile (tests): Add `tst-absolute-sym'.
13654 (modules-names): Add `tst-absolute-sym-lib'.
13655 (LDLIBS-tst-absolute-sym-lib.so): New variable.
13656 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
13657 ($(objpfx)tst-absolute-sym): New dependency.
13660 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
13662 (SYMBOL_ADDRESS): New macro.
13663 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
13664 SYMBOL_ADDRESS for symbol address calculation.
13665 * elf/dl-runtime.c (_dl_fixup): Likewise.
13666 (_dl_profile_fixup): Likewise.
13667 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
13668 * elf/rtld.c (dl_main): Likewise.
13669 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
13670 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
13671 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
13672 (elf_machine_rela): Likewise.
13673 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
13674 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
13675 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13676 (elf_machine_rela): Likewise.
13677 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13678 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
13679 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
13680 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
13682 (elf_machine_reloc): Likewise.
13683 (elf_machine_got_rel): Likewise.
13684 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
13685 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
13686 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13688 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13690 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
13691 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13693 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13695 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13696 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13698 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13700 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
13701 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13703 2018-04-04 Zack Weinberg <zackw@panix.com>
13705 * sysdeps/generic/internal-signals.h: Include signal.h,
13706 sigsetops.h, and stdbool.h.
13707 (__libc_signal_block_all): Actually block all signals.
13708 (__libc_signal_block_app): Likewise.
13709 (__libc_signal_restore_set): Actually restore the signal mask.
13711 2018-04-04 Florian Weimer <fweimer@redhat.com>
13713 inet: Actually build and run tst-deadline.
13714 * inet/Makefile (tests-internal): Add tst-deadline and do not
13715 overwrite the variable.
13716 (tests-static-internal): Remove variable.
13718 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
13721 * bits/uio-ext.h (RWF_APPEND): New.
13722 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
13723 * manual/llio.texi: Document RWF_APPEND.
13724 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
13725 (RWF_SUPPORTED): Add RWF_APPEND.
13727 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13730 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
13731 check for internal nptl signals.
13732 * nptl/sigaction.c (__sigaction): Likewise.
13733 * signal/sigaddset.c (sigaddset): Likewise.
13734 * signal/sigdelset.c (sigdelset): Likewise.
13735 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
13736 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
13738 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
13739 to filter out internal nptl signals.
13740 * signal/tst-sigset.c (do_test): Check ech signal indidually and
13741 also check realtime signals using standard macros.
13742 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
13743 __is_internal_signal, __libc_signal_block_all,
13744 __libc_signal_block_app, __libc_signal_restore_set): New functions.
13745 * sysdeps/nptl/sigfillset.c: Remove file.
13746 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
13747 Change return to bool.
13748 (__clear_internal_signals): Remove SIGTIMER clean since it is
13749 equal to SIGCANEL on Linux.
13750 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
13751 signal set was constructed using standard functions.
13753 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
13755 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
13756 ifname is too long.
13757 * hurd/hurdsig.c (interrupted_reply_port_location): Use
13758 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
13759 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
13761 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
13762 * signal/sigaddset.c: Include <sigsetopts.h>.
13763 * signal/sigdelset.c: Likewise.
13765 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13767 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
13769 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
13770 logic as sin and cos.
13772 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13774 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
13775 inputs. Return correct sign.
13776 (do_sincos): Remove small input check before do_sin, let do_sin set
13781 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13783 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
13784 (do_cos_slow): Likewise.
13785 (do_sin_slow): Likewise.
13786 (reduce_and_compute): Likewise.
13791 (sloww1): Likewise.
13792 (sloww2): Likewise.
13794 (bslow1): Likewise.
13795 (bslow2): Likewise.
13796 (cslow2): Likewise.
13798 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13800 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
13801 (do_cos): Remove corp parameter and calculations.
13802 (do_sin): Likewise.
13803 (do_sincos): Remove cor variable.
13804 (__sin): Use do_sincos for huge inputs.
13806 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13807 (reduce_and_compute_sincos): Remove unused function.
13809 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13811 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
13812 reduce_sincos, improve accuracy to 136 bits.
13813 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
13814 (__sin): Use improved reduction and simplified do_sincos calculation.
13816 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13818 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13820 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
13821 (do_sincos_2): Likewise.
13822 (__sin): Remove middle range reduction case.
13824 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
13827 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13829 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
13830 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
13833 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
13835 2018-04-03 Joseph Myers <joseph@codesourcery.com>
13837 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13840 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13842 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
13843 Remove definitions.
13844 (opendir_oflags): Use O_DIRECTORY regardless.
13845 (__opendir, __opendirat): Remove need_isdir_precheck usage.
13846 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
13848 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13850 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
13851 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
13853 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
13854 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
13855 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
13856 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
13857 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
13858 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
13860 * htl/Makefile: Bump licence to LGPL 2.1+.
13861 * htl/alloca_cutoff.c: Likewise.
13862 * htl/cthreads-compat.c: Likewise.
13863 * htl/lockfile.c: Likewise.
13864 * htl/pt-alloc.c: Likewise.
13865 * htl/pt-cancel.c: Likewise.
13866 * htl/pt-cleanup.c: Likewise.
13867 * htl/pt-create.c: Likewise.
13868 * htl/pt-dealloc.c: Likewise.
13869 * htl/pt-detach.c: Likewise.
13870 * htl/pt-exit.c: Likewise.
13871 * htl/pt-getattr.c: Likewise.
13872 * htl/pt-initialize.c: Likewise.
13873 * htl/pt-internal.h: Likewise.
13874 * htl/pt-join.c: Likewise.
13875 * htl/pt-self.c: Likewise.
13876 * htl/pt-setcancelstate.c: Likewise.
13877 * htl/pt-setcanceltype.c: Likewise.
13878 * htl/pt-sigmask.c: Likewise.
13879 * htl/pt-spin-inlines.c: Likewise.
13880 * htl/pt-testcancel.c: Likewise.
13881 * htl/pt-yield.c: Likewise.
13882 * htl/tests/test-1.c: Likewise.
13883 * htl/tests/test-10.c: Likewise.
13884 * htl/tests/test-11.c: Likewise.
13885 * htl/tests/test-12.c: Likewise.
13886 * htl/tests/test-13.c: Likewise.
13887 * htl/tests/test-14.c: Likewise.
13888 * htl/tests/test-15.c: Likewise.
13889 * htl/tests/test-16.c: Likewise.
13890 * htl/tests/test-17.c: Likewise.
13891 * htl/tests/test-2.c: Likewise.
13892 * htl/tests/test-3.c: Likewise.
13893 * htl/tests/test-4.c: Likewise.
13894 * htl/tests/test-5.c: Likewise.
13895 * htl/tests/test-6.c: Likewise.
13896 * htl/tests/test-7.c: Likewise.
13897 * htl/tests/test-8.c: Likewise.
13898 * htl/tests/test-9.c: Likewise.
13899 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
13900 * sysdeps/htl/bits/cancelation.h: Likewise.
13901 * sysdeps/htl/bits/pthread-np.h: Likewise.
13902 * sysdeps/htl/bits/pthread.h: Likewise.
13903 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
13904 * sysdeps/htl/bits/semaphore.h: Likewise.
13905 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
13906 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
13907 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
13908 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
13909 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
13910 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
13911 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
13912 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
13913 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
13914 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
13915 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
13916 * sysdeps/htl/old_pt-atfork.c: Likewise.
13917 * sysdeps/htl/pt-atfork.c: Likewise.
13918 * sysdeps/htl/pt-attr-destroy.c: Likewise.
13919 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
13920 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
13921 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
13922 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
13923 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
13924 * sysdeps/htl/pt-attr-getscope.c: Likewise.
13925 * sysdeps/htl/pt-attr-getstack.c: Likewise.
13926 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
13927 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
13928 * sysdeps/htl/pt-attr-init.c: Likewise.
13929 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
13930 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
13931 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
13932 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
13933 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
13934 * sysdeps/htl/pt-attr-setscope.c: Likewise.
13935 * sysdeps/htl/pt-attr-setstack.c: Likewise.
13936 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
13937 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
13938 * sysdeps/htl/pt-attr.c: Likewise.
13939 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
13940 * sysdeps/htl/pt-barrier-init.c: Likewise.
13941 * sysdeps/htl/pt-barrier-wait.c: Likewise.
13942 * sysdeps/htl/pt-barrier.c: Likewise.
13943 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
13944 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
13945 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
13946 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
13947 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
13948 * sysdeps/htl/pt-cond-destroy.c: Likewise.
13949 * sysdeps/htl/pt-cond-init.c: Likewise.
13950 * sysdeps/htl/pt-cond-signal.c: Likewise.
13951 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
13952 * sysdeps/htl/pt-cond-wait.c: Likewise.
13953 * sysdeps/htl/pt-cond.c: Likewise.
13954 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
13955 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
13956 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
13957 * sysdeps/htl/pt-condattr-init.c: Likewise.
13958 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
13959 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
13960 * sysdeps/htl/pt-destroy-specific.c: Likewise.
13961 * sysdeps/htl/pt-equal.c: Likewise.
13962 * sysdeps/htl/pt-getconcurrency.c: Likewise.
13963 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
13964 * sysdeps/htl/pt-getschedparam.c: Likewise.
13965 * sysdeps/htl/pt-getspecific.c: Likewise.
13966 * sysdeps/htl/pt-init-specific.c: Likewise.
13967 * sysdeps/htl/pt-key-create.c: Likewise.
13968 * sysdeps/htl/pt-key-delete.c: Likewise.
13969 * sysdeps/htl/pt-key.h: Likewise.
13970 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
13971 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
13972 * sysdeps/htl/pt-mutex-init.c: Likewise.
13973 * sysdeps/htl/pt-mutex-lock.c: Likewise.
13974 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
13975 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
13976 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
13977 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
13978 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
13979 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
13980 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
13981 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
13982 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
13983 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
13984 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
13985 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
13986 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
13987 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
13988 * sysdeps/htl/pt-mutexattr.c: Likewise.
13989 * sysdeps/htl/pt-once.c: Likewise.
13990 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
13991 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
13992 * sysdeps/htl/pt-rwlock-init.c: Likewise.
13993 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
13994 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
13995 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
13996 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
13997 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
13998 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
13999 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
14000 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
14001 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
14002 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
14003 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
14004 * sysdeps/htl/pt-setconcurrency.c: Likewise.
14005 * sysdeps/htl/pt-setschedparam.c: Likewise.
14006 * sysdeps/htl/pt-setschedprio.c: Likewise.
14007 * sysdeps/htl/pt-setspecific.c: Likewise.
14008 * sysdeps/htl/pt-spin.c: Likewise.
14009 * sysdeps/htl/pt-startup.c: Likewise.
14010 * sysdeps/htl/pthread.h: Likewise.
14011 * sysdeps/htl/sem-close.c: Likewise.
14012 * sysdeps/htl/sem-destroy.c: Likewise.
14013 * sysdeps/htl/sem-getvalue.c: Likewise.
14014 * sysdeps/htl/sem-init.c: Likewise.
14015 * sysdeps/htl/sem-open.c: Likewise.
14016 * sysdeps/htl/sem-post.c: Likewise.
14017 * sysdeps/htl/sem-timedwait.c: Likewise.
14018 * sysdeps/htl/sem-trywait.c: Likewise.
14019 * sysdeps/htl/sem-unlink.c: Likewise.
14020 * sysdeps/htl/sem-wait.c: Likewise.
14021 * sysdeps/hurd/htl/pt-kill.c: Likewise.
14022 * sysdeps/i386/htl/pt-machdep.h: Likewise.
14023 * sysdeps/mach/htl/pt-block.c: Likewise.
14024 * sysdeps/mach/htl/pt-spin.c: Likewise.
14025 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
14026 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
14027 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
14028 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
14029 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
14030 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
14031 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
14032 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
14033 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
14034 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
14035 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
14036 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
14037 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
14038 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
14039 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
14040 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
14041 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
14042 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
14043 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
14044 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
14045 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
14046 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
14047 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
14048 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
14049 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
14050 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
14051 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
14052 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
14053 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
14054 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
14055 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
14056 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
14057 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
14058 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
14059 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
14060 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
14061 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
14062 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
14063 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
14064 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
14065 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
14066 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
14067 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
14069 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
14070 * README: Remove the mention of out-of-tree patches needed for
14073 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
14074 (UTIME_NOW, UTIME_OMIT): Define macros.
14076 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
14077 instead of pthread_detach.
14078 (__cthread_fork): Call __pthread_create instead of pthread_create.
14079 (__cthread_keycreate): Call __pthread_key_create instead of
14080 pthread_key_create.
14081 (__cthread_getspecific): Call __pthread_getspecific instead of
14082 pthread_getspecific.
14083 (__cthread_setspecific): Call __pthread_setspecific instead of
14084 pthread_setspecific.
14085 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
14086 __pthread_mutex_unlock instead of pthread_mutex_lock and
14087 pthread_mutex_unlock.
14088 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
14089 ___pthread_get_cleanup_stack.
14090 (__pthread_get_cleanup_stack): New strong alias.
14091 * htl/pt-create.c: Include <pthreadP.h>.
14092 (entry_point): Call __pthread_exit instead of pthread_exit.
14093 (pthread_create): Rename to __pthread_create.
14094 (pthread_create): New strong alias.
14095 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
14096 (pthread_detach): New strong alias.
14097 (__pthread_detach): Call __pthread_cond_broadcast instead of
14098 pthread_cond_broadcast.
14099 * htl/pt-exit.c: Include <pthreadP.h>.
14100 (__pthread_exit): Call __pthread_setcancelstate and
14101 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
14102 __pthread_get_cleanup_stack.
14103 * htl/pt-testcancel.c: Include <pthreadP.h>.
14104 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
14105 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
14106 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
14107 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
14108 pthread_attr_getstacksize.
14109 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
14110 Rename to __pthread_attr_getstackaddr.
14111 (pthread_attr_getstackaddr): New strong alias.
14112 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
14113 Rename to __pthread_attr_getstacksize.
14114 (pthread_attr_getstacksize): New strong alias.
14115 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
14116 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
14117 (pthread_attr_setstack): New strong alias.
14118 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
14119 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
14120 pthread_attr_getstacksize, pthread_attr_setstacksize and
14121 pthread_attr_setstackaddr.
14122 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
14123 Rename to __pthread_attr_setstackaddr.
14124 (pthread_attr_setstackaddr): New strong alias.
14125 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
14126 Rename to __pthread_attr_setstacksize.
14127 (pthread_attr_setstacksize): New strong alias.
14128 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
14129 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
14131 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
14132 (__pthread_key_create): New hidden def.
14133 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
14134 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
14135 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
14136 __pthread_exit, __pthread_key_create, __pthread_getspecific,
14137 __pthread_setspecific, __pthread_setcancelstate,
14138 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
14139 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
14140 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
14142 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
14143 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
14144 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
14145 (pthread_attr_setstackaddr): New strong alias.
14146 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
14147 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
14148 (pthread_attr_setstacksize): New strong alias.
14149 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
14150 (call_exit): Call __pthread_exit instead of pthread_exit.
14151 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
14152 (_pthread_mutex_init): New hidden definition.
14153 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
14154 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
14155 instead of pthread_attr_init and pthread_attr_setstack.
14157 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
14158 __vm_deallocate instead of vm_allocate and vm_deallocate.
14159 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
14161 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
14163 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
14165 * hurd/siginfo.c: Include <libioP.h>.
14166 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
14167 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
14169 * mach/devstream.c: Include <libioP.h>.
14170 (dealloc_ref): Call __mach_port_deallocate instead of
14171 mach_port_deallocate.
14172 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
14173 Call __mach_port_deallocate instead of mach_port_deallocate.
14174 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
14176 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
14178 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
14179 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
14180 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
14182 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
14184 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
14185 instead of sysconf.
14186 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
14187 __clock_gettime instead of clock_gettime.
14188 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
14189 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
14190 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
14191 * sysdeps/unix/bsd/stty.c (stty): Likewise.
14192 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
14194 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
14195 __clock_gettime and __nanosleep instead of clock_gettime and
14197 * hurd/catch-signal.c (hurd_catch_signal): Rename to
14198 __hurd_catch_signal.
14199 (hurd_catch_signal): New strong alias.
14200 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
14201 __hurd_catch_signal instead of hurd_catch_signal.
14202 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
14203 * hurd/hurdexec.c (_hurd_init): Add hidden def.
14204 * hurd/hurdinit.c (_hurd_init): Add hidden def.
14205 * hurd/hurdsig.c: Include <mach/mig_support.h>.
14206 (_hurd_thread_sigstate): Add hidden def.
14207 (_hurd_internal_post_signal): Use __mutex_unlock instead of
14209 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
14210 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
14211 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
14212 __hurd_file_name_path_lookup.
14213 (hurd_file_name_path_lookup): New strong alias.
14214 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
14215 hurd_file_name_path_lookup.
14216 * mach/errstring.c (mach_error_type): Add hidden def.
14217 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
14218 * mach/mutex-init.c (__mutex_init): Add hidden def.
14219 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
14220 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
14221 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
14222 * sysdeps/mach/hurd/getcwd.c
14223 (_hurd_canonicalize_directory_name_internal): Rename to
14224 __hurd_canonicalize_directory_name_internal.
14225 (_hurd_canonicalize_directory_name_internal): New strong alias.
14226 (__canonicalize_directory_name_internal, __getcwd): Call
14227 __hurd_canonicalize_directory_name_internal instead of
14228 _hurd_canonicalize_directory_name_internal.
14229 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
14230 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
14232 * sysdeps/hurd/include/hurd.h: New file.
14233 * sysdeps/hurd/include/hurd/fd.h: New file.
14234 * sysdeps/hurd/include/hurd/signal.h: New file.
14235 * sysdeps/mach/include/lock-intern.h: New file.
14236 * sysdeps/mach/include/mach.h: New file.
14237 * sysdeps/mach/include/mach/mig_support.h: New file.
14238 * sysdeps/mach/include/mach_error.h: New file.
14239 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
14241 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
14242 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
14243 _HEADER_H_HIDDEN_DEF macro.
14244 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
14245 _hurd_fd_error_signal): Add hidden prototype.
14246 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
14248 * libio/iolibio.h (_IO_puts): New hidden prototype.
14249 * libio/ioputs.c (_IO_puts): New hidden def.
14250 * sysdeps/mach/hurd/localplt.data: New file.
14252 2018-04-02 Agustina Arzille <avarzille@riseup.net>
14253 Amos Jeffries <squid3@treenet.co.nz>
14254 David Michael <fedora.dm0@gmail.com>
14255 Marco Gerards <marco@gnu.org>
14256 Marcus Brinkmann <marcus@gnu.org>
14257 Neal H. Walfield <neal@gnu.org>
14258 Pino Toscano <toscano.pino@tiscali.it>
14259 Richard Braun <rbraun@sceen.net>
14260 Roland McGrath <roland@gnu.org>
14261 Samuel Thibault <samuel.thibault@ens-lyon.org>
14262 Thomas DiModica <ricinwich@yahoo.com>
14263 Thomas Schwinge <tschwinge@gnu.org>
14265 * htl: New directory.
14266 * sysdeps/htl: New directory.
14267 * sysdeps/hurd/htl: New directory.
14268 * sysdeps/i386/htl: New directory.
14269 * sysdeps/mach/htl: New directory.
14270 * sysdeps/mach/hurd/htl: New directory.
14271 * sysdeps/mach/hurd/i386/htl: New directory.
14272 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
14273 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
14274 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
14276 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14278 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
14279 signals in thread created for runing timers.
14281 2018-04-01 Florian Weimer <fweimer@redhat.com>
14283 * support/support_format_addrinfo.c (support_format_addrinfo):
14284 Include unknown error number in formatted result.
14286 2018-03-29 Florian Weimer <fweimer@redhat.com>
14288 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
14291 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14293 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
14294 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
14295 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14296 (__ASSUME_CLONE_BACKWARDS): Define.
14298 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
14301 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
14302 early when linux sentinel value is set.
14304 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14306 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
14308 2018-03-27 Andreas Schwab <schwab@suse.de>
14311 * resolv/res_send.c (__res_context_send): Return ENOMEM if
14312 allocation of private copy of nsaddr_list fails.
14314 2018-03-26 Joseph Myers <joseph@codesourcery.com>
14317 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
14318 * sysdeps/unix/sysv/linux/umount.c: ... here.
14319 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
14320 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
14321 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
14322 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
14323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
14324 * sysdeps/unix/sysv/linux/umount.S: Likewise.
14325 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
14327 2018-03-26 Andreas Schwab <schwab@suse.de>
14329 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
14330 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
14331 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
14332 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
14333 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
14334 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
14335 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
14336 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
14337 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
14338 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
14339 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
14340 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
14341 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
14342 (R_RISCV_NUM): Define.
14344 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
14346 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
14347 TLS declaration of errno.
14348 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
14350 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
14351 (ARCH_SETUP_TLS): Likewise.
14352 * sysdeps/mach/hurd/libc-start.h: New file copied from
14353 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
14354 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
14355 instead of __libc_setup_tls.
14356 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
14357 __libc_setup_tls before initializing libpthread and running _hurd_init
14358 which starts the signal thread.
14359 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
14361 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14363 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
14366 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
14367 after it is defined.
14369 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
14370 Max Horn <max@quendi.de>
14374 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
14376 * string/test-memmove.c (do_test2): New testcase.
14378 2018-03-22 Joseph Myers <joseph@codesourcery.com>
14380 * sysdeps/generic/frame.h: Remove file.
14381 * sysdeps/arm/frame.h: Likewise.
14382 * sysdeps/hppa/frame.h: Likewise.
14383 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
14385 (GET_FRAME): Likewise.
14386 (GET_STACK): Likewise.
14387 (CALL_SIGHANDLER): Likewise.
14388 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
14390 (GET_FRAME): Likewise.
14391 (GET_STACK): Likewise.
14392 (CALL_SIGHANDLER): Likewise.
14393 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
14394 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14395 (GET_FRAME): Likewise.
14396 (GET_STACK): Likewise.
14397 (CALL_SIGHANDLER): Likewise.
14398 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
14399 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14400 (GET_FRAME): Likewise.
14401 (GET_STACK): Likewise.
14402 (ADVANCE_STACK_FRAME): Likewise.
14403 (CALL_SIGHANDLER): Likewise.
14404 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
14405 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14406 (GET_FRAME): Likewise.
14407 (GET_STACK): Likewise.
14408 (CALL_SIGHANDLER): Likewise.
14409 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
14410 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14411 (GET_FRAME): Likewise.
14412 (GET_STACK): Likewise.
14413 (CALL_SIGHANDLER): Likewise.
14414 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
14415 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14416 (GET_FRAME): Likewise.
14417 (GET_STACK): Likewise.
14418 (CALL_SIGHANDLER): Likewise.
14419 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
14420 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14421 (GET_FRAME): Likewise.
14422 (GET_STACK): Likewise.
14423 (CALL_SIGHANDLER): Likewise.
14424 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
14425 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14426 (GET_FRAME): Likewise.
14427 (GET_STACK): Likewise.
14428 (CALL_SIGHANDLER): Likewise.
14429 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
14430 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14431 (GET_FRAME): Likewise.
14432 (GET_STACK): Likewise.
14433 (CALL_SIGHANDLER): Likewise.
14434 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
14435 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14436 (GET_FRAME): Likewise.
14437 (GET_STACK): Likewise.
14438 (CALL_SIGHANDLER): Likewise.
14439 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
14440 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14441 (GET_FRAME): Likewise.
14442 (GET_STACK): Likewise.
14443 (CALL_SIGHANDLER): Likewise.
14444 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
14445 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14446 (GET_FRAME): Likewise.
14447 (GET_STACK): Likewise.
14448 (CALL_SIGHANDLER): Likewise.
14449 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
14450 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14451 (FIRST_FRAME_POINTER): Likewise.
14452 (ADVANCE_STACK_FRAME): Likewise.
14453 (GET_STACK): Likewise.
14454 (GET_FRAME): Likewise.
14455 (CALL_SIGHANDLER): Likewise.
14456 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
14457 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14458 (ADVANCE_STACK_FRAME): Likewise.
14459 (GET_STACK): Likewise.
14460 (GET_FRAME): Likewise.
14461 (CALL_SIGHANDLER): Likewise.
14462 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
14463 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14464 (GET_FRAME): Likewise.
14465 (GET_STACK): Likewise.
14466 (CALL_SIGHANDLER): Likewise.
14467 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
14468 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14469 (GET_FRAME): Likewise.
14470 (GET_STACK): Likewise.
14471 (CALL_SIGHANDLER): Likewise.
14473 2018-03-21 Joseph Myers <joseph@codesourcery.com>
14475 * sysdeps/x86_64/backtrace.c: Move to ....
14476 * debug/backtrace.c: ... here.
14477 * sysdeps/aarch64/backtrace.c: Remove file.
14478 * sysdeps/alpha/backtrace.c: Likewise.
14479 * sysdeps/hppa/backtrace.c: Likewise.
14480 * sysdeps/ia64/backtrace.c: Likewise.
14481 * sysdeps/mips/backtrace.c: Likewise.
14482 * sysdeps/nios2/backtrace.c: Likewise.
14483 * sysdeps/riscv/backtrace.c: Likewise.
14484 * sysdeps/sh/backtrace.c: Likewise.
14485 * sysdeps/tile/backtrace.c: Likewise.
14487 2018-03-20 Joseph Myers <joseph@codesourcery.com>
14490 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
14493 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
14496 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
14497 possibly overflowing computations.
14499 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
14501 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
14502 values from Linux-specific section now that it is in the GNU section.
14503 * sysdeps/gnu/errlist.c: Regenerate.
14505 2018-03-20 Joseph Myers <joseph@codesourcery.com>
14507 * math/Makefile (libm-narrow-fns): Add sub.
14508 (libm-test-funcs-narrow): Likewise.
14509 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
14510 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
14511 * math/gen-auto-libm-tests.c (test_functions): Add sub.
14512 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
14513 (NARROW_SUB_ROUND_TO_ODD): Likewise.
14514 (NARROW_SUB_TRIVIAL): Likewise.
14515 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
14517 (__dsubl): Likewise.
14518 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
14520 (CFLAGS-nldbl-dsub.c): New variable.
14521 (CFLAGS-nldbl-fsub.c): Likewise.
14522 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14524 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
14526 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
14527 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
14528 * math/auto-libm-test-in: Add tests of sub.
14529 * math/auto-libm-test-out-narrow-sub: New generated file.
14530 * math/libm-test-narrow-sub.inc: New file.
14531 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14532 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
14533 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
14534 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
14535 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
14536 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
14537 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
14538 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
14539 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
14540 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
14541 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
14542 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
14543 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
14544 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
14545 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
14546 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
14547 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
14548 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
14549 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14550 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14551 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14552 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14553 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14554 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14555 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14556 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14557 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14558 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14559 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14560 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14561 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14562 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14567 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14568 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14569 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14570 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14571 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14572 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14573 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
14574 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
14575 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14576 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14578 2018-03-19 Joseph Myers <joseph@codesourcery.com>
14581 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
14583 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
14585 * benchtests/bench-timing.h (attribute_hidden): Undefine.
14587 2018-03-18 Richard Braun <rbraun@sceen.net>
14589 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
14592 2018-03-18 Agustina Arzille <avarzille@riseup.net>
14594 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
14595 (__libc_cleanup_fct): Define function.
14596 (__libc_cleanup_region_start, __libc_cleanup_region_end,
14597 __libc_cleanup_end): Rewrite implementation using
14598 __attribute__ ((__cleanup__)).
14599 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
14600 * hurd/Makefile (routines): Add hurdlock.
14601 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
14603 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
14604 * hurd/hurdpid.c: Include <lowlevellock.h>
14605 (_S_msg_proc_newids): Use lll_wait to synchronize.
14606 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
14607 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
14608 * mach/Makefile (lock-headers): Remove machine-lock.h.
14609 * mach/lock-intern.h: Include <lowlevellock.h> instead of
14611 (__spin_lock_t): New type.
14612 (__SPIN_LOCK_INITIALIZER): New macro.
14613 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
14614 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
14615 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
14616 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
14617 (__mutex_init): Initialize with lll.
14618 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
14619 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
14621 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14622 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
14623 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
14624 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
14625 (__setpgid): Use lll for synchronization.
14626 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
14627 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
14628 instead of <cthreads.h>.
14629 (_IO_lock_inexpensive): New macro
14630 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
14631 (__libc_lock_self0): New declaration.
14632 (__libc_lock_owner_self): New macro.
14633 (__libc_key_t): Remove type.
14634 (_LIBC_LOCK_INITIALIZER): New macro.
14635 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
14636 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
14637 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
14638 __libc_lock_define_initialized_recursive,
14639 __rtld_lock_define_initialized_recursive,
14640 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
14641 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
14642 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
14643 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
14644 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
14645 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
14646 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
14648 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
14649 * hurd/hurdlock.c: New file.
14650 * hurd/hurdlock.h: New file.
14651 * mach/lowlevellock.h: New file
14653 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14655 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
14656 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
14657 when opening a symlink with O_NOFOLLOW.
14658 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
14659 path when flags contains O_NOFOLLOW.
14660 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
14661 if flags contains O_DIRECTORY and the result is a directory.
14662 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
14663 oneself when the pointer given in D is nul (as set by ext2fs).
14664 * sysdeps/mach/hurd/mlockall.c: New file.
14665 * sysdeps/mach/hurd/munlockall.c: New file.
14667 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
14669 * hurd/hurdsig.c: Include <pthread.h>.
14670 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
14671 get the signal thread stack layout.
14672 * hurd/Makefile (headers): Remove threadvar.h.
14673 (inline-headers): Remove threadvar.h.
14674 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
14675 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
14676 __hurd_threadvar_max, __hurd_errno_location.
14677 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
14678 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
14679 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
14680 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
14681 unless TLS is not initialized yet, in which case we do not need a
14682 critical section yet anyway.
14683 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
14685 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
14687 (__hurd_threadvar_index): Remove enum.
14688 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
14689 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
14691 (__hurd_reply_port0): New variable declaration.
14692 (__hurd_local_reply_port): New macro.
14693 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
14694 (interrupted_reply_port_location): Add thread_t parameter. Use it
14695 with THREAD_TCB to access thread-local variables.
14696 (_hurdsig_abort_rpcs): Pass ss->thread to
14697 interrupted_reply_port_location.
14698 (_hurd_internal_post_signal): Likewise.
14699 (_hurdsig_init): Use presence of cthread_fork instead of
14700 __hurd_threadvar_stack_mask to start signal thread by hand.
14701 Remove signal thread threadvar initialization.
14702 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
14703 * hurd/sigunwind.c: Include <hurd/threadvar.h>
14704 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
14706 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
14708 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
14709 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
14710 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
14711 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
14712 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
14713 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
14714 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
14716 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
14717 <hurd/threadvar.h>.
14718 [IS_IN(rtld)] (rtld_errno): New variable.
14719 [IS_IN(rtld)] (__errno_location): New weak function.
14720 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
14721 * sysdeps/mach/hurd/errno.c: Remove file.
14722 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
14723 (__fork): Remove THREADVAR_SPACE macro and its use.
14724 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
14726 (init): Do not initialize threadvar.
14727 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
14729 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
14730 __hurd_local_reply_port instead of threadvar.
14731 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
14732 _hurd_sigstate fields.
14733 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
14734 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
14735 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
14736 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
14737 instead of threadvar.
14738 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
14739 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
14740 (use_threadvar, global_reply_port): Remove variables.
14741 (__hurd_reply_port0): New variable.
14742 (__mig_get_reply_port): Use __hurd_local_reply_port and
14743 __hurd_reply_port0 instead of threadvar.
14744 (__mig_dealloc_reply_port): Likewise.
14745 (__mig_init): Do not initialize threadvar.
14746 * sysdeps/mach/hurd/profil.c: Fix comment.
14747 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
14748 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
14749 cthread_keycreate, cthread_getspecific, cthread_setspecific to
14750 __cthread_fork, __cthread_detach, __pthread_getattr_np,
14751 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
14752 __cthread_setspecific.
14753 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
14754 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
14755 __cthread_t instead of cthread_fork, cthread_detach,
14756 pthread_getattr_np, pthread_attr_getstack.
14757 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
14758 __cthread_keycreate.
14759 (cthread_getspecific): Rename to __cthread_getspecific.
14760 (cthread_setspecific): Rename to __cthread_setspecific.
14761 (__libc_getspecific): Use __cthread_getspecific instead of
14762 cthread_getspecific.
14763 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
14764 __cthread_keycreate instead of cthread_keycreate.
14765 (__libc_setspecific): Use __cthread_setspecific instead of
14766 cthread_setspecific.
14767 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
14769 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
14770 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
14771 testing whether it is defined.
14773 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14775 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
14777 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
14778 * sysdeps/mach/i386/thread_state.h
14779 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
14781 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
14783 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
14785 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
14786 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
14788 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
14790 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
14791 descriptor instead of creating a new one.
14792 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
14794 * mach/setup-thread.c: Include <ldsodefs.h>.
14795 (__mach_setup_thread): Call _dl_allocate_tls, pass
14796 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
14797 MACHINE_THREAD_STATE_FLAVOR, before getting
14798 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
14799 MACHINE_THREAD_STATE_FLAVOR with the result.
14800 * hurd/hurdfault.c (_hurdsig_fault_init): Call
14801 MACHINE_THREAD_STATE_FIX_NEW.
14802 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
14803 too. Add original thread parameter.
14805 2018-03-16 Joseph Myers <joseph@codesourcery.com>
14807 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
14808 Remove inline function.
14810 * sysdeps/i386/fpu/libm-test-ulps: Update.
14811 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
14813 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
14815 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
14818 2018-03-15 Joseph Myers <joseph@codesourcery.com>
14820 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
14821 (__sincos_code): Remove define and undefine.
14822 [__FAST_MATH__] (__sincos): Remove inline function.
14823 [__FAST_MATH__] (__sincosf): Remove inline function.
14824 [__FAST_MATH__] (__sincosl): Remove inline function.
14825 (__atan2l): Remove inline functions.
14826 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
14827 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
14829 (floor): Remove inline function.
14831 [__FAST_MATH__] (__ldexp_code): Remove macro.
14832 [__FAST_MATH__] (ldexp): Remove inline function.
14833 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
14834 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
14835 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
14836 [__USE_ISOC99] (__lrint_code): Remove macro.
14837 [__USE_ISOC99] (__llrint_code): Likewise.
14838 [__USE_ISOC99] (lrintf): Remove inline function.
14839 [__USE_ISOC99] (lrint): Likewise.
14840 [__USE_ISOC99] (lrintl): Likewise.
14841 [__USE_ISOC99] (llrint): Likewise.
14842 [__USE_ISOC99] (llrintf): Likewise.
14843 [__USE_ISOC99] (llrintl): Likewise.
14845 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14847 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
14848 (__ieee754_sqrtf): Remove.
14849 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
14850 (__ieee754_sqrtf): Remove.
14851 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
14852 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14853 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
14854 (__ieee754_sqrtf): Remove.
14855 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
14856 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
14859 (__ieee754_sqrt): Remove.
14860 (__ieee754_sqrtf): Remove.
14861 (__ieee754_sqrtl): Remove.
14862 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14863 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
14864 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
14865 (__ieee754_sqrtf): Remove.
14866 (__ieee754_sqrtl): Remove.
14868 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14870 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
14871 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
14872 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
14873 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
14874 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
14875 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14876 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14877 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
14879 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
14880 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
14881 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
14882 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
14883 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
14884 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
14885 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
14886 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
14887 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
14888 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
14889 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
14890 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
14891 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
14892 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
14893 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
14894 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14895 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14896 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
14897 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
14898 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
14899 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14900 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14901 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
14902 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
14903 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
14904 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
14905 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14906 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14907 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
14908 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
14909 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
14910 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
14911 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14912 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
14913 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14914 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14915 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
14916 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
14917 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
14918 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
14920 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14922 * include/math.h (sqrt): Declare with asm redirect.
14925 (sqrtf128): Likewise.
14926 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
14927 nonlib and libnldbl with -fmath-errno.
14928 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
14929 * math/w_sqrt_template.c: Likewise.
14930 * math/w_sqrtf_compat.c: Likewise.
14931 * math/w_sqrtl_compat.c: Likewise.
14932 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
14933 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
14934 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
14937 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14939 * benchtests/Makefile: Define _ISOMAC.
14940 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
14941 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
14942 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
14943 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
14944 * benchtests/bench-timing.h: Define attribute_hidden.
14946 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
14948 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
14951 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14954 * localedata/locales/cs_CZ (mon): Rename to...
14956 (mon): Import from CLDR (genitive case).
14958 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14961 * localedata/locales/el_CY (abmon): Rename to...
14962 (ab_alt_mon): This.
14963 (abmon): Import from CLDR (abbreviated genitive case).
14964 * localedata/locales/el_GR (abmon): Rename to...
14965 (ab_alt_mon): This.
14966 (abmon): Import from CLDR (abbreviated genitive case).
14968 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14971 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
14973 2018-03-15 Robert Buj <robert.buj@gmail.com>
14976 * localedata/locales/ca_ES (abmon): Rename to...
14977 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
14978 (mon): Rename to...
14980 (abmon): Import from CLDR (genitive case, month names preceded by
14983 (abday): Synchronize with CLDR.
14984 (d_t_fmt): Likewise.
14988 (LC_TIME): Improve indentation.
14989 (LC_TELEPHONE): Likewise.
14990 (LC_NAME): Likewise.
14991 (LC_ADDRESS): Likewise.
14993 2018-03-14 Joseph Myers <joseph@codesourcery.com>
14995 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
14996 (lrintf): Remove definitions used only with old GCC.
14997 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
14998 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
14999 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
15000 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
15001 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
15002 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
15003 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
15004 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
15005 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
15006 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
15007 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
15008 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
15009 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
15010 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
15011 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
15012 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
15013 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
15014 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
15015 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
15016 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
15017 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
15018 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
15019 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
15020 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
15021 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
15022 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
15023 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
15024 [__FAST_MATH__] (__M_SQRT2): Remove macro.
15026 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
15028 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
15029 instruction to unbreak builds with binutils 2.26 and older.
15031 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
15033 * sysdeps/aarch64/strncmp.S (count): New macro.
15034 (strncmp): Store misaligned length in SRC1 in COUNT.
15035 (mutual_align): Adjust.
15036 (misaligned8): Load dword at a time when it is safe.
15038 2018-03-12 Zack Weinberg <zackw@panix.com>
15042 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
15043 if the _IO_EOF_SEEN bit is already set; update commentary.
15044 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
15045 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
15047 * support/support_openpty.c, support/tty.h: New files.
15048 * support/Makefile (libsupport-routines): Add support_openpty.
15050 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
15052 * libio/Makefile (tests): Add tst-fgetc-after-eof.
15053 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
15055 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
15057 * po/pt_BR.po: Update translations.
15059 2018-03-12 David Michael <fedora.dm0@gmail.com>
15061 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
15062 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
15063 get a port to the startup server.
15065 2018-03-11 Zack Weinberg <zackw@panix.com>
15067 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
15068 before nldbl-compat.h.
15070 2018-03-10 Zack Weinberg <zackw@panix.com>
15072 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
15073 math.h or math_private.h.
15075 * sysdeps/alpha/fpu/s_isnan.c
15076 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
15077 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
15078 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
15079 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
15080 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
15081 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
15082 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
15083 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
15084 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
15085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
15086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
15087 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
15088 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
15089 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
15090 Include math_private.h.
15092 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
15093 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
15094 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
15095 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
15096 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
15097 * sysdeps/powerpc/power7/fpu/s_logb.c:
15098 Include math.h and math_private.h.
15100 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
15101 uses of $at in .set noat / .set at.
15103 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
15105 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
15106 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
15107 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
15108 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
15111 2018-03-09 Florian Weimer <fweimer@redhat.com>
15113 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
15116 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
15119 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
15120 Add nop before __startcontext, add explaining comments.
15122 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15125 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
15127 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
15128 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
15129 Do not build hardware transactional code for __SPE__.
15130 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15131 (__lll_trylock_elision): Likewise.
15132 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
15133 (__lll_unlock_elision): Likewise.
15135 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
15136 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
15137 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
15138 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
15139 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
15140 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
15141 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
15142 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
15143 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
15144 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
15145 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
15146 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
15147 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
15148 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
15149 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
15150 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
15151 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
15152 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
15153 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
15154 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
15155 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
15156 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15157 (__ASSUME_CLONE_BACKWARDS): Define.
15158 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
15159 __clone2 if __NR_clone2 is defined.
15160 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15161 (__ASSUME_CLONE_BACKWARDS): Likewise.
15162 * sysdeps/unix/sysv/linux/i386/kernel-features.h
15163 (__ASSUME_CLONE_BACKWARDS): Likewise.
15164 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15165 (__ASSUME_CLONE2): Likewise.
15166 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15167 (__ASSUME_CLONE_BACKWARDS3): Likewise.
15168 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
15169 variants and the define architecture can use.
15170 (__ASSUME_CLONE_DEFAULT): Define as default.
15171 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15172 (__ASSUME_CLONE_BACKWARDS): Likewise.
15173 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15174 (__ASSUME_CLONE_BACKWARDS): Likewise.
15175 * sysdeps/unix/sysv/linux/s390/kernel-features.h
15176 (__ASSUME_CLONE_BACKWARDS2): Likewise.
15178 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
15180 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
15182 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
15185 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
15186 (do_test_limit): Likewise.
15188 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
15189 for every implementation.
15190 (do_test): Likewise.
15192 * benchtests/bench-strncmp.c: Convert output to json.
15194 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15196 * io/futimens.c: Add missing start-of-file descriptive comment.
15197 * io/utime.c: Likewise.
15198 * misc/futimesat.c: Likewise.
15199 * misc/utimes.c: Likewise.
15200 * sysdeps/mach/hurd/futimesat.c: Likewise.
15201 * sysdeps/mach/hurd/utimes.c: Likewise.
15202 * sysdeps/posix/utime.c: Likewise.
15203 * sysdeps/posix/utimes.c: Likewise.
15204 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
15205 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
15206 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
15207 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
15209 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15211 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
15213 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
15214 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
15215 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
15216 (__futimens): Move implementation to...
15217 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
15218 utime_tvalue_from_tspec): ... new helper functions.
15219 (hurd_futimens): New function.
15220 * sysdeps/mach/hurd/futimesat.c: New file.
15221 * sysdeps/mach/hurd/utimensat.c: New file.
15223 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
15225 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
15226 UTIME_OMIT): New macros.
15227 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
15228 before reverting to converting time spec to time value and calling
15230 * sysdeps/mach/hurd/utime-helper.c: New file.
15231 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
15232 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
15233 reverting to utime_tvalue_from_tval and __file_utimes.
15234 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
15235 (__lutimes): Just call hurd_futimens after lookup.
15236 * sysdeps/mach/hurd/utimes.c: Likewise.
15238 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15240 * bits/sigaction.h: Add include guard.
15241 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
15242 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
15243 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
15244 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
15245 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
15246 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
15247 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
15248 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
15249 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
15251 2018-03-05 Joseph Myers <joseph@codesourcery.com>
15253 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
15254 -Wmaybe-uninitialized for -Os.
15255 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
15258 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15260 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
15261 __INO_T_MATCHES_INO64_T is defined.
15262 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
15263 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
15265 * dirent/alphasort64.c: Likewise.
15266 * dirent/scandir.c: Likewise.
15267 * dirent/scandir64-tail.c: Likewise.
15268 * dirent/scandir64.c: Likewise.
15269 * dirent/scandirat.c: Likewise.
15270 * dirent/scandirat64.c: Likewise.
15271 * dirent/versionsort.c: Likewise.
15272 * dirent/versionsort64.c: Likewise.
15273 * include/dirent.h: Likewise.
15275 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
15276 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
15277 for socketpair endpoint.
15278 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
15279 WRITE_BUFFER_SIZE as buffer size for sending socket.
15280 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
15281 issue on system where send is implemented with sendto syscall.
15282 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
15283 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
15284 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
15285 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
15288 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
15289 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
15290 sa_restorer for vDSO case.
15291 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
15293 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15295 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
15296 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
15297 * hurd/hurd/ioctl.h: Include <mach/port.h>
15298 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
15299 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
15300 <mach/mach_types.h> and <mach/message.h>.
15301 (headers): Move mach/param.h to bits/mach/param.h.
15302 * sysdeps/mach/i386/mach/param.h: Move file to ...
15303 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
15304 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
15306 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
15307 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
15308 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
15309 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
15310 trivial, for C++ conformity.
15311 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
15312 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
15313 Process mig output through $(migheadersed).
15314 * hurd/Makefile (migheadersed): Define variable.
15315 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
15316 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
15318 * hurd/hurd.h: Include <bits/types/sigset_t.h>
15319 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
15320 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
15321 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
15322 <bits/types/sigset_t.h>.
15323 [!defined __USE_GNU]: Do not #error out.
15324 (struct hurd_sigstate): Use _NSIG instead of NSIG.
15325 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
15326 Include <stddef.h> and <bits/types/sigset_t.h>
15327 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
15328 instead of sighandler_t.
15329 * stdlib/errno.h (error_t): Move definition to...
15330 * bits/types/error_t.h: ... new header.
15331 * stdlib/Makefile (headers): Add bits/types/error_t.h.
15332 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
15333 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
15334 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
15335 * hurd/hurd.h: Include <bits/types/error_t.h>
15336 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
15337 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
15338 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
15339 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
15340 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
15341 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
15342 * sysdeps/mach/hurd/futimens.c: New file.
15344 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
15347 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
15348 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
15349 * nscd/gai.c (__nss_hosts_database): Readd definition.
15350 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
15351 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
15352 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
15354 2018-03-02 Joseph Myers <joseph@codesourcery.com>
15356 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
15357 (ifunc_one): Likewise.
15359 2018-03-01 DJ Delorie <dj@delorie.com>
15362 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
15365 2018-03-01 Maciej W. Rozycki <macro@mips.com>
15367 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
15368 `match_pid' parameter.
15369 (td_ta_thr_iter): Update accordingly.
15371 2018-03-01 Florian Weimer <fweimer@redhat.com>
15373 * nptl/Makefile (install-lib-ldscripts): Remove.
15374 (install): Remove rule.
15375 ($(inst_libdir)/libpthread.so): Likewise.
15377 2018-03-01 Mike FABIAN <mfabian@redhat.com>
15380 * localedata/locales/an_ES: update month and day names,
15381 improve d_fmt, improve postal_fmt, add country_post,
15384 2018-03-01 Mike FABIAN <mfabian@redhat.com>
15386 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
15387 Ukrainian instead of Bulgarian.
15389 2018-03-01 Florian Weimer <fweimer@redhat.com>
15391 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
15394 2018-03-01 Florian Weimer <fweimer@redhat.com>
15396 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
15397 * nptl/Makefile (routines): Add pthread_atfork.
15398 (static-only-routines): Set to pthread_atfork.
15399 (libpthread-routines): Remove pthread_atfork.
15400 (libpthread-static-only-routines): Remove.
15401 (install): Update comment.
15402 (libpthread.so): Do not install libpthread_nonshared.a.
15403 (tests): Do not link with libpthread_nonshared.a.
15404 (generated): Remove libpthread_nonshared.a.
15405 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
15406 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
15407 with libpthread_nonshared.a.
15409 2018-02-28 Joseph Myers <joseph@codesourcery.com>
15412 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
15413 (libc_feholdexcept_setroundf128): New macro.
15414 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
15417 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
15419 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
15420 * include/inttypes.h: New file.
15422 2018-02-27 Joseph Myers <joseph@codesourcery.com>
15424 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
15425 -Os in two more places.
15427 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15429 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
15430 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
15431 be sorted correctly at the moment because of a bug.
15433 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15435 [BZ #22550] - es_ES locale (and other es_* locales): collation should
15436 treat ñ as a primary different character, sync the collation
15437 for Spanish with CLDR.
15438 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
15439 * localedata/Makefile: Add new test files.
15440 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
15441 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
15443 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
15444 * localedata/am_ET.UTF-8.in: New test file.
15445 * localedata/az_AZ.UTF-8.in: Likewise.
15446 * localedata/be_BY.UTF-8.in: Likewise.
15447 * localedata/ber_DZ.UTF-8.in: Likewise.
15448 * localedata/ber_MA.UTF-8.in: Likewise.
15449 * localedata/bg_BG.UTF-8.in: Likewise.
15450 * localedata/br_FR.UTF-8.in: Likewise.
15451 * localedata/cmn_TW.UTF-8.in: Likewise.
15452 * localedata/crh_UA.UTF-8.in: Likewise.
15453 * localedata/csb_PL.UTF-8.in: Likewise.
15454 * localedata/cv_RU.UTF-8.in: Likewise.
15455 * localedata/cy_GB.UTF-8.in: Likewise.
15456 * localedata/dz_BT.UTF-8.in: Likewise.
15457 * localedata/eo.UTF-8.in: Likewise.
15458 * localedata/es_ES.UTF-8.in: Likewise.
15459 * localedata/fa_IR.UTF-8.in: Likewise.
15460 * localedata/fi_FI.UTF-8.in: Likewise.
15461 * localedata/fil_PH.UTF-8.in: Likewise.
15462 * localedata/fur_IT.UTF-8.in: Likewise.
15463 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
15464 * localedata/ha_NG.UTF-8.in: Likewise.
15465 * localedata/ig_NG.UTF-8.in: Likewise.
15466 * localedata/ik_CA.UTF-8.in: Likewise.
15467 * localedata/kk_KZ.UTF-8.in: Likewise.
15468 * localedata/ku_TR.UTF-8.in: Likewise.
15469 * localedata/ky_KG.UTF-8.in: Likewise.
15470 * localedata/ln_CD.UTF-8.in: Likewise.
15471 * localedata/mi_NZ.UTF-8.in: Likewise.
15472 * localedata/ml_IN.UTF-8.in: Likewise.
15473 * localedata/mn_MN.UTF-8.in: Likewise.
15474 * localedata/mr_IN.UTF-8.in: Likewise.
15475 * localedata/mt_MT.UTF-8.in: Likewise.
15476 * localedata/nb_NO.UTF-8.in: Likewise.
15477 * localedata/om_KE.UTF-8.in: Likewise.
15478 * localedata/os_RU.UTF-8.in: Likewise.
15479 * localedata/ps_AF.UTF-8.in: Likewise.
15480 * localedata/ro_RO.UTF-8.in: Likewise.
15481 * localedata/ru_RU.UTF-8.in: Likewise.
15482 * localedata/sc_IT.UTF-8.in: Likewise.
15483 * localedata/se_NO.UTF-8.in: Likewise.
15484 * localedata/sq_AL.UTF-8.in: Likewise.
15485 * localedata/sv_SE.UTF-8.in: Likewise.
15486 * localedata/szl_PL.UTF-8.in: Likewise.
15487 * localedata/tg_TJ.UTF-8.in: Likewise.
15488 * localedata/tk_TM.UTF-8.in: Likewise.
15489 * localedata/tt_RU.UTF-8.in: Likewise.
15490 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
15491 * localedata/ug_CN.UTF-8.in: Likewise.
15492 * localedata/uz_UZ.UTF-8.in: Likewise.
15493 * localedata/vi_VN.UTF-8.in: Likewise.
15494 * localedata/yi_US.UTF-8.in: Likewise.
15495 * localedata/yo_NG.UTF-8.in: Likewise.
15496 * localedata/zh_CN.UTF-8.in: Likewise.
15497 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
15498 file and fix bugs in the collation.
15499 * localedata/locales/az_AZ: Likewise.
15500 * localedata/locales/be_BY: Likewise.
15501 * localedata/locales/ber_DZ: Likewise.
15502 * localedata/locales/ber_MA: Likewise.
15503 * localedata/locales/bg_BG: Likewise.
15504 * localedata/locales/br_FR: Likewise.
15505 * localedata/locales/br_FR@euro: Likewise.
15506 * localedata/locales/ca_ES: Likewise.
15507 * localedata/locales/cns11643_stroke: Likewise.
15508 * localedata/locales/crh_UA: Likewise.
15509 * localedata/locales/cs_CZ: Likewise.
15510 * localedata/locales/csb_PL: Likewise.
15511 * localedata/locales/cv_RU: Likewise.
15512 * localedata/locales/cy_GB: Likewise.
15513 * localedata/locales/da_DK: Likewise.
15514 * localedata/locales/dz_BT: Likewise.
15515 * localedata/locales/en_CA: Likewise.
15516 * localedata/locales/eo: Likewise.
15517 * localedata/locales/es_CU: Likewise.
15518 * localedata/locales/es_EC: Likewise.
15519 * localedata/locales/es_ES: Likewise.
15520 * localedata/locales/es_US: Likewise.
15521 * localedata/locales/et_EE: Likewise.
15522 * localedata/locales/fa_IR: Likewise.
15523 * localedata/locales/fi_FI: Likewise.
15524 * localedata/locales/fil_PH: Likewise.
15525 * localedata/locales/fur_IT: Likewise.
15526 * localedata/locales/gez_ER@abegede: Likewise.
15527 * localedata/locales/ha_NG: Likewise.
15528 * localedata/locales/hr_HR: Likewise.
15529 * localedata/locales/hsb_DE: Likewise.
15530 * localedata/locales/hu_HU: Likewise.
15531 * localedata/locales/ig_NG: Likewise.
15532 * localedata/locales/ik_CA: Likewise.
15533 * localedata/locales/is_IS: Likewise.
15534 * localedata/locales/iso14651_t1_pinyin: Likewise.
15535 * localedata/locales/kk_KZ: Likewise.
15536 * localedata/locales/ku_TR: Likewise.
15537 * localedata/locales/ky_KG: Likewise.
15538 * localedata/locales/ln_CD: Likewise.
15539 * localedata/locales/lt_LT: Likewise.
15540 * localedata/locales/lv_LV: Likewise.
15541 * localedata/locales/mi_NZ: Likewise.
15542 * localedata/locales/ml_IN: Likewise.
15543 * localedata/locales/mn_MN: Likewise.
15544 * localedata/locales/mr_IN: Likewise.
15545 * localedata/locales/mt_MT: Likewise.
15546 * localedata/locales/nb_NO: Likewise.
15547 * localedata/locales/om_KE: Likewise.
15548 * localedata/locales/os_RU: Likewise.
15549 * localedata/locales/pl_PL: Likewise.
15550 * localedata/locales/ps_AF: Likewise.
15551 * localedata/locales/ro_RO: Likewise.
15552 * localedata/locales/ru_RU: Likewise.
15553 * localedata/locales/ru_UA: Likewise.
15554 * localedata/locales/sc_IT: Likewise.
15555 * localedata/locales/se_NO: Likewise.
15556 * localedata/locales/si_LK: Likewise.
15557 * localedata/locales/sq_AL: Likewise.
15558 * localedata/locales/sv_FI: Likewise.
15559 * localedata/locales/sv_FI@euro: Likewise.
15560 * localedata/locales/sv_SE: Likewise.
15561 * localedata/locales/szl_PL: Likewise.
15562 * localedata/locales/tg_TJ: Likewise.
15563 * localedata/locales/ti_ER: Likewise.
15564 * localedata/locales/tk_TM: Likewise.
15565 * localedata/locales/tl_PH: Likewise.
15566 * localedata/locales/tr_TR: Likewise.
15567 * localedata/locales/tt_RU: Likewise.
15568 * localedata/locales/tt_RU@iqtelif: Likewise.
15569 * localedata/locales/ug_CN: Likewise.
15570 * localedata/locales/uk_UA: Likewise.
15571 * localedata/locales/uz_UZ: Likewise.
15572 * localedata/locales/uz_UZ@cyrillic: Likewise.
15573 * localedata/locales/vi_VN: Likewise.
15574 * localedata/locales/yi_US: Likewise.
15575 * localedata/locales/yo_NG: Likewise.
15577 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15579 * gen-locales.mk: Make test files which contain @ modifiers in their
15581 * localedata/gen-locale.sh: Likewise.
15583 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15585 * posix/tst-fnmatch.input: Fix results for range expressions
15587 * posix/tst-regexloc.c: Do not use a range expression for
15588 de_DE.ISO-8859-1 locale.
15590 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15592 * posix/bug-regex5.c: Fix test case because with the new
15593 iso14651_t1_common file, the da_DK locale now has 6 collating elements
15594 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
15597 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15599 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
15600 downloaded from ISO, the collation order of @-. and space has changed.
15601 Therefore, this test file needed to be adapted.
15602 * localedata/fr_CA.UTF-8.in: Likewise.
15603 * localedata/fr_FR.UTF-8.in: Likewise.
15604 * localedata/uk_UA.UTF-8.in: Likewise.
15606 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15608 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
15609 order of ȥ in the new iso14651_t1_common file.
15610 * localedata/pl_PL.UTF-8.in: Likewise.
15612 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15614 * localedata/locales/iso14651_t1_common: Add sections for various
15615 scripts to the iso14651_t1_common file.
15617 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15619 * localedata/locales/iso14651_t1_common: Use the code point of a
15620 character in the fourth collation level instead of IGNORE for all
15621 entries which have IGNORE on all 4 levels.
15623 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15625 * localedata/locales/iso14651_t1_common: Add some convenient collation
15626 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
15627 rules similar to those in CLDR.
15629 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15631 * localedata/locales/iso14651_t1_common: The new version of this
15632 file downloaded from ISO contained several syntax errors which
15633 are fixed by this patch.
15635 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15637 * localedata/locales/iso14651_t1_common: replace all <U.....>
15638 with <U000.....> because glibc understands only 4 digit or 8 digit
15640 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15642 * localedata/locales/iso14651_t1_common: Necessary changes
15643 to make the file downloaded from ISO usable by glibc.
15645 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15648 * localedata/locales/iso14651_t1_common: Update file to
15649 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
15651 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15653 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
15654 of <nptl/pthreadP.h>
15655 (thread_attr_compare): Move function to...
15656 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
15657 * sysdeps/nptl/timer_routines.h: ... new header.
15658 * sysdeps/mach/hurd/gai_misc.h: New file.
15660 2018-02-26 Joseph Myers <joseph@codesourcery.com>
15662 * string/strcoll_l.c: Include <libc-diag.h>.
15663 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
15664 declarations of seq1 and seq2.
15667 * stdlib/atoi.c (atoi): Use libc_hidden_def.
15668 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
15670 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
15674 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
15675 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
15676 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
15677 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
15678 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
15679 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
15681 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15683 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
15684 macros used in __ptrace_request.
15686 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
15689 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
15691 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
15692 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
15693 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
15696 2018-02-23 Joseph Myers <joseph@codesourcery.com>
15699 * ctype/ctype.c (tolower): Use libc_hidden_def.
15700 (toupper): Likewise.
15701 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
15702 [!_ISOMAC] (toupper): Likewise.
15704 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15706 * localedata/Makefile: Remove --quiet argument when
15709 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15712 * localedata/locales/pt_BR (LC_TIME): use / instead of -
15714 * localedata/locales/pt_PT (LC_TIME): likewise
15716 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15719 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
15720 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
15721 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
15723 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15725 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15727 * nptl/Makefile (routines): Remove unregister-atfork.
15728 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
15729 (fork_handler_alloc): Remove function.
15730 (fork_handlers, fork_handler_init): New variables.
15731 (__fork_lock): Rename to atfork_lock.
15732 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
15733 to use a dynamic array to add/remove atfork handlers.
15734 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15735 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
15736 Remove declaration.
15737 (fork_handler): Remove next, refcntr, and need_signal member.
15738 (__run_fork_handler_type): New enum.
15739 (__run_fork_handlers): New prototype.
15740 * nptl/register-atfork.c: Remove file.
15741 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
15743 * sysdeps/nptl/nptl-signals.h: Move to ...
15744 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
15746 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
15747 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
15748 unnecessary check for SIGTIMER.
15749 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
15750 remove unnecessary removal of SIGTIMER.
15751 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
15752 include-signals.h rename.
15753 * nptl/pthreadP.h: Likewise.
15754 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
15755 __is_internal_signal instead of __nptl_is_internal_signal.
15757 2018-02-22 Andrew Waterman <andrew@sifive.com>
15760 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
15761 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
15762 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
15763 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
15765 2018-02-22 DJ Delorie <dj@delorie.com>
15767 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
15769 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
15771 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
15772 do_misaligned, not misaligned8.
15774 2018-02-22 Steve Ellcey <sellcey@cavium.com>
15776 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
15777 Add memcpy_thunderx2.
15778 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
15780 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
15781 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
15782 and IS_THUNDERX2PA checks.
15783 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
15784 Use macro to set name appropriately.
15785 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
15786 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
15787 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
15789 (IS_THUNDERX2): New macro.
15791 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
15793 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15795 2018-02-21 Zack Weinberg <zackw@panix.com>
15797 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
15798 Define here, unconditionally.
15799 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
15800 * libio/libioP.h: Remove #if 0 blocks.
15801 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
15802 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
15803 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
15805 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
15806 Assume weak_alias is always defined.
15808 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
15809 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
15810 Remove #if 0 and #ifdef TODO blocks.
15811 Assume text_set_element is always defined.
15813 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
15814 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
15815 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
15817 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
15818 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
15819 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
15820 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
15821 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
15822 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
15823 Reformat bit flags for _flags field to make occupancy clearer.
15825 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
15826 Keep definitions consistent with those in libio/libio.h.
15828 * libio/libio.h (_IO_file_flags): Remove macro.
15829 All uses changed to _flags.
15831 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
15832 (__HAVE_COLUMN, _IO_BE): Don't define.
15833 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
15834 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
15835 * libio/libioP.h (EOF): Don't define.
15836 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
15837 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
15838 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
15839 testing _IO_UNIFIED_JUMPTABLES.
15841 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
15842 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
15843 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
15844 (_IO_size_t): Delete; all uses changed to size_t.
15845 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
15846 (_IO_off_t): Delete; all uses changed to off_t.
15847 (_IO_off64_t): Delete; all uses changed to off64_t.
15848 (_IO_pid_t): Delete; all uses changed to pid_t.
15849 (_IO_uid_t): Delete; all uses changed to uid_t.
15850 (_IO_wint_t): Delete; all uses changed to wint_t.
15851 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
15852 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
15853 (_IO_cookie_io_functions_t): Delete; all uses changed to
15854 cookie_io_functions_t.
15855 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
15856 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
15857 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
15858 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
15860 * libio/iofopncook.c: Remove unnecessary forward declarations.
15861 * libio/iolibio.h: Correct outdated commentary.
15862 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
15863 * stdio-common/fxprintf.c (__fxprintf_nocancel):
15864 Remove unnecessary casts.
15865 * stdio-common/getline.c: Use _IO_getdelim directly.
15866 Don't redefine ssize_t.
15867 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
15868 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
15869 Remove outdated comments.
15870 * stdio-common/vfscanf.c: Don't redefine va_list.
15872 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
15873 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
15874 Remove preprocessor conditionals on _LIBC and __USE_GNU,
15875 which are always true, and __cplusplus, which is always false.
15877 2018-02-21 Joseph Myers <joseph@codesourcery.com>
15881 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
15882 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
15883 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
15884 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
15886 [!_ISOMAC] (putc_unlocked): Likewise.
15887 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
15888 define inline if [__USE_EXTERN_INLINES].
15889 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
15894 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
15895 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
15896 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
15897 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
15898 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
15900 * time/tzfile.c (__tzfile_read): Likewise.
15902 2018-02-21 Mike FABIAN <mfabian@redhat.com>
15905 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
15907 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
15909 * io/fcntl.h: Fix a typo in a comment.
15911 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
15914 * include/features.h: Add _ISOC11_SOURCE to test for whether to
15915 define _DEFAULT_SOURCE.
15916 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
15918 2018-02-21 Florian Weimer <fweimer@redhat.com>
15921 * elf/cache.c (save_cache): Call fsync on temporary file before
15923 (save_aux_cache): Call fdatasync on temporary file before renaming
15926 2018-02-21 Florian Weimer <fweimer@redhat.com>
15929 * include/caller.h: Remove file.
15930 * elf/dl-caller.c: Likewise.
15931 * elf/Makefile (dl-routines): Remove dl-caller.
15932 (shared-only-routines): Do not add dl-caller.
15933 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
15935 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
15937 (dl_open_worker): Do not call __check_caller.
15938 (_dl_open): Do not set caller_dl_open member.
15939 * elf/rtld.c (_rtld_global_ro): Do not initialize
15940 _dl_check_caller member.
15941 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
15942 _dl_check_caller member.
15943 (_dl_check_caller): Remove declaration.
15944 * sysdeps/unix/sysv/linux/dl-execstack.c
15945 (_dl_make_stack_executable): Do not call __check_caller.
15947 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
15949 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
15950 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
15952 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
15954 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
15957 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
15960 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
15961 of 199606L, 200112L, and 200809L.
15962 (_XOPEN_SOURCE): Document special values of 600 and 700.
15963 (_ISOC11_SOURCE): Document macro.
15964 (_ATFILE_SOURCE): Likewise.
15965 (_FORTIFY_SOURCE): Likewise.
15967 2018-02-19 Joseph Myers <joseph@codesourcery.com>
15971 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
15972 and define as weak alias of __ferror_unlocked. Use
15974 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
15976 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
15977 function if [__USE_EXTERN_INLINES].
15978 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
15981 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
15984 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
15986 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
15989 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
15990 the GLIBC_2.1 version.
15992 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
15995 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
15996 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
15997 intl/tst-gettext-de.po from po/de.po by removing the
15998 POT-Creation-Date line.
15999 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
16001 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
16004 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
16006 * mach/Makefile (headers): Add mach/param.h.
16007 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
16008 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
16009 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
16010 (__ptsname_r): Move implementation to...
16011 (__ptsname_internal): ... new function. Add filling the STP
16014 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
16016 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
16019 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
16021 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
16024 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
16026 * nptl/Makefile (tst-mutex8-ENV): Delete.
16027 * nptl/tst-mutex8.c (check_type):
16028 Add runtime check if mutex will be elided.
16030 2018-02-15 Joseph Myers <joseph@codesourcery.com>
16034 * manual/install.texi (Configuring and compiling): Describe
16035 passing CC and CFLAGS on configure command line, not as
16036 environment variables. Use @code markup on those variables.
16037 Specify what options go in CC and what go in CFLAGS. Note the
16038 requirement to compile with optimization.
16039 * INSTALL: Regenerated.
16042 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
16043 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
16044 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
16045 __sigprocmask instead of sigprocmask.
16046 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
16048 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
16049 __sigsetjmp and sigprocmask.
16052 * include/argz.h (argz_next): Use libc_hidden_proto.
16053 (__argz_next): Likewise.
16054 * string-argz-next.c (__argz_next): Use libc_hidden_def.
16055 (argz_next): Use libc_hidden_weak.
16058 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
16060 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
16064 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
16066 * libio/iofputs.c (fputs): Use libc_hidden_weak.
16070 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
16071 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
16072 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
16073 (__feof_unlocked): New declaration, and inline function if
16074 [__USE_EXTERN_INLINES].
16075 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
16076 instead of feof_unlocked.
16077 * intl/localealias.c [_LIBC] (FEOF): Likewise.
16078 * nss/nsswitch.c (nss_parse_file): Likewise.
16079 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
16081 * time/getdate.c (__getdate_r): Likewise.
16082 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
16083 Define as macro to call __feof_unlocked.
16085 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
16087 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
16089 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
16091 * math/Makefile: Remove mpexp.c and mplog.c
16092 * sysdeps/i386/fpu/mpexp.c: Delete file.
16093 * sysdeps/i386/fpu/mplog.c: Likewise.
16094 * sysdeps/ia64/fpu/mpexp.c: Likewise.
16095 * sysdeps/ia64/fpu/mplog.c: Likewise.
16096 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
16097 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
16098 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
16099 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16100 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
16101 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
16102 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
16103 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
16104 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
16105 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16106 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
16107 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
16108 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16109 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
16110 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
16111 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16113 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
16115 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16117 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16119 * sysdeps/sh/libm-test-ulps: Update.
16121 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16123 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
16126 2018-02-12 Zack Weinberg <zackw@panix.com>
16129 * posix/sys/types.h: Don't include sys/sysmacros.h.
16130 * misc/sys/sysmacros.h: Remove the conditional deprecation
16131 warnings for the macros defined by this header.
16133 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
16135 * manual/probes.texi: Remove slowexp probes.
16136 * math/Makefile: Remove slowexp.
16137 * sysdeps/generic/math_private.h (__slowexp): Remove.
16138 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
16139 document error bounds.
16140 * sysdeps/i386/fpu/slowexp.c: Remove.
16141 * sysdeps/ia64/fpu/slowexp.c: Remove.
16142 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
16143 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
16144 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
16145 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
16146 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
16147 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
16148 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
16149 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
16150 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
16151 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
16152 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
16154 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
16157 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
16158 * benchtests/pow-inputs: Update comment for slow path cases.
16159 * manual/probes.texi (slowpow_p10): Delete removed probe.
16160 (slowpow_p10): Likewise.
16161 * math/Makefile: Remove halfulp.c and slowpow.c.
16162 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
16163 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
16164 (__halfulp): Remove.
16165 (__slowpow): Remove.
16166 * sysdeps/i386/fpu/halfulp.c: Delete file.
16167 * sysdeps/i386/fpu/slowpow.c: Likewise.
16168 * sysdeps/ia64/fpu/halfulp.c: Likewise.
16169 * sysdeps/ia64/fpu/slowpow.c: Likewise.
16170 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
16171 improve comments and add error analysis.
16172 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
16173 (power1): Remove function:
16174 (log1): Remove error argument, add error analysis.
16175 (my_log2): Remove function.
16176 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
16177 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16178 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
16179 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
16180 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
16181 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
16182 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
16183 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
16184 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
16185 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
16186 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
16187 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16188 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
16189 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16191 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
16193 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
16194 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
16196 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
16199 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
16200 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
16201 and PTRACE_SETHBPREGS.
16203 2018-02-10 Zack Weinberg <zackw@panix.com>
16206 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
16208 * malloc/tst-malloc-stats-cancellation.c: New test case.
16209 * malloc/Makefile: Add new test case.
16211 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
16213 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
16215 2018-02-10 Joseph Myers <joseph@codesourcery.com>
16217 * math/Makefile (libm-narrow-fns): Add add.
16218 (libm-test-funcs-narrow): Likewise.
16219 * math/Versions (GLIBC_2.28): Add narrowing add functions.
16220 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
16221 * math/gen-auto-libm-tests.c (test_functions): Add add.
16222 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
16223 (NARROW_ADD_ROUND_TO_ODD): Likewise.
16224 (NARROW_ADD_TRIVIAL): Likewise.
16225 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
16227 (__daddl): Likewise.
16228 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
16230 (CFLAGS-nldbl-dadd.c): New variable.
16231 (CFLAGS-nldbl-fadd.c): Likewise.
16232 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16234 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
16236 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
16237 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
16238 * math/auto-libm-test-in: Add tests of add.
16239 * math/auto-libm-test-out-narrow-add: New generated file.
16240 * math/libm-test-narrow-add.inc: New file.
16241 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
16242 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
16243 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
16244 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
16245 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
16246 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
16247 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
16248 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
16249 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
16250 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
16251 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
16252 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
16253 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
16254 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
16255 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
16256 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
16257 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
16258 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
16259 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16260 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16261 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16262 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16263 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16264 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16265 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16266 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16267 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16268 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16269 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16270 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16271 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16272 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16277 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16278 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16279 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16280 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16281 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16282 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16283 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
16284 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
16285 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16286 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16288 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
16289 (f128-pairs): New variable.
16290 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
16291 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
16293 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
16294 Also make tests add $(f128-loader-link) to gnulib-tests.
16296 2018-02-09 DJ Delorie <dj@redhat.com>
16299 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
16300 64-bit ELF type for 64-bit ELF objects.
16302 2018-02-09 Joseph Myers <joseph@codesourcery.com>
16304 * math/libm-test-driver.c (snan_tests_arg): New variable.
16305 * math/libm-test-support.h (snan_tests_arg): New declaration.
16306 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
16308 * math/Makefile (test-type-pairs): New variable.
16309 (test-type-pairs-f64xf128-yes): Likewise.
16310 (tests): Add test-narrow-macros.
16311 (libm-test-funcs-narrow): New variable.
16312 (libm-test-c-narrow): Likewise.
16313 (generated): Add $(libm-test-c-narrow).
16314 (libm-tests-base-narrow): New variable.
16315 (libm-tests-narrow): Likewise.
16316 (libm-tests): Add $(libm-tests-narrow).
16317 (libm-tests-for-type): Handle $(libm-tests-narrow).
16318 (libm-test-c-narrow-obj): New variable.
16319 ($(libm-test-c-narrow-obj)): New rule.
16320 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
16321 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
16322 $(o-iterator) to set dependencies and CFLAGS.
16323 * math/gen-auto-libm-tests.c: Document use for narrowing
16325 (output_for_one_input_case): Take argument NARROW.
16326 (generate_output): Likewise. Update call to
16327 output_for_one_input_case.
16328 (main): Take --narrow option. Update call to generate_output.
16329 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
16330 (apply_lit): Update call to _apply_lit.
16331 (apply_arglit): New function.
16332 (parse_args): Handle "a" arguments.
16333 (parse_auto_input): Handle format names using ":".
16334 * math/README.libm-test: Document "a" parameter type.
16335 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
16336 (ARG_TYPE_TRUE_MIN): Likewise.
16337 (ARG_TYPE_MAX): Likwise.
16338 (ARG_MIN_EXP): Likewise.
16339 (ARG_MAX_EXP): Likewise.
16340 (ARG_MANT_DIG): Likewise.
16341 (TEST_COND_arg_ibm128): Likewise.
16342 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
16343 (TEST_COND_arg_fmt): New macro.
16344 (init_max_error): Update prototype.
16345 * math/libm-test-support.c (test_ibm128): New variable.
16346 (init_max_error): Take argument testing_ibm128 and set test_ibm128
16347 instead of using [TEST_COND_ibm128] conditional.
16348 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
16349 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
16350 [TEST_NARROW] (TEST_MSG): New definition.
16351 (arg_plus_zero): New macro.
16352 (arg_minus_zero): Likewise.
16353 (arg_plus_infty): Likewise.
16354 (arg_minus_infty): Likewise.
16355 (arg_qnan_value_pl): Likewise.
16356 (arg_qnan_value): Likewise.
16357 (arg_snan_value_pl): Likewise.
16358 (arg_snan_value): Likewise.
16359 (arg_max_value): Likewise.
16360 (arg_min_value): Likewise.
16361 (arg_min_subnorm_value): Likewise.
16362 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
16363 (RUN_TEST_LOOP_aa_f): New macro.
16364 (TEST_SUFF): New macro.
16365 (TEST_SUFF_STR): Likewise.
16366 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
16367 (TEST_COND_any_ibm128): New macro.
16368 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
16369 this_func. Update call to init_max_error.
16370 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
16371 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
16372 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
16373 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
16374 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
16375 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
16376 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
16377 * math/test-math-scalar.h (TEST_NARROW): Likewise.
16378 * math/test-math-vector.h (TEST_NARROW): Likewise.
16379 * math/test-arg-double.h: New file.
16380 * math/test-arg-float128.h: Likewise.
16381 * math/test-arg-float32x.h: Likewise.
16382 * math/test-arg-float64.h: Likewise.
16383 * math/test-arg-float64x.h: Likewise.
16384 * math/test-arg-ldouble.h: Likewise.
16385 * math/test-math-narrow.h: Likewise.
16386 * math/test-narrow-macros.c: Likewise.
16387 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
16388 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
16389 test-narrow-macros-ldbl-64.
16390 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
16392 * math/bits/mathcalls-narrow.h: New file.
16393 * include/bits/mathcalls-narrow.h: Likewise.
16394 * math/math-narrow.h: Likewise.
16395 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
16396 (__MATHCALL_NARROW_ARGS_2): Likewise.
16397 (__MATHCALL_NARROW_ARGS_3): Likewise.
16398 (__MATHCALL_NARROW_NORMAL): Likewise.
16399 (__MATHCALL_NARROW_REDIR): Likewise.
16400 (__MATHCALL_NARROW): Likewise.
16401 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
16402 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
16404 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
16405 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
16406 (libm-narrow-fns): New variable.
16407 (libm-narrow-types-basic): Likewise.
16408 (libm-narrow-types-ldouble-yes): Likewise.
16409 (libm-narrow-types-float128-yes): Likewise.
16410 (libm-narrow-types-float128-alias-yes): Likewise.
16411 (libm-narrow-types): Likewise.
16412 (libm-routines): Add narrowing functions.
16413 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
16414 (libc_feholdexcept_setroundf128): New macro.
16415 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
16416 * sysdeps/ieee754/float128/float128_private.h: Include
16417 <math/math-narrow.h>.
16418 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
16419 Undefine and redefine.
16420 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
16421 (libm_alias_float_ldouble): Undefine and redefine.
16422 (libm_alias_double_ldouble): Likewise.
16424 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
16426 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
16428 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
16431 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
16433 * manual/creature.texi: Convert references to gcc.info to gcc.
16434 * manual/stdio.texi: Likewise.
16435 * manual/string.texi: Likewise.
16437 2018-02-07 Joseph Myers <joseph@codesourcery.com>
16440 * posix/bits/types.h (__int_least8_t): New typedef.
16441 (__uint_least8_t): Likewise.
16442 (__int_least16_t): Likewise.
16443 (__uint_least16_t): Likewise.
16444 (__int_least32_t): Likewise.
16445 (__uint_least32_t): Likewise.
16446 (__int_least64_t): Likewise.
16447 (__uint_least64_t): Likewise.
16448 * sysdeps/generic/stdint.h (int_least8_t): Define using
16450 (int_least16_t): Define using __int_least16_t.
16451 (int_least32_t): Define using __int_least32_t.
16452 (int_least64_t): Define using __int_least64_t.
16453 (uint_least8_t): Define using __uint_least8_t.
16454 (uint_least16_t): Define using __uint_least16_t.
16455 (uint_least32_t): Define using __uint_least32_t.
16456 (uint_least64_t): Define using __uint_least64_t.
16457 * wcsmbs/uchar.h: Include <bits/types.h>.
16458 (char16_t): Define using __uint_least16_t conditional only on
16460 (char32_t): Define using __uint_least32_t conditional only on
16462 * wcsmbs/test-char-types.c: New file.
16463 * wcsmbs/Makefile (tests): Add test-char-types.
16465 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
16468 2018-02-07 Zack Weinberg <zackw@panix.com>
16470 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
16471 Delete all contents except for definitions of _G_HAVE_MMAP and
16472 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
16473 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
16474 sysdeps/unix/sysv/linux/_G_config.h. Make same content
16477 * libio/libio.h: Don't include bits/_G_config.h here.
16478 Include stddef.h with __need_wchar_t defined. Include
16479 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
16480 Define _IO_iconv_t here, directly.
16481 Don't define _IO_HAVE_ST_BLKSIZE.
16482 * libio/libioP.h: Include _G_config.h here. Move include of
16483 shlib-compat.h up with rest of includes. Simplify conditionals
16484 controlling definition of _IO_JUMPS_OFFSET.
16486 * csu/init.c: Remove always-true #if around entire file.
16487 Don't include stdio.h. Set _IO_stdin_used to hardwired
16488 constant 0x20001, and update commentary.
16489 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
16490 Replace all uses of _G_va_list with __gnuc_va_list.
16491 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
16492 instead of #if _IO_HAVE_ST_BLKSIZE.
16493 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
16494 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
16497 * libio/bits/libio.h: Move back to libio/libio.h and adjust
16498 multiple-include guard to match.
16499 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
16501 Remove preprocessor conditionals that are always true and/or
16502 redundant to other preprocessor conditionals in the same nest.
16503 Include shlib-compat.h unconditionally.
16504 Error out if _LIBC is not defined, or if _ISOMAC is defined,
16505 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
16506 defined after including stdio.h.
16507 Use __BEGIN_DECLS/__END_DECLS.
16509 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
16510 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
16511 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
16513 2018-02-07 Zack Weinberg <zackw@panix.com>
16515 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
16516 New single-type headers split from _G_config.h.
16517 * libio/bits/types/cookie_io_functions_t.h
16518 * libio/bits/types/struct_FILE.h
16519 New single-type headers split from libio.h.
16521 * libio/Makefile: Install the above new headers. Don't install
16522 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
16524 * libio/_G_config.h, libio/libio.h: Delete file.
16526 * libio/bits/libio.h: Remove improper-inclusion guard.
16527 Include stdio.h and don't repeat anything that it does.
16528 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
16529 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
16530 __io_read_fn as cookie_read_function_t,
16531 __io_write_fn as cookie_write_function_t,
16532 __io_seek_fn as cookie_seek_function_t,
16533 __io_close_fn as cookie_close_function_t,
16534 and _IO_cookie_io_functions_t as cookie_io_functions_t.
16535 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
16536 here, in the "compatibility defines" section. Remove an #if 0
16537 block. Use the "body" macros from bits/types/struct_FILE.h to
16538 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
16539 and _IO_ferror_unlocked.
16540 Move prototypes of __uflow and __overflow...
16542 * libio/stdio.h: ...here. Don't include bits/libio.h.
16543 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
16544 directly from stdarg.h. Include bits/types/__fpos_t.h,
16545 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
16546 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
16547 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
16548 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
16549 cookie_io_functions_t, not _IO_cookie_io_functions_t;
16550 __ssize_t, not _IO_ssize_t. Unconditionally define
16551 BUFSIZ as 8192 and EOF as (-1).
16553 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
16554 macros from bits/types/struct_FILE.h instead of _IO_* macros
16555 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
16556 instead of _IO_ssize_t.
16557 * libio/bits/stdio2.h: Similarly.
16559 * libio/iolibio.h: Add multiple-include guard.
16560 Include bits/libio.h after stdio.h.
16561 * libio/libioP.h: Add multiple-include guard.
16562 Include stdio.h and bits/libio.h before iolibio.h.
16564 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
16565 * include/bits/types/cookie_io_functions_t.h
16566 * include/bits/types/struct_FILE.h: New wrappers.
16568 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
16569 Get definitions of _G_fpos_t and _G_fpos64_t from
16570 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
16571 respectively. Remove improper-inclusion guards.
16573 * conform/data/stdio.h-data: Update expectations of va_list.
16574 * scripts/check-installed-headers.sh: Remove special case for
16575 libio.h and _G_config.h.
16577 2018-02-07 Joseph Myers <joseph@codesourcery.com>
16581 * include/sys/sysmacros.h [!_ISOMAC]
16582 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
16583 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
16584 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
16585 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
16587 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
16588 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
16590 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
16591 Undefine and redefine to add use __gnu_dev_ prefix.
16592 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
16594 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
16595 and define as hidden inline function.
16596 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
16598 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
16600 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
16601 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
16602 (gnu_dev_minor): Likewise.
16603 (gnu_dev_makedev): Likewise.
16604 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
16606 * posix/wordexp.c (exec_comm_child): Likewise.
16607 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
16608 instead of minor and __gnu_dev_major instead of major.
16609 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
16610 __gnu_dev_major instead of major.
16611 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
16612 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
16613 instead of gnu_dev_minor.
16614 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
16615 (SLAVE_P): Likewise.
16616 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
16617 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
16621 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
16623 * locale/weightwc.h (findidx): Likewise.
16625 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
16627 * manual/probes.texi (slowlog): Delete documentation of removed probe.
16628 (slowlog_inexact): Likewise
16629 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
16630 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
16632 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
16635 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
16636 missing second underscore to parameter name.
16638 2018-02-06 Joseph Myers <joseph@codesourcery.com>
16644 * bits/byteswap.h: Update file comment. Do not include
16645 <bits/byteswap-16.h>.
16646 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
16648 (__bswap_16): Define as inline function.
16649 (__bswap_constant_32): Reformat definition.
16650 (__bswap_32): Always define as inline function, not macro, using
16651 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
16652 otherwise __bswap_constant_32.
16653 (__bswap_constant_64): Reformat definition. Do not use
16654 __extension__ here.
16655 (__bswap_64): Always define as inline function, not macro. Use
16656 __extension__ on function definition. Use __builtin_bswap64 if
16657 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
16658 * string/test-endian-file-scope.c: New file.
16659 * string/test-endian-sign-conversion.c: Likewise.
16660 * string/Makefile (headers): Remove bits/byteswap-16.h.
16661 (tests): Add test-endian-file-scope and
16662 test-endian-sign-conversion.
16663 (CFLAGS-test-endian-sign-conversion.c): New variable.
16664 * bits/byteswap-16.h: Remove file.
16665 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
16666 * sysdeps/ia64/bits/byteswap.h: Likewise.
16667 * sysdeps/m68k/bits/byteswap.h: Likewise.
16668 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16669 * sysdeps/s390/bits/byteswap.h: Likewise.
16670 * sysdeps/tile/bits/byteswap.h: Likewise.
16671 * sysdeps/x86/bits/byteswap-16.h: Likewise.
16672 * sysdeps/x86/bits/byteswap.h: Likewise.
16675 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
16676 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
16677 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
16678 199901L] (__restrict): Define to restrict.
16681 * string/testcopy.c: Include <support/support.h>. Do not include
16682 <malloc.h>. Use <support/test-driver.c>.
16683 (main): Rename to do_test. Make static. Use xmalloc instead of
16687 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
16688 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
16689 (SSIZE_MAX): Define to INT_MAX.
16690 * posix/test-ssize-max.c: New file.
16691 * posix/Makefile (tests): Add test-ssize-max.
16694 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
16695 <support/support.h>. Do not include <malloc.h>.
16696 (query_auxv): Use xmalloc instead of malloc.
16699 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
16700 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
16703 2018-02-06 Florian Weimer <fweimer@redhat.com>
16706 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16707 Use scratch_buffer instead of extend_alloca.
16709 2018-02-06 Zack Weinberg <zackw@panix.com>
16711 * libio/stdio.h: Don't define getc or putc as macros.
16712 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
16713 not _IO_getc and _IO_putc.
16715 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
16716 * stdio-common/tstgetln.c: Don't redefine ssize_t.
16718 2018-02-06 Joseph Myers <joseph@codesourcery.com>
16720 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
16721 (TCP_FASTOPEN_NO_COOKIE): Likewise.
16723 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
16726 * elf/elf.h (NT_PRFPREG): New macro.
16727 (NT_S390_VXRS_LOW): Likewise.
16728 (NT_S390_VXRS_HIGH): Likewise.
16729 (NT_S390_GS_CB): Likewise.
16730 (NT_S390_GS_BC): Likewise.
16731 (NT_S390_RI_CB): Likewise.
16733 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
16734 (MAP_SYNC): New macro.
16735 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
16737 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
16738 (MAP_SYNC): Likewise.
16739 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
16740 (MAP_SYNC): Likewise.
16741 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
16742 (MAP_SYNC): Likewise.
16743 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
16744 (MAP_SYNC): Likewise.
16745 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
16746 (MAP_SYNC): Likewise.
16747 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
16748 (MAP_SYNC): Likewise.
16749 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
16751 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
16754 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
16755 (MAP_SHARED_VALIDATE): New macro.
16756 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16757 (MAP_SHARED_VALIDATE): Likewise.
16759 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16761 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
16762 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
16763 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
16765 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16767 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
16768 (DT_NUM): Updated to 35.
16770 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16772 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
16773 __builtin_expect with __glibc_likely and __glibc_unlikely.
16774 (elf_machine_rela): Likewise.
16775 (elf_machine_lazy_rel): Likewise.
16777 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16779 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
16780 __builtin_expect with __glibc_likely and __glibc_unlikely.
16781 (elf_machine_lazy_rel): Likewise.
16783 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16786 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
16788 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
16790 2018-02-05 Andreas Schwab <schwab@suse.de>
16793 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
16796 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16798 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
16799 not check against PTHREAD_STACK_MIN.
16801 2018-02-02 Sean McKean <smckean83@gmail.com>
16804 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
16806 2018-02-02 Florian Weimer <fweimer@redhat.com>
16809 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
16810 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
16811 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
16812 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
16813 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
16814 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
16815 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
16816 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
16817 * manual/llio.texi (Scatter-Gather): Mention offset -1.
16818 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
16819 * misc/tst-preadvwritev2.c (do_test): Call it.
16820 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
16822 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
16824 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
16826 * benchtests/bench-memcmp.c: Print json instead of plain text.
16828 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
16831 2018-02-01 Joseph Myers <joseph@codesourcery.com>
16833 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16835 (s390_sthyi): New syscall.
16837 * sysdeps/generic/ldbl-classify-compat.h: New file.
16838 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
16839 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
16840 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
16841 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
16842 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
16843 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
16844 * sysdeps/ieee754/dbl-64/s_finite.c: Include
16845 <ldbl-classify-compat.h>.
16846 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16847 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
16848 <ldbl-classify-compat.h>.
16849 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16850 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
16851 <ldbl-classify-compat.h>.
16852 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16853 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
16854 <ldbl-classify-compat.h>.
16855 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16856 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
16857 <ldbl-classify-compat.h>.
16858 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16859 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
16860 <ldbl-classify-compat.h>.
16861 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16862 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
16863 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
16864 * sysdeps/m68k/coldfire/math_private.h: Remove file.
16865 * sysdeps/microblaze/math_private.h: Likewise.
16866 * sysdeps/nios2/math_private.h: Likewise.
16867 * sysdeps/sh/math_private.h: Likewise.
16869 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
16870 * sysdeps/m68k/coldfire/math_private.h: ... here.
16871 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
16872 * sysdeps/tile/math_private.h: Likewise.
16873 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
16875 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
16878 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
16880 (libc_fetestexcept): Likewise.
16881 (libc_feupdateenv_test): Likewise.
16882 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
16883 (libc_fetestexcept): Likewise.
16884 (libc_feupdateenv_test): Likewise.
16885 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
16886 (libc_fetestexcept): Likewise.
16887 (libc_feupdateenv_test): Likewise.
16888 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
16889 (libc_fetestexcept): Likewise.
16890 (libc_feupdateenv_test): Likewise.
16892 * sysdeps/generic/math_private.h
16893 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
16894 New inline function.
16895 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
16898 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
16899 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
16900 * sysdeps/generic/math_private.h
16901 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
16903 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
16905 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
16907 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
16909 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
16911 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
16913 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
16914 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
16915 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
16916 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
16917 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
16918 (__fegetenv): Likewise.
16919 (fesetenv): Likewise.
16920 (__fesetenv): Likewise.
16921 (feupdateenv): Likewise.
16922 (__feupdateenv): Likewise.
16923 (fegetround): Likewise.
16924 (__fegetround): Likewise.
16925 (fesetround): Likewise.
16926 (__fesetround): Likewise.
16928 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
16929 (feraiseexcept): New macro.
16930 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
16931 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
16933 (__feraiseexcept): Likewise.
16934 (feclearexcept): Likewise.
16935 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
16936 (__feraiseexcept): Likewise.
16937 (feclearexcept): Likewise.
16938 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
16939 (__feraiseexcept): Likewise.
16940 (feclearexcept): Likewise.
16941 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
16942 (__feraiseexcept): Likewise.
16943 (feclearexcept): Likewise.
16944 (fetestexcept): Likewise.
16946 * sysdeps/m68k/coldfire/math-tests.h: New file.
16948 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
16949 * sysdeps/m68k/bits/fenv.h: ... here.
16950 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
16952 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
16954 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
16956 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
16958 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
16960 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
16962 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
16963 (__FE_UNDEFINED): New enum constant.
16964 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
16966 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
16968 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
16970 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
16971 to match generic bits/fenv.h.
16972 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
16975 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
16977 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
16978 * soft-fp/half.h (union _FP_UNION_H): Likewise.
16979 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
16980 * soft-fp/single.h (union _FP_UNION_S): Likewise.
16982 2018-02-01 Carlos O'Donell <carlos@redhat.com>
16983 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
16984 Joseph Myers <joseph@codesourcery.com>
16987 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
16988 (__log1p): Disable -Wmaybe-uninitialized for -Os around
16989 computation using c.
16990 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
16991 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
16992 computation using c.
16994 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
16996 * version.h (RELEASE): Set to "development".
16997 (VERSION): Set to "2.27.9000".
16998 * NEWS (2.28): New section.
17000 * version.h (RELEASE): Set to "stable".
17001 (VERSION): Set to "2.27".
17002 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
17004 * NEWS: Add the list of bugs fixed in 2.27.
17006 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17008 * stdlib/test-atexit-race-common.c (do_test): Check stack size
17009 against PTHREAD_STACK_MIN.
17011 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
17013 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
17015 (Rafal Luzynski, Andreas Schwab): Update.
17017 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
17020 * NEWS: List the languages which actually use the alternative
17021 months feature in this release. Also explain that "alt_mon" and
17022 "ab_alt_mon" are optional.
17024 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
17027 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
17029 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
17031 * manual/install.texi (Tools for Compilation): Update the newest
17032 versions of gcc, binutils, texinfo, gawk, bison, and sed.
17033 * INSTALL: Regenerated.
17035 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17037 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
17038 instead of __builtin_expect.
17040 2018-01-30 Florian Weimer <fweimer@redhat.com>
17042 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
17044 * nss/tst-nss-getpwent.c (do_test): Likewise.
17046 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
17049 * localedata/locales/hr_HR (mon): Rename to...
17051 (mon): Import from CLDR (genitive case).
17052 (d_t_fmt): Update the comment.
17054 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
17056 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
17057 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
17058 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
17060 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17062 * mach/Versions: Fix version when __mach_host_self_ was added.
17063 * hurd/Versions: Fix version when _hurd_exec_paths was added.
17064 * sysdeps/mach/hurd/i386/ld.abilist: New file.
17065 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
17066 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
17067 * sysdeps/mach/hurd/i386/libc.abilist: New file.
17068 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
17069 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
17070 * sysdeps/mach/hurd/i386/libm.abilist: New file.
17071 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
17072 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
17073 * sysdeps/mach/hurd/i386/librt.abilist: New file.
17074 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
17075 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
17076 || to respect codestyle.
17077 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
17078 (do_test_bz20181): Rename accordingly.
17079 * malloc/malloc.c: Include <assert.h>.
17080 (assert): Do not define.
17081 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
17082 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
17083 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
17084 * sysdeps/mach/hurd/hp-timing.h: New file.
17085 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
17087 2018-01-29 Darius Rad <darius@bluespec.com>
17089 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
17091 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
17093 * sysdeps/init_array/crti.S (.section .init_array): Add
17094 PREINIT_FUNCTION when defined.
17095 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
17096 * config.h.in: Regenerate.
17097 * manual/platform.texi: Add RISC-V documenation for
17098 __riscv_flush_icache.
17099 * sysdeps/riscv/__longjmp.S: New file.
17100 * sysdeps/riscv/backtrace.c: Likewise.
17101 * sysdeps/riscv/bits/endian.h: Likewise.
17102 * sysdeps/riscv/bits/setjmp.h: Likewise.
17103 * sysdeps/riscv/bits/wordsize.h: Likewise.
17104 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
17105 * sysdeps/riscv/bsd-setjmp.c: Likewise.
17106 * sysdeps/riscv/dl-trampoline.S: Likewise.
17107 * sysdeps/riscv/gccframe.h: Likewise.
17108 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
17109 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
17110 * sysdeps/riscv/machine-gmon.h: Likewise.
17111 * sysdeps/riscv/memusage.h: Likewise.
17112 * sysdeps/riscv/setjmp.S: Likewise.
17113 * sysdeps/riscv/sys/asm.h: Likewise.
17114 * sysdeps/riscv/tls-macros.h: Likewise.
17115 * sysdeps/riscv/dl-tls.h: New file.
17116 * sysdeps/riscv/libc-tls.c: Likewise.
17117 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
17118 * sysdeps/riscv/nptl/tls.h: Likewise.
17119 * sysdeps/riscv/stackinfo.h: Likewise.
17120 * sysdeps/riscv/bits/fenv.h: New file.
17121 * sysdeps/riscv/e_sqrtl.c: Likewise.
17122 * sysdeps/riscv/fpu_control.h: Likewise.
17123 * sysdeps/riscv/math-tests.h: Likewise.
17124 * sysdeps/riscv/nofpu/Implies: Likewise.
17125 * sysdeps/riscv/sfp-machine.h: Likewise.
17126 * sysdeps/riscv/tininess.h: Likewise.
17127 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
17128 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
17129 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
17130 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
17131 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
17132 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
17133 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
17134 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
17135 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
17136 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
17137 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
17138 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
17139 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
17140 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
17141 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
17142 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
17143 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
17144 * sysdeps/riscv/rvd/s_finite.c: Likewise.
17145 * sysdeps/riscv/rvd/s_fma.c: Likewise.
17146 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
17147 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
17148 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
17149 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
17150 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
17151 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
17152 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
17153 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
17154 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
17155 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
17156 * sysdeps/riscv/rvf/fegetround.c: Likewise.
17157 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
17158 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
17159 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
17160 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
17161 * sysdeps/riscv/rvf/fesetround.c: Likewise.
17162 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
17163 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
17164 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
17165 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
17166 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
17167 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
17168 * sysdeps/riscv/rvf/math_private.h: Likewise.
17169 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
17170 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
17171 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
17172 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
17173 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
17174 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
17175 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
17176 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
17177 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
17178 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
17179 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
17180 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
17181 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
17182 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
17183 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
17184 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
17185 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
17186 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
17187 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
17188 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
17189 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
17190 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
17191 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
17192 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
17193 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
17194 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
17195 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
17196 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
17197 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
17198 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
17199 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
17200 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
17201 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
17202 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
17203 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
17204 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
17205 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
17206 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
17207 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
17208 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
17209 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
17210 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
17211 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
17212 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
17213 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
17214 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
17215 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
17216 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
17217 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
17218 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
17219 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
17220 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
17221 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
17222 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
17223 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
17224 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
17225 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
17226 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
17227 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
17228 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
17229 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
17230 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
17231 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
17232 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
17233 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17234 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
17235 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
17236 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
17237 * sysdeps/riscv/Implies: New file.
17238 * sysdeps/riscv/Makefile: Likewise.
17239 * sysdeps/riscv/configure: Likewise.
17240 * sysdeps/riscv/configure.ac: Likewise.
17241 * sysdeps/riscv/nptl/Makefile: Likewise.
17242 * sysdeps/riscv/preconfigure: Likewise.
17243 * sysdeps/riscv/rv64/Implies-after: Likewise.
17244 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
17245 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
17246 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
17247 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
17248 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
17249 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
17250 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
17251 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
17252 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
17253 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
17254 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
17255 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
17256 (Config): Likewise.
17258 2018-01-29 Florian Weimer <fweimer@redhat.com>
17261 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
17262 libnsl_hidden_proto.
17263 * include/rpcsvc/yp.h (yp_xdrall): Declare with
17264 libnsl_hidden_proto.
17265 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
17266 * nis/Makefile (libnsl-routines): Add nss-default only for
17267 build-obsolete-nsl.
17268 * nis/nis_defaults.c (__nis_default_ttl): Add
17269 libnsl_hidden_nolink_def.
17270 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
17272 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
17273 * nis/ypclnt.c (yp_maplist): Likewise.
17275 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
17277 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17278 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
17280 2018-01-29 Joseph Myers <joseph@codesourcery.com>
17282 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
17283 clean -dxfq for git updates when replacing sources.
17285 * scripts/build-many-glibcs.py (Config.build_gcc): Use
17286 --disable-libcilkrts unconditionally, not just for the final GCC
17289 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
17292 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17295 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
17298 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17301 * localedata/locales/be_BY (mon): Rename to...
17302 (alt_mon): This, then synchronize with CLDR (nominative case).
17303 (abmon): Rename to...
17304 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
17305 (mon): Import from CLDR (genitive case).
17307 * localedata/locales/be_BY@latin (mon): Rename to...
17309 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
17311 * localedata/locales/be_BY@latin (lang_name): Reworded to
17312 "biełaruskaja mova".
17314 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17317 * localedata/locales/el_CY (mon): Renamed to...
17319 (mon): Import from CLDR (genitive case).
17320 * localedata/locales/el_GR: Likewise.
17322 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17325 * localedata/locales/ru_RU (mon): Rename to...
17327 (abmon): Rename to...
17328 (ab_alt_mon): This.
17329 (mon): Import from CLDR (genitive case).
17330 (abmon): Copy from the old content except the 5th month which is
17331 now in the genitive case, even when abbreviated.
17332 * localedata/locales/ru_UA: Likewise.
17333 * time/tst-strptime.c (day_tests): Add an actual example of
17334 a difference between %b and %Ob in Russian.
17336 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17338 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
17339 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
17341 * resolv/res-close.c: Include <stdlib.h>.
17342 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
17343 <sys/wait.h>, <time.h>, <sys/uio.h>.
17344 (NOT_CANCEL_H): Add inclusion guard.
17345 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
17346 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
17347 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
17349 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
17350 vm_address_t * to ElfW(Addr) * for dl_main parameter.
17351 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
17353 * sysdeps/pthread/timer_create.c (timer_create): Do not use
17354 timer_ptr2id to cast struct timer_node * to void *.
17355 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
17356 --disable-libcilkrts to gcc configure.
17357 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
17358 and make them the default for now.
17359 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
17360 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
17361 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
17362 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
17363 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
17365 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
17366 __task_terminate would ever return successfully.
17367 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
17369 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
17370 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
17371 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
17372 critical section to make code simpler and avoid warning.
17373 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
17374 critical section to make code simpler and avoid warning.
17375 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
17376 const char * instead of char *.
17377 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
17378 __hurd_file_name_split, hurd_file_name_split,
17379 __hurd_directory_name_split, hurd_directory_name_split,
17380 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
17381 hurd_file_name_path_lookup): Make lookup function parameter take a
17382 const char *name instead of char *name.
17383 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
17384 __hurd_directory_name_split): Likewise.
17385 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
17386 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
17387 * sysdeps/mach/hurd/check_native.c: New file.
17388 * sysdeps/mach/hurd/check_pf.c: New file.
17389 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
17390 (__freeifaddrs): Define macro to freeifaddrs.
17391 * sysdeps/mach/hurd/libhurduser.abilist: New file.
17392 * sysdeps/mach/libmachuser.abilist: New file.
17393 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
17394 (do_test_bz20181): Rename accordingly.
17395 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
17396 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
17398 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
17399 version only if __USE_EXTERN_INLINES is defined.
17400 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
17401 __hurd_sockfail): Likewise.
17402 (_hurd_fd_get): Always declare functions, and provide inline versions
17403 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
17404 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
17405 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
17406 _hurd_port_set): Always declare functions, and provide inline versions
17407 only if __USE_EXTERN_INLINES and _LIBC are defined and
17409 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
17410 _hurd_critical_section_unlock): Likewise.
17411 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
17412 * __hurd_threadvar_location): Likewise.
17413 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
17414 _hurd_userlink_clear): Likewise.
17415 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
17416 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
17417 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
17418 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
17419 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
17420 __spin_lock_locked): Likewise.
17421 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
17422 __spin_lock_locked): Likewise.
17423 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
17424 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
17425 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
17426 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
17427 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
17428 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
17429 _POSIX_NO_TRUNC): Define to 0.
17430 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
17431 check size against PTHREAD_STACK_MIN.
17432 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
17433 IS_IN(libpthread)]: Include <sigsetops.h>.
17434 * mach/Makefile (user-interfaces): Add mach/gnumach.
17435 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
17436 * sysdeps/mach/configure (mach_interface_list): Regenerate.
17437 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
17438 instead of invalid -1.
17439 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
17440 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
17441 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
17444 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
17446 * hurd/fcntl-internal.h: New file.
17448 2018-01-27 James Clarke <jrtc27@jrtc27.com>
17450 * sysdeps/hppa/fpu/libm-test-ulps: Update.
17452 * sysdeps/alpha/fpu/libm-test-ulps: Update.
17454 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
17457 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
17458 Build only shared objects.
17460 2018-01-26 Carlos O'Donell <carlos@redhat.com>
17462 * README: Update for hppa.
17464 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17466 * sysdeps/sparc/fpu/libm-test-ulps: Update
17467 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
17469 2018-01-26 Carlos O'Donell <carlos@redhat.com>
17473 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17476 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17477 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
17478 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17479 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
17482 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17485 * bits/types/__cancel_jmp_buf_tag.h: New file.
17486 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
17487 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
17488 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
17489 * nptl/Makefile (headers): Add
17490 bits/types/__cancel_jmp_buf_tag.h.
17491 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
17492 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
17493 * sysdeps/nptl/pthread.h: Include
17494 <bits/types/__cancel_jmp_buf_tag.h>.
17495 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
17497 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
17499 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
17502 * localedata/locales/uk_UA (mon): Renamed to...
17504 (alt_digits): "0" removed and then renamed to...
17506 (date_fmt): Definition changed not to use the alternative
17509 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
17511 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
17512 FLAG_RISCV_FLOAT_ABI_DOUBLE.
17513 * elf/elf.h (EF_RISCV_RVC): New define.
17514 (EF_RISCV_FLOAT_ABI): Likewise.
17515 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
17516 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
17517 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17518 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
17519 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
17521 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17523 2018-01-25 Andreas Schwab <schwab@suse.de>
17525 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
17527 * sysdeps/gnu/configure: Regenerate.
17528 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
17529 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17531 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
17532 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
17533 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
17534 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
17535 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
17537 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
17539 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
17540 URL, and run autoconf, make it the default for now.
17542 2018-01-24 Joseph Myers <joseph@codesourcery.com>
17544 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17545 soft-float ColdFire configuration.
17547 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
17548 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
17549 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
17551 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
17554 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
17556 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
17558 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
17561 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
17562 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
17563 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
17566 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
17569 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
17570 Rename to __reserved and add comment.
17571 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
17572 Rename to __reserved.
17574 2018-01-24 Joseph Myers <joseph@codesourcery.com>
17576 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17577 i686-gnu configurations.
17578 (Context.run_builds): Include mig, gnumach and hurd in components
17580 (Context.checkout): Add mig, gnumach and hurd to components.
17581 (Context.checkout_tar): Add URL mappings for mig, gnumach and
17583 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
17584 (Config.build): Install gnumach headers, build mig and install
17585 hurd headers for 'gnu' OS.
17586 (Config.install_gnumach_headers): New function.
17587 (Config.install_hurd_headers): Likewise.
17588 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
17589 when building for 'gnu' OS.
17591 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
17593 * manual/tunables.texi (Hardware Capability Tunables): Fix
17596 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
17598 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
17599 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
17600 (ALTMON_11, ALTMON_12): Improve documentation.
17601 * manual/time.texi (strftime): Likewise.
17603 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17606 * localedata/locales/pl_PL: Alternative month names added,
17607 primary month names are genitive now.
17608 * time/tst-strptime.c (day_tests): Actually use a genitive case
17609 of a month name in Polish language.
17611 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17614 * manual/locale.texi: Document ALTMON_1..12 constants for
17615 nl_langinfo. Specify when to use ALTMON instead of MON.
17616 * manual/time.texi (strftime, strptime): Document GNU extension
17617 permitting O modifier with %B and %b. Specify when to use
17620 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17623 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
17624 names, define them as the same as abbreviated month names explicitly.
17625 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
17626 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
17627 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
17628 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
17629 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
17630 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
17631 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
17632 _NL_WABALTMON_12): New enum constants.
17633 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
17634 wab_alt_mon, and ab_alt_mon_defined members.
17635 (time_output): Output ab_alt_mon and wab_alt_mon members.
17636 (time_read): Read them, initialize them as copies of abmon and wabmon
17637 respectively if they are missing, initialize ab_alt_mon_defined.
17638 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
17639 * locale/programs/locfile-kw.h: Regenerate.
17640 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
17641 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
17643 * time/strftime_l.c (a_altmonth, aam_len): New macros.
17644 [!COMPILE_WIDE] (ABALTMON_1): New macro.
17645 (__strftime_internal): Handle %Ob and %Oh formats.
17646 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
17647 (__strptime_internal): Handle %Ob and %Oh formats.
17648 * time/tst-strptime.c (day_tests): Add more tests to parse different
17649 forms of month names including the new %Ob format specifier.
17651 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17654 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
17655 define them as the same as primary full month names explicitly.
17656 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
17657 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
17658 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
17659 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
17660 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
17661 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
17662 _NL_WALTMON_12): New enum constants.
17663 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
17664 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
17666 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
17667 walt_mon, and alt_mon_defined members.
17668 (time_output): Output alt_mon and walt_mon members.
17669 (time_read): Read them, initialize them as copies of mon and wmon
17670 respectively if they are missing, initialize alt_mon_defined.
17671 * locale/programs/locfile-kw.gperf (alt_mon): Define.
17672 * locale/programs/locfile-kw.h: Regenerate.
17673 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
17674 * localedata/tst-langinfo.c (map): Add tests for the new constants
17675 ALTMON_1 .. ALTMON_12.
17676 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
17678 * time/strftime_l.c (f_altmonth): New macro.
17679 (__strftime_internal): Handle %OB format.
17680 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
17681 (__strptime_internal): Handle %OB format.
17682 * time/tst-strptime.c (day_tests): Add tests to parse different forms
17683 of month names including the new %OB format specifier.
17685 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17688 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
17689 from ABORT_TRANSACTION.
17690 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
17691 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
17692 ABORT_TRANSACTION_IMPL): Likewise.
17693 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
17694 Linux code, but remove the code that aborts transactions.
17696 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
17698 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
17700 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
17702 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
17703 in date: "2004-14-09" should be "2004-09-14".
17704 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
17705 "2003-15-09" should be "2003-09-15".
17707 2018-01-18 Arjun Shankar <arjun@redhat.com>
17713 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
17715 (_int_memalign): check for integer overflow before calling
17717 * malloc/tst-malloc-too-large.c: New test.
17718 * malloc/Makefile: Add tst-malloc-too-large.
17720 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
17722 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
17723 in date: "2017-24-07" should be "2017-07-24".
17724 * localedata/locales/mai_IN: Likewise.
17725 * localedata/locales/mai_NP: Likewise.
17727 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
17729 * po/ru.po: Update translations.
17731 2018-01-17 Joseph Myers <joseph@codesourcery.com>
17734 * sysdeps/hppa/backtrace.c: New file.
17736 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
17739 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
17740 align La_x86_64_retval to VEC_SIZE.
17742 2018-01-16 Joseph Myers <joseph@codesourcery.com>
17744 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
17745 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
17747 2018-01-16 Florian Weimer <fweimer@redhat.com>
17749 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
17750 Move tst-thread-exit-clobber ...
17751 [$(CXX)] (tests-unsupported): ... to here.
17753 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17755 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
17756 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
17757 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17758 (_dl_aarch64_cap_flags): Update.
17759 (_DL_HWCAP_COUNT): Update.
17761 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17763 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
17764 (_DL_HWCAP_LAST): Remove.
17765 (_DL_HWCAP_COUNT): Move to ...
17766 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17767 (_DL_HWCAP_COUNT): ... here.
17769 2018-01-16 Florian Weimer <fweimer@redhat.com>
17771 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
17772 mode with GNU extensions.
17774 2018-01-15 Alan Hayward <alan.hayward@arm.com>
17776 * elf/elf.h (NT_ARM_SVE): Define.
17778 2018-01-15 Florian Weimer <fweimer@redhat.com>
17781 * nptl/tst-minstack-throw.cc: New file.
17782 * nptl/Makefile (tests): Add tst-minstack-throw.
17783 (LDLIBS-tst-minstack-throw): Link with libstdc++.
17784 [!CXX] (tests-unsupported): Add tst-minstack-throw.
17786 2018-01-15 Joseph Myers <joseph@codesourcery.com>
17788 * scripts/build-many-glibcs.py (Context.checkout): Default
17789 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
17792 2018-01-13 Carlos O'Donell <carlos@redhat.com>
17795 * elf/elf.h (DF_1_STUB): Define.
17796 (DF_1_PIE): Define.
17798 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17801 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
17802 Do not add 0.5 to integer or out-of-range arguments.
17804 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17806 * po/bg.po: Update translations.
17807 * po/cs.po: Likewise.
17808 * po/de.po: Likewise.
17809 * po/ko.po: Likewise.
17810 * po/pl.po: Likewise.
17811 * po/sv.po: Likewise.
17812 * po/uk.po: Likewise.
17813 * po/vi.po: Likewise.
17815 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17817 * aarch64/start.S (_start): Use __wrap_main.
17818 (__wrap_main): New local symbol.
17820 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17824 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
17825 generic_getcwd if the path returned by getcwd syscall is not absolute.
17826 * io/tst-getcwd-abspath.c: New test.
17827 * io/Makefile (tests): Add tst-getcwd-abspath.
17829 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
17831 * malloc/malloc.c (malloc_consolidate): Add size check.
17833 2018-01-12 Florian Weimer <fweimer@redhat.com>
17835 * support/write_message.c (write_message): Preserve errno.
17836 * support/check.c (print_failure): Likewise.
17837 * support/support_test_verify_impl.c (support_test_verify_impl):
17839 * support/support_test_compare_failure.c
17840 (support_test_compare_failure): Likewise.
17842 2018-01-12 Florian Weimer <fweimer@redhat.com>
17845 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
17846 Prevent installation of libnsl.so.
17847 (libnsl-inhibit-o): Do not build (or install) static libraries.
17849 2018-01-12 Egmont Koblinger <egmont@gmail.com>
17852 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
17853 before the day number which may produce a double space.
17854 (date_fmt): Likewise.
17856 2018-01-12 Joseph Myers <joseph@codesourcery.com>
17858 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
17859 instead of fegetenv.
17861 2018-01-11 Joseph Myers <joseph@codesourcery.com>
17864 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
17865 comment to say exceptions are discarded.
17866 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
17868 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
17871 2018-01-11 Florian Weimer <fweimer@redhat.com>
17873 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
17876 2018-01-11 Florian Weimer <fweimer@redhat.com>
17879 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
17880 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
17882 2018-01-10 Joseph Myers <joseph@codesourcery.com>
17885 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
17886 negative arguments in test for NaN or infinity argument.
17888 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
17890 * po/libc.pot: Regenerate.
17892 2018-01-10 Florian Weimer <fweimer@redhat.com>
17895 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
17896 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
17898 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17900 * hurd/hurd/fd.h: Include <fcntl.h>
17901 (__hurd_at_flags): New function.
17902 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
17903 with call to __hurd_at_flags.
17904 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
17905 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
17907 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
17908 (__access_noerrno): Use __faccessat_common instead of access_common.
17909 (__access): Likewise.
17910 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
17911 with a call to __faccessat.
17912 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
17913 (__faccessat_common): ... this. Move implementation of __access into it when
17914 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
17915 reauthenticate_cwdir_at helper to implement AT mechanism.
17916 (__faccessat_noerrno): New function, just calls __faccessat_common.
17917 (__faccessat): New function, just calls __faccessat_common.
17918 (faccessat): Define weak alias.
17920 2018-01-10 Joseph Myers <joseph@codesourcery.com>
17923 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17924 (CFLAGS-s_fmaxmagl.c): New variable.
17925 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
17928 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
17929 long int for arguments of possibly overflowing addition or
17931 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17933 2018-01-09 Joseph Myers <joseph@codesourcery.com>
17936 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17937 (CFLAGS-e_remainderl.c): New variable.
17940 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
17942 (CFLAGS-s_cacoshl.c): Likewise.
17943 (CFLAGS-s_casinhl.c): Likewise.
17944 (CFLAGS-s_catanl.c): Likewise.
17945 (CFLAGS-s_catanhl.c): Likewise.
17946 (CFLAGS-s_cexpl.c): Likewise.
17947 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
17948 (CFLAGS-s_csinhl.c): Likewise.
17949 (CFLAGS-s_clogl.c): Likewise.
17950 (CFLAGS-s_clog10l.c): Likewise.
17951 (CFLAGS-s_csinl.c): Likewise.
17952 (CFLAGS-s_csqrtl.c): Likewise.
17954 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
17955 2017-01-09 Svante Signell <svante.signell@gmail.com>
17957 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
17958 (_hurd_exec_paths): New function.
17959 * hurd/hurd.h (_hurd_exec): Deprecate function.
17960 (_hurd_exec_paths): Declare function.
17961 * hurd/Versions: Export _hurd_exec_paths.
17962 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
17963 (__execve): Use __getcwd to build absolute path, and use
17964 _hurd_exec_paths instead of _hurd_exec.
17965 * sysdeps/mach/hurd/spawni.c: Likewise.
17966 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
17969 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
17971 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
17972 test instead of failing in case of ENOENT returned by posix_openpt.
17974 2018-01-08 Florian Weimer <fweimer@redhat.com>
17976 resolv: Support binary labels in test framework.
17977 * support/resolv_test.c (struct to_be_freed): Remove.
17978 (struct compressed_name): New.
17979 (allocate_compressed_name, ascii_tolower)
17980 (compare_compressed_name): New functions.
17981 (struct resolv_response_builder): Update type of
17982 compression_offsets for use with tsearch. Rempve to_be_freed.
17983 (response_push_pointer_to_free): Remove function.
17984 (resolv_response_add_name): Rewrite using struct compressed_name
17985 and tsearch instead of hsearch_r.
17986 (response_builder_allocate): Remove initialization of
17987 compression_offsets.
17988 (response_builder_free): Update for removal of to_be_freed. Use
17989 tdestroy instead of hdestroy_r.
17990 * resolv/Makefile (tests): Add tst-resolv-binary.
17991 (tst-resolv-binary): Link with -lresolv -lpthread.
17993 2018-01-08 Florian Weimer <fweimer@redhat.com>
17995 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
17996 time. Pass positive flag instead of negative flag to
17997 support_test_compare_failure.
17998 (support_test_compare_failure): Change negative parameter to
18000 * support/support_test_compare_failure.c (report)
18001 (support_test_compare_failure): Likewise.
18002 * support/tst-test_compare.c (return_ssize_t, return_int): New.
18003 (do_test): Check int/size_t, ssize_t/size_t comparisons.
18005 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
18008 * nptl/descr.h (stackblock, stackblock_size): Update comments.
18009 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
18010 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
18012 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
18014 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
18016 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18017 Add s_sincosf-sse2 and s_sincosf-fma.
18018 (CFLAGS-s_sincosf-fma.c): New.
18019 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
18020 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
18021 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
18022 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
18023 __sincosf is defined.
18025 2018-01-08 Florian Weimer <fweimer@redhat.com>
18027 * nptl/tst-thread-exit-clobber.cc: New file.
18028 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
18030 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
18031 (tests): Add tst-thread-exit-clobber.
18032 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
18034 2018-01-08 Florian Weimer <fweimer@redhat.com>
18036 * support/check.h (support_static_assert): Define.
18037 (TEST_COMPARE): Use it.
18039 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
18041 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
18042 [!__RLIM_T_MATCHES_RLIM64_T]
18043 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
18044 __getrlimit64. Add libc_hidden_weak.
18046 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
18048 * elf/elf.h (R_RISCV_NONE): New define.
18049 (R_RISCV_32): Likewise.
18050 (R_RISCV_64): Likewise.
18051 (R_RISCV_RELATIVE): Likewise.
18052 (R_RISCV_COPY): Likewise.
18053 (R_RISCV_JUMP_SLOT): Likewise.
18054 (R_RISCV_TLS_DTPMOD32): Likewise.
18055 (R_RISCV_TLS_DTPMOD64): Likewise.
18056 (R_RISCV_TLS_DTPREL32): Likewise.
18057 (R_RISCV_TLS_DTPREL64): Likewise.
18058 (R_RISCV_TLS_TPREL32): Likewise.
18059 (R_RISCV_TLS_TPREL64): Likewise.
18060 * Makerules (make-link-multidir): Make directories before linking into
18062 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
18064 (VDSO_HASH_LINUX_4_15): Likewise.
18065 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
18066 in subdirectories of lib.
18067 * nptl/Makefile (/librt.so): Always depend on
18068 "$(shared-thread-library)".
18070 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18072 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
18073 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
18074 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
18076 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
18077 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
18079 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
18080 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
18081 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
18082 * sysdeps/gnu/glob-lstat-compat.c: New file.
18083 * sysdeps/gnu/glob64-lstat-compat.c: New file.
18084 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
18086 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18088 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
18089 Reserve 16 chars to reloc_addr before calling _itoa_word.
18091 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18094 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
18095 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
18097 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
18098 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
18100 * resource/tst-getrlimit.c: Add copyright header.
18102 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18103 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18105 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
18106 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
18107 Define __GI_getrlimit64 as weak alias of __getrlimit64.
18108 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
18110 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
18111 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
18112 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
18113 RLIM64_INFINITY): Fix values to match the kernel ones.
18114 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
18115 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
18116 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
18117 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
18118 getrlimit64@@GLIBC_2_27.
18119 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
18121 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
18122 getrlimit, setrlimit, getrlimit64 and setrlimit64.
18123 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
18124 setrlimit, getrlimit64 and setrlimit64.
18126 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18129 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
18130 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
18132 2018-01-04 Joseph Myers <joseph@codesourcery.com>
18134 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
18135 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
18136 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
18138 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18142 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
18143 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
18147 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
18148 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
18149 * sysdeps/alpha/fpu/s_floor.c: Likewise.
18150 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
18152 2018-01-04 Florian Weimer <fweimer@redhat.com>
18155 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
18156 Align the stack before calling exit.
18157 * stdlib/tst-makecontext-align.c: New file.
18158 * stdlib/Makefile (tests): Add tst-makecontext-align.
18160 2018-01-04 Florian Weimer <fweimer@redhat.com>
18162 Add support for calling dlvsym from libc.so.
18163 * include/dlfcn.h (__libc_dlvsym): Declare.
18164 * elf/Makefile (tests-static-internal): Add
18165 tst-libc_dlvsym-static.
18166 (tests-internal): Add tst-libc_dlvsym.
18167 (modules-names): Add tst-libc_dlvsym-dso.
18168 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
18169 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
18170 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
18171 object tst-libc_dlvsym-dso.so needs to be built before running
18173 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
18174 * elf/Versions: Export __libc_dlvsym.
18175 * elf/dl-libc.c (struct do_dlvsym_args): New.
18176 (do_dlvsym, __libc_dlvsym): New functions.
18177 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
18178 (_dl_open_hook2): New variable.
18179 (__libc_register_dl_open_hook): Set it.
18180 * elf/tst-libc_dlvsym-dso.c: New file.
18181 * elf/tst-libc_dlvsym-static.c: Likewise.
18182 * elf/tst-libc_dlvsym.c: Likewise.
18183 * elf/tst-libc_dlvsym.h: Likewise.
18185 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18187 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
18188 include <sys/mount.h>.
18190 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
18192 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
18193 Add __NO_MATH_ERRNO__ check.
18195 2018-01-02 Joseph Myers <joseph@codesourcery.com>
18197 * sysdeps/mips/mips32/libm-test-ulps: Update.
18198 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18200 2018-01-02 Florian Weimer <fweimer@redhat.com>
18202 * misc/tst-pselect.c: Add copyright header.
18204 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
18206 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
18208 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
18210 (settrlimit): Rename into setrlimit.
18211 (__sttrlimit): Rename into __setrlimit.
18213 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
18214 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
18215 never defined in that case.
18217 2018-01-02 Joseph Myers <joseph@codesourcery.com>
18219 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
18221 * sysdeps/arm/libm-test-ulps: Update.
18223 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
18224 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
18226 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18228 * NEWS: Add cosf and sincosf to list of optimized functions.
18230 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
18233 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
18234 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
18235 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
18236 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
18238 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
18241 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
18243 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
18244 making a copy of it.
18246 2018-01-01 Joseph Myers <joseph@codesourcery.com>
18248 * manual/texinfo.tex: Update to version 2017-12-26.21 with
18249 trailing whitespace removed.
18250 * scripts/config.guess: Update to version 2018-01-01.
18251 * scripts/config.sub: Update to version 2018-01-01.
18252 * scripts/move-if-change: Update from gnulib.
18254 * NEWS: Update copyright dates.
18255 * catgets/gencat.c (print_version): Likewise.
18256 * csu/version.c (banner): Likewise.
18257 * debug/catchsegv.sh: Likewise.
18258 * debug/pcprofiledump.c (print_version): Likewise.
18259 * debug/xtrace.sh (do_version): Likewise.
18260 * elf/ldconfig.c (print_version): Likewise.
18261 * elf/ldd.bash.in: Likewise.
18262 * elf/pldd.c (print_version): Likewise.
18263 * elf/sotruss.sh: Likewise.
18264 * elf/sprof.c (print_version): Likewise.
18265 * iconv/iconv_prog.c (print_version): Likewise.
18266 * iconv/iconvconfig.c (print_version): Likewise.
18267 * locale/programs/locale.c (print_version): Likewise.
18268 * locale/programs/localedef.c (print_version): Likewise.
18269 * login/programs/pt_chown.c (print_version): Likewise.
18270 * malloc/memusage.sh (do_version): Likewise.
18271 * malloc/memusagestat.c (print_version): Likewise.
18272 * malloc/mtrace.pl: Likewise.
18273 * manual/libc.texinfo: Likewise.
18274 * nptl/version.c (banner): Likewise.
18275 * nscd/nscd.c (print_version): Likewise.
18276 * nss/getent.c (print_version): Likewise.
18277 * nss/makedb.c (print_version): Likewise.
18278 * posix/getconf.c (main): Likewise.
18279 * scripts/test-installation.pl: Likewise.
18280 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
18282 * All files with FSF copyright notices: Update copyright dates
18283 using scripts/update-copyrights.
18284 * locale/programs/charmap-kw.h: Regenerated.
18285 * locale/programs/locfile-kw.h: Likewise.
18287 2017-12-31 Zack Weinberg <zackw@panix.com>
18289 * libio/bits/libio-ldbl.h: Correct check for improper
18290 inclusion. Add own multiple include guard.
18292 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
18293 Dmitry V. Levin <ldv@altlinux.org>
18297 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
18298 string token expansion. Check for NULL pointer or empty string possibly
18299 returned by expand_dynamic_string_token.
18300 (decompose_rpath): Check for empty path after dynamic string
18303 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
18306 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
18308 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
18309 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
18310 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
18311 and PTRACE_SYSCALL.
18312 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
18313 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18314 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18315 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18316 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18317 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
18319 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
18320 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
18321 __ptrace_peeksiginfo_flags, ptrace): Move to ...
18322 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
18323 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18324 bits/ptrace-shared.h.
18325 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
18326 <bits/ptrace-shared.h>.
18327 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
18328 __ptrace_peeksiginfo_flags, ptrace): Remove.
18329 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18330 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18331 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18332 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18333 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
18335 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
18338 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
18339 end of the loop. Improve comments.
18341 2017-12-29 Zack Weinberg <zackw@panix.com>
18344 * manual/errno.texi (Checking for Errors): Explicitly say that errno
18345 might be set on success.
18347 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
18350 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
18351 is unchanged on success.
18353 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
18355 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
18357 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
18358 expand_dynamic_string_token): Likewise.
18359 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
18362 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
18365 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
18366 is set and name contains ':', and all code depending on these checks.
18368 2017-12-24 Zack Weinberg <zackw@panix.com>
18370 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
18371 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
18373 * libio/libio.h: Rename the original version of this file to
18374 libio/bits/libio.h. Error out if not included by stdio.h or the
18376 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
18377 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
18378 if not included by bits/libio.h or the stub _G_config.h.
18379 * sysdeps/unix/sysv/linux/_G_config.h: Move to
18380 sysdeps/unix/sysv/linux/bits. Error out if not included by
18381 bits/libio.h or the stub _G_config.h.
18382 * libio/stdio.h: Include bits/libio.h, not libio.h.
18383 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
18384 well as libio.h and _G_config.h.
18386 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
18387 * libio/strfile.h, stdio-common/vfscanf.c
18388 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
18389 Include stdio.h, not _G_config.h nor libio.h.
18390 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
18391 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
18393 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
18395 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
18398 * stdlib/getrandom.c (getrandom): Fix comment.
18399 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
18401 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
18404 * manual/arith.texi (strtoul): Fix a typo.
18407 * manual/arith.texi (finite): Fix the description of the return
18410 2017-12-22 Eric Blake <ebb9@byu.net>
18412 Avoid gcc warnings on cygwin
18413 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
18414 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
18415 Avoid unused variable.
18417 2017-12-22 Florian Weimer <fweimer@redhat.com>
18419 * io/Makefile (routines): Add copy_file_range.
18420 (tests): Add tst-copy_file_range.
18421 (tests-static, tests-internal): Add tst-copy_file_range-compat.
18422 * io/Versions (GLIBC_2.27): Export copy_file_range.
18423 * io/copy_file_range-compat.c: New file.
18424 * io/copy_file_range.c: Likewise.
18425 * io/tst-copy_file_range-compat.c: Likewise.
18426 * io/tst-copy_file_range.c: Likewise.
18427 * manual/llio.texi (Copying File Data): New section.
18428 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
18429 * support/Makefile (libsupport-routines): Add support-xfstat,
18430 xftruncate, xlseek.
18431 * support/support-xfstat.c: New file.
18432 * support/xftruncate.c: Likewise.
18433 * support/xlseek.c: Likewise.
18434 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
18435 * sysdeps/unix/sysv/linux/**.abilist: Update.
18436 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
18438 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
18440 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18441 disable-multi-arch variant to aarch64-linux-gnu.
18443 2017-12-20 Joseph Myers <joseph@codesourcery.com>
18445 * manual/texinfo.tex: Update to version 2017-12-18.20 with
18446 trailing whitespace removed.
18447 * scripts/config.guess: Update to version 2017-12-17.
18448 * scripts/config.sub: Update to version 2017-11-23.
18449 * scripts/install-sh: Update to version 2017-09-23.17.
18450 * scripts/move-if-change: Update to version 2017-09-13 06:45.
18452 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18454 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
18455 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
18456 * sysdeps/tile/_mcount.S (__mcount): Likewise.
18457 * sysdeps/tile/crti.S (_init, _fini): Likewise.
18458 * sysdeps/tile/crtn.S: Likewise.
18459 * sysdeps/tile/dl-start.S (_start): Likewise.
18460 * sysdeps/tile/dl-trampoline.S: Likewise.
18461 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
18462 * sysdeps/tile/start.S (_start): Likewise.
18463 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
18464 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
18465 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
18466 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
18467 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
18468 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
18469 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
18471 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
18473 * sysdeps/tile/preconfigure: Remove tilegx folder.
18474 * sysdeps/tile/tilegx/Implies: Move definitions to ...
18475 * sysdeps/tile/Implies: ... here.
18476 * sysdeps/tile/tilegx/Makefile: Move rules to ...
18477 * sysdeps/tile/Makefile: ... here.
18478 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
18479 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
18480 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
18481 * sysdeps/tile/bits/wordsize.h: ... here.
18482 * sysdeps/tile/tilegx/*: Move to ...
18483 * sysdeps/tile/*: ... here.
18484 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
18485 * sysdeps/tile/tilegx32/Implies: ... here.
18486 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
18487 * sysdeps/tile/tilegx64/Implies: ... here.
18488 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
18490 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18491 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
18492 * sysdeps/unix/sysv/linux/tile/*: ... here.
18493 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
18494 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
18495 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
18496 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
18498 * README: Remove tilepro-*-linux-gnu from supported architecture.
18499 * scripts/build-many-glibcs.py: Likewise.
18500 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
18501 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
18502 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
18503 elf_machine_matches_host, elf_machine_dynamic,
18504 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
18505 howto, elf_machine_rela): Likewise.
18506 * sysdeps/tile/dl-start.S (_start): Likewise.
18507 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
18508 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
18509 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
18510 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
18511 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
18512 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
18514 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
18515 * sysdeps/tile/preconfigure: Likewise.
18516 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
18517 POINTER_CHK_GUARD): Likewise.
18518 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
18519 * sysdeps/tile/start.S (_start): Likewise.
18520 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
18522 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
18523 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
18525 * sysdeps/unix/sysv/linux/tile/bits/environments.h
18526 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
18527 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
18529 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
18530 * sysdeps/tile/tilepro/Implies: Remove file.
18531 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
18532 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
18533 * sysdeps/tile/tilepro/memchr.c: Likewise.
18534 * sysdeps/tile/tilepro/memcpy.S: Likewise.
18535 * sysdeps/tile/tilepro/memset.c: Likewise.
18536 * sysdeps/tile/tilepro/memusage.h: Likewise.
18537 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
18538 * sysdeps/tile/tilepro/strchr.c: Likewise.
18539 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
18540 * sysdeps/tile/tilepro/strlen.c: Likewise.
18541 * sysdeps/tile/tilepro/strrchr.c: Likewise.
18542 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
18543 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
18544 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
18545 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
18546 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
18547 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18549 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
18550 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18551 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
18552 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
18553 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18554 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
18555 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
18556 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
18557 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
18558 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
18559 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
18560 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
18561 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
18562 tilepro mention in comment.
18564 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
18565 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
18566 * nptl/pthread_join_common.c: New file: common function used on
18567 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
18568 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
18569 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
18570 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
18571 (cleanup): Move definition to pthread_join_common.c.
18572 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
18573 Remove superflous checks.
18574 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
18577 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
18579 * sysdeps/aarch64/libm-test-ulps: Update.
18581 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18583 * sysdeps/aarch64/memset.S (MEMSET): Define.
18585 2017-12-20 Florian Weimer <fweimer@redhat.com>
18588 nptl: Provide full implementation of pthread_self in libc.so.
18589 * nptl/Makefile (routines): Add pthread_self.
18590 (libpthread-routines): Replace pthread_self with
18591 compat-pthread_self.
18592 * nptl/forward.c (pthread_self): Remove.
18593 * nptl/nptl-init.c (pthread_functions): Do not initialize
18595 * nptl/pthread_self.c (pthread_self): Remove weak alias.
18596 * nptl/compat-pthread_self.c: New file.
18597 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
18598 Remove ptr_pthread_self.
18600 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
18602 * posix/regcomp.c: Fix spelling in comments.
18603 * posix/regex.h: Likewise.
18604 * posix/regex_internal.c: Likewise.
18605 * posix/regexec.c: Likewise.
18607 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18610 * math/Makefile [C++] (tests): Add test for iseqsig.
18611 * math/math.h [C++] (iseqsig): New implementation, which does
18612 not rely on __MATH_TG/__builtin_types_compatible_p.
18613 * math/test-math-iseqsig.cc: New file.
18614 * sysdeps/powerpc/powerpc64le/Makefile
18615 (CFLAGS-test-math-iseqsig.cc): New variable.
18617 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
18619 * elf/dl-load.c (is_trusted_path): Remove.
18620 (fillin_rpath): Remove check_trusted argument and its use,
18621 all callers changed.
18623 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18626 * Makeconfig (link-pie-before-libc): Replace -pie with
18627 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
18628 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
18629 (tst-dlopen-aout-no-pie): New.
18630 (LDFLAGS-tst-prelink): Removed.
18631 (tst-prelink-no-pie): New.
18632 (LDFLAGS-tst-main1): Removed.
18633 (tst-main1-no-pie): New.
18634 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
18635 (tst-gmon-no-pie): New.
18637 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18639 * manual/install.texi: Document that --enable-static-pie
18641 * INSTALL: Regenerated.
18643 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
18646 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
18649 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18653 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18655 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18657 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18659 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18660 <errno.h>. Include "eexp.tbl".
18661 (half): New constant.
18663 (__ieee754_exp): Rewrite.
18664 (__slowexp): Remove prototype.
18665 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18666 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18667 * sysdeps/i386/fpu/slowexp.c: Likewise.
18668 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18669 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18670 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18671 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18672 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18673 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18674 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18676 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18677 (CPPFLAGS-slowexp.c): Remove variable.
18678 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18679 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18680 (CFLAGS-slowexp-fma.c): Remove variable.
18681 (CFLAGS-slowexp-fma4.c): Likewise.
18682 (CFLAGS-slowexp-avx.c): Likewise.
18683 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18685 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18686 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18687 * math/Makefile (type-double-routines): Remove slowexp.
18688 * manual/probes.texi (slowexp_p6): Remove.
18689 (slowexp_p32): Likewise.
18691 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18693 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
18696 * lib/glob.c (glob): Do not pass NULL to mempcpy.
18698 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18700 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18702 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18704 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18705 <errno.h>. Include "eexp.tbl".
18706 (half): New constant.
18708 (__ieee754_exp): Rewrite.
18709 (__slowexp): Remove prototype.
18710 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18711 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18712 * sysdeps/i386/fpu/slowexp.c: Likewise.
18713 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18714 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18715 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18716 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18717 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18718 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18719 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18721 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18722 (CPPFLAGS-slowexp.c): Remove variable.
18723 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18724 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18725 (CFLAGS-slowexp-fma.c): Remove variable.
18726 (CFLAGS-slowexp-fma4.c): Likewise.
18727 (CFLAGS-slowexp-avx.c): Likewise.
18728 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18730 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18731 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18732 * math/Makefile (type-double-routines): Remove slowexp.
18733 * manual/probes.texi (slowexp_p6): Remove.
18734 (slowexp_p32): Likewise.
18736 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18737 James Clarke <jrtc27@jrtc27.com>
18740 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
18743 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18746 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
18749 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18752 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18753 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
18754 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18755 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
18758 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18761 * bits/types/__cancel_jmp_buf_tag.h: New file.
18762 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
18763 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
18764 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
18765 * nptl/Makefile (headers): Add
18766 bits/types/__cancel_jmp_buf_tag.h.
18767 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
18768 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
18769 * sysdeps/nptl/pthread.h: Include
18770 <bits/types/__cancel_jmp_buf_tag.h>.
18771 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
18773 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
18775 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18777 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18778 --enable-static-pie variants to x86_64, x32 and i686.
18780 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18783 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
18784 argument for attrubutes. All callers changed.
18785 (__inline_mathop1): Likewise. All callers changed.
18786 (__inline_mathop): Likewise. All callers changed.
18787 [__USE_MISC] (scalbn): Use __inline_forward instead of
18788 __inline_forward_c.
18789 [__USE_ISOC99] (scalbln): Likewise.
18790 [__USE_ISOC99] (nearbyint): Likewise.
18791 [__USE_ISOC99] (lrint): Likewise.
18792 [__USE_MISC] (scalbnf): Likewise.
18793 [__USE_ISOC99] (scalblnf): Likewise.
18794 [__USE_ISOC99] (nearbyintf): Likewise.
18795 [__USE_ISOC99] (lrintf): Likewise.
18796 [__USE_MISC] (scalbnl): Likewise.
18797 [__USE_ISOC99] (scalblnl): Likewise.
18798 [__USE_ISOC99] (nearbyintl): Likewise.
18799 [__USE_ISOC99] (lrintl): Likewise.
18800 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
18801 __inline_mathop and __m81_defun changed.
18803 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
18804 CPU or FPU for ARM hard-float configurations.
18806 2017-12-18 Joseph Myers <joseph@codesourcery.com>
18808 * nptl/tst-attr3.c: Include <libc-diag.h>.
18809 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
18811 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
18813 * string/tester.c (test_strncat): Also disable -Warray-bounds
18814 warnings for two tests.
18816 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18819 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
18820 $(cc-pie-default) == yes.
18821 * config.make.in (cc-pie-default): New.
18822 * configure.ac (libc_cv_pie_default): Renamed to ...
18823 (libc_cv_cc_pie_default): This.
18824 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
18825 * configure: Regenerated.
18827 2017-12-18 Florian Weimer <fweimer@redhat.com>
18830 ld.so: Harden dl-libc/libdl hooks.
18831 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
18832 (rtld_active): New function.
18833 * dlfcn/dladdr.c (__dladdr): Call it.
18834 * dlfcn/dladdr1.c (__dladdr1): Likewise.
18835 * dlfcn/dlclose.c (__dlcose): Likewise.
18836 * dlfcn/dlerror.c (__dlerror): Likewise.
18837 * dlfcn/dlinfo.c (__dlinfo): Likewise.
18838 * dlfcn/dlmopen.c (__dlmopen): Likewise.
18839 * dlfcn/dlopen.c (__dlopen): Likewise.
18840 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18841 * dlfcn/dlsym.c (__dlsym): Likewise.
18842 * dlfcn/dlvsym.c (__dlvsym): Likewise.
18843 * libio/vtables.c (_IO_vtable_check): Likewise.
18844 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
18845 (__libc_dlclose): Likewise.
18846 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
18849 2017-12-18 Joseph Myers <joseph@codesourcery.com>
18852 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
18853 buffers for readlink input and output.
18855 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
18858 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
18859 inhibit_stack_protector.
18862 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
18863 inhibit_stack_protector.
18865 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
18868 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
18869 code and invocation.
18871 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
18873 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
18875 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
18878 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
18880 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18882 * sysdeps/s390/fpu/libm-test-ulps: Update.
18884 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18886 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18888 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18890 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
18891 constants to s_sincosf.h file.
18892 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18893 * sysdeps/ieee754/flt-32/s_sincosf.c: New
18895 * sysdeps/ieee754/flt-32/s_sincosf.h:
18898 2017-12-12 Carlos O'Donell <carlos@redhat.com>
18901 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
18904 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
18907 * INSTALL: Regenerated.
18908 * Makeconfig (real-static-start-installed-name): New.
18909 (pic-default): Updated for --enable-static-pie.
18910 (pie-default): New for --enable-static-pie.
18911 (default-pie-ldflag): Likewise.
18912 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
18913 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
18914 Replace $(static-start-installed-name) with
18915 $(real-static-start-installed-name).
18916 (+prectorT): Updated for --enable-static-pie.
18917 (+postctorT): Likewise.
18918 (CFLAGS-.o): Add $(pie-default).
18919 (CFLAGS-.op): Likewise.
18920 * NEWS: Mention --enable-static-pie.
18921 * config.h.in (ENABLE_STATIC_PIE): New.
18922 * configure.ac (--enable-static-pie): New configure option.
18923 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
18924 (have-static-pie): Likewise.
18925 Enable static PIE if linker supports --no-dynamic-linker.
18926 (ENABLE_STATIC_PIE): New AC_DEFINE.
18927 (enable-static-pie): New LIBC_CONFIG_VAR.
18928 * configure: Regenerated.
18929 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
18930 gr$(start-installed-name) for --enable-static-pie.
18931 (extra-objs): Likewise.
18932 (install-lib): Likewise.
18933 (extra-objs): Add static-reloc.o and static-reloc.os
18934 ($(objpfx)$(start-installed-name)): Also depend on
18935 $(objpfx)static-reloc.o.
18936 ($(objpfx)r$(start-installed-name)): New.
18937 ($(objpfx)g$(start-installed-name)): Also depend on
18938 $(objpfx)static-reloc.os.
18939 ($(objpfx)gr$(start-installed-name)): New.
18940 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
18942 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
18944 * csu/static-reloc.c: New file.
18945 * elf/Makefile (routines): Add dl-reloc-static-pie.
18946 (elide-routines.os): Likewise.
18947 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
18948 (tst-tls1-static-non-pie-no-pie): New.
18949 * elf/dl-reloc-static-pie.c: New file.
18950 * elf/dl-support.c (_dl_get_dl_main_map): New function.
18951 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
18952 STATIC_PIE_BOOTSTRAP.
18953 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18954 * gmon/Makefile (tests): Add tst-gmon-static-pie.
18955 (tests-static): Likewise.
18956 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
18957 (tst-gmon-static-no-pie): New.
18958 (CFLAGS-tst-gmon-static-pie.c): Likewise.
18959 (CRT-tst-gmon-static-pie): Likewise.
18960 (tst-gmon-static-pie-ENV): Likewise.
18961 (tests-special): Likewise.
18962 ($(objpfx)tst-gmon-static-pie.out): Likewise.
18963 (clean-tst-gmon-static-pie-data): Likewise.
18964 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
18965 * gmon/tst-gmon-static-pie.c: New file.
18966 * manual/install.texi: Document --enable-static-pie.
18967 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
18968 (_dl_get_dl_main_map): Likewise.
18969 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
18970 * sysdeps/x86_64/configure.ac: Likewise.
18971 * sysdeps/i386/configure: Regenerated.
18972 * sysdeps/x86_64/configure: Likewise.
18973 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
18974 (ASFLAGS-.op): Likewise.
18976 2017-12-15 Joseph Myers <joseph@codesourcery.com>
18978 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
18979 * posix/tst-mmap-offset.c (fname): Use /tmp.
18980 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
18982 2017-12-15 Steve Ellcey <sellcey@cavium.com>
18984 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
18986 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
18988 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
18991 2017-12-15 Joseph Myers <joseph@codesourcery.com>
18993 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
18994 --with-float=hard for arm-linux-gnueabihf configurations.
18997 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
18998 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
18999 ($(mo-installed)): Use $(objpfx)%.mo.
19000 (realclean): Remove rule.
19002 * po/Makefile (linguas): Remove rule and dependencies.
19003 (linguas.mo): Likewise.
19004 (.PHONY): Do not depend on linguas and linguas.mo.
19005 (podir): Remove variable.
19006 (pofiles): Likewise.
19007 [$(pofiles)] (%.po): Remove rule.
19009 * sysdeps/sparc/sparc32/Makefile
19010 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
19011 start-of-line whitespace in argument of echo.
19012 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
19013 with whitespace. Generate __wrap_.udiv alias.
19014 * sysdeps/sparc/sparc32/rem.S: Regenerated.
19015 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19016 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19017 * sysdeps/sparc/sparc32/urem.S: Likewise.
19019 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19021 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
19022 for aligned inputs.
19024 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
19026 * benchtests/bench-strcmp.c: Print output in JSON format.
19028 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
19030 2017-12-14 Florian Weimer <fweimer@redhat.com>
19034 * elf/dl-load.c (_dl_init_paths): Compute number of components in
19035 the expanded path string.
19037 2017-12-14 Florian Weimer <fweimer@redhat.com>
19041 * elf/dl-load.c (system_dirs): Update comment.
19042 (nsystem_dirs_len): Use array_length.
19043 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
19045 2017-12-14 Florian Weimer <fweimer@redhat.com>
19047 Simplify compiling most of support/ outside of glibc.
19048 * support/check_addrinfo.c: Include <string.h>.
19049 * support/check_dns_packet.c: Likewise.
19050 * support/check_hostent.c: Likewise.
19051 * support/support_can_chroot.c: Include <support/xunistd.h>.
19052 * support/support_format_addrinfo.c: Include <stdlib.h>
19053 * support/support_format_dns_packet.c: Include <stdbool.h>.
19054 * support/support_format_hostent.c: Include <stdlib.h>.
19055 * support/support_format_netent.c: Likewise.
19056 * support/support_write_string.c: Include <support/xunistd.h>.
19057 * support/xdlfcn.c: Include <stddef.h>.
19059 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
19061 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
19063 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19064 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19066 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19067 (sysdeps_routines): Add memset-niagara7.
19068 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
19070 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
19072 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
19073 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
19074 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
19075 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
19076 Add niagara7 option.
19077 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
19080 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19081 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
19082 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
19084 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
19086 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
19087 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
19088 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
19089 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
19090 and __memmove_niagara7.
19091 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
19092 Add niagara7 option.
19093 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
19094 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
19095 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
19096 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
19097 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
19099 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
19101 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
19102 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
19103 * sysdeps/sparc/sparc64/memmove.S: Likewise.
19104 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
19106 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
19107 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
19108 _dl_sparc_cap_flags array.
19109 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
19111 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
19113 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
19114 time whenever possible.
19116 2017-12-12 Carlos O'Donell <carlos@redhat.com>
19118 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
19119 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
19121 2017-12-12 Joseph Myers <joseph@codesourcery.com>
19123 * soft-fp/fmadf4.c: Move to ....
19124 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
19125 * soft-fp/fmasf4.c: Move to ....
19126 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
19127 * soft-fp/fmatf4.c: Move to ....
19128 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
19129 * sysdeps/ieee754/soft-fp/Makefile: New file.
19130 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
19131 * sysdeps/arm/preconfigure: Regenerated.
19132 * sysdeps/arm/nofpu/Implies: New file.
19133 * sysdeps/arm/s_fma.c: Remove file.
19134 * sysdeps/arm/s_fmaf.c: Likewise.
19135 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
19136 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
19137 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
19138 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
19139 * sysdeps/microblaze/s_fma.c: Remove file.
19140 * sysdeps/microblaze/s_fmaf.c: Likewise.
19141 * sysdeps/mips/mips32/nofpu/Implies: New file.
19142 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
19143 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
19144 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
19145 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
19146 * sysdeps/mips/ieee754/s_fma.c: Remove file.
19147 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
19148 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
19150 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
19151 * sysdeps/nios2/s_fma.c: Remove file.
19152 * sysdeps/nios2/s_fmaf.c: Likewise.
19153 * sysdeps/sh/nofpu/Implies: New file.
19154 * sysdeps/sh/s_fma.c: Remove file.
19155 * sysdeps/sh/s_fmaf.c: Likewise.
19156 * sysdeps/tile/Implies: Add ieee754/soft-fp.
19157 * sysdeps/tile/s_fma.c: Remove file.
19158 * sysdeps/tile/s_fmaf.c: Likewise.
19160 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
19162 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19163 Add s_cosf-sse2 and s_cosf-fma.
19164 (CFLAGS-s_cosf-fma.c): New.
19165 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
19166 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
19167 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
19169 2017-12-12 Steve Ellcey <sellcey@cavium.com>
19171 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
19173 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19175 * libio/Makefile (tests): Add tst-bz22415.
19176 (tst-bz22415-ENV): New rule.
19177 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
19178 (tests-special): Add tst-bz22415-mem.out.
19179 ($(objpfx)tst-bz22415-mem.out): New rule.
19180 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
19181 in case of a successful seek operation.
19182 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19183 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
19184 buffer is required.
19185 * libio/tst-bz22415.c: New test.
19187 * sysdeps/ia64/fpu/libm-test-ulps: Update.
19189 2017-12-12 James Clarke <jrtc27@jrtc27.com>
19191 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
19192 __IPC_64 to 0 to avoid IPC_64 being set.
19194 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19197 * math/bits/mathcalls.h (nextafter): Remove const.
19198 (nexttoward): Likewise.
19200 2017-12-12 Joseph Myers <joseph@codesourcery.com>
19202 * configure.ac (--with-fp): Remove configure option.
19203 (with_fp_cond): New variable.
19204 (libc_cv_with_fp): New configure test. Use this variable instead
19206 * configure: Regenerated.
19207 * config.make.in (with-fp): Use @libc_cv_with_fp@.
19208 * manual/install.texi (Configuring and compiling): Remove
19210 * INSTALL: Regenerated.
19211 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
19212 * sysdeps/mips/preconfigure (with_fp_cond): Define.
19213 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
19214 * sysdeps/sh/preconfigure (with_fp_cond): Define.
19215 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
19216 use --without-fp to configure glibc.
19218 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
19220 * manual/locale.texi (nl_langinfo): Fix a typo.
19222 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
19225 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
19227 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
19229 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
19230 (CFLAGS-argp-parse.c): Likewise.
19231 (CFLAGS-argp-fmtstream.c): Likewise.
19232 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
19233 (CPPFLAGS-sha512-crypt.c): Likewise.
19234 (CPPFLAGS-md5-crypt.c): Likewise.
19235 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
19236 (CFLAGS-stack_chk_fail_local.c): Likewise.
19237 (CFLAGS-backtrace.c): Likewise.
19238 (CFLAGS-sprintf_chk.c): Likewise.
19239 (CFLAGS-snprintf_chk.c): Likewise.
19240 (CFLAGS-vsprintf_chk.c): Likewise.
19241 (CFLAGS-vsnprintf_chk.c): Likewise.
19242 (CFLAGS-asprintf_chk.c): Likewise.
19243 (CFLAGS-vasprintf_chk.c): Likewise.
19244 (CFLAGS-obprintf_chk.c): Likewise.
19245 (CFLAGS-dprintf_chk.c): Likewise.
19246 (CFLAGS-vdprintf_chk.c): Likewise.
19247 (CFLAGS-printf_chk.c): Likewise.
19248 (CFLAGS-fprintf_chk.c): Likewise.
19249 (CFLAGS-vprintf_chk.c): Likewise.
19250 (CFLAGS-vfprintf_chk.c): Likewise.
19251 (CFLAGS-gets_chk.c): Likewise.
19252 (CFLAGS-fgets_chk.c): Likewise.
19253 (CFLAGS-fgets_u_chk.c): Likewise.
19254 (CFLAGS-fread_chk.c): Likewise.
19255 (CFLAGS-fread_u_chk.c): Likewise.
19256 (CFLAGS-swprintf_chk.c): Likewise.
19257 (CFLAGS-vswprintf_chk.c): Likewise.
19258 (CFLAGS-wprintf_chk.c): Likewise.
19259 (CFLAGS-fwprintf_chk.c): Likewise.
19260 (CFLAGS-vwprintf_chk.c): Likewise.
19261 (CFLAGS-vfwprintf_chk.c): Likewise.
19262 (CFLAGS-fgetws_chk.c): Likewise.
19263 (CFLAGS-fgetws_u_chk.c): Likewise.
19264 (CFLAGS-read_chk.c): Likewise.
19265 (CFLAGS-pread_chk.c): Likewise.
19266 (CFLAGS-pread64_chk.c): Likewise.
19267 (CFLAGS-recv_chk.c): Likewise.
19268 (CFLAGS-recvfrom_chk.c): Likewise.
19269 (CFLAGS-tst-longjmp_chk.c): Likewise.
19270 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
19271 (CFLAGS-tst-longjmp_chk2.c): Likewise.
19272 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
19273 (CFLAGS-tst-longjmp_chk3.c): Likewise.
19274 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19275 (CFLAGS-tst-chk1.c): Likewise.
19276 (CFLAGS-tst-chk2.c): Likewise.
19277 (CFLAGS-tst-chk3.c): Likewise.
19278 (CFLAGS-tst-chk4.cc): Likewise.
19279 (CFLAGS-tst-chk5.cc): Likewise.
19280 (CFLAGS-tst-chk6.cc): Likewise.
19281 (CFLAGS-tst-lfschk1.c): Likewise.
19282 (CFLAGS-tst-lfschk2.c): Likewise.
19283 (CFLAGS-tst-lfschk3.c): Likewise.
19284 (CFLAGS-tst-lfschk4.cc): Likewise.
19285 (CFLAGS-tst-lfschk5.cc): Likewise.
19286 (CFLAGS-tst-lfschk6.cc): Likewise.
19287 (CFLAGS-tst-ssp-1.c): Likewise.
19288 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
19289 (CFLAGS-scandir64.c): Likewise.
19290 (CFLAGS-scandir-tail.c): Likewise.
19291 (CFLAGS-scandir64-tail.c): Likewise.
19292 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
19293 (CFLAGS-dl-tunables.c): Likewise.
19294 (CFLAGS-dl-runtime.c): Likewise.
19295 (CFLAGS-dl-lookup.c): Likewise.
19296 (CFLAGS-dl-iterate-phdr.c): Likewise.
19297 (CFLAGS-vismain.c): Likewise.
19298 (CFLAGS-tst-linkall-static.c): Likewise.
19299 (CFLAGS-tst-linkall-static.c): Likewise.
19300 (CPPFLAGS-dl-load.c): Likewise.
19301 (CFLAGS-ldconfig.c): Likewise.
19302 (CFLAGS-dl-cache.c): Likewise.
19303 (CFLAGS-cache.c): Likewise.
19304 (CFLAGS-rtld.c): Likewise.
19305 (CFLAGS-multiload.c): Likewise.
19306 (CFLAGS-filtmod1.c): Likewise.
19307 (CFLAGS-tst-align.c): Likewise.
19308 (CFLAGS-tst-align2.c): Likewise.
19309 (CFLAGS-tst-alignmod.c): Likewise.
19310 (CFLAGS-tst-alignmod2.c): Likewise.
19311 (CPPFLAGS-tst-execstack.c): Likewise.
19312 (CFLAGS-tst-ptrguard1-static.c): Likewise.
19313 (CFLAGS-tst-latepthreadmod.c): Likewise.
19314 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
19315 (CFLAGS-getgrnam_r.c): Likewise.
19316 (CFLAGS-getgrent_r.c): Likewise.
19317 (CFLAGS-getgrent.c): Likewise.
19318 (CFLAGS-fgetgrent.c): Likewise.
19319 (CFLAGS-fgetgrent_r.c): Likewise.
19320 (CFLAGS-putgrent.c): Likewise.
19321 (CFLAGS-initgroups.c): Likewise.
19322 (CFLAGS-getgrgid.c): Likewise.
19323 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
19324 (CFLAGS-getsgent.c): Likewise.
19325 (CFLAGS-fgetsgent.c): Likewise.
19326 (CFLAGS-fgetsgent_r.c): Likewise.
19327 (CFLAGS-putsgent.c): Likewise.
19328 (CFLAGS-getsgnam.c): Likewise.
19329 (CFLAGS-getsgnam_r.c): Likewise.
19330 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
19331 (CFLAGS-iconv_charmap.c): Likewise.
19332 (CFLAGS-dummy-repertoire.c): Likewise.
19333 (CFLAGS-charmap.c): Likewise.
19334 (CFLAGS-linereader.c): Likewise.
19335 (CFLAGS-simple-hash.c): Likewise.
19336 (CFLAGS-gconv_conf.c): Likewise.
19337 (CFLAGS-iconvconfig.c): Likewise.
19338 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19339 (CFLAGS-gethstbyad.c): Likewise.
19340 (CFLAGS-gethstbynm_r.c): Likewise.
19341 (CFLAGS-gethstbynm.c): Likewise.
19342 (CFLAGS-gethstbynm2_r.c): Likewise.
19343 (CFLAGS-gethstbynm2.c): Likewise.
19344 (CFLAGS-gethstent_r.c): Likewise.
19345 (CFLAGS-gethstent.c): Likewise.
19346 (CFLAGS-rcmd.c): Likewise.
19347 (CFLAGS-getnetbynm_r.c): Likewise.
19348 (CFLAGS-getnetbynm.c): Likewise.
19349 (CFLAGS-getnetbyad_r.c): Likewise.
19350 (CFLAGS-getnetbyad.c): Likewise.
19351 (CFLAGS-getnetent_r.c): Likewise.
19352 (CFLAGS-getnetent.c): Likewise.
19353 (CFLAGS-getaliasent_r.c): Likewise.
19354 (CFLAGS-getaliasent.c): Likewise.
19355 (CFLAGS-getrpcent_r.c): Likewise.
19356 (CFLAGS-getrpcent.c): Likewise.
19357 (CFLAGS-getservent_r.c): Likewise.
19358 (CFLAGS-getservent.c): Likewise.
19359 (CFLAGS-getprtent_r.c): Likewise.
19360 (CFLAGS-getprtent.c): Likewise.
19361 (CFLAGS-either_ntoh.c): Likewise.
19362 (CFLAGS-either_hton.c): Likewise.
19363 (CFLAGS-getnetgrent.c): Likewise.
19364 (CFLAGS-getnetgrent_r.c): Likewise.
19365 (CFLAGS-tst-checks-posix.c): Likewise.
19366 (CFLAGS-tst-sockaddr.c): Likewise.
19367 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
19368 (CFLAGS-tst-translit.c): Likewise.
19369 (CFLAGS-tst-gettext2.c): Likewise.
19370 (CFLAGS-tst-codeset.c): Likewise.
19371 (CFLAGS-tst-gettext3.c): Likewise.
19372 (CFLAGS-tst-gettext4.c): Likewise.
19373 (CFLAGS-tst-gettext5.c): Likewise.
19374 (CFLAGS-tst-gettext6.c): Likewise.
19375 * io/Makefile (CFLAGS-open.c): Likewise.
19376 (CFLAGS-open64.c): Likewise.
19377 (CFLAGS-creat.c): Likewise.
19378 (CFLAGS-creat64.c): Likewise.
19379 (CFLAGS-fcntl.c): Likewise.
19380 (CFLAGS-poll.c): Likewise.
19381 (CFLAGS-ppoll.c): Likewise.
19382 (CFLAGS-lockf.c): Likewise.
19383 (CFLAGS-statfs.c): Likewise.
19384 (CFLAGS-fstatfs.c): Likewise.
19385 (CFLAGS-statvfs.c): Likewise.
19386 (CFLAGS-fstatvfs.c): Likewise.
19387 (CFLAGS-fts.c): Likewise.
19388 (CFLAGS-fts64.c): Likewise.
19389 (CFLAGS-ftw.c): Likewise.
19390 (CFLAGS-ftw64.c): Likewise.
19391 (CFLAGS-lockf.c): Likewise.
19392 (CFLAGS-posix_fallocate.c): Likewise.
19393 (CFLAGS-posix_fallocate64.c): Likewise.
19394 (CFLAGS-fallocate.c): Likewise.
19395 (CFLAGS-fallocate64.c): Likewise.
19396 (CFLAGS-read.c): Likewise.
19397 (CFLAGS-write.c): Likewise.
19398 (CFLAGS-test-stat.c): Likewise.
19399 (CFLAGS-test-lfs.c): Likewise.
19400 * libio/Makefile (CFLAGS-fileops.c): Likewise.
19401 (CFLAGS-fputc.c): Likewise.
19402 (CFLAGS-fputwc.c): Likewise.
19403 (CFLAGS-freopen64.c): Likewise.
19404 (CFLAGS-freopen.c): Likewise.
19405 (CFLAGS-fseek.c): Likewise.
19406 (CFLAGS-fseeko64.c): Likewise.
19407 (CFLAGS-fseeko.c): Likewise.
19408 (CFLAGS-ftello64.c): Likewise.
19409 (CFLAGS-ftello.c): Likewise.
19410 (CFLAGS-fwide.c): Likewise.
19411 (CFLAGS-genops.c): Likewise.
19412 (CFLAGS-getc.c): Likewise.
19413 (CFLAGS-getchar.c): Likewise.
19414 (CFLAGS-getwc.c): Likewise.
19415 (CFLAGS-getwchar.c): Likewise.
19416 (CFLAGS-iofclose.c): Likewise.
19417 (CFLAGS-iofflush.c): Likewise.
19418 (CFLAGS-iofgetpos64.c): Likewise.
19419 (CFLAGS-iofgetpos.c): Likewise.
19420 (CFLAGS-iofgets.c): Likewise.
19421 (CFLAGS-iofgetws.c): Likewise.
19422 (CFLAGS-iofputs.c): Likewise.
19423 (CFLAGS-iofputws.c): Likewise.
19424 (CFLAGS-iofread.c): Likewise.
19425 (CFLAGS-iofsetpos64.c): Likewise.
19426 (CFLAGS-iofsetpos.c): Likewise.
19427 (CFLAGS-ioftell.c): Likewise.
19428 (CFLAGS-iofwrite.c): Likewise.
19429 (CFLAGS-iogetdelim.c): Likewise.
19430 (CFLAGS-iogetline.c): Likewise.
19431 (CFLAGS-iogets.c): Likewise.
19432 (CFLAGS-iogetwline.c): Likewise.
19433 (CFLAGS-ioputs.c): Likewise.
19434 (CFLAGS-ioseekoff.c): Likewise.
19435 (CFLAGS-ioseekpos.c): Likewise.
19436 (CFLAGS-iosetbuffer.c): Likewise.
19437 (CFLAGS-iosetvbuf.c): Likewise.
19438 (CFLAGS-ioungetc.c): Likewise.
19439 (CFLAGS-ioungetwc.c): Likewise.
19440 (CFLAGS-oldfileops.c): Likewise.
19441 (CFLAGS-oldiofclose.c): Likewise.
19442 (CFLAGS-oldiofgetpos64.c): Likewise.
19443 (CFLAGS-oldiofgetpos.c): Likewise.
19444 (CFLAGS-oldiofsetpos64.c): Likewise.
19445 (CFLAGS-oldiofsetpos.c): Likewise.
19446 (CFLAGS-peekc.c): Likewise.
19447 (CFLAGS-putc.c): Likewise.
19448 (CFLAGS-putchar.c): Likewise.
19449 (CFLAGS-putwc.c): Likewise.
19450 (CFLAGS-putwchar.c): Likewise.
19451 (CFLAGS-rewind.c): Likewise.
19452 (CFLAGS-wfileops.c): Likewise.
19453 (CFLAGS-wgenops.c): Likewise.
19454 (CFLAGS-oldiofopen.c): Likewise.
19455 (CFLAGS-iofopen.c): Likewise.
19456 (CFLAGS-iofopen64.c): Likewise.
19457 (CFLAGS-oldtmpfile.c): Likewise.
19458 (CFLAGS-tst_putwc.c): Likewise.
19459 * locale/Makefile (CFLAGS-md5.c): Likewise.
19460 (CFLAGS-charmap.c): Likewise.
19461 (CFLAGS-locfile.c): Likewise.
19462 (CFLAGS-charmap-dir.c): Likewise.
19463 * login/Makefile (CFLAGS-grantpt.c): Likewise.
19464 (CFLAGS-getpt.c): Likewise.
19465 (CFLAGS-pt_chown.c): Likewise.
19466 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
19467 (CFLAGS-obstack.c): Likewise.
19468 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
19469 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
19470 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
19471 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
19472 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
19473 (CFLAGS-test-tgmath.c): Likewise.
19474 (CFLAGS-test-tgmath2.c): Likewise.
19475 (CFLAGS-test-tgmath-ret.c): Likewise.
19476 (CFLAGS-test-powl.c): Likewise.
19477 (CFLAGS-test-snan.c): Likewise.
19478 (CFLAGS-test-signgam-finite.c): Likewise.
19479 (CFLAGS-test-signgam-finite-c99.c): Likewise.
19480 (CFLAGS-test-signgam-finite-c11.c): Likewise.
19481 (CFLAGS-test-signgam-uchar.c): Likewise.
19482 (CFLAGS-test-signgam-uchar-init.c): Likewise.
19483 (CFLAGS-test-signgam-uchar-static.c): Likewise.
19484 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
19485 (CFLAGS-test-signgam-uint.c): Likewise.
19486 (CFLAGS-test-signgam-uint-init.c): Likewise.
19487 (CFLAGS-test-signgam-uint-static.c): Likewise.
19488 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
19489 (CFLAGS-test-signgam-ullong.c): Likewise.
19490 (CFLAGS-test-signgam-ullong-init.c): Likewise.
19491 (CFLAGS-test-signgam-ullong-static.c): Likewise.
19492 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
19493 (CFLAGS-test-math-cxx11.cc): Likewise.
19494 (CFLAGS-test-math-isinff.cc): Likewise.
19495 (CFLAGS-test-math-iszero.cc): Likewise.
19496 (CFLAGS-test-math-issignaling.cc): Likewise.
19497 (CFLAGS-test-math-iscanonical.cc): Likewise.
19498 (CFLAGS-test-iszero-excess-precision.c): Likewise.
19499 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
19500 (CFLAGS-test-flt-eval-method.c): Likewise.
19501 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
19502 (CFLAGS-test-finite-macros.c): Likewise.
19503 * misc/Makefile (CFLAGS-select.c): Likewise.
19504 (CFLAGS-tsearch.c): Likewise.
19505 (CFLAGS-lsearch.c): Likewise.
19506 (CFLAGS-pselect.c): Likewise.
19507 (CFLAGS-readv.c): Likewise.
19508 (CFLAGS-writev.c): Likewise.
19509 (CFLAGS-preadv.c): Likewise.
19510 (CFLAGS-preadv64.c): Likewise.
19511 (CFLAGS-pwritev.c): Likewise.
19512 (CFLAGS-pwritev64.c): Likewise.
19513 (CFLAGS-preadv2.c): Likewise.
19514 (CFLAGS-preadv64v2.c): Likewise.
19515 (CFLAGS-pwritev2.c): Likewise.
19516 (CFLAGS-pwritev64v2.c): Likewise.
19517 (CFLAGS-usleep.c): Likewise.
19518 (CFLAGS-syslog.c): Likewise.
19519 (CFLAGS-error.c): Likewise.
19520 (CFLAGS-getpass.c): Likewise.
19521 (CFLAGS-mkstemp.c): Likewise.
19522 (CFLAGS-mkstemp64.c): Likewise.
19523 (CFLAGS-getsysstats.c): Likewise.
19524 (CFLAGS-getusershell.c): Likewise.
19525 (CFLAGS-err.c): Likewise.
19526 (CFLAGS-tst-tsearch.c): Likewise.
19527 (CFLAGS-msync.c): Likewise.
19528 (CFLAGS-fdatasync.c): Likewise.
19529 (CFLAGS-fsync.c): Likewise.
19530 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
19531 (CFLAGS-unwind.c): Likewise.
19532 (CFLAGS-unwind-forcedunwind.c): Likewise.
19533 (CFLAGS-pthread_cancel.c): Likewise.
19534 (CFLAGS-pthread_setcancelstate.c): Likewise.
19535 (CFLAGS-pthread_setcanceltype.c): Likewise.
19536 (CFLAGS-cancellation.c): Likewise.
19537 (CFLAGS-libc-cancellation.c): Likewise.
19538 (CFLAGS-pthread_exit.c): Likewise.
19539 (CFLAGS-forward.c): Likewise.
19540 (CFLAGS-pthread_testcancel.c): Likewise.
19541 (CFLAGS-pthread_join.c): Likewise.
19542 (CFLAGS-pthread_timedjoin.c): Likewise.
19543 (CFLAGS-pthread_once.c): Likewise.
19544 (CFLAGS-pthread_cond_wait.c): Likewise.
19545 (CFLAGS-sem_wait.c): Likewise.
19546 (CFLAGS-sem_timedwait.c): Likewise.
19547 (CFLAGS-fcntl.c): Likewise.
19548 (CFLAGS-lockf.c): Likewise.
19549 (CFLAGS-pread.c): Likewise.
19550 (CFLAGS-pread64.c): Likewise.
19551 (CFLAGS-pwrite.c): Likewise.
19552 (CFLAGS-pwrite64.c): Likewise.
19553 (CFLAGS-wait.c): Likewise.
19554 (CFLAGS-waitpid.c): Likewise.
19555 (CFLAGS-sigwait.c): Likewise.
19556 (CFLAGS-msgrcv.c): Likewise.
19557 (CFLAGS-msgsnd.c): Likewise.
19558 (CFLAGS-tcdrain.c): Likewise.
19559 (CFLAGS-open.c): Likewise.
19560 (CFLAGS-open64.c): Likewise.
19561 (CFLAGS-pause.c): Likewise.
19562 (CFLAGS-recv.c): Likewise.
19563 (CFLAGS-send.c): Likewise.
19564 (CFLAGS-accept.c): Likewise.
19565 (CFLAGS-sendto.c): Likewise.
19566 (CFLAGS-connect.c): Likewise.
19567 (CFLAGS-recvfrom.c): Likewise.
19568 (CFLAGS-recvmsg.c): Likewise.
19569 (CFLAGS-sendmsg.c): Likewise.
19570 (CFLAGS-close.c): Likewise.
19571 (CFLAGS-read.c): Likewise.
19572 (CFLAGS-write.c): Likewise.
19573 (CFLAGS-nanosleep.c): Likewise.
19574 (CFLAGS-sigsuspend.c): Likewise.
19575 (CFLAGS-msync.c): Likewise.
19576 (CFLAGS-fdatasync.c): Likewise.
19577 (CFLAGS-fsync.c): Likewise.
19578 (CFLAGS-pt-system.c): Likewise.
19579 (CFLAGS-tst-cleanup2.c): Likewise.
19580 (CFLAGS-tst-cleanupx2.c): Likewise.
19581 (CFLAGS-flockfile.c): Likewise.
19582 (CFLAGS-ftrylockfile.c): Likewise.
19583 (CFLAGS-funlockfile.c): Likewise.
19584 (CFLAGS-tst-initializers1.c): Likewise.
19585 (CFLAGS-tst-initializers1-c89.c): Likewise.
19586 (CFLAGS-tst-initializers1-c99.c): Likewise.
19587 (CFLAGS-tst-initializers1-c11.c): Likewise.
19588 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
19589 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
19590 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
19591 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
19592 (CFLAGS-nscd_getgr_r.c): Likewise.
19593 (CFLAGS-nscd_gethst_r.c): Likewise.
19594 (CFLAGS-nscd_getai.c): Likewise.
19595 (CFLAGS-nscd_initgroups.c): Likewise.
19596 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
19597 (CFLAGS-pause.c): Likewise.
19598 (CFLAGS-pread.c): Likewise.
19599 (CFLAGS-pread64.c): Likewise.
19600 (CFLAGS-pwrite.c): Likewise.
19601 (CFLAGS-pwrite64.c): Likewise.
19602 (CFLAGS-sleep.c): Likewise.
19603 (CFLAGS-wait.c): Likewise.
19604 (CFLAGS-waitid.c): Likewise.
19605 (CFLAGS-waitpid.c): Likewise.
19606 (CFLAGS-getopt.c): Likewise.
19607 (CFLAGS-wordexp.c): Likewise.
19608 (CFLAGS-sysconf.c): Likewise.
19609 (CFLAGS-pathconf.c): Likewise.
19610 (CFLAGS-fpathconf.c): Likewise.
19611 (CFLAGS-spawn.c): Likewise.
19612 (CFLAGS-spawnp.c): Likewise.
19613 (CFLAGS-spawni.c): Likewise.
19614 (CFLAGS-glob.c): Likewise.
19615 (CFLAGS-glob64.c): Likewise.
19616 (CFLAGS-getconf.c): Likewise.
19617 (CFLAGS-nanosleep.c): Likewise.
19618 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
19619 (CFLAGS-getpwent.c): Likewise.
19620 (CFLAGS-getpw.c): Likewise.
19621 (CFLAGS-fgetpwent_r.c): Likewise.
19622 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
19623 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
19624 (CFLAGS-mq_timedreceive.c): Likewise.
19625 (CFLAGS-mq_timedsend.c): Likewise.
19626 (CFLAGS-clock_nanosleep.c): Likewise.
19627 (CFLAGS-librt-cancellation.c): Likewise.
19628 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
19629 (CFLAGS-getspent.c): Likewise.
19630 (CFLAGS-fgetspent.c): Likewise.
19631 (CFLAGS-fgetspent_r.c): Likewise.
19632 (CFLAGS-putspent.c): Likewise.
19633 (CFLAGS-getspnam.c): Likewise.
19634 (CFLAGS-getspnam_r.c): Likewise.
19635 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
19636 (CFLAGS-sigsuspend.c): Likewise.
19637 (CFLAGS-sigtimedwait.c): Likewise.
19638 (CFLAGS-sigwait.c): Likewise.
19639 (CFLAGS-sigwaitinfo.c): Likewise.
19640 (CFLAGS-sigreturn.c): Likewise.
19641 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
19642 (CFLAGS-vfwprintf.c): Likewise.
19643 (CFLAGS-tmpfile.c): Likewise.
19644 (CFLAGS-tmpfile64.c): Likewise.
19645 (CFLAGS-tempname.c): Likewise.
19646 (CFLAGS-psignal.c): Likewise.
19647 (CFLAGS-vprintf.c): Likewise.
19648 (CFLAGS-cuserid.c): Likewise.
19649 (CFLAGS-errlist.c): Likewise.
19650 (CFLAGS-siglist.c): Likewise.
19651 (CFLAGS-scanf15.c): Likewise.
19652 (CFLAGS-scanf17.c): Likewise.
19653 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
19654 (CFLAGS-msort.c): Likewise.
19655 (CFLAGS-qsort.c): Likewise.
19656 (CFLAGS-system.c): Likewise.
19657 (CFLAGS-fmtmsg.c): Likewise.
19658 (CFLAGS-strfmon.c): Likewise.
19659 (CFLAGS-strfmon_l.c): Likewise.
19660 (CFLAGS-strfromd.c): Likewise.
19661 (CFLAGS-strfromf.c): Likewise.
19662 (CFLAGS-strfroml.c): Likewise.
19663 (CFLAGS-tst-bsearch.c): Likewise.
19664 (CFLAGS-tst-qsort.c): Likewise.
19665 (CFLAGS-tst-makecontext2.c): Likewise.
19666 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
19667 (CFLAGS-xnlm_prot.c): Likewise.
19668 (CFLAGS-xrstat.c): Likewise.
19669 (CFLAGS-xyppasswd.c): Likewise.
19670 (CFLAGS-xklm_prot.c): Likewise.
19671 (CFLAGS-xrex.c): Likewise.
19672 (CFLAGS-xsm_inter.c): Likewise.
19673 (CFLAGS-xmount.c): Likewise.
19674 (CFLAGS-xrusers.c): Likewise.
19675 (CFLAGS-xspray.c): Likewise.
19676 (CFLAGS-xnfs_prot.c): Likewise.
19677 (CFLAGS-xrquota.c): Likewise.
19678 (CFLAGS-xkey_prot.c): Likewise.
19679 (CFLAGS-auth_unix.c): Likewise.
19680 (CFLAGS-key_call.c): Likewise.
19681 (CFLAGS-pmap_rmt.c): Likewise.
19682 (CFLAGS-clnt_perr.c): Likewise.
19683 (CFLAGS-openchild.c): Likewise.
19684 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
19685 (CFLAGS-msgsnd.c): Likewise.
19686 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
19687 * time/Makefile (CFLAGS-tzfile.c): Likewise.
19688 (CFLAGS-tzset.c): Likewise.
19689 (CFLAGS-getdate.c): Likewise.
19690 (CFLAGS-test_time.c): Likewise.
19691 (CPPFLAGS-tst-tzname.c): Likewise.
19692 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
19693 (CFLAGS-zic.c): Likewise.
19694 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
19695 (CFLAGS-wcswidth.c): Likewise.
19696 (CFLAGS-wcstol.c): Likewise.
19697 (CFLAGS-wcstoul.c): Likewise.
19698 (CFLAGS-wcstoll.c): Likewise.
19699 (CFLAGS-wcstoull.c): Likewise.
19700 (CFLAGS-wcstod.c): Likewise.
19701 (CFLAGS-wcstold.c): Likewise.
19702 (CFLAGS-wcstof128.c): Likewise.
19703 (CFLAGS-wcstof.c): Likewise.
19704 (CFLAGS-wcstol_l.c): Likewise.
19705 (CFLAGS-wcstoul_l.c): Likewise.
19706 (CFLAGS-wcstoll_l.c): Likewise.
19707 (CFLAGS-wcstoull_l.c): Likewise.
19708 (CFLAGS-wcstod_l.c): Likewise.
19709 (CFLAGS-wcstold_l.c): Likewise.
19710 (CFLAGS-wcstof128_l.c): Likewise.
19711 (CFLAGS-wcstof_l.c): Likewise.
19712 (CPPFLAGS-tst-wchar-h.c): Likewise.
19713 (CPPFLAGS-wcstold_l.c): Likewise.
19715 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
19717 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
19719 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19720 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19722 * manual/tunables.texi (Hardware Capability Tunables): Document
19723 glibc.tune.cached_memopt.
19724 * sysdeps/powerpc/cpu-features.c: New file.
19725 * sysdeps/powerpc/cpu-features.h: New file.
19726 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
19727 _dl_powerpc_cpu_features.
19728 * sysdeps/powerpc/dl-tunables.list: New file.
19729 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
19730 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
19731 (INIT_ARCH): Initialize use_aligned_memopt.
19732 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
19733 IS_IN(rtld))]: Restrict dl_platform_init availability and
19734 initialize CPU features used by tunables.
19735 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
19736 Add memcpy-power8-cached.
19737 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
19738 __memcpy_power8_cached.
19739 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
19740 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
19743 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
19745 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
19746 (CFLAGS-noinl-tester.c): Likewise.
19747 (CFLAGS-tst-strlen.c): Likewise.
19748 (CFLAGS-stratcliff.c): Likewise.
19749 (CFLAGS-test-ffs.c): Likewise.
19750 (CFLAGS-tst-inlcall.c): Likewise.
19751 (CFLAGS-tst-xbzero-opt.c): Likewise.
19752 (CFLAGS-memcpy.c): Likewise.
19753 (CFLAGS-wordcopy.c): Likewise.
19755 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19757 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
19758 Store r15 on stack and add cfi rule.
19759 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
19762 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
19765 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
19768 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19770 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19771 Add s_sinf-sse2 and s_sinf-fma.
19772 (CFLAGS-s_sinf-fma.c): New.
19773 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
19774 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
19775 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
19777 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19779 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
19781 2017-12-07 Joseph Myers <joseph@codesourcery.com>
19784 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
19785 part of result to imaginary part of argument if it is zero and the
19786 real part of the argument is not finite.
19787 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
19788 of result to real part of argument if it is zero and the imaginary
19789 part of the argument is not finite.
19791 2017-12-07 Mike FABIAN <mfabian@redhat.com>
19794 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
19795 and to the list of locales to be built for testing.
19796 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
19797 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
19798 and build the collation rules upon that.
19800 2017-12-07 Joseph Myers <joseph@codesourcery.com>
19802 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
19803 * manual/math.texi (Mathematics): Document support for _Float32.
19804 * math/Makefile (test-types): Add float32.
19805 * math/Versions (GLIBC_2.27): Add _Float32 functions.
19806 * stdlib/Versions (GLIBC_2.27): Likewise.
19807 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19808 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19809 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19810 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19811 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19812 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19813 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19814 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19815 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19816 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19817 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19818 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19819 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19820 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19821 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19822 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19823 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19824 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19825 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19826 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19827 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19828 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
19830 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19831 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19832 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19833 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19834 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
19848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19852 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19853 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19854 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19855 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19856 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19857 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19858 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19859 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19860 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19861 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19862 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19864 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19866 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19868 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19870 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19871 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19872 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19873 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19874 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19875 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19876 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19877 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19879 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19881 * stdlib/strtof.c: Include <bits/floatn.h>
19882 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
19883 and later undefine as macro. Define as weak alias if
19885 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
19886 and later undefine as macro. Define as weak alias if
19888 * stdlib/strtof_l.c: Include <bits/floatn.h>
19889 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
19890 and later undefine as macro. Define as weak alias if
19892 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
19893 and later undefine as macro. Define as weak alias if
19896 * stdlib/strfromf.c: Include <bits/floatn.h>.
19897 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
19898 and later undefine as macro and define as weak alias.
19900 * math/test-float32.h: New file.
19902 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
19903 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
19904 (libm_alias_float_other_r): Create f32 alias.
19905 (libm_alias_float_r): Use semicolon before call to
19906 libm_alias_float_other_r.
19908 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
19909 second argument to libm_alias_float_other.
19910 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
19911 second argument to libm_alias_float_other.
19912 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
19913 argument to libm_alias_float_other.
19916 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
19917 real part of result for argument 0 + i * NaN.
19918 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
19919 results for tests of 0 + i * NaN.
19921 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19923 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19925 2017-12-06 David S. Miller <davem@davemloft.net>
19927 * sysdeps/sparc/fpu/libm-test-ulps: Update
19928 exp_{downward,towardzero,upward} ulps.
19930 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19932 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
19935 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
19937 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
19939 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
19941 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
19944 2017-12-06 Mike FABIAN <mfabian@redhat.com>
19947 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
19948 and to the list of locales to be built for testing.
19949 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
19950 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
19951 and build the collation rules upon that.
19953 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19955 * NEWS: Add sinf to list of optimized functions.
19957 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19959 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
19960 (__HAVE_FLOAT32X): Likewise.
19961 * manual/math.texi (Mathematics): Document support for _Float64
19963 * math/Makefile (test-types): Add float64 and float32x.
19964 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
19966 * stdlib/Versions (GLIBC_2.27): Likewise.
19967 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19968 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19969 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19970 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19971 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19972 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19973 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19974 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19975 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19976 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19977 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19978 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19979 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19980 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19981 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19982 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19983 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19984 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19985 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19986 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19987 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19988 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
19990 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19991 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19992 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19993 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19994 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
20007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20011 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20012 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20013 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20014 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20015 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20016 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20017 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20018 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20019 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20020 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20021 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
20023 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20025 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20027 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20029 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20030 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20031 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20032 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20033 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20034 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20035 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20036 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20038 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20040 * bits/floatn-common.h: Include <bits/long-double.h>.
20041 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20042 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
20043 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20044 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
20045 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20046 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
20047 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20048 (__builtin_huge_valf64): Use __builtin_huge_vall.
20049 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20050 (__builtin_inff64): Use __builtin_infl.
20051 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20052 (__builtin_nanf64): Use __builtin_nanl.
20053 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20054 (__builtin_nansf64): Use __builtin_nansl.
20056 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
20057 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20058 Carlos O'Donnell <carlos@redhat.com>
20060 * elf/dl-tunables.list: Add elision parameters.
20061 * manual/tunables.texi: Add entries about elision tunable.
20062 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
20063 Add callback functions to dynamically enable/disable elision.
20064 Add multiple callbacks functions to set elision parameters.
20065 Deleted __libc_enable_secure check.
20066 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
20067 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
20068 * configure: Regenerated.
20069 * configure.ac: Option enable_lock_elision was deleted.
20070 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
20071 * config.make.in: Remove references to enable_lock_elision.
20072 * manual/install.texi: Elision configure option was removed.
20073 * INSTALL: Regenerated to remove enable_lock_elision.
20075 Disable elision so it can verify error case for destroying a mutex.
20076 * sysdeps/powerpc/nptl/elide.h:
20077 Cleanup ENABLE_LOCK_ELISION check.
20078 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
20079 * sysdeps/s390/configure: Regenerated.
20080 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
20081 * nptl/tst-mutex8.c:
20082 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
20083 * sysdeps/powerpc/powerpc32/sysdep.h:
20084 Deleted all ENABLE_LOCK_ELISION checks.
20085 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20086 * sysdeps/powerpc/sysdep.h: Likewise.
20087 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
20088 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
20089 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20090 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20091 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20092 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
20093 enable-lock-elision.
20095 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20097 * stdlib/strtod.c: Include <bits/floatn.h>.
20098 (BUILD_DOUBLE): New macro.
20099 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20100 (strtof64): Define and later undefine as macro. Define as weak
20101 alias if [!USE_WIDE_CHAR].
20102 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20103 (wcstof64): Define and later undefine as macro. Define as weak
20104 alias if [USE_WIDE_CHAR].
20105 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20106 (strtof32x): Define and later undefine as macro. Define as weak
20107 alias if [!USE_WIDE_CHAR].
20108 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20109 (wcstof32x): Define and later undefine as macro. Define as weak
20110 alias if [USE_WIDE_CHAR].
20111 * stdlib/strtod_l.c: Include <bits/floatn.h>.
20112 (BUILD_DOUBLE): New macro.
20113 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20114 (strtof64_l): Define and later undefine as macro. Define as weak
20115 alias if [!USE_WIDE_CHAR].
20116 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20117 (wcstof64_l): Define and later undefine as macro. Define as weak
20118 alias if [USE_WIDE_CHAR].
20119 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20120 (strtof32x_l): Define and later undefine as macro. Define as weak
20121 alias if [!USE_WIDE_CHAR].
20122 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20123 (wcstof32x_l): Define and later undefine as macro. Define as weak
20124 alias if [USE_WIDE_CHAR].
20126 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20128 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
20129 (reduced): Use ones as double instead of integer.
20131 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
20133 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
20135 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20137 * stdlib/strfromd.c: Include <bits/floatn.h>.
20138 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
20139 and later undefine as macro and define as weak alias.
20140 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
20143 * math/test-float32x.h: New file.
20144 * math/test-float64.h: Likewise.
20146 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
20147 (libm_alias_double_other_r_f64): New macro.
20148 (libm_alias_double_other_r_f32x): Likewise.
20149 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
20150 libm_alias_double_other_r_f32x.
20151 (libm_alias_double_r): Use semicolon before call to
20152 libm_alias_double_other_r.
20153 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
20155 (libm_alias_double_other_r_f64): New macro.
20156 (libm_alias_double_other_r_f32x): Likewise.
20157 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
20158 libm_alias_double_other_r_f32x.
20160 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
20162 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
20164 (SINF_FUNC): Likewise. Replace floor with simple casts.
20166 2017-12-05 Mike FABIAN <mfabian@redhat.com>
20169 * localedata/Makefile: Add et_EE.UTF-8 to test-input
20170 and to the list of locales to be built for testing.
20171 * localedata/et_EE.UTF-8.in: New file for testing the collation.
20172 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
20173 and build the collation rules upon that.
20175 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
20177 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
20178 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
20179 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
20180 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
20181 instead of __insn__xxx.
20182 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
20183 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
20184 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
20185 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
20186 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
20187 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
20189 2017-12-05 Florian Weimer <fweimer@redhat.com>
20191 Linux: Implement interfaces for memory protection keys
20192 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
20194 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
20195 * support/xunistd.h (xsysconf): Declare.
20196 * support/xraise.c: New file.
20197 * support/xsigaction.c: Likewise.
20198 * support/xsignal.c: Likewise.
20199 * support/xsysconf.c: Likewise.
20200 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
20201 pkey_set, pkey_get, pkey_mprotect.
20202 [misc] (tests): Add tst-pkey.
20203 (tst-pkey): Link with -lpthread.
20204 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
20205 pkey_free, pkey_set, pkey_get, pkey_mprotect.
20206 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
20207 (PKEY_DISABLE_WRITE): Define.
20208 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
20210 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
20211 (SEGV_PKUERR): Add.
20212 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
20213 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
20214 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
20215 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
20217 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
20218 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
20219 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
20220 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
20221 * sysdeps/unix/sysv/linux/**.abilist: Update.
20223 2017-12-05 Florian Weimer <fweimer@redhat.com>
20225 * support/tst-test_compare.c (subprocess): Use long long instead
20226 of long argument for consistent type width across 32-bit and
20227 64-bit architectures.
20228 (do_test): Adjust expected output.
20230 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20232 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
20233 (cosf): Define using libm_alias_float.
20234 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
20235 (fabsf): Define using libm_alias_float.
20236 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
20237 (fmaf): Define using libm_alias_float.
20238 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
20239 (rintf): Define using libm_alias_float.
20240 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
20241 (sinf): Define using libm_alias_float.
20242 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
20243 <libm-alias-float.h>.
20244 (modff): Define using libm_alias_float.
20245 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
20246 <libm-alias-float.h>.
20247 (logbf): Define using libm_alias_float.
20248 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
20249 <libm-alias-float.h>.
20250 (ceilf): Define using libm_alias_float.
20251 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
20252 <libm-alias-float.h>.
20253 (copysignf): Define using libm_alias_float.
20254 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
20255 <libm-alias-float.h>.
20256 (floorf): Define using libm_alias_float.
20257 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
20258 <libm-alias-float.h>.
20259 (llrintf): Define using libm_alias_float.
20260 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
20261 <libm-alias-float.h>.
20262 (llroundf): Define using libm_alias_float.
20263 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
20264 <libm-alias-float.h>.
20265 (lrintf): Define using libm_alias_float.
20266 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
20267 <libm-alias-float.h>.
20268 (lroundf): Define using libm_alias_float.
20269 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
20270 <libm-alias-float.h>.
20271 (nearbyintf): Define using libm_alias_float.
20272 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
20273 <libm-alias-float.h>.
20274 (rintf): Define using libm_alias_float.
20275 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
20276 <libm-alias-float.h>.
20277 (roundf): Define using libm_alias_float.
20278 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
20279 <libm-alias-float.h>.
20280 (truncf): Define using libm_alias_float.
20281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
20282 Include <libm-alias-float.h>.
20283 (ceilf): Define using libm_alias_float.
20284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
20285 Include <libm-alias-float.h>.
20286 (copysignf): Define using libm_alias_float.
20287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
20288 Include <libm-alias-float.h>.
20289 (floorf): Define using libm_alias_float.
20290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
20291 Include <libm-alias-float.h>.
20292 (llrintf): Define using libm_alias_float.
20293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
20294 Include <libm-alias-float.h>.
20295 (llroundf): Define using libm_alias_float.
20296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
20297 Include <libm-alias-float.h>.
20298 (logbf): Define using libm_alias_float.
20299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
20300 Include <libm-alias-float.h>.
20301 (lrintf): Define using libm_alias_float.
20302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
20303 Include <libm-alias-float.h>.
20304 (lroundf): Define using libm_alias_float.
20305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
20306 Include <libm-alias-float.h>.
20307 (modff): Define using libm_alias_float.
20308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
20309 Include <libm-alias-float.h>.
20310 (roundf): Define using libm_alias_float.
20311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
20312 Include <libm-alias-float.h>.
20313 (truncf): Define using libm_alias_float.
20314 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
20315 <libm-alias-float.h>.
20316 (llrintf): Define using libm_alias_float.
20317 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20318 <libm-alias-float.h>.
20319 (llroundf): Define using libm_alias_float.
20320 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
20321 <libm-alias-float.h>.
20322 (ceilf): Define using libm_alias_float.
20323 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
20324 <libm-alias-float.h>.
20325 (floorf): Define using libm_alias_float.
20326 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20327 <libm-alias-float.h>.
20328 (llroundf): Define using libm_alias_float.
20329 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20330 <libm-alias-float.h>.
20331 (lroundf): Define using libm_alias_float.
20332 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
20333 <libm-alias-float.h>.
20334 (roundf): Define using libm_alias_float.
20335 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
20336 <libm-alias-float.h>.
20337 (truncf): Define using libm_alias_float.
20338 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20339 <libm-alias-float.h>.
20340 (copysignf): Define using libm_alias_float.
20341 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
20342 <libm-alias-float.h>.
20343 (llrintf): Define using libm_alias_float.
20344 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20345 <libm-alias-float.h>.
20346 (llroundf): Define using libm_alias_float.
20347 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
20348 <libm-alias-float.h>.
20349 (lrintf): Define using libm_alias_float.
20350 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
20351 <libm-alias-float.h>.
20352 (lroundf): Define using libm_alias_float.
20353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
20354 <libm-alias-float.h>.
20355 (ceilf): Define using libm_alias_float.
20356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
20357 <libm-alias-float.h>.
20358 (copysignf): Define using libm_alias_float.
20359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
20360 <libm-alias-float.h>.
20361 (cosf): Define using libm_alias_float.
20362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
20363 <libm-alias-float.h>.
20364 (floorf): Define using libm_alias_float.
20365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
20366 <libm-alias-float.h>.
20367 (llrintf): Define using libm_alias_float.
20368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
20369 <libm-alias-float.h>.
20370 (llroundf): Define using libm_alias_float.
20371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
20372 <libm-alias-float.h>.
20373 (logbf): Define using libm_alias_float.
20374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
20375 <libm-alias-float.h>.
20376 (modff): Define using libm_alias_float.
20377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
20378 <libm-alias-float.h>.
20379 (roundf): Define using libm_alias_float.
20380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
20381 <libm-alias-float.h>.
20382 (sinf): Define using libm_alias_float.
20383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
20384 <libm-alias-float.h>.
20385 (truncf): Define using libm_alias_float.
20386 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
20387 <libm-alias-float.h>.
20388 (ceilf): Define using libm_alias_float.
20389 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
20390 <libm-alias-float.h>.
20391 (copysignf): Define using libm_alias_float.
20392 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
20393 <libm-alias-float.h>.
20394 (floorf): Define using libm_alias_float.
20395 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
20396 <libm-alias-float.h>.
20397 (llrintf): Define using libm_alias_float.
20398 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
20399 <libm-alias-float.h>.
20400 (llroundf): Define using libm_alias_float.
20401 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
20402 <libm-alias-float.h>.
20403 (nearbyintf): Define using libm_alias_float.
20404 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
20405 <libm-alias-float.h>.
20406 (rintf): Define using libm_alias_float.
20407 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
20408 <libm-alias-float.h>.
20409 (roundf): Define using libm_alias_float.
20410 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
20411 <libm-alias-float.h>.
20412 (truncf): Define using libm_alias_float.
20413 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
20414 <libm-alias-float.h>.
20415 (ceilf): Define using libm_alias_float.
20416 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
20417 <libm-alias-float.h>.
20418 (floorf): Define using libm_alias_float.
20419 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
20420 <libm-alias-float.h>.
20421 (llroundf): Define using libm_alias_float.
20422 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
20423 <libm-alias-float.h>.
20424 (roundf): Define using libm_alias_float.
20425 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
20426 <libm-alias-float.h>.
20427 (truncf): Define using libm_alias_float.
20428 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
20429 <libm-alias-float.h>.
20430 (copysignf): Define using libm_alias_float.
20431 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
20432 <libm-alias-float.h>.
20433 (llrintf): Define using libm_alias_float.
20434 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
20435 <libm-alias-float.h>.
20436 (llroundf): Define using libm_alias_float.
20437 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
20438 <libm-alias-float.h>.
20439 (cosf): Define using libm_alias_float.
20440 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
20441 <libm-alias-float.h>.
20442 (llrintf): Define using libm_alias_float.
20443 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
20444 <libm-alias-float.h>.
20445 (llroundf): Define using libm_alias_float.
20446 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
20447 <libm-alias-float.h>.
20448 (sinf): Define using libm_alias_float.
20450 2017-12-04 Florian Weimer <fweimer@redhat.com>
20452 * support/check.h (TEST_COMPARE): Define.
20453 (support_test_compare_failure): Declare.
20454 * support/Makefile (libsupport-routines): Add
20455 support_test_compare_failure.
20456 (tests): Add tst-test_compare.
20457 * support /support_test_compare_failure.c: New file.
20458 * support/tst-test_compare.c: Likewise.
20460 2017-12-04 Mike FABIAN <mfabian@redhat.com>
20463 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
20464 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
20465 available, this rewrite of the collation rules does reproduce
20466 the test file in the same order.
20468 2017-12-04 Mike FABIAN <mfabian@redhat.com>
20471 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
20472 digraphs in the month and day names. Using single code points for
20473 digraphs is deprecated. While there are dedicated Unicode
20474 codepoints, for the digraphs, these are included for backwards
20475 compatibility and modern texts use a sequence of Basic Latin
20476 characters. See: https://www.unicode.org/faq/ligature_digraph.html
20477 This makes the month and day names agree exactly with CLDR now,
20478 CLDR does not use the single code points for the digraphs either.
20480 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
20482 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
20484 2017-12-04 Joseph Myers <joseph@codesourcery.com>
20486 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
20489 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
20491 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
20492 Define only for libc.so.
20494 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
20496 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20497 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
20498 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
20499 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
20500 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20502 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20505 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
20507 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
20510 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
20511 PREINIT_FUNCTION_WEAK is nonzero.
20512 (gmon_initializer): New function. Put procedure label for it in
20513 .init_array section.
20514 (_init): Don't call PREINIT_FUNCTION.
20515 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
20516 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
20517 value when map argument is null.
20519 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
20520 depi instruction from PIC pc-relative sequence.
20521 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
20522 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
20523 (elf_machine_load_address): Likewise.
20524 (elf_machine_runtime_setup): Likewise.
20526 2017-12-02 Joseph Myers <joseph@codesourcery.com>
20528 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
20529 <libm-alias-double.h>.
20530 (logb): Define using libm_alias_double.
20531 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
20532 <libm-alias-double.h>.
20533 (copysign): Define using libm_alias_double.
20534 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
20535 <libm-alias-double.h>.
20536 (llrint): Define using libm_alias_double.
20537 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
20538 <libm-alias-double.h>.
20539 (llround): Define using libm_alias_double.
20540 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
20541 <libm-alias-double.h>.
20542 (lrint): Define using libm_alias_double.
20543 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
20544 <libm-alias-double.h>.
20545 (lround): Define using libm_alias_double.
20546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
20547 Include <libm-alias-double.h>.
20548 (copysign): Define using libm_alias_double.
20549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
20550 Include <libm-alias-double.h>.
20551 (llrint): Define using libm_alias_double.
20552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
20553 Include <libm-alias-double.h>.
20554 (llround): Define using libm_alias_double.
20555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
20556 <libm-alias-double.h>.
20557 (logb): Define using libm_alias_double.
20558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
20559 Include <libm-alias-double.h>.
20560 (lrint): Define using libm_alias_double.
20561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
20562 Include <libm-alias-double.h>.
20563 (lround): Define using libm_alias_double.
20564 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
20565 <libm-alias-double.h>.
20566 (llrint): Define using libm_alias_double.
20567 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20568 <libm-alias-double.h>.
20569 (llround): Define using libm_alias_double.
20570 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20571 <libm-alias-double.h>.
20572 (llround): Define using libm_alias_double.
20573 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20574 <libm-alias-double.h>.
20575 (lround): Define using libm_alias_double.
20576 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20577 <libm-alias-double.h>.
20578 (copysign): Define using libm_alias_double.
20579 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
20580 <libm-alias-double.h>.
20581 (llrint): Define using libm_alias_double.
20582 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20583 <libm-alias-double.h>.
20584 (llround): Define using libm_alias_double.
20585 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
20586 <libm-alias-double.h>.
20587 (lrint): Define using libm_alias_double.
20588 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
20589 <libm-alias-double.h>.
20590 (lround): Define using libm_alias_double.
20591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
20592 <libm-alias-double.h>.
20593 (copysign): Define using libm_alias_double.
20594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
20595 <libm-alias-double.h>.
20596 (llrint): Define using libm_alias_double.
20598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
20599 <libm-alias-double.h>.
20600 (llround): Define using libm_alias_double.
20601 (lround): Likewise.
20602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
20603 <libm-alias-double.h>.
20604 (logb): Define using libm_alias_double.
20605 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
20606 <libm-alias-double.h>.
20607 (copysign): Define using libm_alias_double.
20608 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
20609 <libm-alias-double.h>.
20610 (llrint): Define using libm_alias_double.
20612 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
20613 <libm-alias-double.h>.
20614 (llround): Define using libm_alias_double.
20615 (lround): Likewise.
20616 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
20617 <libm-alias-double.h>.
20618 (llround): Define using libm_alias_double.
20619 (lround): Likewise.
20620 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
20621 <libm-alias-double.h>.
20622 (copysign): Define using libm_alias_double.
20623 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
20624 <libm-alias-double.h>.
20625 (llrint): Define using libm_alias_double.
20627 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
20628 <libm-alias-double.h>.
20629 (llround): Define using libm_alias_double.
20630 (lround): Likewise.
20631 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
20632 <libm-alias-double.h>.
20633 (llrint): Define using libm_alias_double.
20635 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
20636 <libm-alias-double.h>.
20637 (llround): Define using libm_alias_double.
20638 (lround): Likewise.
20640 2017-12-01 Joseph Myers <joseph@codesourcery.com>
20642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
20643 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
20644 compat symbol based on llround.
20646 * sysdeps/powerpc/power7/fpu/s_logb.c
20647 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
20648 symbol based on __logb, not on logb.
20649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
20650 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
20651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
20652 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
20654 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
20655 (rint): Define using libm_alias_double.
20656 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
20657 <libm-alias-double.h>.
20658 (modf): Define using libm_alias_double.
20659 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
20660 <libm-alias-double.h>.
20661 (ceil): Define using libm_alias_double.
20662 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
20663 <libm-alias-double.h>.
20664 (floor): Define using libm_alias_double.
20665 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
20666 <libm-alias-double.h>.
20667 (nearbyint): Define using libm_alias_double.
20668 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
20669 <libm-alias-double.h>.
20670 (rint): Define using libm_alias_double.
20671 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
20672 <libm-alias-double.h>.
20673 (round): Define using libm_alias_double.
20674 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
20675 <libm-alias-double.h>.
20676 (trunc): Define using libm_alias_double.
20677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
20678 <libm-alias-double.h>.
20679 (ceil): Define using libm_alias_double.
20680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
20681 Include <libm-alias-double.h>.
20682 (floor): Define using libm_alias_double.
20683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
20684 <libm-alias-double.h>.
20685 (modf): Define using libm_alias_double.
20686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
20687 Include <libm-alias-double.h>.
20688 (round): Define using libm_alias_double.
20689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
20690 Include <libm-alias-double.h>.
20691 (trunc): Define using libm_alias_double.
20692 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
20693 <libm-alias-double.h>.
20694 (ceil): Define using libm_alias_double.
20695 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
20696 <libm-alias-double.h>.
20697 (floor): Define using libm_alias_double.
20698 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
20699 <libm-alias-double.h>.
20700 (round): Define using libm_alias_double.
20701 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
20702 <libm-alias-double.h>.
20703 (trunc): Define using libm_alias_double.
20704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
20705 <libm-alias-double.h>.
20706 (ceil): Define using libm_alias_double.
20707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
20708 <libm-alias-double.h>.
20709 (floor): Define using libm_alias_double.
20710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
20711 <libm-alias-double.h>.
20712 (modf): Define using libm_alias_double.
20713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
20714 <libm-alias-double.h>.
20715 (round): Define using libm_alias_double.
20716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
20717 <libm-alias-double.h>.
20718 (trunc): Define using libm_alias_double.
20719 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
20720 <libm-alias-double.h>.
20721 (ceil): Define using libm_alias_double.
20722 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
20723 <libm-alias-double.h>.
20724 (floor): Define using libm_alias_double.
20725 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
20726 <libm-alias-double.h>.
20727 (nearbyint): Define using libm_alias_double.
20728 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
20729 <libm-alias-double.h>.
20730 (rint): Define using libm_alias_double.
20731 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
20732 <libm-alias-double.h>.
20733 (round): Define using libm_alias_double.
20734 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
20735 <libm-alias-double.h>.
20736 (trunc): Define using libm_alias_double.
20737 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
20738 <libm-alias-double.h>.
20739 (ceil): Define using libm_alias_double.
20740 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
20741 <libm-alias-double.h>.
20742 (floor): Define using libm_alias_double.
20743 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
20744 <libm-alias-double.h>.
20745 (round): Define using libm_alias_double.
20746 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
20747 <libm-alias-double.h>.
20748 (trunc): Define using libm_alias_double.
20750 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
20751 (fabs): Define using libm_alias_double.
20752 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
20753 (fma): Define using libm_alias_double.
20754 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
20755 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
20756 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
20757 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
20759 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20761 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
20763 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
20764 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
20765 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
20767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
20768 due redirect macro.
20770 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
20772 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
20774 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20776 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
20777 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
20778 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
20779 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
20781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20782 (libm-sysdep_routines): Add s_nearbyintf-generic and
20783 s_nearbyint-generic.
20784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
20786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
20787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
20789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
20791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
20793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
20796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20797 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
20798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
20800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
20801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
20803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
20804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
20805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
20807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20808 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
20809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
20811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
20812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
20814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
20815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
20816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
20818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20819 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
20820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
20822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
20823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
20825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
20826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
20827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
20829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20830 (sysdep_calls): New rule.
20831 (sysdep_routines): Use sysdep_calls as base.
20832 (libm-sysdep_routines): Add generic rule for symbols shared with
20833 libc. Add s_copysign-generic and s_copysign-generic objects.
20834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
20836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
20837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
20839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
20840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
20841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
20843 2017-12-01 Mike FABIAN <mfabian@redhat.com>
20846 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
20847 the list of locales to be built for testing.
20848 * localedata/is_IS.UTF-8.in: New file.
20849 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
20852 2017-12-01 Joseph Myers <joseph@codesourcery.com>
20854 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
20855 <libm-alias-float.h>.
20856 (fabsf): Define using libm_alias_float.
20858 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
20860 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
20862 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20864 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
20865 <libm-alias-float.h>.
20866 (fabsf): Define using libm_alias_float.
20867 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
20868 <libm-alias-float.h>.
20869 (lrintf): Define using libm_alias_float.
20870 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
20871 <libm-alias-float.h>.
20872 (rintf): Define using libm_alias_float.
20874 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
20875 <libm-alias-double.h>.
20876 (fabs): Define using libm_alias_double.
20877 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
20878 <libm-alias-double.h>.
20879 (lrint): Define using libm_alias_double.
20880 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
20881 <libm-alias-double.h>.
20882 (rint): Define using libm_alias_double.
20884 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
20885 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
20886 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
20887 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
20888 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
20889 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
20890 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
20891 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
20892 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
20893 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
20894 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
20895 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
20896 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
20897 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
20898 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
20899 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
20900 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
20901 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
20903 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
20904 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
20905 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
20907 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
20908 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
20909 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
20911 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
20912 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
20913 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
20914 s_expm1_template.c.
20915 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
20916 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
20917 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
20919 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
20920 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
20921 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
20922 s_floor_template.c.
20923 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
20924 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
20925 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
20926 s_frexp_template.c.
20927 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
20928 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
20929 s_lrint_template.c.
20930 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
20931 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
20932 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
20934 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
20935 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
20936 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
20937 s_nearbyint_template.c.
20938 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
20939 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
20940 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
20941 s_remquo_template.c.
20942 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
20943 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
20944 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
20946 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
20947 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
20948 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
20950 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
20951 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
20952 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
20953 s_sincos_template.c.
20954 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
20955 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
20956 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
20958 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
20959 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
20960 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
20962 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
20963 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
20964 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
20965 s_trunc_template.c.
20966 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
20967 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
20968 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
20969 s_atan.c instead of including s_atan.c.
20970 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
20971 s_atanf.c instead of including s_atanf.c.
20972 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
20973 s_atanl.c instead of including s_atanl.c.
20974 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
20975 instead of s_atan.c.
20976 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
20977 instead of s_atanf.c.
20978 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
20979 instead of s_atanl.c.
20981 * scripts/update-copyrights: Do not handle intl/plural.c
20984 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
20987 * configure.ac (BISON): Require to be present.
20988 * configure: Regenerated.
20989 * intl/Makefile (generated): Add plural.c.
20990 [$(BISON) != no]: Make code unconditional.
20991 (plural.c): Change rule to $(objpfx)plural.c.
20992 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
20993 * intl/plural.c: Remove.
20994 * manual/install.texi (Tools for Compilation): Document bison as
20996 * INSTALL: Regenerated.
20998 2017-11-30 Joseph Myers <joseph@codesourcery.com>
21000 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
21001 <libm-alias-double.h>.
21002 (llrint): Define using libm_alias_double.
21003 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
21004 <libm-alias-float.h>.
21005 (llrintf): Define using libm_alias_float.
21006 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
21007 <libm-alias-ldouble.h>.
21008 (llrintl): Define using libm_alias_ldouble.
21010 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
21011 declare_mgen_alias instead of weak_alias.
21012 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
21013 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
21014 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
21016 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21018 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21020 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
21021 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
21022 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
21024 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21025 Add submul_1-generic.
21026 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
21027 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
21028 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
21030 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21031 Add addmul_1-generic.
21032 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
21033 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
21034 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
21036 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21038 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
21039 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
21040 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
21042 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21044 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
21045 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
21046 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
21048 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21050 According to CLDR, collation rules for Serbian and Bosnian
21051 should be the same as for Croatian.
21054 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
21055 and to the list of locales to be built for testing.
21056 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
21057 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
21058 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
21059 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
21061 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21063 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
21064 to make test case pass.
21065 * localedata/hr_HR.UTF-8.in: Add more test strings.
21067 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21069 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
21071 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
21073 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
21074 the list of locales to built for testing.
21075 * localedata/hr_HR.UTF-8.in: New file.
21077 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
21080 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
21082 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
21083 CLDR (except use ligatures for the digraphs, CLDR does not use
21084 the ligatures), add first_workday, some fixes in the date and time
21086 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
21088 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
21089 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
21090 Add int_p_cs_precedes and int_n_cs_precedes.
21091 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
21092 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
21094 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
21095 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
21097 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
21098 and lang_lib. Change postal_fmt.
21100 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
21102 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
21104 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
21105 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
21106 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
21107 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
21108 * sysdeps/generic/setjmpP.h: New file.
21109 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
21110 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
21111 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
21112 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
21113 Add jmp_buf-ssp.sym.
21114 (tests): Add tst-saved_mask-1.
21116 2017-11-30 Arjun Shankar <arjun@redhat.com>
21120 * malloc/malloc.c (__libc_malloc): Use checked_request2size
21121 instead of request2size.
21123 2017-11-30 Joseph Myers <joseph@codesourcery.com>
21125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
21126 (__lllrint): Remove alias.
21127 (lllrint): Likewise.
21128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
21129 (__lllrintf): Likewise.
21130 (lllrintf): Likewise.
21132 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
21133 <libm-alias-float.h>.
21134 (copysignf): Define using libm_alias_float.
21135 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
21136 <libm-alias-float.h>.
21137 (fabsf): Define using libm_alias_float.
21138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21139 Include <libm-alias-float.h>.
21140 (copysignf): Define using libm_alias_float.
21141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
21142 <libm-alias-float.h>.
21143 (fabsf): Define using libm_alias_float.
21144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
21145 <libm-alias-float.h>.
21146 (fdimf): Define using libm_alias_float.
21147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
21148 <libm-alias-float.h>.
21149 (fmaf): Define using libm_alias_float.
21150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
21151 <libm-alias-float.h>.
21152 (llrintf): Define using libm_alias_float.
21153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
21154 Include <libm-alias-float.h>.
21155 (nearbyintf): Define using libm_alias_float.
21156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
21157 <libm-alias-float.h>.
21158 (rintf): Define using libm_alias_float.
21159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
21160 <libm-alias-float.h>.
21161 (llrintf): Define using libm_alias_float.
21162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
21163 <libm-alias-float.h>.
21164 (lrintf): Define using libm_alias_float.
21165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
21166 <libm-alias-float.h>.
21167 (nearbyintf): Define using libm_alias_float.
21168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
21169 <libm-alias-float.h>.
21170 (rintf): Define using libm_alias_float.
21171 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
21172 <libm-alias-float.h>.
21173 (ceilf): Define using libm_alias_float.
21174 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
21175 <libm-alias-float.h>.
21176 (floorf): Define using libm_alias_float.
21177 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
21178 <libm-alias-float.h>.
21179 (fmaf): Define using libm_alias_float.
21180 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
21181 <libm-alias-float.h>.
21182 (lrintf): Define using libm_alias_float.
21183 (llrintf): Likewise.
21184 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
21185 <libm-alias-float.h>.
21186 (nearbyintf): Define using libm_alias_float.
21187 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
21188 <libm-alias-float.h>.
21189 (rintf): Define using libm_alias_float.
21190 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
21191 <libm-alias-float.h>.
21192 (truncf): Define using libm_alias_float.
21193 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
21194 <libm-alias-float.h>.
21195 (copysignf): Define using libm_alias_float.
21196 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
21197 <libm-alias-float.h>.
21198 (fabsf): Define using libm_alias_float.
21199 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
21200 <libm-alias-float.h>.
21201 (lrintf): Define using libm_alias_float.
21202 (llrintf): Likewise.
21203 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
21204 <libm-alias-float.h>.
21205 (nearbyintf): Define using libm_alias_float.
21206 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
21207 <libm-alias-float.h>.
21208 (rintf): Define using libm_alias_float.
21210 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21212 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
21213 <libm-alias-double.h>.
21214 (copysign): Define using libm_alias_double.
21215 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
21216 <libm-alias-double.h>.
21217 (fabs): Define using libm_alias_double.
21218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21219 Include <libm-alias-double.h>.
21220 (copysign): Define using libm_alias_double.
21221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
21222 <libm-alias-double.h>.
21223 (fabs): Define using libm_alias_double.
21224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
21225 <libm-alias-double.h>.
21226 (fdim): Define using libm_alias_double.
21227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
21228 <libm-alias-double.h>.
21229 (fma): Define using libm_alias_double.
21230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
21231 <libm-alias-double.h>.
21232 (llrint): Define using libm_alias_double.
21233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
21234 Include <libm-alias-double.h>.
21235 (nearbyint): Define using libm_alias_double.
21236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
21237 <libm-alias-double.h>.
21238 (rint): Define using libm_alias_double.
21239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
21240 <libm-alias-double.h>.
21241 (fabs): Define using libm_alias_double.
21242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
21243 <libm-alias-double.h>.
21244 (llrint): Define using libm_alias_double.
21245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
21246 <libm-alias-double.h>.
21247 (nearbyint): Define using libm_alias_double.
21248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
21249 <libm-alias-double.h>.
21250 (rint): Define using libm_alias_double.
21251 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
21252 <libm-alias-double.h>.
21253 (ceil): Define using libm_alias_double.
21254 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
21255 <libm-alias-double.h>.
21256 (floor): Define using libm_alias_double.
21257 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
21258 <libm-alias-double.h>.
21259 (fma): Define using libm_alias_double.
21260 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
21261 <libm-alias-double.h>.
21262 (lrint): Define using libm_alias_double.
21263 (llrint): Likewise.
21264 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
21265 <libm-alias-double.h>.
21266 (nearbyint): Define using libm_alias_double.
21267 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
21268 <libm-alias-double.h>.
21269 (rint): Define using libm_alias_double.
21270 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
21271 <libm-alias-double.h>.
21272 (trunc): Define using libm_alias_double.
21273 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
21274 <libm-alias-double.h>.
21275 (copysign): Define using libm_alias_double.
21276 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
21277 <libm-alias-double.h>.
21278 (fabs): Define using libm_alias_double.
21279 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
21280 <libm-alias-double.h>.
21281 (lrint): Define using libm_alias_double.
21282 (llrint): Likewise.
21283 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
21284 <libm-alias-double.h>.
21285 (nearbyint): Define using libm_alias_double.
21286 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
21287 <libm-alias-double.h>.
21288 (rint): Define using libm_alias_double.
21291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
21293 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
21295 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21296 SPARC --disable-multi-arch glibc variants.
21298 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
21299 <libm-alias-float.h>.
21300 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21302 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
21303 <libm-alias-float.h>.
21304 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21306 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
21307 <libm-alias-float.h>.
21308 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21310 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
21311 <libm-alias-float.h>.
21312 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21314 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
21315 <libm-alias-float.h>.
21316 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21318 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
21319 <libm-alias-float.h>.
21320 (ceilf): Define using libm_alias_float.
21321 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
21322 <libm-alias-float.h>.
21323 (floorf): Define using libm_alias_float.
21324 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
21325 <libm-alias-float.h>.
21326 (fmaf): Define using libm_alias_float.
21327 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
21328 <libm-alias-float.h>.
21329 (nearbyintf): Define using libm_alias_float.
21330 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
21331 <libm-alias-float.h>.
21332 (rintf): Define using libm_alias_float.
21333 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
21334 <libm-alias-float.h>.
21335 (truncf): Define using libm_alias_float.
21336 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
21337 (copysignf): Define using libm_alias_float.
21338 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
21339 (cosf): Define using libm_alias_float.
21340 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
21341 (fabsf): Define using libm_alias_float.
21342 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21343 (fmaxf): Define using libm_alias_float.
21344 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
21345 (fminf): Define using libm_alias_float.
21346 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
21347 (llrintf): Define using libm_alias_float.
21348 [!__ILP32__] (lrintf): Likewise.
21349 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
21350 (sincosf): Define using libm_alias_float.
21351 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
21352 (sinf): Define using libm_alias_float.
21353 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
21354 (lrintf): Define using libm_alias_float.
21356 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
21357 <libm-alias-double.h>.
21358 (atan): Define using libm_alias_double.
21359 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
21360 <libm-alias-double.h>.
21361 (ceil): Define using libm_alias_double.
21362 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
21363 <libm-alias-double.h>.
21364 (floor): Define using libm_alias_double.
21365 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
21366 <libm-alias-double.h>.
21367 (fma): Define using libm_alias_double.
21368 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
21369 <libm-alias-double.h>.
21370 (nearbyint): Define using libm_alias_double.
21371 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
21372 <libm-alias-double.h>.
21373 (rint): Define using libm_alias_double.
21374 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
21375 <libm-alias-double.h>.
21376 (sin): Define using libm_alias_double.
21378 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
21379 <libm-alias-double.h>.
21380 (tan): Define using libm_alias_double.
21381 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
21382 <libm-alias-double.h>.
21383 (trunc): Define using libm_alias_double.
21384 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
21385 (copysign): Define using libm_alias_double.
21386 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
21387 (fabs): Define using libm_alias_double.
21388 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
21389 (fmax): Define using libm_alias_double.
21390 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
21391 (fmin): Define using libm_alias_double.
21392 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
21393 (llrint): Define using libm_alias_double.
21394 [!__ILP32__] (lrint): Likewise.
21395 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
21396 (lrint): Define using libm_alias_double.
21398 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21400 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21401 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
21403 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
21404 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
21405 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
21406 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
21407 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
21408 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21410 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21411 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
21413 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
21414 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
21415 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
21416 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
21417 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
21418 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21420 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21421 (libm-sysdep_routines): Add s_nearbyint-generic and
21422 s_nearbyintf-generic objects.
21423 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
21424 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
21425 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
21426 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
21427 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
21428 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
21430 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21431 Add s_finitef-generic and s_finite-generic objects.
21432 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
21433 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
21434 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
21435 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
21436 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
21437 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
21439 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21440 Add s_isinff-generic and s_isinf-generic objects.
21441 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
21442 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
21443 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
21444 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
21445 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
21446 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21448 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21449 Add s_isnanf-generic and s_isnan-generic objects.
21450 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
21451 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
21452 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
21453 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
21454 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
21455 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21457 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
21459 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
21461 (sysdep_routines): Use sysdep_calls as base.
21462 (libm-sysdep_routines): Add generic rule for symbols shared with
21463 libc. Add s_signbit-generic and s_signbitf-generic objects.
21464 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
21465 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
21466 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
21467 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
21468 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
21469 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21471 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21473 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
21474 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
21475 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
21476 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
21477 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
21478 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
21479 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
21480 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
21481 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
21482 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
21483 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
21484 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
21485 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
21486 libm_alias_float_r.
21487 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
21488 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
21490 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
21491 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
21492 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
21493 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
21494 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
21495 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
21496 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
21497 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
21498 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
21499 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
21501 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
21503 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
21504 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
21505 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
21506 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
21507 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
21508 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
21509 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
21510 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
21511 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
21512 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
21513 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
21514 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
21515 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
21516 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
21517 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
21518 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
21519 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
21520 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
21521 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
21523 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
21524 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
21525 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
21526 * sysdeps/ia64/fpu/w_lgammaf_main.c
21527 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
21528 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
21530 2017-11-28 Mike FABIAN <mfabian@redhat.com>
21531 Alexandre Oliva <aoliva@redhat.com>
21534 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
21535 * localedata/fr_CA.UTF-8.in: New file with test data for backward
21537 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
21539 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
21540 * localedata/locales/de_DE (LC_COLLATE): Likewise.
21541 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
21542 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
21543 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
21544 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
21545 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
21546 instead of “ifdef DIACRIT_BACKWARD”.
21548 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21550 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
21551 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
21552 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
21553 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
21554 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
21555 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
21556 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
21557 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
21558 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
21559 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
21560 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
21561 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
21562 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
21563 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
21564 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
21565 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
21566 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
21567 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
21568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21569 ($(have-as-vis3) == yes): Remove conditional.
21570 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
21572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
21574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
21576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
21578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
21580 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
21581 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
21582 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
21583 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
21584 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
21585 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
21586 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
21587 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
21589 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21591 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
21592 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
21593 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
21594 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
21595 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
21596 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
21597 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
21598 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
21599 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
21600 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
21601 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
21602 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
21603 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
21604 libm_alias_double_r.
21605 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
21607 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
21608 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
21609 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
21610 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
21611 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
21612 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
21613 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
21614 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
21615 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
21616 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
21617 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
21619 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
21621 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
21622 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
21623 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
21624 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
21625 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
21626 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
21627 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
21628 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
21629 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
21630 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
21631 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
21632 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
21633 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
21634 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
21635 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
21636 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
21637 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
21638 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
21640 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
21641 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
21642 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
21643 * sysdeps/ia64/fpu/w_lgamma_main.c
21644 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
21645 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
21647 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
21649 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
21650 address of $global$ into %dp register earlier. Use pc-relative
21651 instruction sequence for PIC case.
21653 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21655 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
21656 (asinhf): Define using libm_alias_float.
21657 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
21658 (atanf): Define using libm_alias_float.
21659 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
21660 (cbrtf): Define using libm_alias_float.
21661 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
21662 (ceilf): Define using libm_alias_float.
21663 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
21664 (copysignf): Define using libm_alias_float.
21665 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
21666 (expm1f): Define using libm_alias_float.
21667 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
21668 (fabsf): Define using libm_alias_float.
21669 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
21670 (floorf): Define using libm_alias_float.
21671 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21672 (fmaxf): Define using libm_alias_float.
21673 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
21674 (fminf): Define using libm_alias_float.
21675 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
21676 (frexpf): Define using libm_alias_float.
21677 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
21678 (llrintf): Define using libm_alias_float.
21679 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
21680 (logbf): Define using libm_alias_float.
21681 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
21682 (lrintf): Define using libm_alias_float.
21683 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
21684 (nearbyintf): Define using libm_alias_float.
21685 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
21686 (remquof): Define using libm_alias_float.
21687 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
21688 (rintf): Define using libm_alias_float.
21689 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
21690 (truncf): Define using libm_alias_float.
21691 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
21692 <libm-alias-float.h>.
21693 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21695 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
21696 <libm-alias-float.h>.
21697 (expf): Define using libm_alias_float, or libm_alias_float_other
21699 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
21700 <libm-alias-float.h>.
21701 (log2f): Define using libm_alias_float, or libm_alias_float_other
21703 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
21704 <libm-alias-float.h>.
21705 (logf): Define using libm_alias_float, or libm_alias_float_other
21707 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
21708 <libm-alias-float.h>.
21709 (powf): Define using libm_alias_float, or libm_alias_float_other
21711 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
21712 <libm-alias-float.h>.
21713 (cosf): Define using libm_alias_float.
21714 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
21715 <libm-alias-float.h>.
21716 (sincosf): Define using libm_alias_float.
21717 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
21718 <libm-alias-float.h>.
21719 (sinf): Define using libm_alias_float.
21720 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21721 (fmaxf): Define using libm_alias_float.
21722 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
21723 (fminf): Define using libm_alias_float.
21724 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21725 <libm-alias-float.h>.
21726 (fmaf): Define using libm_alias_float.
21728 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
21729 (asinh): Define using libm_alias_double.
21730 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
21731 (atan): Define using libm_alias_double.
21732 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
21733 (cbrt): Define using libm_alias_double.
21734 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
21735 (ceil): Define using libm_alias_double.
21736 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
21737 (copysign): Define using libm_alias_double.
21738 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
21739 (expm1): Define using libm_alias_double.
21740 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
21741 (fabs): Define using libm_alias_double.
21742 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
21743 (fdim): Define using libm_alias_double.
21744 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
21745 (floor): Define using libm_alias_double.
21746 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
21747 (fmax): Define using libm_alias_double.
21748 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
21749 (fmin): Define using libm_alias_double.
21750 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
21751 (frexp): Define using libm_alias_double.
21752 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
21753 (llrint): Define using libm_alias_double.
21754 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
21755 (logb): Define using libm_alias_double.
21756 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
21757 (lrint): Define using libm_alias_double.
21758 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
21759 (nearbyint): Define using libm_alias_double.
21760 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
21761 (remquo): Define using libm_alias_double.
21762 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
21763 (rint): Define using libm_alias_double.
21764 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
21765 (trunc): Define using libm_alias_double.
21766 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
21767 (fmax): Define using libm_alias_double.
21768 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
21769 (fmin): Define using libm_alias_double.
21770 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
21771 (fma): Define using libm_alias_double.
21773 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
21776 * elf/dl-hwcaps.c (ROUND): Removed.
21777 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
21778 and ELF_NOTE_NEXT_OFFSET.
21779 * elf/dl-load.c (ROUND): Removed.
21780 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21781 * elf/readelflib.c (ROUND): Removed.
21782 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21783 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
21784 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
21785 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
21787 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21789 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21790 [!__fmaf] (fmaf): Define using libm_alias_float.
21792 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
21793 [!__fma] (fma): Define using libm_alias_double.
21794 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
21796 2017-11-28 Mike FABIAN <mfabian@redhat.com>
21799 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
21800 and implement the collation rules for cs from CLDR on top of that.
21801 * Makefile: Add cs_CZ.UTF-8 to test-input.
21802 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
21804 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
21806 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
21808 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21809 Icarus Sparry <icarus.w.sparry@intel.com>
21811 * benchtests/Makefile:Add BENCHSET to allow subsets of
21812 benchmarks to be run.
21813 * benchtests/README: Add documentation for: Running subsets of
21816 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21818 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
21819 range of tests names.
21821 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
21822 result from property and remove "max", min" and "mean" from
21823 required properties based on benchtests/bench-skeleton.c.
21825 2017-11-28 Florian Weimer <fweimer@redhat.com>
21828 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
21829 due to Internet requirement.
21830 * posix/Makefile (tests): Remove tst-getaddrinfo4,
21832 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
21834 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21836 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21837 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
21838 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21839 (sysdep_routines): Add memset-ultra1.
21840 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
21842 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
21843 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
21844 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
21845 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
21846 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
21847 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
21848 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
21849 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21851 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
21853 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
21854 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
21855 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
21856 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
21857 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
21858 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
21859 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
21861 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21862 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
21863 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21864 (sysdep_routines): Add memcpy-ultra1.
21865 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
21866 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
21868 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21870 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
21871 (cfloat_versions): Take function argument without trailing 'f'.
21872 Call libm_alias_float_other.
21873 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
21874 * sysdeps/alpha/fpu/cargf.c: Likewise.
21875 * sysdeps/alpha/fpu/cimagf.c: Likewise.
21876 * sysdeps/alpha/fpu/conjf.c: Likewise.
21877 * sysdeps/alpha/fpu/crealf.c: Likewise.
21878 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
21879 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
21880 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
21881 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
21882 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
21883 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
21884 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
21885 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
21886 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
21887 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
21888 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
21889 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
21890 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
21891 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
21892 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
21893 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
21894 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
21895 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
21896 (clog10f): Use libm_alias_float_other.
21897 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
21898 (ceilf): Define using libm_alias_float.
21899 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
21900 (copysignf): Define using libm_alias_float.
21901 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
21902 (fabsf): Define using libm_alias_float.
21903 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
21904 (floorf): Define using libm_alias_float.
21905 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
21906 (fmaxf): Define using libm_alias_float.
21907 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
21908 (fminf): Define using libm_alias_float.
21909 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
21910 (lrintf): Define using libm_alias_float.
21911 (llrintf): Likewise.
21912 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
21913 (lroundf): Define using libm_alias_float.
21914 (llroundf): Likewise.
21915 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
21916 (rintf): Define using libm_alias_float.
21917 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
21918 (truncf): Define using libm_alias_float.
21920 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
21921 (ceilf): Define using libm_alias_float.
21922 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
21923 (floorf): Define using libm_alias_float.
21924 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21925 (fmaf): Define using libm_alias_float.
21926 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
21927 (fmaxf): Define using libm_alias_float.
21928 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
21929 (fminf): Define using libm_alias_float.
21930 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
21931 (llrintf): Define using libm_alias_float.
21932 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
21933 (llroundf): Define using libm_alias_float.
21934 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
21935 (lrintf): Define using libm_alias_float.
21936 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
21937 (lroundf): Define using libm_alias_float.
21938 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
21939 <libm-alias-float.h>.
21940 (nearbyintf): Define using libm_alias_float.
21941 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
21942 (rintf): Define using libm_alias_float.
21943 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
21944 (roundf): Define using libm_alias_float.
21945 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
21946 (truncf): Define using libm_alias_float.
21948 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
21949 (ceil): Define using libm_alias_double.
21950 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
21951 (copysign): Define using libm_alias_double.
21952 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
21953 (fabs): Define using libm_alias_double.
21954 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
21955 (floor): Define using libm_alias_double.
21956 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
21957 (fmax): Define using libm_alias_double.
21958 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
21959 (fmin): Define using libm_alias_double.
21960 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
21961 (lrint): Define using libm_alias_double.
21962 (llrint): Likewise.
21963 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
21964 (lround): Define using libm_alias_double.
21965 (llround): Likewise.
21966 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
21967 (rint): Define using libm_alias_double.
21968 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
21969 (trunc): Define using libm_alias_double.
21971 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
21972 (libm_alias_double_r): Add semicolon after weak_alias call.
21974 2017-11-27 Joseph Myers <joseph@codesourcery.com>
21976 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
21977 (ceil): Define using libm_alias_double.
21978 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
21979 (floor): Define using libm_alias_double.
21980 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
21981 (fma): Define using libm_alias_double.
21982 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
21983 (fmax): Define using libm_alias_double.
21984 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
21985 (fmin): Define using libm_alias_double.
21986 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
21987 (llrint): Define using libm_alias_double.
21988 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
21989 (llround): Define using libm_alias_double.
21990 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
21991 (lrint): Define using libm_alias_double.
21992 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
21993 (lround): Define using libm_alias_double.
21994 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
21995 (nearbyint): Define using libm_alias_double.
21996 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
21997 (rint): Define using libm_alias_double.
21998 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
21999 (round): Define using libm_alias_double.
22000 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
22001 (trunc): Define using libm_alias_double.
22003 2017-11-27 Florian Weimer <fweimer@redhat.com>
22005 * sysdeps/unix/sysv/linux/mlock2.c: New file.
22006 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
22007 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
22008 (tests): Add tst-mlock2.
22009 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
22010 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
22011 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
22012 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
22013 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
22014 for mlock. Document mlock2.
22016 2017-11-27 Joseph Myers <joseph@codesourcery.com>
22018 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
22019 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
22021 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
22023 * sysdeps/x86/Makeconfig: New file.
22024 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
22025 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22026 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
22027 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22028 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22029 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22030 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
22032 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22033 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22034 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22035 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22036 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22037 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22038 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22039 * manual/math.texi (Mathematics): Document support for _Float64x.
22040 * math/Versions (GLIBC_2.27): Add _Float64x functions.
22041 * stdlib/Versions (GLIBC_2.27): Likewise.
22042 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22043 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22044 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22045 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22046 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22047 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22048 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22049 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22050 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22051 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22052 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22053 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22058 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22059 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22060 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22061 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22062 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22063 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22064 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22065 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22066 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22067 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22068 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22069 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22070 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22071 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22073 2017-11-27 Andreas Schwab <schwab@suse.de>
22075 * elf/Makefile (dl-routines): Add dl-sort-maps.
22076 * elf/dl-sort-maps.c: New file.
22077 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
22078 (_dl_sort_maps): Declare.
22079 * elf/dl-fini.c (_dl_sort_fini): Remove.
22080 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
22081 * elf/dl-close.c (_dl_close_worker): Likewise.
22082 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
22084 * elf/dl-open.c (dl_open_worker): Likewise.
22086 2017-11-24 Joseph Myers <joseph@codesourcery.com>
22088 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
22089 using libm_alias_float128.
22090 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
22092 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
22094 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
22095 (setpayloadsigf128): Likewise.
22096 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
22098 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
22101 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
22102 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
22103 -mfloat128 to CFLAGS.
22105 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
22107 (CFLAGS-libm-test-support-float64x.c): New variable.
22108 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
22109 $(f128-loader-link) to gnulib-tests.
22111 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
22112 (libm_alias_float128_other_r): If
22113 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
22115 (libm_alias_float128_r): Add semicolon after weak_alias call.
22116 * sysdeps/generic/libm-alias-ldouble.h
22117 (libm_alias_ldouble_other_r_f128): New macro.
22118 (libm_alias_ldouble_other_r_f64x): Likewise.
22119 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
22120 and libm_alias_ldouble_other_r_f64x.
22121 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
22122 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
22123 (libm_alias_ldouble_other_r_f128): New macro.
22124 (libm_alias_ldouble_other_r_f64x): Likewise.
22125 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
22126 and libm_alias_ldouble_other_r_f64x.
22128 * stdlib/strfroml.c: Always include <stdlib.h>.
22129 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
22130 undefine as macro and define as weak alias.
22131 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
22132 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
22134 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
22135 Define and later undefine as macro and define as weak alias.
22137 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
22138 Define and later undefine as macro. Define as weak alias if
22140 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
22141 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22142 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
22143 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
22144 Define and later undefine as macro. Define as weak alias if
22146 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
22147 Define and later undefine as macro. Define as weak alias if
22149 * sysdeps/ieee754/float128/strtof128_l.c
22150 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
22151 Define and later undefine as macro. Define as weak alias if
22153 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
22154 Define and later undefine as macro. Define as weak alias if
22156 * sysdeps/ieee754/ldbl-128/strtold_l.c
22157 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22158 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22159 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22160 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22161 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
22162 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22163 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22164 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22165 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22166 * sysdeps/ieee754/ldbl-96/strtold_l.c
22167 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22168 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22169 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22170 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22172 * math/test-float64x.h: New file.
22173 * math/Makefile (type-float64x-yes): New variable.
22174 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
22176 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
22177 function-like macro.
22178 (min_of_type_): Likewise.
22179 (min_of_type_l): Likewise.
22180 (min_of_type_f128): Likewise.
22181 (min_of_type): Pass () as last argument of __MATH_TG.
22183 * stdlib/tst-strtod-round-skeleton.c
22184 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
22187 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
22188 for combinations of long double with _Float64 and _Float64x.
22190 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
22191 (__DECL_SIMD_cosf32): Likewise.
22192 (__DECL_SIMD_cosf64): Likewise.
22193 (__DECL_SIMD_cosf32x): Likewise.
22194 (__DECL_SIMD_cosf64x): Likewise.
22195 (__DECL_SIMD_cosf128x): Likewise.
22196 (__DECL_SIMD_sinf16): Likewise.
22197 (__DECL_SIMD_sinf32): Likewise.
22198 (__DECL_SIMD_sinf64): Likewise.
22199 (__DECL_SIMD_sinf32x): Likewise.
22200 (__DECL_SIMD_sinf64x): Likewise.
22201 (__DECL_SIMD_sinf128x): Likewise.
22202 (__DECL_SIMD_sincosf16): Likewise.
22203 (__DECL_SIMD_sincosf32): Likewise.
22204 (__DECL_SIMD_sincosf64): Likewise.
22205 (__DECL_SIMD_sincosf32x): Likewise.
22206 (__DECL_SIMD_sincosf64x): Likewise.
22207 (__DECL_SIMD_sincosf128x): Likewise.
22208 (__DECL_SIMD_logf16): Likewise.
22209 (__DECL_SIMD_logf32): Likewise.
22210 (__DECL_SIMD_logf64): Likewise.
22211 (__DECL_SIMD_logf32x): Likewise.
22212 (__DECL_SIMD_logf64x): Likewise.
22213 (__DECL_SIMD_logf128x): Likewise.
22214 (__DECL_SIMD_expf16): Likewise.
22215 (__DECL_SIMD_expf32): Likewise.
22216 (__DECL_SIMD_expf64): Likewise.
22217 (__DECL_SIMD_expf32x): Likewise.
22218 (__DECL_SIMD_expf64x): Likewise.
22219 (__DECL_SIMD_expf128x): Likewise.
22220 (__DECL_SIMD_powf16): Likewise.
22221 (__DECL_SIMD_powf32): Likewise.
22222 (__DECL_SIMD_powf64): Likewise.
22223 (__DECL_SIMD_powf32x): Likewise.
22224 (__DECL_SIMD_powf64x): Likewise.
22225 (__DECL_SIMD_powf128x): Likewise.
22227 * stdlib/Versions (libc): Move entries for wcstof128 and
22228 wcstof128_l to ....
22229 * wcsmbs/Versions (libc): ... here.
22230 Include <float128-abi.h>.
22232 2017-11-24 Florian Weimer <fweimer@redhat.com>
22234 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22235 bits/mman-shared.h.
22236 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
22237 <bits/mman-shared.h>.
22238 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
22240 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
22241 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
22242 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
22243 <bits/mman-shared.h>.
22245 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22248 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
22249 posix_memalign/free.
22250 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
22252 2017-11-22 Mike FABIAN <mfabian@redhat.com>
22255 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
22256 and implement the collation rules for pl from CLDR on top of that.
22257 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
22258 of locales to be built for testing.
22259 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
22261 2017-11-23 Joseph Myers <joseph@codesourcery.com>
22263 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
22264 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
22265 libm_alias_ldouble_other.
22266 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
22267 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
22268 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
22269 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
22270 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
22271 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
22272 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
22273 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
22274 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
22275 libm_alias_ldouble_r.
22276 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
22277 libm_alias_ldouble_other.
22278 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
22279 (log10l): Likewise.
22280 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
22281 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
22282 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
22283 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
22284 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
22285 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
22286 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
22287 (atan2l): Likewise.
22288 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
22289 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
22290 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
22291 libm_alias_ldouble.
22292 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
22294 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
22295 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
22296 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
22298 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
22299 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
22300 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
22301 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
22302 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
22303 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
22304 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
22305 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
22306 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
22307 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
22308 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
22309 libm_alias_ldouble.
22310 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
22311 libm_alias_ldouble_other.
22312 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
22313 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
22314 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
22315 libm_alias_ldouble.
22316 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
22317 libm_alias_ldouble_other.
22318 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
22319 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
22320 * sysdeps/ia64/fpu/w_lgammal_main.c
22321 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
22322 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
22324 2017-11-23 Florian Weimer <fweimer@redhat.com>
22326 * malloc/malloc.c (tcache_thread_shutdown): Rename from
22327 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
22328 alike. Remove freeres marker.
22329 * malloc/arena.c (arena_thread_freeres): Call
22330 tcache_thread_shutdown.
22332 2017-11-23 Florian Weimer <fweimer@redhat.com>
22335 Export nscd hash function as __nss_hash.
22336 * include/nss.h (__nss_hash): Declare.
22337 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
22339 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
22340 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
22342 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
22343 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
22344 * nss/Makefiles (routines): Add nss_hash.
22345 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
22346 * nss/nss_hash.c: Rename from nis/nis_hash.c.
22347 (__nss_hash): Rename from __nis_hash. Define hidden alias.
22348 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
22350 2017-11-23 Florian Weimer <fweimer@redhat.com>
22353 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
22354 Return error code, not -1.
22355 * signal/tst-sigwait-eintr.c: New file.
22356 * signal/Makefile (tests): Add tst-sigwait-eintr.
22358 2017-11-23 Florian Weimer <fweimer@redhat.com>
22360 Linux: Add memfd_create system call wrapper
22361 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
22363 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
22364 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
22365 [__USE_GNU] (memfd_create): Declare.
22366 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
22367 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
22368 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
22369 * sysdeps/unix/sysv/linux/**.abilist: Update.
22370 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
22372 2017-11-22 Joseph Myers <joseph@codesourcery.com>
22374 * localedata/gen-locale.sh: Fix typo in variable name.
22376 * resolv/res_debug.c (p_secstodate): Condition definition on
22377 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
22378 directly as __p_secstodate, and as a compat symbol. Do not use
22379 libresolv_hidden_def.
22380 * resolv/resolv.h (p_secstodate): Remove macro and function
22382 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
22383 using p_secstodate.
22384 * include/resolv.h (__p_secstodate): Do not use
22385 libresolv_hidden_proto.
22386 * resolv/Makefile (tests): Move tst-p_secstodate to ....
22387 (tests-internal): ... here.
22388 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
22389 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
22390 and declare and use __p_secstodate and use compat_symbol_reference
22392 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
22393 implementation returning 77.
22396 * resolv/res_debug.c: Include <libc-diag.h>.
22397 (p_secstodate): Assert time_t at least as wide as u_long. On
22398 overflow, use integer seconds since the epoch as output, or use
22399 "<overflow>" as output and set errno to EOVERFLOW if integer
22400 seconds since the epoch would be 14 or more characters.
22401 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
22403 * resolv/tst-p_secstodate.c: New file.
22404 * resolv/Makefile (tests): Add tst-p_secstodate.
22405 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
22407 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
22408 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
22409 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
22411 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
22413 * posix/regcomp.c (init_word_char): Add comments.
22415 2017-11-22 Joseph Myers <joseph@codesourcery.com>
22418 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
22419 strlen to compute length of ut_user and set trailing NUL byte of
22422 2017-11-21 Mike FABIAN <mfabian@redhat.com>
22425 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
22426 using “copy "iso14651_t1"” and then implementing the
22427 collation rules for lv from CLDR on top of that.
22428 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
22429 of locales to be built for testing.
22430 * lv_LV.UTF-8.in: New file with test data to test the Latvian
22433 2017-11-21 Joseph Myers <joseph@codesourcery.com>
22435 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
22436 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
22437 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
22438 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
22439 [__USE_MISC] (MADV_HWPOISON): New macro.
22440 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
22442 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22444 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
22445 -Wmissing-braces on GCC 4.9.
22447 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
22449 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
22450 * sysdeps/s390/s390-32/start.S (_start): Likewise
22451 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
22452 (thread_start): Likewise.
22453 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
22454 (thread_start): Likewise.
22455 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
22456 (__makecontext_ret): Likewise.
22457 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
22458 (__makecontext_ret): Likewise.
22460 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
22462 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
22463 __wcschrnul): Remove attribute_hidden.
22465 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
22467 regex: don't assume uint64_t or uint32_t
22468 This avoids -Werror=overflow errors for 32-bit systems in
22469 the 64-bit case. Problem reported by Joseph Myers in:
22470 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
22471 Also, when this code is used in Gnulib it ports to platforms
22472 that lack uint64_t and uint32_t. The C standard doesn't guarantee
22473 them, and on some 32-bit compilers there is no uint64_t.
22474 Problem reported by Gianluigi Tiesi in:
22475 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
22476 * posix/regcomp.c (init_word_char): Don't assume that the types
22477 uint64_t and uint32_t exist. Adapted from Gnulib patch
22478 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
22479 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
22481 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
22483 * sysdeps/aarch64/memset-reg.h: New file.
22484 * sysdeps/aarch64/memset.S: Use it.
22485 (__memset): Rename to MEMSET macro.
22486 [ZVA_MACRO]: Use zva_macro.
22487 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
22488 Add memset_generic and memset_falkor.
22489 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
22490 (__libc_ifunc_impl_list): Add memset ifuncs.
22491 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
22492 local variable zva_size.
22493 * sysdeps/aarch64/multiarch/memset.c: New file.
22494 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
22495 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
22496 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
22497 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
22498 (DCZID_DZP_MASK): New macro.
22499 (DCZID_BS_MASK): Likewise.
22500 (init_cpu_features): Read and set zva_size.
22501 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
22502 (struct cpu_features): New member zva_size.
22504 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
22505 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
22506 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
22508 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
22509 backwards. Fix timing computation.
22510 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
22511 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
22512 on memset by N at a time. Fix timing computation.
22514 2017-11-20 Florian Weimer <fweimer@redhat.com>
22516 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
22517 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
22519 2017-11-19 Florian Weimer <fweimer@redhat.com>
22521 manual: Document mprotect
22522 * manual/memory.texi (Memory Protection): New section.
22523 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
22524 documentation of PROT_* flags and reference the Memory Protection
22527 2017-11-19 Florian Weimer <fweimer@redhat.com>
22529 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
22530 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
22531 (Scatter-Gather): ... to here. Remove misleading comment.
22533 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
22535 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
22538 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
22539 when /proc/<pid>/setgroups does not exist.
22541 2017-11-18 Florian Weimer <fweimer@redhat.com>
22543 * sysdeps/unix/sysv/linux/tst-ttyname.c
22544 (become_root_in_mount_ns): Remove.
22545 (do_in_chroot_1): Call support_enter_mount_namespace.
22546 (do_in_chroot_2): Likewise.
22547 (do_test): Call support_become_root early.
22549 2017-11-18 Florian Weimer <fweimer@redhat.com>
22551 * support/namespace.h (support_enter_mount_namespace): Declare.
22552 * support/support_enter_mount_namespace.c: New file.
22553 * support/Makefile (libsupport-routines): Add
22554 support_enter_mount_namespace.
22556 2017-11-18 Florian Weimer <fweimer@redhat.com>
22558 * support/temp_file.c (support_create_temp_directory): Use
22559 test_dir and do not rely on the presence of the XXXXXX suffix.
22560 * support/temp_file.h (support_create_temp_directory): Update
22562 * support/tst-xreadlink.c (do_test): Adjust.
22563 * support/support_chroot.c (support_chroot_create): Likewise.
22565 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22567 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
22569 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
22572 2017-11-17 Joseph Myers <joseph@codesourcery.com>
22574 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22575 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22576 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22577 (ceill): Define using libm_alias_ldouble.
22578 * sysdeps/x86_64/fpu/s_copysignl.S: Include
22579 <libm-alias-ldouble.h>.
22580 (copysignl): Define using libm_alias_ldouble.
22581 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22582 (fabsl): Define using libm_alias_ldouble.
22583 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22584 (floorl): Define using libm_alias_ldouble.
22585 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22586 (fmaxl): Define using libm_alias_ldouble.
22587 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22588 (fminl): Define using libm_alias_ldouble.
22589 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
22590 (llrintl): Define using libm_alias_ldouble.
22591 (lrintl): Likewise.
22592 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
22593 <libm-alias-ldouble.h>.
22594 (nearbyintl): Define using libm_alias_ldouble.
22595 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
22596 (truncl): Define using libm_alias_ldouble.
22597 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
22598 <libm-alias-ldouble.h>.
22599 (lrintl): Define using libm_alias_ldouble.
22601 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22602 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22603 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
22604 (asinhl): Define using libm_alias_ldouble.
22605 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
22606 (atanl): Define using libm_alias_ldouble.
22607 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
22608 (cbrtl): Define using libm_alias_ldouble.
22609 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22610 (ceill): Define using libm_alias_ldouble.
22611 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
22612 (copysignl): Define using libm_alias_ldouble.
22613 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22614 (fabsl): Define using libm_alias_ldouble.
22615 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22616 (floorl): Define using libm_alias_ldouble.
22617 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22618 (fmaxl): Define using libm_alias_ldouble.
22619 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22620 (fminl): Define using libm_alias_ldouble.
22621 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
22622 (frexpl): Define using libm_alias_ldouble.
22623 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
22624 (llrintl): Define using libm_alias_ldouble.
22625 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
22626 (logbl): Define using libm_alias_ldouble.
22627 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
22628 (lrintl): Define using libm_alias_ldouble.
22629 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
22630 (nearbyintl): Define using libm_alias_ldouble.
22631 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
22632 (nextafterl): Define using libm_alias_ldouble.
22633 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
22634 (remquol): Define using libm_alias_ldouble.
22635 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
22636 (rintl): Define using libm_alias_ldouble.
22637 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
22638 (truncl): Define using libm_alias_ldouble.
22639 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22640 (fmaxl): Define using libm_alias_ldouble.
22641 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22642 (fminl): Define using libm_alias_ldouble.
22644 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
22645 to C syntax instead of availability and properties of types.
22646 * bits/floatn.h [!__ASSEMBLER]: Likewise.
22647 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
22648 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
22649 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
22650 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
22651 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
22653 2017-11-17 Florian Weimer <fweimer@redhat.com>
22655 support_become_root: Enable file creation in namespaces.
22656 * support/support_become_root.c (setup_mapping): New function.
22657 (support_become_root): Call it.
22659 2017-11-17 Joseph Myers <joseph@codesourcery.com>
22661 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
22664 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22666 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
22667 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
22669 2017-11-16 Joseph Myers <joseph@codesourcery.com>
22671 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
22673 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
22676 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
22678 * INSTALL: Fix botched up regeneration.
22680 * NEWS: Update sourceare link to https.
22681 * configure.ac: Likewise.
22682 * crypt/md5test-giant.c: Likewise.
22683 * dlfcn/bug-atexit1.c: Likewise.
22684 * dlfcn/bug-atexit2.c: Likewise.
22685 * localedata/README: Likewise.
22686 * malloc/tst-mallocfork.c: Likewise.
22687 * manual/install.texi: Likewise.
22688 * nptl/tst-pthread-getattr.c: Likewise.
22689 * stdio-common/tst-fgets.c: Likewise.
22690 * stdio-common/tst-fwrite.c: Likewise.
22691 * sunrpc/Makefile: Likewise.
22692 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
22693 * wcsmbs/tst-mbrtowc2.c: Likewise.
22694 * configure: Regenerate.
22695 * INSTALL: Regenerate.
22697 2017-11-15 Martin Sebor <msebor@redhat.com>
22699 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
22700 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
22701 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
22703 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22706 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
22707 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
22710 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
22711 Defer is_pty check until end of the function.
22712 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22715 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
22716 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
22717 (ttyname): Likewise.
22718 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
22719 (__ttyname_r): Likewise.
22721 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
22724 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
22726 * manual/terminal.texi (Is It a Terminal):
22727 Mention ENODEV for ttyname and ttyname_r.
22729 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22731 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
22732 constant and macro.
22734 * sysdeps/unix/sysv/linux/bits/mman-linux.h
22735 [__USE_MISC] (MADV_WIPEONFORK): New macro.
22736 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22737 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
22738 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
22739 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22741 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22743 * signal/sigrelse.c (sigrelse): Optimize implementation.
22745 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
22746 (__sigpause): Rely on __sigsuspend to implement single thread
22747 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
22749 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22751 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
22752 kernel version to 4.14.
22754 2017-11-15 Steve Ellcey <sellcey@cavium.com>
22757 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
22758 Check if ifname is too long.
22760 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22762 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
22764 2017-11-15 Mike FABIAN <mfabian@redhat.com>
22766 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
22767 was accidentally lost.
22769 2017-11-15 Mike FABIAN <mfabian@redhat.com>
22771 * localedata/locales/az_IR: Add standard copyright header.
22773 2017-11-15 Florian Weimer <fweimer@redhat.com>
22776 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
22777 not just the top one. Output a new "subheaps" statistic.
22779 2017-11-15 Florian Weimer <fweimer@redhat.com>
22782 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
22783 under the per-arena lock.
22784 * malloc/Makefile (tests): Add tst-malloc_info.
22785 (tst-malloc_info): Link with libpthread.
22786 * malloc/tst-malloc_info.c: New file.
22788 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22791 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
22792 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
22793 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
22794 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
22795 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
22796 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
22797 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
22798 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
22799 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
22800 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
22801 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
22802 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
22803 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
22804 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
22805 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
22806 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
22807 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
22808 (__floating_type): Likewise.
22809 (__real_integer_type): Likewise.
22810 (__complex_integer_type): Likewise.
22811 (__expr_is_real): Likewise.
22812 (__tgmath_real_type_sub): Likewise.
22813 (__tgmath_real_type): Likewise.
22814 (__tgmath_complex_type_sub): Likewise.
22815 (__tgmath_complex_type): Likewise.
22816 (__TGMATH_F128): Likewise.
22817 (__TGMATH_CF128): Likewise.
22818 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
22820 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
22821 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
22823 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
22825 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
22826 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
22827 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
22828 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
22830 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
22831 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
22833 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
22834 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
22835 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
22837 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
22838 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
22839 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
22843 2017-11-14 Joseph Myers <joseph@codesourcery.com>
22845 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
22846 for stpncpy calls for GCC 8.
22847 (test_strncat): Disable -Wstringop-truncation warning for strncat
22848 calls for GCC 8. Disable -Wstringop-overflow= warning for one
22849 strncat call for GCC 7.
22850 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
22852 (test_memcmp): Use memcpy instead of strncpy for calls not copying
22855 * string/bug-strncat1.c: Include <libc-diag.h>.
22856 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
22858 2017-11-13 Claude Paroz <claude@2xlibre.net>
22861 * localedata/locales/aa_DJ: Improved readibility by replacing
22862 <Uxxxx> sequences in the ASCII printable range by their ASCII
22863 character equivalents.
22864 * localedata/locales/aa_ER: Likewise.
22865 * localedata/locales/aa_ER@saaho: Likewise.
22866 * localedata/locales/aa_ET: Likewise.
22867 * localedata/locales/af_ZA: Likewise.
22868 * localedata/locales/agr_PE: Likewise.
22869 * localedata/locales/ak_GH: Likewise.
22870 * localedata/locales/am_ET: Likewise.
22871 * localedata/locales/anp_IN: Likewise.
22872 * localedata/locales/ar_AE: Likewise.
22873 * localedata/locales/ar_BH: Likewise.
22874 * localedata/locales/ar_DZ: Likewise.
22875 * localedata/locales/ar_EG: Likewise.
22876 * localedata/locales/ar_IN: Likewise.
22877 * localedata/locales/ar_IQ: Likewise.
22878 * localedata/locales/ar_JO: Likewise.
22879 * localedata/locales/ar_KW: Likewise.
22880 * localedata/locales/ar_LB: Likewise.
22881 * localedata/locales/ar_LY: Likewise.
22882 * localedata/locales/ar_MA: Likewise.
22883 * localedata/locales/ar_OM: Likewise.
22884 * localedata/locales/ar_QA: Likewise.
22885 * localedata/locales/ar_SA: Likewise.
22886 * localedata/locales/ar_SD: Likewise.
22887 * localedata/locales/ar_SS: Likewise.
22888 * localedata/locales/ar_SY: Likewise.
22889 * localedata/locales/ar_TN: Likewise.
22890 * localedata/locales/ar_YE: Likewise.
22891 * localedata/locales/as_IN: Likewise.
22892 * localedata/locales/ast_ES: Likewise.
22893 * localedata/locales/ayc_PE: Likewise.
22894 * localedata/locales/az_AZ: Likewise.
22895 * localedata/locales/az_IR: Likewise.
22896 * localedata/locales/be_BY: Likewise.
22897 * localedata/locales/be_BY@latin: Likewise.
22898 * localedata/locales/bem_ZM: Likewise.
22899 * localedata/locales/ber_DZ: Likewise.
22900 * localedata/locales/ber_MA: Likewise.
22901 * localedata/locales/bg_BG: Likewise.
22902 * localedata/locales/bhb_IN: Likewise.
22903 * localedata/locales/bho_IN: Likewise.
22904 * localedata/locales/bi_VU: Likewise.
22905 * localedata/locales/bn_BD: Likewise.
22906 * localedata/locales/bn_IN: Likewise.
22907 * localedata/locales/bo_CN: Likewise.
22908 * localedata/locales/bo_IN: Likewise.
22909 * localedata/locales/br_FR: Likewise.
22910 * localedata/locales/brx_IN: Likewise.
22911 * localedata/locales/bs_BA: Likewise.
22912 * localedata/locales/byn_ER: Likewise.
22913 * localedata/locales/ca_AD: Likewise.
22914 * localedata/locales/ca_ES: Likewise.
22915 * localedata/locales/ca_FR: Likewise.
22916 * localedata/locales/ca_IT: Likewise.
22917 * localedata/locales/ce_RU: Likewise.
22918 * localedata/locales/chr_US: Likewise.
22919 * localedata/locales/cmn_TW: Likewise.
22920 * localedata/locales/crh_UA: Likewise.
22921 * localedata/locales/cs_CZ: Likewise.
22922 * localedata/locales/csb_PL: Likewise.
22923 * localedata/locales/cv_RU: Likewise.
22924 * localedata/locales/cy_GB: Likewise.
22925 * localedata/locales/da_DK: Likewise.
22926 * localedata/locales/de_AT: Likewise.
22927 * localedata/locales/de_BE: Likewise.
22928 * localedata/locales/de_CH: Likewise.
22929 * localedata/locales/de_DE: Likewise.
22930 * localedata/locales/de_IT: Likewise.
22931 * localedata/locales/de_LI: Likewise.
22932 * localedata/locales/de_LU: Likewise.
22933 * localedata/locales/doi_IN: Likewise.
22934 * localedata/locales/dv_MV: Likewise.
22935 * localedata/locales/dz_BT: Likewise.
22936 * localedata/locales/el_CY: Likewise.
22937 * localedata/locales/el_GR: Likewise.
22938 * localedata/locales/en_AG: Likewise.
22939 * localedata/locales/en_AU: Likewise.
22940 * localedata/locales/en_BW: Likewise.
22941 * localedata/locales/en_CA: Likewise.
22942 * localedata/locales/en_DK: Likewise.
22943 * localedata/locales/en_GB: Likewise.
22944 * localedata/locales/en_HK: Likewise.
22945 * localedata/locales/en_IE: Likewise.
22946 * localedata/locales/en_IL: Likewise.
22947 * localedata/locales/en_IN: Likewise.
22948 * localedata/locales/en_NG: Likewise.
22949 * localedata/locales/en_NZ: Likewise.
22950 * localedata/locales/en_PH: Likewise.
22951 * localedata/locales/en_SG: Likewise.
22952 * localedata/locales/en_US: Likewise.
22953 * localedata/locales/en_ZA: Likewise.
22954 * localedata/locales/en_ZM: Likewise.
22955 * localedata/locales/en_ZW: Likewise.
22956 * localedata/locales/eo: Likewise.
22957 * localedata/locales/es_AR: Likewise.
22958 * localedata/locales/es_BO: Likewise.
22959 * localedata/locales/es_CL: Likewise.
22960 * localedata/locales/es_CO: Likewise.
22961 * localedata/locales/es_CR: Likewise.
22962 * localedata/locales/es_CU: Likewise.
22963 * localedata/locales/es_DO: Likewise.
22964 * localedata/locales/es_EC: Likewise.
22965 * localedata/locales/es_ES: Likewise.
22966 * localedata/locales/es_GT: Likewise.
22967 * localedata/locales/es_HN: Likewise.
22968 * localedata/locales/es_MX: Likewise.
22969 * localedata/locales/es_NI: Likewise.
22970 * localedata/locales/es_PA: Likewise.
22971 * localedata/locales/es_PE: Likewise.
22972 * localedata/locales/es_PR: Likewise.
22973 * localedata/locales/es_PY: Likewise.
22974 * localedata/locales/es_SV: Likewise.
22975 * localedata/locales/es_US: Likewise.
22976 * localedata/locales/es_UY: Likewise.
22977 * localedata/locales/es_VE: Likewise.
22978 * localedata/locales/et_EE: Likewise.
22979 * localedata/locales/eu_ES: Likewise.
22980 * localedata/locales/eu_ES@euro: Likewise.
22981 * localedata/locales/fa_IR: Likewise.
22982 * localedata/locales/ff_SN: Likewise.
22983 * localedata/locales/fi_FI: Likewise.
22984 * localedata/locales/fil_PH: Likewise.
22985 * localedata/locales/fo_FO: Likewise.
22986 * localedata/locales/fr_BE: Likewise.
22987 * localedata/locales/fr_CA: Likewise.
22988 * localedata/locales/fr_CH: Likewise.
22989 * localedata/locales/fr_FR: Likewise.
22990 * localedata/locales/fr_LU: Likewise.
22991 * localedata/locales/fur_IT: Likewise.
22992 * localedata/locales/fy_DE: Likewise.
22993 * localedata/locales/fy_NL: Likewise.
22994 * localedata/locales/ga_IE: Likewise.
22995 * localedata/locales/gd_GB: Likewise.
22996 * localedata/locales/gez_ER: Likewise.
22997 * localedata/locales/gez_ET: Likewise.
22998 * localedata/locales/gl_ES: Likewise.
22999 * localedata/locales/gu_IN: Likewise.
23000 * localedata/locales/gv_GB: Likewise.
23001 * localedata/locales/ha_NG: Likewise.
23002 * localedata/locales/hak_TW: Likewise.
23003 * localedata/locales/he_IL: Likewise.
23004 * localedata/locales/hi_IN: Likewise.
23005 * localedata/locales/hif_FJ: Likewise.
23006 * localedata/locales/hne_IN: Likewise.
23007 * localedata/locales/hr_HR: Likewise.
23008 * localedata/locales/hsb_DE: Likewise.
23009 * localedata/locales/ht_HT: Likewise.
23010 * localedata/locales/hu_HU: Likewise.
23011 * localedata/locales/hy_AM: Likewise.
23012 * localedata/locales/i18n: Likewise.
23013 * localedata/locales/ia_FR: Likewise.
23014 * localedata/locales/id_ID: Likewise.
23015 * localedata/locales/ig_NG: Likewise.
23016 * localedata/locales/ik_CA: Likewise.
23017 * localedata/locales/is_IS: Likewise.
23018 * localedata/locales/it_CH: Likewise.
23019 * localedata/locales/it_IT: Likewise.
23020 * localedata/locales/iu_CA: Likewise.
23021 * localedata/locales/ja_JP: Likewise.
23022 * localedata/locales/ka_GE: Likewise.
23023 * localedata/locales/kk_KZ: Likewise.
23024 * localedata/locales/kl_GL: Likewise.
23025 * localedata/locales/kn_IN: Likewise.
23026 * localedata/locales/ko_KR: Likewise.
23027 * localedata/locales/kok_IN: Likewise.
23028 * localedata/locales/ks_IN: Likewise.
23029 * localedata/locales/ks_IN@devanagari: Likewise.
23030 * localedata/locales/ku_TR: Likewise.
23031 * localedata/locales/kw_GB: Likewise.
23032 * localedata/locales/ky_KG: Likewise.
23033 * localedata/locales/lb_LU: Likewise.
23034 * localedata/locales/lg_UG: Likewise.
23035 * localedata/locales/li_BE: Likewise.
23036 * localedata/locales/li_NL: Likewise.
23037 * localedata/locales/lij_IT: Likewise.
23038 * localedata/locales/ln_CD: Likewise.
23039 * localedata/locales/lo_LA: Likewise.
23040 * localedata/locales/lt_LT: Likewise.
23041 * localedata/locales/lv_LV: Likewise.
23042 * localedata/locales/lzh_TW: Likewise.
23043 * localedata/locales/mag_IN: Likewise.
23044 * localedata/locales/mai_IN: Likewise.
23045 * localedata/locales/mg_MG: Likewise.
23046 * localedata/locales/mhr_RU: Likewise.
23047 * localedata/locales/mi_NZ: Likewise.
23048 * localedata/locales/mk_MK: Likewise.
23049 * localedata/locales/ml_IN: Likewise.
23050 * localedata/locales/mn_MN: Likewise.
23051 * localedata/locales/mni_IN: Likewise.
23052 * localedata/locales/mr_IN: Likewise.
23053 * localedata/locales/ms_MY: Likewise.
23054 * localedata/locales/mt_MT: Likewise.
23055 * localedata/locales/my_MM: Likewise.
23056 * localedata/locales/nan_TW: Likewise.
23057 * localedata/locales/nan_TW@latin: Likewise.
23058 * localedata/locales/nb_NO: Likewise.
23059 * localedata/locales/nds_DE: Likewise.
23060 * localedata/locales/nds_NL: Likewise.
23061 * localedata/locales/ne_NP: Likewise.
23062 * localedata/locales/nhn_MX: Likewise.
23063 * localedata/locales/niu_NU: Likewise.
23064 * localedata/locales/niu_NZ: Likewise.
23065 * localedata/locales/nl_AW: Likewise.
23066 * localedata/locales/nl_BE: Likewise.
23067 * localedata/locales/nl_NL: Likewise.
23068 * localedata/locales/nn_NO: Likewise.
23069 * localedata/locales/nr_ZA: Likewise.
23070 * localedata/locales/nso_ZA: Likewise.
23071 * localedata/locales/oc_FR: Likewise.
23072 * localedata/locales/om_ET: Likewise.
23073 * localedata/locales/om_KE: Likewise.
23074 * localedata/locales/or_IN: Likewise.
23075 * localedata/locales/os_RU: Likewise.
23076 * localedata/locales/pa_IN: Likewise.
23077 * localedata/locales/pa_PK: Likewise.
23078 * localedata/locales/pap_AW: Likewise.
23079 * localedata/locales/pap_CW: Likewise.
23080 * localedata/locales/pl_PL: Likewise.
23081 * localedata/locales/ps_AF: Likewise.
23082 * localedata/locales/pt_BR: Likewise.
23083 * localedata/locales/pt_PT: Likewise.
23084 * localedata/locales/quz_PE: Likewise.
23085 * localedata/locales/raj_IN: Likewise.
23086 * localedata/locales/ro_RO: Likewise.
23087 * localedata/locales/ru_RU: Likewise.
23088 * localedata/locales/ru_UA: Likewise.
23089 * localedata/locales/rw_RW: Likewise.
23090 * localedata/locales/sa_IN: Likewise.
23091 * localedata/locales/sat_IN: Likewise.
23092 * localedata/locales/sc_IT: Likewise.
23093 * localedata/locales/sd_IN: Likewise.
23094 * localedata/locales/sd_IN@devanagari: Likewise.
23095 * localedata/locales/se_NO: Likewise.
23096 * localedata/locales/sgs_LT: Likewise.
23097 * localedata/locales/shs_CA: Likewise.
23098 * localedata/locales/si_LK: Likewise.
23099 * localedata/locales/sid_ET: Likewise.
23100 * localedata/locales/sk_SK: Likewise.
23101 * localedata/locales/sl_SI: Likewise.
23102 * localedata/locales/sm_WS: Likewise.
23103 * localedata/locales/so_DJ: Likewise.
23104 * localedata/locales/so_ET: Likewise.
23105 * localedata/locales/so_KE: Likewise.
23106 * localedata/locales/so_SO: Likewise.
23107 * localedata/locales/sq_AL: Likewise.
23108 * localedata/locales/sq_MK: Likewise.
23109 * localedata/locales/sr_ME: Likewise.
23110 * localedata/locales/sr_RS: Likewise.
23111 * localedata/locales/sr_RS@latin: Likewise.
23112 * localedata/locales/ss_ZA: Likewise.
23113 * localedata/locales/st_ZA: Likewise.
23114 * localedata/locales/sv_FI: Likewise.
23115 * localedata/locales/sv_SE: Likewise.
23116 * localedata/locales/sw_KE: Likewise.
23117 * localedata/locales/sw_TZ: Likewise.
23118 * localedata/locales/szl_PL: Likewise.
23119 * localedata/locales/ta_IN: Likewise.
23120 * localedata/locales/ta_LK: Likewise.
23121 * localedata/locales/tcy_IN: Likewise.
23122 * localedata/locales/te_IN: Likewise.
23123 * localedata/locales/tg_TJ: Likewise.
23124 * localedata/locales/th_TH: Likewise.
23125 * localedata/locales/the_NP: Likewise.
23126 * localedata/locales/ti_ER: Likewise.
23127 * localedata/locales/ti_ET: Likewise.
23128 * localedata/locales/tig_ER: Likewise.
23129 * localedata/locales/tk_TM: Likewise.
23130 * localedata/locales/tl_PH: Likewise.
23131 * localedata/locales/tn_ZA: Likewise.
23132 * localedata/locales/to_TO: Likewise.
23133 * localedata/locales/tpi_PG: Likewise.
23134 * localedata/locales/tr_CY: Likewise.
23135 * localedata/locales/tr_TR: Likewise.
23136 * localedata/locales/ts_ZA: Likewise.
23137 * localedata/locales/tt_RU: Likewise.
23138 * localedata/locales/tt_RU@iqtelif: Likewise.
23139 * localedata/locales/ug_CN: Likewise.
23140 * localedata/locales/uk_UA: Likewise.
23141 * localedata/locales/unm_US: Likewise.
23142 * localedata/locales/ur_IN: Likewise.
23143 * localedata/locales/ur_PK: Likewise.
23144 * localedata/locales/uz_UZ: Likewise.
23145 * localedata/locales/uz_UZ@cyrillic: Likewise.
23146 * localedata/locales/ve_ZA: Likewise.
23147 * localedata/locales/vi_VN: Likewise.
23148 * localedata/locales/wa_BE: Likewise.
23149 * localedata/locales/wae_CH: Likewise.
23150 * localedata/locales/wal_ET: Likewise.
23151 * localedata/locales/wo_SN: Likewise.
23152 * localedata/locales/xh_ZA: Likewise.
23153 * localedata/locales/yi_US: Likewise.
23154 * localedata/locales/yo_NG: Likewise.
23155 * localedata/locales/yue_HK: Likewise.
23156 * localedata/locales/yuw_PG: Likewise.
23157 * localedata/locales/zh_CN: Likewise.
23158 * localedata/locales/zh_HK: Likewise.
23159 * localedata/locales/zh_SG: Likewise.
23160 * localedata/locales/zh_TW: Likewise.
23161 * localedata/locales/zu_ZA: Likewise.
23163 2017-11-13 Florian Weimer <fweimer@redhat.com>
23165 * support/next_to_fault.h, support/next_to_fault.c: New files.
23166 * support/Makefile (libsupport-routines): Add next_to_fault.
23167 * resolv/tst-inet_pton.c (struct next_to_fault)
23168 (next_to_fault_allocate, next_to_fault_free): Remove.
23169 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
23171 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
23173 * elf/dl-support.c: Include <dl-procruntime.c>.
23174 * include/link.h: Include <link_map.h>.
23175 * sysdeps/generic/dl-procruntime.c: New file.
23176 * sysdeps/generic/link_map.h: Likewise.
23177 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
23178 the writable ld.so namespace.
23180 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
23182 timezone: pacify GCC -Wstringop-truncation
23183 Problem reported by Martin Sebor in:
23184 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
23185 * timezone/zic.c (writezone): Use memcpy, not strncpy.
23187 2017-11-12 Florian Weimer <fweimer@redhat.com>
23189 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
23191 (tests): Add tst-xreadlink.
23192 * support/support.h (xstrndup): Declare.
23193 * support/xunistd.h (xunlink, xreadlink): Declare.
23194 * support/temp_file.h (support_create_temp_directory): Declare.
23195 * support/temp_file.c (support_create_temp_directory): New function.
23196 * support/support_chroot.c (support_chroot_create): Use it.
23197 * support/xreadlink.c: New file.
23198 * support/xstrndup.c: Likewise.
23199 * support/xunlink.c: Likewise.
23200 * support/tst-xreadlink.c: Likewise.
23202 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
23204 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
23206 2017-11-11 Florian Weimer <fweimer@redhat.com>
23210 * resolv/res_comp.c (printable_string, binary_hnok)
23211 (binary_leading_dash): New functions.
23212 (res_hnok): Reimplement using these functions and ns_name_pton.
23213 (res_ownok): Likewise.
23214 (res_mailok): Reimplement using printable_string, ns_name_pton and
23216 (res_dnok): Reimplement using printable_string and ns_name_pton.
23217 * resolv/tst-res_hnok.c (tests): Add additional tests.
23218 (LETTERDIGITS, PRINTABLE): Define.
23219 (do_test): Adjust one_char results.
23221 2017-11-11 Florian Weimer <fweimer@redhat.com>
23224 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
23225 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
23227 2017-11-11 Florian Weimer <fweimer@redhat.com>
23229 * resolv/tst-ns_name_pton.c: New file.
23230 * resolv/Makefile (tests): Add tst-ns_name_pton.
23231 (tst-ns_name_pton): Link against libresolv.
23233 2017-11-11 Florian Weimer <fweimer@redhat.com>
23235 * resolv/tst-res_hnok.c: New file.
23236 * resolv/Makefile (tests): Add tst-res_hnok.
23237 (tst-res_hnok): Link against libresolv.
23239 2017-11-11 Florian Weimer <fweimer@redhat.com>
23241 * resolv/tst-resolv-network.c: Use test framework instead explicit
23244 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
23246 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
23247 <jmp_buf-macros.h>.
23248 [!_ISOMAC] (STR_HELPER): New.
23249 [!_ISOMAC] (STR): Likewise.
23250 [!_ISOMAC] (TEST_SIZE): Likewise.
23251 [!_ISOMAC] (TEST_ALIGN): Likewise.
23252 [!_ISOMAC] (TEST_OFFSET): Likewise.
23253 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
23254 field offsets of jmp_buf as well as sigjmp_buf.
23255 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
23256 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
23257 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
23258 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
23259 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
23260 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
23261 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
23262 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
23263 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
23264 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
23266 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
23268 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
23269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
23271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
23273 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
23274 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
23275 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
23276 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
23277 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
23278 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
23280 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
23282 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
23283 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
23284 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
23286 2017-11-07 Joseph Myers <joseph@codesourcery.com>
23289 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23290 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
23291 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23292 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
23293 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23294 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
23295 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23296 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
23297 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23298 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
23299 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23300 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
23301 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23302 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
23303 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23304 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
23305 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23306 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
23307 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23308 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
23309 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23310 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
23311 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23312 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
23313 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23314 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
23315 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23316 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
23317 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23318 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
23319 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23320 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
23321 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23322 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
23323 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23324 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
23325 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23326 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
23327 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23328 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
23329 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23330 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
23331 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23332 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
23333 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23334 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
23335 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23336 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
23337 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23338 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
23339 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23340 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
23341 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23342 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
23343 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23344 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
23345 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23346 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
23347 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23348 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
23349 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23350 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
23351 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23352 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
23353 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23354 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
23355 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23356 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
23357 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23358 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
23359 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23360 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
23361 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23362 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
23363 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23364 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
23365 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23366 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
23367 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23368 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
23369 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23370 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
23371 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23372 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
23373 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23374 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
23375 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23376 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
23378 * stdlib/tst-strtod.h (F16): New macro.
23384 (IF_FLOAT16): Likewise.
23385 (IF_FLOAT32): Likewise.
23386 (IF_FLOAT64): Likewise.
23387 (IF_FLOAT32X): Likewise.
23388 (IF_FLOAT64X): Likewise.
23389 (IF_FLOAT128X): Likewise.
23390 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
23391 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
23392 (STRTOD_TEST_FOREACH): Likewise.
23393 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
23394 (CHOOSE_f64): Likewise.
23395 (CHOOSE_f32x): Likewise.
23396 (CHOOSE_f64x): Likewise.
23398 2017-11-07 Andreas Schwab <schwab@suse.de>
23400 * nptl/Makefile (tests-internal): Remove tst-typesizes.
23402 2017-11-07 Mike FABIAN <mfabian@redhat.com>
23405 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
23407 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
23410 2017-11-07 Claude Paroz <claude@2xlibre.net>
23413 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
23415 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
23417 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
23420 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23423 * nptl/allocatestack.c (allocate_stack): Check if
23424 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
23425 __PTHREAD_MUTEX_HAVE_PREV is defined.
23426 * nptl/descr.h (pthread): Likewise.
23427 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
23429 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
23430 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
23431 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
23432 * sysdeps/nptl/bits/thread-shared-types.h
23433 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
23435 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
23436 of __WORDSIZE for internal layout.
23437 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
23438 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
23439 instead of __WORDSIZE whether to use an union for __spins and __list
23441 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
23443 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
23444 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
23446 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
23447 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23449 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
23450 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23452 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
23453 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23455 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
23456 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23458 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
23459 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23461 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
23462 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23464 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
23465 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23467 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
23468 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23470 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
23471 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23473 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
23474 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23476 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
23477 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23479 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
23480 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23482 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
23483 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23485 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
23486 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23489 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
23491 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
23492 checks for expected input type size.
23493 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
23494 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
23496 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
23497 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
23498 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
23499 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
23500 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
23501 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
23502 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
23503 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
23504 superflous runtime assert check.
23505 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
23507 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
23509 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
23511 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
23513 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
23515 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
23517 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
23518 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
23519 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
23521 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
23523 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
23525 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
23527 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
23529 * nptl/pthread_attr_setinheritsched.c
23530 (__pthread_attr_setinheritsched): Likewise.
23531 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
23533 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
23535 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
23536 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
23537 __old_pthread_attr_setstack): Likewise.
23538 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
23540 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
23542 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
23544 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
23545 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
23547 * nptl/tst-typesizes.c: Remove file.
23549 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
23550 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
23551 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
23552 checks for internal pthread_mutex_t offsets.
23553 * sysdeps/aarch64/nptl/pthread-offsets.h
23554 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
23555 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
23556 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
23557 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
23558 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
23559 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
23560 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
23561 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
23562 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
23563 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
23564 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
23565 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
23566 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
23567 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
23568 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
23569 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
23570 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
23571 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
23573 2017-11-07 Florian Weimer <fweimer@redhat.com>
23575 * bits/mman-linux.h: Move ...
23576 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
23578 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
23581 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23583 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
23584 Redefine STRNLEN as __strnlen_power8.
23586 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23588 * signal/sighold.c (sighold): Optimize implementation.
23590 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
23591 __NR_rt_sigqueueinfo.
23593 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
23595 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
23596 assume __NR_rt_sigtimedwait.
23597 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
23598 and add LIBC_CANCEL_HANDLED for cancellation marking.
23599 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23601 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
23602 (sysdeps_routines): Add memchr_noneon.
23603 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
23604 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
23605 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
23606 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
23607 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
23608 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
23609 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
23611 * sysdeps/arm/arm-ifunc.h: New file.
23612 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
23613 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
23614 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
23615 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
23616 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
23617 (__memcpy_neon): Avoid create hidden alias.
23618 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
23619 (__memcpy_vfp): Likewise.
23620 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
23621 (sysdep_routines): Add memcpy_arm.
23622 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
23624 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
23627 * Makerules (make-link-multidir): New.
23628 * config.make.in (multidir): New.
23629 * configure.ac (libc_cv_multidir): New. AC_SUBST.
23630 * configure: Regenerated.
23631 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
23632 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
23633 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
23636 2017-11-06 Joseph Myers <joseph@codesourcery.com>
23639 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
23640 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
23642 2017-11-04 Mike FABIAN <mfabian@redhat.com>
23644 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
23647 2017-11-04 Florian Weimer <fweimer@redhat.com>
23649 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
23651 2017-11-03 Joseph Myers <joseph@codesourcery.com>
23653 * math/math.h [__HAVE_DISTINCT_FLOAT16
23654 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
23655 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23656 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23657 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
23658 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
23659 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
23660 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23661 (__MATH_TG_F32): New macro.
23662 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23663 (__MATH_TG_F64X): Likewise.
23664 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23665 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
23667 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
23669 * po/de.po: Update translations.
23670 * po/ru.po: Likewise.
23672 2017-11-03 Florian Weimer <fweimer@redhat.com>
23674 * manual/filesys.texi (Hard Links): Document linkat.
23676 2017-11-03 Joseph Myers <joseph@codesourcery.com>
23678 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
23679 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
23680 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23681 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23682 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23683 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23684 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
23685 the same as _Float128.
23686 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23687 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23688 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
23691 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
23693 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
23695 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
23697 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23698 (strtof32x): Likewise.
23699 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23700 (strtof64x): Likewise.
23701 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23702 (strtof128x): Likewise.
23703 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23704 (strfromf16): Likewise.
23705 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23706 (strfromf32): Likewise.
23707 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23708 (strfromf64): Likewise.
23709 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23710 (strfromf32x): Likewise.
23711 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23712 (strfromf64x): Likewise.
23713 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23714 (strfromf128x): Likewise.
23715 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
23716 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
23717 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
23718 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
23719 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
23720 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
23722 2017-11-03 Richard Henderson <rth@twiddle.net>
23724 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
23726 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23728 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
23730 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23732 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
23733 DT_TLSDESC_GOT initialization.
23734 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
23735 (_dl_tlsdesc_resolve_hold): Likewise.
23736 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
23737 (_dl_tlsdesc_resolve_hold): Likewise.
23738 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
23739 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23741 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23743 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
23745 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23748 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
23749 non-lazily for R_ARM_TLS_DESC.
23751 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23754 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
23755 R_ARM_TLS_DESC case.
23756 (elf_machine_lazy_rel): Remove the prelink check.
23758 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23760 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
23761 DT_TLSDESC_GOT initialization.
23762 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
23763 (_dl_tlsdesc_resolve_rela): Likewise.
23764 (_dl_tlsdesc_resolve_hold): Likewise.
23765 (_dl_tlsdesc_undefweak): Remove ldar.
23766 (_dl_tlsdesc_dynamic): Likewise.
23767 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
23768 (_dl_tlsdesc_resolve_rela): Likewise.
23769 (_dl_tlsdesc_resolve_hold): Likewise.
23770 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
23771 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23772 (_dl_tlsdesc_resolve_rela): Likewise.
23773 (_dl_tlsdesc_resolve_hold): Likewise.
23775 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23777 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
23778 binding and initialization non-lazily for R_AARCH64_TLSDESC.
23780 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23782 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
23783 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23785 2017-11-02 Joseph Myers <joseph@codesourcery.com>
23787 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
23789 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
23790 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
23791 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
23792 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
23793 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
23794 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
23795 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
23796 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
23797 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
23798 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
23799 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
23801 2017-11-02 Mike FABIAN <mfabian@redhat.com>
23804 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
23805 * localedata/locales/tpi_PG: Add standard header.
23807 2017-11-02 Florian Weimer <fweimer@redhat.com>
23809 test-errno-linux: quotactl can fail with EPERM in containers.
23810 * sysdeps/unix/sysv/linux/test-errno-linux.c
23811 (LIST, LIST_FORWARD): New macros.
23812 (check_error_in_list): New function.
23813 (test_wrp_rv): Accept list of permitted error codes.
23814 (test_wrp_rv2): Remove.
23815 (test_wrp): Call test_wrp_rv with list of error codes.
23816 (test_wrp2): Accept list of error codes.
23817 (do_test): Adjust. Allow EPERM for quotactl.
23819 2017-11-02 Florian Weimer <fweimer@redhat.com>
23821 * stdio-common/bug16.c (do_test): Use array_length.
23822 * stdio-common/errlist.c (_sys_nerr): Likewise.
23823 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
23824 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
23825 * stdio-common/psiginfo.c (psiginfo): Use array_length.
23826 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
23827 (do_test): Use array_length.
23828 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
23829 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
23830 * stdio-common/tst-printf-round.c (do_test): Likewise.
23831 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
23832 (CHECK): Use array_length.
23833 * stdio-common/tstdiomisc.c (t3, F): Likewise.
23834 * stdio-common/tstscanf.c (main): Likewise.
23835 * stdio-common/vfprintf.c (process_string_arg): Likewise.
23837 2017-11-02 Florian Weimer <fweimer@redhat.com>
23839 Add array_length and array_end macros.
23840 * include/array_length.h: New file.
23842 2017-11-02 Florian Weimer <fweimer@redhat.com>
23845 * posix/tst-glob-tilde.c (do_noescape): New variable.
23846 (one_test): Process it.
23847 (do_test): Set do_noescape. Add unescaping test case.
23849 2017-11-01 Joseph Myers <joseph@codesourcery.com>
23852 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
23853 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
23854 with appropriate macros defined and undefined.
23855 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
23856 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23857 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
23858 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23859 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
23860 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23861 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
23862 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23863 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
23864 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23867 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
23868 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
23869 that for long double. Do not condition define and undefine of
23870 _Mdouble_complex_ on [__CFLOAT128].
23872 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
23874 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
23875 of <sysdeps/generic/sysdep.h>.
23876 (ALIGNARG): Removed.
23877 (ASM_SIZE_DIRECTIVE): Likewise.
23880 (ENTRY_CHK): Likewise.
23881 (END_CHK): Likewise.
23882 (syscall_error): Likewise.
23883 (mcount): Likewise.
23884 (PSEUDO_END): Likewise.
23886 (atom_text_section): Likewise.
23887 * sysdeps/x86/sysdep.h: New file.
23888 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
23889 of <sysdeps/generic/sysdep.h>.
23890 (ALIGNARG): Removed.
23891 (ASM_SIZE_DIRECTIVE): Likewise.
23894 (ENTRY_CHK): Likewise.
23895 (END_CHK): Likewise.
23896 (syscall_error): Likewise.
23897 (mcount): Likewise.
23898 (PSEUDO_END): Likewise.
23900 (atom_text_section): Likewise.
23902 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
23904 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
23905 category of LC_CTYPE set to "i18n:2012".
23906 * localedata/locales/i18n_ctype: Regenerate.
23908 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
23910 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
23911 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
23912 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
23913 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
23915 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
23916 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
23917 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
23918 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
23920 2017-10-31 Joseph Myers <joseph@codesourcery.com>
23923 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
23925 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
23927 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
23929 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23930 (CMPLXF32X): Likewise.
23931 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23932 (CMPLXF64X): Likewise.
23933 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23934 (CMPLXF128X): Likewise.
23937 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
23938 (__MATH_EVAL_FMT2): Define to add 0.0f.
23940 2017-10-31 Alan Modra <amodra@gmail.com>
23942 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
23944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
23945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
23946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
23947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
23948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
23949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
23950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
23951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
23952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
23953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
23954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
23955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
23956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
23957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
23958 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
23959 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
23960 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
23961 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
23962 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
23963 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
23964 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
23965 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
23966 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
23967 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
23968 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
23969 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
23970 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
23971 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
23972 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
23973 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
23974 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
23975 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
23976 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
23977 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
23978 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
23979 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
23980 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
23981 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
23982 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
23983 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
23984 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
23985 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
23986 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
23987 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
23988 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
23989 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
23990 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
23991 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
23992 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
23993 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
23994 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
23995 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
23996 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
23997 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
23998 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
23999 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
24000 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
24001 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
24002 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
24003 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
24004 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
24005 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
24006 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
24007 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
24008 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
24009 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
24010 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
24011 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
24012 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
24014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
24015 include sysdep.h and math_ldbl_opt.h.
24017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
24018 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
24019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
24020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
24021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
24022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
24023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
24024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
24025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
24026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
24027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
24028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
24029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
24030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
24031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
24032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
24033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
24034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
24035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
24036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
24037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
24038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
24039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
24040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
24041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
24042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
24044 2017-10-31 Alan Modra <amodra@gmail.com>
24046 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
24047 string/strncase_l.c, not string/strncase.c.
24048 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
24049 (libc_hidden_def): Redefine.
24051 2017-10-31 Alan Modra <amodra@gmail.com>
24053 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
24054 (__STRCMP, STRCMP, __strcasecmp_l): Define.
24055 (__strcasecmp): Don't define.
24057 2017-10-31 Alan Modra <amodra@gmail.com>
24059 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
24061 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
24062 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
24063 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
24065 2017-10-31 Alan Modra <amodra@gmail.com>
24067 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
24070 2017-10-31 Alan Modra <amodra@gmail.com>
24072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
24073 Redefine only when SHARED.
24075 2017-10-30 Joseph Myers <joseph@codesourcery.com>
24077 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
24078 Include <bits/math-finite.h> with appropriate macros defined and
24080 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
24081 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
24082 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
24083 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
24084 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
24086 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
24087 [!_Mlong_double_] (_Mlong_double_): Likewise.
24088 [!_Mfloat16_] (_Mfloat16_): Likewise.
24089 [!_Mfloat32_] (_Mfloat32_): Likewise.
24090 [!_Mfloat64_] (_Mfloat64_): Likewise.
24091 [!_Mfloat128_] (_Mfloat128_): Likewise.
24092 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
24093 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
24094 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
24095 (_Mdouble_): Define without indirection through those macros.
24096 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
24097 [!_Mfloat128_] (_Mfloat128_): Likewise.
24098 [_Mlong_double_] (_Mlong_double_): Likewise.
24099 (_Mdouble_): Define without indirection through those macros.
24100 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
24101 not add -D_Mlong_double_=double.
24102 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
24103 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
24105 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24107 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
24109 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24111 * sysdeps/x86/libc-start.c: Reformat.
24113 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24116 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
24117 (1): Renamed to ...
24120 (L(Src2)): Likewise.
24121 (L(1)): Renamed to ...
24124 2017-10-30 Joseph Myers <joseph@codesourcery.com>
24126 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
24127 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
24128 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
24129 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
24130 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
24131 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
24132 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
24133 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
24134 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
24135 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
24136 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
24137 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
24138 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
24139 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
24140 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
24141 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
24142 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
24143 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
24144 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
24145 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
24146 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
24147 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
24148 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
24149 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
24150 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
24151 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
24152 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
24153 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
24154 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
24155 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
24156 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
24157 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
24158 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
24159 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
24160 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
24161 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
24162 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
24163 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
24164 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
24165 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
24166 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
24167 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
24168 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
24169 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
24170 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
24171 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
24172 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
24173 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
24174 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
24175 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
24176 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
24177 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
24178 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
24179 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
24180 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
24181 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
24182 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
24183 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
24184 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
24185 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
24186 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
24187 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
24188 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
24189 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
24190 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
24191 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
24193 2017-10-30 Florian Weimer <fweimer@redhat.com>
24195 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
24197 * io/tst-mkdirat.c (do_test): Likewise.
24198 * io/tst-mkfifoat.c (do_test): Likewise.
24199 * io/tst-mknodat.c (do_test): Likewise.
24200 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
24201 * locale/programs/locale.c (select_dirs): Likewise.
24202 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
24203 * posix/bug-glob2.c (my_readdir): Likewise.
24204 * posix/tst-dir.c (main): Likewise.
24205 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
24206 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
24208 2017-10-30 Florian Weimer <fweimer@redhat.com>
24210 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
24213 2017-10-30 Florian Weimer <fweimer@redhat.com>
24215 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
24216 Convert to support/test-driver.c.
24217 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
24218 New macro parameters.
24219 (PRINTF): Remove macro. Use test_verbose conditionals instead.
24220 * posix/tst-gnuglob.c: New file.
24221 * posix/tst-gnuglob64.c: Likewise.
24222 * posix/Makefile (tests): Add tst-gnuglob64.
24224 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
24227 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
24228 and use a better translation for March in “mon”.
24229 * localedata/locales/csb_PL: Use more ASCII to improve the
24230 readability of the source.
24232 2017-10-30 Mike FABIAN <mfabian@redhat.com>
24235 * localedata/locales/km_KH: Use ASCII as much
24236 as possible for better readability of the source and
24237 remove useless comments.
24238 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
24239 was commented out and apparently wrong anyway because it was
24240 using Lao characters. If Buddhist era should be used
24241 for km_KH, a native speaker should write the correct formaat
24243 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
24244 (According to CLDR, the first weekday for Cambodia is Sunday).
24245 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
24246 (These were using Lao characters which must be wrong. If we get
24247 the correct data from a native speaker, we could add it back, until
24248 then it is better not to have name_mr and name_mrs at all than
24251 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
24253 * locale/loadlocale.c: Correct size of
24254 _nl_value_type_LC_<category> arrays.
24256 2017-10-27 Joseph Myers <joseph@codesourcery.com>
24258 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
24259 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
24260 with appropriate macros defined and undefined.
24261 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
24262 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
24263 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
24264 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
24265 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
24267 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
24269 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
24272 2017-10-27 Mike FABIAN <mfabian@redhat.com>
24274 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
24275 with lowercase letters to make it agree with CLDR.
24277 2017-10-27 Mike FABIAN <mfabian@redhat.com>
24280 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
24281 first letters of yesstr and nostr in yesexpr and noexpr,
24282 not for the full words.
24283 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
24284 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
24285 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
24286 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
24287 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
24288 first letters of yesstr and nostr in yesexpr and noexpr,
24289 until now only English was matched in yesexpr and noexpr.
24290 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
24291 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
24292 fil but not for tl. As tl and fil are very similar, using fil
24293 is probably better than using English.
24295 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
24298 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
24299 in yesstr and nostr.
24301 2017-10-26 Joseph Myers <joseph@codesourcery.com>
24303 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
24304 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
24305 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
24307 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
24309 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
24311 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
24313 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24314 (SNANF128X): Likewise.
24316 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
24317 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
24318 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24319 (HUGE_VAL_F32): Likewise.
24320 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24321 (HUGE_VAL_F64): Likewise.
24322 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24323 (HUGE_VAL_F32X): Likewise.
24324 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24325 (HUGE_VAL_F64X): Likewise.
24326 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24327 (HUGE_VAL_F128X): Likewise.
24329 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
24331 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
24332 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
24333 for the br_FR locale.
24335 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
24338 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
24340 2017-10-25 Carlos O'Donell <carlos@redhat.com>
24342 * locale/programs/record-status.h: Define globals, and function
24343 prototypes. Move function bodies...
24344 * locale/programs/record-status.c: ... to here. New file.
24345 * iconv/Makefile (iconv_prog-modules): Add record-status.
24346 * locale/Makefile (lib-modules): Likewise.
24347 * iconv/iconv_prog.c: Remove verbose.
24348 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
24349 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
24350 record a warning about ASCII compatibility.
24351 * locale/programs/ld-monetary.c (monetary_finish): If
24352 warn_int_curr_symbol is true then record a warning about the symbol
24353 not being in our ISO 4217 list.
24354 * locale/programs/locale.c: Include record-status.h. Remove verbose.
24355 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
24356 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
24357 (OPT_NO_WARN): Define.
24358 (OPT_WARN): Define.
24359 (options): Add entry for --no-warnings, and --warnings.
24360 (set_warnings): New function to enable/disable warnings.
24361 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
24362 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
24363 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
24364 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
24365 Pass flags to generate_locale.
24366 (generate_locale): Accept new flag argument and pass it to localedef
24368 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
24369 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
24371 * localedata/Makefile (test-input-data): Use full file name.
24372 * localedata/da_DK.in: Rename to...
24373 * localedata/da_DK.ISO-8859-1.in: ...this.
24374 * localedata/de_DE.in: Rename to...
24375 * localedata/de_DE.ISO-8859-1.in: ...this.
24376 * localedata/en_US.in: Rename to...
24377 * localedata/en_US.ISO-8859-1.in: ...this.
24378 * localedata/fr_FR.in: Rename to...
24379 * localedata/fr_FR.UTF-8.in: ... this.
24380 * localedata/hr_HR.in: Rename to...
24381 * localedata/hr_HR.ISO-8859-2.in: ...this.
24382 * localedata/hu_HU.in: Rename to...
24383 * localedata/hu_HU.UTF-8.in: ...this.
24384 * localedata/si_LK.in: Rename to...
24385 * localedata/si_LK.UTF-8.in: ...this.
24386 * localedata/sv_SE.in: Rename to...
24387 * localedata/sv_SE.ISO-8859-1.in: ...this.
24388 * localedata/tr_TR.in: Rename to...
24389 * localedata/tr_TR.UTF-8.in: ...this.
24390 * localedata/uk_UA.in: Rename to...
24391 * localedata/uk_UA.UTF-8.in: ...this.
24392 * localedata/sort-test.sh: Test file is locale name with the
24395 * localedata/unicode-gen/Makefile (check_i18n): Rename to
24396 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
24398 * localedata/locales/i18n_ctype: Regenerate.
24399 * localedata/locales/tr_TR: Likewise.
24400 * localedata/locales/translit_circle: Likewise.
24401 * localedata/locales/translit_cjk_compat: Likewise.
24402 * localedata/locales/translit_combining: Likewise.
24403 * localedata/locales/translit_compat: Likewise.
24404 * localedata/locales/translit_font: Likewise.
24405 * localedata/locales/translit_fraction: Likewise.
24407 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24409 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
24410 lxvd2x/stxvd2x with lvx/stvx.
24411 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
24413 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
24415 * include/alloc_buffer.h: Replace "if if " with "if " in
24417 * sysdeps/mips/memcpy.S: Likkewise.
24418 * sysdeps/mips/memset.S: Likewise.
24419 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
24421 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
24423 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
24426 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24429 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
24430 yesexpr and noexpr.
24431 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
24432 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
24433 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
24434 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24435 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
24436 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
24437 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
24439 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24441 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
24442 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
24443 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
24444 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
24445 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
24446 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
24447 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
24448 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
24449 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
24450 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
24451 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
24452 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
24454 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24456 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
24457 as possible for better readability of the source.
24458 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
24459 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
24460 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
24461 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
24462 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
24463 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
24464 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
24465 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
24466 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
24467 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
24468 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
24469 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
24470 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
24471 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
24472 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
24473 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
24474 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
24475 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
24476 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
24477 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
24478 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
24479 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
24480 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
24481 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
24482 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
24483 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
24484 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
24485 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
24486 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
24487 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
24488 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
24489 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
24490 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
24491 * localedata/locales/en_US (LC_MESSAGES): Likewise.
24492 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
24493 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
24494 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
24495 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
24496 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
24497 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
24498 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
24499 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
24500 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
24501 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
24502 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
24503 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
24504 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
24505 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
24506 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
24507 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
24508 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
24509 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
24510 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
24511 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
24512 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
24513 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
24514 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
24515 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
24516 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
24517 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
24518 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
24519 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
24520 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
24521 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
24522 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
24523 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
24524 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
24525 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
24526 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
24527 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
24528 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
24529 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
24530 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
24531 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
24532 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
24533 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
24534 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
24535 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
24536 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
24537 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
24538 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
24539 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
24540 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
24541 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
24542 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
24543 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
24544 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
24545 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
24546 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
24547 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
24548 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
24549 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
24550 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
24551 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
24552 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
24553 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
24554 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
24555 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24556 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
24557 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
24558 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
24559 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
24560 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
24561 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
24562 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
24563 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
24564 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
24565 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
24566 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
24567 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
24568 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
24569 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
24570 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
24571 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
24572 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
24573 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
24574 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
24575 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
24576 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
24577 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
24578 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
24579 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
24580 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
24581 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
24582 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
24583 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
24584 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
24585 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
24586 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
24587 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
24588 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
24589 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
24590 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
24591 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
24592 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
24593 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
24594 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
24595 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
24596 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
24597 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
24598 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
24599 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
24600 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
24601 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
24602 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
24603 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
24604 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
24605 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
24606 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
24607 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
24608 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
24609 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
24610 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
24611 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
24612 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
24613 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
24614 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
24615 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
24616 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
24617 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
24618 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
24619 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
24620 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
24621 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
24622 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
24623 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
24624 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
24625 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
24626 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
24627 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
24628 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
24629 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
24630 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
24631 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
24633 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24635 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
24636 (Use first letters of yesstr and nostr correctly instead of using
24639 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24641 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
24642 (Use first letters of yesstr and nostr correctly).
24644 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24646 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
24647 also check for the first characters of yesstr and nostr.
24648 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
24649 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
24651 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24653 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
24654 also check for Chinese characters.
24656 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24658 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
24659 match also for the contents of yesstr and nostr. As the first letter
24660 of yesstr and nostr is equal, checking only for the first letter
24663 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24665 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
24666 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
24668 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24670 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
24671 of main contributor.
24673 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24675 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
24676 instead of using English.
24678 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24680 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
24681 by including the first letters of nostr and yesexpr in the regexp.
24682 Also make it more readable by using ASCII where possible.
24684 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24686 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
24687 the first letter of nostr in the regexp. It agrees with CLDR now.
24688 Also make it more readable by using ASCII where possible.
24690 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24692 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
24693 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
24694 these strings contain a U+17D6 (which somewhat looks like a colon)
24695 instead of a real colon to separate the full words for “yes”
24696 and “no” from the single letter responses.
24698 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24700 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
24701 it agree with CLDR (include the first letter of yesstr).
24702 Also make it more readable by using ASCII where possible.
24704 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24706 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
24707 and improve yesexpr and noexpr. The yesstr and nostr apparently
24708 came from CLDR. And CLDR has a bug there: these strings contain
24709 a U+0903 (which looks like a colon) instead of a real colon
24710 to separate the full words for “yes” and “no” from the single
24713 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24715 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
24716 letters of the full yesstr and nostr in yesexpr and noexpr.
24718 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24720 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
24721 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
24722 * localedata/locales/an_ES: Make source more readable by using ASCII
24725 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24728 * localedata/locales/yuw_PG: New file.
24729 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
24730 * locale/iso-639.def: Add Yau (Uruwa).
24732 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24734 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
24736 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24738 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
24739 (__libc_realloc): Likewise.
24740 (_mid_memalign): Likewise.
24741 (__libc_calloc): Likewise.
24743 2017-10-23 Mike FABIAN <mfabian@redhat.com>
24745 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
24746 by adding the generic +1 and -0 as in all other locales.
24747 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
24748 day names and make it more readable by using ASCII where possible.
24750 2017-10-24 Joseph Myers <joseph@codesourcery.com>
24752 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
24753 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
24755 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24757 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
24758 WNOHANG in waitpid call.
24760 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
24762 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
24763 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
24765 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
24766 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
24767 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
24768 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
24769 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
24770 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
24771 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
24772 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
24775 2017-10-23 Michael Collison <michael.collison@arm.com>
24777 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
24778 with __builtin_sqrt.
24779 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
24780 with __builtin_sqrtf.
24781 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
24782 with __builtin_ceil.
24783 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
24784 with __builtin_ceilf.
24785 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
24786 with __builtin_floor.
24787 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
24788 with __builtin_floorf.
24789 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
24790 with __builtin_fma.
24791 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
24792 with __builtin_fmaf.
24793 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
24794 with __builtin_fmax.
24795 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
24796 with __builtin_fmaxf.
24797 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
24798 with __builtin_fmin.
24799 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
24800 with __builtin_fminf.
24801 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
24802 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
24803 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
24804 with builtin_rint and conversion to int.
24805 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
24806 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
24807 with builtin_llround.
24808 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
24809 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
24810 with builtin_rint and conversion to long int.
24811 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
24812 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
24813 with builtin_lround.
24814 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
24815 with builtin_lroundf.
24816 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
24817 statements with __builtin_nearbyint.
24818 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
24819 statements with __builtin_nearbyintf.
24820 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
24821 with __builtin_rint.
24822 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
24823 with __builtin_rintf.
24824 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
24825 with __builtin_round.
24826 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
24827 with __builtin_roundf.
24828 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
24829 with __builtin_trunc.
24830 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
24831 with __builtin_truncf.
24832 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
24833 and s_l[l]round[f].c too.
24835 2017-10-23 Alan Modra <amodra@gmail.com>
24837 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
24838 Adjust stack after restoring regs. Add missing LR cfi_restore.
24840 2017-10-23 Alan Modra <amodra@gmail.com>
24842 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
24843 Move LR save and frame setup/teardown and LR restore to
24844 immediately around memset call. Provide cfi.
24846 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24848 * sysdeps/i386/fpu/e_powf.S: Removed.
24849 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
24850 * sysdeps/i386/fpu/w_powf.c: Likewise.
24851 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
24852 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24853 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24855 (CFLAGS-e_powf-sse2.c): New.
24856 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
24857 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
24859 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24861 * sysdeps/i386/fpu/e_log2f.S: Removed.
24862 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
24863 * sysdeps/i386/fpu/w_log2f.c: Likewise.
24864 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
24865 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24866 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24868 (CFLAGS-e_log2f-sse2.c): New.
24869 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
24870 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
24872 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24874 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24876 (CFLAGS-e_powf-fma.c): New.
24877 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
24878 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
24880 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24882 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24884 (CFLAGS-e_log2f-fma.c): New.
24885 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
24886 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
24888 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24890 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24892 (CFLAGS-e_logf-fma.c): New.
24893 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
24894 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
24896 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24898 * sysdeps/i386/fpu/e_logf.S: Removed.
24899 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
24900 * sysdeps/i386/fpu/w_logf.c: Likewise.
24901 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
24902 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
24903 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24904 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24906 (CFLAGS-e_logf-sse2.c): New.
24907 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
24908 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
24910 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24912 * sysdeps/i386/fpu/e_exp2f.S: Removed.
24913 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
24914 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
24915 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24916 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24918 (CFLAGS-e_exp2f-sse2.c): New.
24919 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
24920 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
24922 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24924 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24926 (CFLAGS-e_exp2f-fma.c): New.
24927 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
24928 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
24930 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24932 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
24933 * sysdeps/i386/fpu/e_expf.S: Likewise.
24934 * sysdeps/i386/fpu/math_errf.c: Likewise.
24935 * sysdeps/i386/fpu/w_expf.c: Likewise.
24936 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
24937 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24938 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
24939 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
24940 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24941 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24942 Remove e_expf-ia32.
24943 (CFLAGS-e_expf-sse2.c): New.
24944 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
24945 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
24947 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24949 * sysdeps/x86_64/fpu/e_expf.S: Removed.
24950 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
24951 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
24952 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
24954 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
24956 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
24957 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
24959 (__redirect_expf): This.
24960 (SYMBOL_NAME): Changed to expf.
24961 (__ieee754_expf): Renamed to ...
24963 (__GI___expf): This.
24964 (__ieee754_expf): Add strong_alias.
24965 (__expf_finite): Likewise.
24967 Include <sysdeps/ieee754/flt-32/e_expf.c>.
24969 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
24972 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
24975 2017-10-21 Florian Weimer <fweimer@redhat.com>
24977 * posix/Makefile (tests): Add tst-glob-tilde.
24978 (tests-special): Add tst-glob-tilde-mem.out
24979 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
24980 (tst-glob-tilde-mem.out): Add mtrace check.
24981 * posix/tst-glob-tilde.c: New file.
24983 2017-10-20 Joseph Myers <joseph@codesourcery.com>
24985 * bits/floatn-common.h: New file.
24986 * math/Makefile (headers): Add bits/floatn-common.h.
24987 * bits/floatn.h: Include <bits/floatn-common.h>.
24988 * sysdeps/ia64/bits/floatn.h: Likewise.
24989 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
24990 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
24991 * sysdeps/powerpc/bits/floatn.h: Likewise.
24992 * sysdeps/x86/bits/floatn.h: Likewise.
24994 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24996 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
24997 indicates whether compiler emits an warning for alias for
24998 functions with incompatible types.
25001 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
25002 the auxiliary process is terminated by a signal before calling _exit
25005 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25008 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
25010 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
25011 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
25012 and bit_arch_XSAVEC_Usable if needed.
25013 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
25014 and bit_arch_Use_dl_runtime_resolve_opt.
25015 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
25017 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
25018 (bit_arch_Prefer_No_AVX512): Updated.
25019 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
25020 (bit_arch_XSAVEC_Usable): New.
25021 (STATE_SAVE_OFFSET): Likewise.
25022 (STATE_SAVE_MASK): Likewise.
25023 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
25024 (cpu_features): Add xsave_state_size and xsave_state_full_size.
25025 (index_arch_Use_dl_runtime_resolve_opt): Removed.
25026 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
25027 (index_arch_XSAVEC_Usable): New.
25028 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
25029 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
25030 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
25032 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
25033 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
25034 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
25035 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
25036 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
25037 _dl_runtime_resolve_xsavec.
25038 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
25040 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
25041 instead of VEC_SIZE.
25042 (REGISTER_SAVE_BND0): Removed.
25043 (REGISTER_SAVE_BND1): Likewise.
25044 (REGISTER_SAVE_BND3): Likewise.
25045 (REGISTER_SAVE_RAX): Always defined to 0.
25047 (_dl_runtime_resolve_avx): Likewise.
25048 (_dl_runtime_resolve_avx_slow): Likewise.
25049 (_dl_runtime_resolve_avx_opt): Likewise.
25050 (_dl_runtime_resolve_avx512): Likewise.
25051 (_dl_runtime_resolve_avx512_opt): Likewise.
25052 (_dl_runtime_resolve_sse): Likewise.
25053 (_dl_runtime_resolve_sse_vex): Likewise.
25055 (_dl_runtime_resolve_fxsave): Likewise.
25056 (USE_XSAVE): Likewise.
25057 (_dl_runtime_resolve_xsave): Likewise.
25058 (USE_XSAVEC): Likewise.
25059 (_dl_runtime_resolve_xsavec): Likewise.
25060 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
25062 (_dl_runtime_resolve_avx512_opt): Likewise.
25063 (_dl_runtime_resolve_avx): Likewise.
25064 (_dl_runtime_resolve_avx_opt): Likewise.
25065 (_dl_runtime_resolve_sse): Likewise.
25066 (_dl_runtime_resolve_sse_vex): Likewise.
25067 (_dl_runtime_resolve_fxsave): New.
25068 (_dl_runtime_resolve_xsave): Likewise.
25069 (_dl_runtime_resolve_xsavec): Likewise.
25071 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
25075 * posix/glob.c (__glob): Fix one-byte overflow.
25077 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
25079 * malloc/malloc.c (sysdep-cancel.h): Add include.
25081 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
25083 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
25085 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
25087 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
25088 (tests): Remove $(objpfx)ga_test depdendency.
25089 * resolv/ga_test.c: Remove file.
25091 2017-10-20 Mike FABIAN <mfabian@redhat.com>
25094 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
25095 * localedata/locales/kab_DZ: New file.
25097 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25099 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
25100 _dl_relocate_static_pie instead of _dl_start to compute load
25101 address in static PIE.
25103 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25105 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
25107 2017-10-20 Mike FABIAN <mfabian@redhat.com>
25110 * localedata/SUPPORTED: Add shn_MM/UTF-8.
25111 * localedata/locales/shn_MM: New file.
25113 2017-10-20 Florian Weimer <fweimer@redhat.com>
25116 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
25117 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
25118 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
25119 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
25120 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
25121 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
25123 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
25125 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25127 2017-10-19 Joseph Myers <joseph@codesourcery.com>
25129 * sysdeps/mips/ieee754/bits/floatn.h: New file.
25132 * sysdeps/mips/bits/long-double.h: Move to ....
25133 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
25135 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
25137 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
25139 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
25140 H.J. Lu <hongjiu.lu@intel.com>
25143 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
25144 GLRO(dl_platform) to NULL.
25145 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
25146 (modules-names): Add tst-platformmod-1 and
25147 x86_64/tst-platformmod-2.
25148 (CFLAGS-tst-platform-1.c): New.
25149 (CFLAGS-tst-platformmod-1.c): Likewise.
25150 (CFLAGS-tst-platformmod-2.c): Likewise.
25151 (LDFLAGS-tst-platformmod-2.so): Likewise.
25152 ($(objpfx)tst-platform-1): Likewise.
25153 ($(objpfx)tst-platform-1.out): Likewise.
25154 (tst-platform-1-ENV): Likewise.
25155 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
25156 * sysdeps/x86_64/tst-platform-1.c: New file.
25157 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
25158 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
25160 2017-10-19 Mike FABIAN <mfabian@redhat.com>
25163 * locale/iso-639.def: Add Karbi.
25164 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
25165 * localedata/locales/mjw_IN: New file.
25167 2017-10-18 Joseph Myers <joseph@codesourcery.com>
25169 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
25170 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
25171 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
25172 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
25173 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
25174 (libm_alias_ldouble_other_r): Also create _Float128 alias.
25175 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
25177 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
25178 (libm_alias_ldouble_other_r): Also create _Float128 alias.
25179 * manual/math.texi (Mathematics): Document additional architecture
25180 support for _Float128.
25181 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25182 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25183 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25184 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25185 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25186 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25187 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25188 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25189 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25190 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25191 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25192 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25193 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25194 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25195 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25197 2017-10-18 Renlin Li <renlin.li@arm.com>
25199 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
25200 _DYNAMIC symbol to calculate load address.
25202 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
25204 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
25205 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
25207 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
25208 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
25210 2017-10-18 Mike FABIAN <mfabian@redhat.com>
25213 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
25214 and improve readability by using more ASCII.
25215 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
25216 and improve readability by using more ASCII.
25218 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
25220 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
25221 not all targets support atomics on bool.
25223 2017-10-17 Joseph Myers <joseph@codesourcery.com>
25225 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
25226 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
25228 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25229 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
25230 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25231 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
25232 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25233 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
25235 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25237 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
25240 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25243 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
25244 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
25245 (do_check_remalloced_chunk): Fix build bug.
25246 (do_check_malloc_state): Add assert that checks arena->top.
25247 (malloc_consolidate): Remove initialization.
25248 (int_mallinfo): Remove call to malloc_consolidate.
25249 (__libc_mallopt): Clarify why malloc_consolidate is needed.
25251 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25253 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
25254 (have_fastchunks): Remove.
25255 (clear_fastchunks): Remove.
25256 (set_fastchunks): Remove.
25257 (malloc_state): Add have_fastchunks.
25258 (malloc_init_state): Use have_fastchunks.
25259 (do_check_malloc_state): Remove incorrect invariant checks.
25260 (_int_malloc): Use have_fastchunks.
25261 (_int_free): Likewise.
25262 (malloc_consolidate): Likewise.
25264 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25266 * malloc/malloc.c (tcache_put): Inline.
25267 (tcache_get): Inline.
25269 2017-10-17 Jordi Mallach <jordi@gnu.org>
25271 Aurelien Jarno <aurelien@aurel32.net>
25273 * localedata/locales/ca_ES@valencia: New file.
25274 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
25276 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
25279 * math/math.h: Let signbit use the builtin in C++ mode with gcc
25282 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25284 * scripts/build-many-glibcs.py (Context.add_all_configs):
25285 Add arm-linux-gnueabihf multiarch extra_glibcs.
25287 * sysdeps/generic/ifunc-init.h: New file.
25288 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
25290 2017-10-17 Mike FABIAN <mfabian@redhat.com>
25293 * localedata/locales/el_GR: Set n_cs_precedes to 0.
25294 * localedata/locales/el_CY: copy "el_GR" because it is identical.
25295 * stdlib/tst-strfmon_l.c: adapt test case.
25297 2017-10-16 Joseph Myers <joseph@codesourcery.com>
25299 * sysdeps/generic/float128-abi.h: New file.
25300 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
25301 non-__prefixed symbols to ....
25302 * math/Versions: ... here. Include <float128-abi.h>.
25303 * stdlib/Versions ... and here. Include <float128-abi.h>
25305 2017-10-16 Florian Weimer <fweimer@redhat.com>
25307 * version.h (VERSION): Switch to ".9000" as the development
25310 2017-10-16 Florian Weimer <fweimer@redhat.com>
25313 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
25314 compat_symbol_reference to access non-default version.
25316 2017-10-16 Florian Weimer <fweimer@redhat.com>
25318 * malloc/Makefile (others-extras): Set to mcheck-init.o.
25320 2017-10-16 Carlos O'Donell <carlos@redhat.com>
25322 * include/shlib-compat.h (compat_symbol_reference): Update
25325 2017-10-16 Joseph Myers <joseph@codesourcery.com>
25327 * math/Makefile (test-types): Add
25328 $(type-float128-$(float128-alias-fcts)).
25329 * math/test-float128.h (TYPE_STR): Define conditional on
25330 [FLT128_MANT_DIG == LDBL_MANT_DIG].
25331 (ULP_IDX): Likewise.
25332 (ULP_I_IDX): Likewise.
25334 * stdlib/strtold.c: Include <bits/floatn.h>
25335 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
25336 and later undefine as macro. Define as weak alias if
25338 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
25339 and later undefine as macro. Define as weak alias if
25341 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
25342 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
25343 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25344 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
25345 Define and later undefine as macro. Define as weak alias if
25347 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
25349 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
25350 Define and later undefine as macro. Define as weak alias if
25352 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
25353 Define and later undefine as macro. Define as weak alias if
25356 2017-10-15 Carlos O'Donell <carlos@redhat.com>
25358 * localedata/collate-test.c (allocate_arrays): Don't use \n in
25359 record_verbose messages.
25361 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
25364 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
25365 to silence -O3 -Wall warning with GCC 7.
25367 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
25369 * Makeconfig (+link-static-before-libc): Use the first of
25370 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
25371 * gmon/Makefile (tests): Add tst-gmon-static.
25372 (tests-static): Likewise.
25373 (CFLAGS-tst-gmon-static.c): New.
25374 (CRT-tst-gmon-static): Likewise.
25375 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
25376 (tst-gmon-static-ENV): Likewise.
25377 (tests-special): Likewise.
25378 ($(objpfx)tst-gmon-static.out): Likewise.
25379 (clean-tst-gmon-static-data): Likewise.
25380 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
25381 * gmon/tst-gmon-static-gprof.sh: New file.
25382 * gmon/tst-gmon-static.c: Likewise.
25384 2017-10-13 Carlos O'Donell <carlos@redhat.com>
25387 * locale/programs/linereader.c (get_string): Don't warn on
25388 non-symbolic character.
25391 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
25395 * locale/programs/record-status.h: New file
25396 * locale/programs/locale.c: Add comment.
25397 * locale/programs/charmap-dir.c: Don't include error.h.
25398 (charmap_opendir): Use record_error.
25399 * locale/programs/charmap.c: Don't include error.h.
25400 (charmap_read): Use record_error, and record_warning.
25401 (parse_charmap): Likewise.
25402 * locale/programs/ld-address.c: Don't include error.h.
25403 (address_finish): Use record_error, and record_warning.
25404 * locale/programs/ld-collate.c: Don't include error.h.
25405 (collate_finish): Use record_error, and record_error_at_line.
25406 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
25407 (ctype_class_new): Likewise.
25408 (ctype_map_new): Likewise.
25409 (set_one_default): Likewise.
25410 (set_class_defaults): Likewise.
25411 (translit_flatten): Likewise.
25412 (allocate_arrays): Use record_error, and record_verbose.
25413 * locale/programs/ld-identification.c: Don't include error.h.
25414 (indentation_finish): Use record_error and record_warning.
25415 * locale/programs/ld-measurement.c: Don't include error.h.
25416 (measurement_finish): Use record_error.
25417 * locale/programs/ld-messages.c
25418 (message_finish): Likewise.
25419 * locale/programs/ld-monetary.c
25420 (monetary_finish): Likewise.
25421 * locale/programs/ld-name.c (name_finish): Use record_error
25422 and record_warning.
25423 * locale/programs/ld-numeric.c
25424 (numeric_finish): Use record_error.
25425 * locale/programs/ld-paper.c: Don't include error.h.
25426 (paper_finish): Use record_error.
25427 * locale/programs/ld-telephone.c: Don't include error.h.
25428 (telephone_finish): Use record_error.
25429 * locale/programs/ld-time.c (time_finish): Likewise.
25430 * locale/programs/linereader.h (lr_error): Make inline func.
25431 * locale/programs/localedef.c: Define recorded_warning_count,
25432 and recorded_error_count.
25433 (main): Use record_error. Use recorded_error_count and
25434 recorded_warning_count to issue correct error returns.
25435 (add_to_readlist): Use record_error.
25436 (find_locale): Likewise.
25437 (load_locale): Likewise.
25438 * locale/programs/localedef.h: Remove be_quiet
25439 and WITH_CUR_LOCALE.
25440 * locale/programs/locarchive.c (compare_from_file): Use
25442 * locale/programs/locfile.c (write_locale_data): Use
25444 * locale/programs/repertoire.c: Dont include error.h.
25445 (repertoire_complain): Use record_error.
25446 * localedata/tst-fmon.sh: Expect failures from localedef.
25447 * localedata/tst-locale.sh: Likewise.
25448 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
25450 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
25451 (REPORTS): Likewise.
25453 (i18n): Rename to...
25454 (i18n_ctype): ...this.
25455 (i18n-report): Rename to...
25456 (i18n_ctype-report): ...this.
25457 * localedata/locales/i18n_ctype: Regenerate.
25458 * localedata/locales/i18n: copy i18n_ctype.
25460 2017-10-13 Joseph Myers <joseph@codesourcery.com>
25462 * stdlib/strfroml.c: Include <bits/floatn.h>.
25463 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
25464 Define before include of <stdlib.h> and undefine afterwards, then
25465 define as weak alias.
25467 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
25468 Undefine and restore default definition. Use
25469 libm_alias_ldouble_other.
25471 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
25474 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
25477 2017-10-13 James Clarke <jrtc27@jrtc27.com>
25479 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
25480 Assign sym_map to be map for local symbols, as TLS relocations
25481 use sym_map to determine whether the symbol is defined and to
25482 extract the TLS information.
25483 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
25484 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
25486 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25489 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
25490 (math_force_eval): Add powerpc version.
25493 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
25495 (do_test): Likewise.
25496 * stdio-common/tst-printf.sh: Likewise.
25497 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
25498 ifdef clause in order to set the carry bit right. Replace r0 by
25499 0 without changing the behavior.
25501 2017-10-13 Joseph Myers <joseph@codesourcery.com>
25503 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
25504 <libm-alias-ldouble.h>.
25505 (fabsl): Define using libm_alias_ldouble.
25506 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
25507 <libm-alias-ldouble.h>.
25508 (fabsl): Define using libm_alias_ldouble.
25510 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
25511 Remove conditional code.
25513 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
25514 Rename to __clog10_internal_l.
25515 (__clog10_internal_l): Define aliases using
25516 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
25519 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25521 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
25522 * benchtests/sincosf-inputs: New file.
25523 * benchtests/cosf-inputs: New file.
25524 * benchtests/sinf-inputs: New file.
25526 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
25528 * posix/tst-spawn.c (do_test): Wait for both children.
25530 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
25533 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
25534 tests-pie): Add tst-gmon-pie.
25535 (CFLAGS-tst-gmon-pie.c): New.
25536 (CRT-tst-gmon-pie): Likewise.
25537 (tst-gmon-pie-ENV): Likewise.
25538 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
25539 ($(objpfx)tst-gmon-pie.out): Likewise.
25540 (clean-tst-gmon-pie-data): Likewise.
25541 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
25542 * gmon/gmon.c [PIC]: Include <link.h>.
25543 [PIC] (callback): New function.
25544 (write_hist): Add an argument for load address. Subtract load
25546 (write_call_graph): Likewise.
25547 (write_gmon): Call __dl_iterate_phdr to get load address, pass
25548 it to write_hist and write_call_graph.
25549 * gmon/tst-gmon-pie.c: New file.
25551 2017-10-11 Joseph Myers <joseph@codesourcery.com>
25553 * math/Makefile (test-types-basic): New variable.
25554 (test-types): Likewise.
25555 (libm-test-support): Use $(test-types) instead of $(types).
25556 (libm-tests-base-normal): Likewise.
25557 (libm-tests-base-finite): Likewise.
25558 (libm-tests-base-inline): Likewise.
25559 (generated): Likewise.
25560 ($(objpfx)libm-test-support-$(t).c): Likewise.
25561 (libm-tests-for-type iterator): Likewise.
25562 (libm-test-support iterator): Likewise.
25563 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
25564 (ulp_idx): Use ULP_IDX.
25565 * math/test-ldouble.h: Include <float.h>.
25566 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
25567 (ULP_IDX): New macro.
25568 (ULP_I_IDX): Likewise.
25569 * math/test-double.h (ULP_IDX): Likewise.
25570 (ULP_I_IDX): Likewise.
25571 * math/test-float.h (ULP_IDX): Likewise.
25572 (ULP_I_IDX): Likewise.
25573 * math/test-float128.h (ULP_IDX): Likewise.
25574 (ULP_I_IDX): Likewise.
25576 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25578 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
25579 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25580 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25581 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
25582 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25583 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
25584 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
25585 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25586 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25587 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25588 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
25589 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25590 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25591 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25592 (SINGLE_THREAD_BY_GLOBAL): Define.
25593 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25595 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25597 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25599 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25601 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
25602 (SINGLE_THREAD_BY_GLOBAL): Likewise.
25603 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25606 2017-10-11 Andreas Schwab <schwab@suse.de>
25608 * nis/Makefile (aux): Remove.
25609 * nscd/Makefile (aux): Add nscd_hash.
25610 (nscd-modules): Likewise.
25611 ($(objpfx)nscd): Don't depend on libnsl.
25612 * nscd/nscd_hash.c: New file.
25613 * nscd/nscd_hash.h: Likewise.
25614 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
25615 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
25616 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
25617 instead of <nis/rpcsvc/nis.h>.
25618 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
25620 2017-10-11 Florian Weimer <fweimer@redhat.com>
25623 Avoid large NSS buffers with many addresses, aliases.
25624 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
25625 using dynarrays and struct alloc_buffer.
25626 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
25627 (tst-nss-files-hosts-multi): Link with -ldl.
25628 * nss/tst-nss-files-hosts-multi.c: New file.
25630 2017-10-11 Florian Weimer <fweimer@redhat.com>
25633 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
25634 scratch_buffer. Eliminate gotos.
25636 2017-10-11 Joseph Myers <joseph@codesourcery.com>
25638 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
25639 libm_alias_ldouble_other.
25640 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
25641 undefine and redefine.
25642 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
25643 (exp10l): Do not define here.
25644 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
25645 (weak_alias): Undefine and redefine.
25646 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
25647 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
25648 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
25649 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
25651 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
25652 [!__fma] (fma): Define using libm_alias_double.
25653 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
25654 [!__fmaf] (fmaf): Define using libm_alias_float.
25655 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
25656 (fmal): Define using libm_alias_ldouble.
25658 2017-10-10 Joseph Myers <joseph@codesourcery.com>
25660 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
25662 (libm_alias_double_other): Likewise.
25663 (libm_alias_double_r): Use libm_alias_double_other_r.
25664 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
25666 (libm_alias_float_other): Likewise.
25667 (libm_alias_float_r): Use libm_alias_float_other_r.
25668 * sysdeps/generic/libm-alias-float128.h
25669 (libm_alias_float128_other_r): New macro.
25670 (libm_alias_float128_other): Likewise.
25671 (libm_alias_float128_r): Use libm_alias_float128_other_r.
25672 * sysdeps/generic/libm-alias-ldouble.h
25673 (libm_alias_ldouble_other_r): New macro.
25674 (libm_alias_ldouble_other): Likewise.
25675 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25676 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
25677 (libm_alias_double_other_r): New macro.
25678 (libm_alias_double_other): Likewise.
25679 (libm_alias_double_r): Use libm_alias_double_other_r.
25680 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
25681 (libm_alias_ldouble_other_r): New macro.
25682 (libm_alias_ldouble_other): Likewise.
25683 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25684 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
25685 [!USE_AS_COMPAT]: Use libm_alias_double_other.
25686 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
25687 [!USE_AS_COMPAT]: Use libm_alias_float_other.
25688 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
25689 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
25690 * math/w_exp2f.c: Use libm_alias_float_other.
25691 * math/w_expf.c: Likewise.
25692 * math/w_log2f.c: Likewise.
25693 * math/w_logf.c: Likewise.
25694 * math/w_powf.c: Likewise.
25695 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
25696 [!__exp2f]: Use libm_alias_float_other.
25697 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
25698 [!__expf]: Use libm_alias_float_other.
25699 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
25700 [!__log2f]: Use libm_alias_float_other.
25701 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
25702 [!__logf]: Use libm_alias_float_other.
25703 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
25704 [!__powf]: Use libm_alias_float_other.
25706 2017-10-10 Florian Weimer <fweimer@redhat.com>
25708 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
25710 (_nss_files_gethostbyname3_r): Call it.
25712 2017-10-09 Joseph Myers <joseph@codesourcery.com>
25714 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
25715 error. Remove default definition of declare_mgen_alias.
25716 [!declare_mgen_alias_r]: Likewise.
25717 * sysdeps/generic/math-type-macros-double.h
25718 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
25719 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
25720 (declare_mgen_alias_r): Likewise.
25721 * sysdeps/generic/math-type-macros-float128.h
25722 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25723 * sysdeps/generic/math-type-macros-ldouble.h
25724 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25725 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
25727 (declare_mgen_alias_r_s): Likewise.
25728 (declare_mgen_alias_r): Likewise.
25729 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
25730 (lgamma_r): Define using libm_alias_double_r.
25731 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
25732 (lgammaf_r): Define using libm_alias_float_r.
25733 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
25734 (lgammal_r): Define using libm_alias_ldouble_r.
25735 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
25736 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
25738 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25740 * lib/glob.c (__glob_pattern_type): Remove now-spurious
25741 extern declaration.
25743 2017-10-09 Joseph Myers <joseph@codesourcery.com>
25745 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
25747 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
25750 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
25751 [__cplusplus >= 201103] (__USE_ISOC99): Define.
25752 * math/Makefile (test-math-cxx11): New test.
25753 * math/test-math-cxx11.cc: New file.
25755 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
25757 * login/openpty.c (openpty): Close slave pty file descriptor on error.
25759 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
25760 call to allocate the slave pty file descriptor.
25762 2017-10-06 Joseph Myers <joseph@codesourcery.com>
25764 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
25765 [!__fma] (fma): Define using libm_alias_double.
25766 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
25767 [!__fma] (fma): Define using libm_alias_double.
25769 * sysdeps/ieee754/float128/float128_private.h: Include
25770 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
25771 (libm_alias_ldouble_r): Undefine and redefine.
25772 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
25773 <libm-alias-ldouble.h>.
25774 (asinhl): Define using libm_alias_ldouble.
25775 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
25776 <libm-alias-ldouble.h>.
25777 (atanl): Define using libm_alias_ldouble.
25778 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
25779 <libm-alias-ldouble.h>.
25780 (cbrtl): Define using libm_alias_ldouble.
25781 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
25782 <libm-alias-ldouble.h>.
25783 (ceill): Define using libm_alias_ldouble.
25784 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
25785 <libm-alias-ldouble.h>.
25786 (copysignl): Define using libm_alias_ldouble.
25787 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
25788 <libm-alias-ldouble.h>.
25789 (cosl): Define using libm_alias_ldouble.
25790 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
25791 <libm-alias-ldouble.h>.
25792 (erfl): Define using libm_alias_ldouble.
25794 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
25795 <libm-alias-ldouble.h>.
25796 (expm1l): Define using libm_alias_ldouble.
25797 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
25798 <libm-alias-ldouble.h>.
25799 (fabsl): Define using libm_alias_ldouble.
25800 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
25801 <libm-alias-ldouble.h>.
25802 (floorl): Define using libm_alias_ldouble.
25803 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
25804 <libm-alias-ldouble.h>.
25805 (fmal): Define using libm_alias_ldouble.
25806 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
25807 <libm-alias-ldouble.h>.
25808 (frexpl): Define using libm_alias_ldouble.
25809 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
25810 libm_alias_ldouble.
25811 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
25812 <libm-alias-ldouble.h>.
25813 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
25814 libm_alias_ldouble.
25815 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
25816 <libm-alias-ldouble.h>.
25817 (getpayloadl): Define using libm_alias_ldouble.
25818 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
25819 <libm-alias-ldouble.h>.
25820 (llrintl): Define using libm_alias_ldouble.
25821 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
25822 <libm-alias-ldouble.h>.
25823 (llroundl): Define using libm_alias_ldouble.
25824 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
25825 <libm-alias-ldouble.h>.
25826 (logbl): Define using libm_alias_ldouble.
25827 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
25828 <libm-alias-ldouble.h>.
25829 (lrintl): Define using libm_alias_ldouble.
25830 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
25831 <libm-alias-ldouble.h>.
25832 (lroundl): Define using libm_alias_ldouble.
25833 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
25834 <libm-alias-ldouble.h>.
25835 (modfl): Define using libm_alias_ldouble.
25836 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
25837 <libm-alias-ldouble.h>.
25838 (nearbyintl): Define using libm_alias_ldouble.
25839 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
25840 <libm-alias-ldouble.h>.
25841 (nextafterl): Define using libm_alias_ldouble.
25842 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
25843 <libm-alias-ldouble.h>.
25844 (nextupl): Define using libm_alias_ldouble.
25845 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
25846 <libm-alias-ldouble.h>.
25847 (remquol): Define using libm_alias_ldouble.
25848 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
25849 <libm-alias-ldouble.h>.
25850 (rintl): Define using libm_alias_ldouble.
25851 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
25852 <libm-alias-ldouble.h>.
25853 (roundevenl): Define using libm_alias_ldouble.
25854 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
25855 <libm-alias-ldouble.h>.
25856 (roundl): Define using libm_alias_ldouble.
25857 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
25858 using libm_alias_ldouble.
25859 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
25860 <libm-alias-ldouble.h>.
25861 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
25862 Define using libm_alias_ldouble.
25863 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
25864 <libm-alias-ldouble.h>.
25865 (sincosl): Define using libm_alias_ldouble.
25866 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
25867 <libm-alias-ldouble.h>.
25868 (sinl): Define using libm_alias_ldouble.
25869 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
25870 <libm-alias-ldouble.h>.
25871 (tanhl): Define using libm_alias_ldouble.
25872 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
25873 <libm-alias-ldouble.h>.
25874 (tanl): Define using libm_alias_ldouble.
25875 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
25876 <libm-alias-ldouble.h>.
25877 (totalorderl): Define using libm_alias_ldouble.
25878 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
25879 <libm-alias-ldouble.h>.
25880 (totalordermagl): Define using libm_alias_ldouble.
25881 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
25882 <libm-alias-ldouble.h>.
25883 (truncl): Define using libm_alias_ldouble.
25884 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
25885 libm_alias_ldouble.
25886 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
25887 libm_alias_ldouble.
25888 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
25889 <libm-alias-ldouble.h>.
25890 (weak_alias): Do not undefine and redefine.
25891 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25892 (copysignl): Define with long_double_symbol only if [IS_IN
25894 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
25895 <libm-alias-ldouble.h>.
25896 (weak_alias): Do not undefine and redefine.
25897 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25898 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
25899 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
25900 <libm-alias-ldouble.h>.
25901 (weak_alias): Do not undefine and redefine.
25902 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25903 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
25904 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
25905 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
25906 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
25907 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
25908 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
25909 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
25910 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
25911 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
25912 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
25913 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
25914 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
25915 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
25916 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
25917 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
25918 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
25919 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
25920 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
25921 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
25922 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
25923 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
25924 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
25925 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
25926 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
25927 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
25929 2017-10-06 Carlos O'Donell <carlos@redhat.com>
25932 * malloc/malloc.c (tcache_shutting_down): Use bool type.
25933 (tcache_thread_freeres): Set tcache_shutting_down before
25934 freeing the tcache.
25935 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
25936 * malloc/tst-malloc-tcache-leak.c: New file.
25938 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25940 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
25941 back to powerpc32 file.
25942 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
25943 (memrchr): Add __memrchr_power8 to ifunc list.
25944 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
25945 extra bytes for unaligned inputs.
25947 2017-10-06 Joseph Myers <joseph@codesourcery.com>
25949 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
25950 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
25951 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
25952 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
25953 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
25955 2017-10-05 Joseph Myers <joseph@codesourcery.com>
25957 * sysdeps/arm/libm-test-ulps: Update.
25959 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
25960 <libm-alias-ldouble.h>.
25961 (asinhl): Define using libm_alias_ldouble.
25962 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
25963 <libm-alias-ldouble.h>.
25964 (cbrtl): Define using libm_alias_ldouble.
25965 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
25966 <libm-alias-ldouble.h>.
25967 (copysignl): Define using libm_alias_ldouble.
25968 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
25969 <libm-alias-ldouble.h>.
25970 (cosl): Define using libm_alias_ldouble.
25971 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
25972 <libm-alias-ldouble.h>.
25973 (erfl): Define using libm_alias_ldouble.
25975 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
25976 <libm-alias-ldouble.h>.
25977 (fmal): Define using libm_alias_ldouble.
25978 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
25979 <libm-alias-ldouble.h>.
25980 (frexpl): Define using libm_alias_ldouble.
25981 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
25982 libm_alias_ldouble.
25983 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
25984 <libm-alias-ldouble.h>.
25985 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
25986 libm_alias_ldouble.
25987 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
25988 <libm-alias-ldouble.h>.
25989 (getpayloadl): Define using libm_alias_ldouble.
25990 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
25991 <libm-alias-ldouble.h>.
25992 (llrintl): Define using libm_alias_ldouble.
25993 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
25994 <libm-alias-ldouble.h>.
25995 (llroundl): Define using libm_alias_ldouble.
25996 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
25997 <libm-alias-ldouble.h>.
25998 (lrintl): Define using libm_alias_ldouble.
25999 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
26000 <libm-alias-ldouble.h>.
26001 (lroundl): Define using libm_alias_ldouble.
26002 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
26003 <libm-alias-ldouble.h>.
26004 (modfl): Define using libm_alias_ldouble.
26005 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
26006 <libm-alias-ldouble.h>.
26007 (nextupl): Define using libm_alias_ldouble.
26008 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
26009 <libm-alias-ldouble.h>.
26010 (remquol): Define using libm_alias_ldouble.
26011 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
26012 <libm-alias-ldouble.h>.
26013 (roundevenl): Define using libm_alias_ldouble.
26014 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
26015 <libm-alias-ldouble.h>.
26016 (roundl): Define using libm_alias_ldouble.
26017 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
26018 using libm_alias_ldouble.
26019 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
26020 <libm-alias-ldouble.h>.
26021 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
26022 <libm-alias-ldouble.h>.
26023 (setpayloadsigl): Define using libm_alias_ldouble.
26024 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
26025 <libm-alias-ldouble.h>.
26026 (sincosl): Define using libm_alias_ldouble.
26027 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
26028 <libm-alias-ldouble.h>.
26029 (sinl): Define using libm_alias_ldouble.
26030 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
26031 <libm-alias-ldouble.h>.
26032 (tanhl): Define using libm_alias_ldouble.
26033 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
26034 <libm-alias-ldouble.h>.
26035 (tanl): Define using libm_alias_ldouble.
26036 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
26037 <libm-alias-ldouble.h>.
26038 (totalorderl): Define using libm_alias_ldouble.
26039 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
26040 <libm-alias-ldouble.h>.
26041 (totalordermagl): Define using libm_alias_ldouble.
26042 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
26043 libm_alias_ldouble.
26044 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
26045 libm_alias_ldouble.
26047 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
26049 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
26051 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
26052 (__libc_ifunc_impl_list): Likewise.
26053 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
26054 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
26056 * benchtests/bench-memmove-walk.c: New file.
26057 * benchtests/Makefile (string-benchset): Add it.
26059 * benchtests/bench-memset-walk.c: New file.
26060 * benchtests/Makefile (string-benchset): Add it.
26062 * benchtests/bench-memcpy-walk.c: New file.
26063 * benchtests/Makefile (string-benchset): Add it.
26065 2017-10-05 Florian Weimer <fweimer@redhat.com>
26067 nscd: Eliminate compilation time dependency in the build output.
26068 * nscd/nscd_stat.c (STATDATA_VERSION)
26069 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
26070 (STATDATA_VERSION_FULL): New macro definitions.
26071 (compilation): Remove.
26072 (struct statdata): Adjust version member.
26073 (send_stats): Set version from STATDATA_VERSION_FULL.
26074 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
26076 2017-10-05 Joseph Myers <joseph@codesourcery.com>
26078 * configure.ac (--enable-add-ons): Remove option.
26079 (machine): Do not mention add-ons in comment.
26080 (LIBC_PRECONFIGURE): Likewise.
26081 (add_ons): Remove variable and sanity checks and logic to locate
26083 (add_ons_automatic): Remove variable.
26084 (configured_add_ons): Likewise.
26085 (add_ons_sfx): Likewise.
26086 (add_ons_pfx): Likewise.
26087 (add_on_subdirs): Likewise.
26088 (sysnames_add_ons): Likewise. Remove loop over add-ons and
26089 consideration of add-ons in Implies handling.
26090 (sysdeps_add_ons): Likewise.
26091 * configure: Regenerated.
26092 * libidn/configure.ac: Remove.
26093 * libidn/configure: Likewise.
26094 * sysdeps/unix/inet/configure.ac: New file.
26095 * sysdeps/unix/inet/configure: New generated file.
26096 * sysdeps/unix/inet/Subdirs: Add libidn.
26097 * Makeconfig (sysdeps-srcdirs): Remove variable.
26098 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
26099 ($(common-objpfx)config.status): Do not depend on add-on files.
26100 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
26102 (all-subdirs): Do not include $(add-on-subdirs).
26103 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
26104 * config.make.in (add-ons): Remove variable.
26105 (add-on-subdirs): Likewise.
26106 (sysdeps-add-ons): Likewise.
26107 * manual/Makefile (add-chapters): Remove.
26108 ($(objpfx)texis): Do not depend on $(add-chapters).
26109 (nonexamples): Do not handle $(add-chapters).
26110 (examples): Do not handle $(add-ons).
26111 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
26113 * manual/install.texi (Installation): Do not mention add-ons.
26114 (--enable-add-ons): Do not document configure option.
26115 * INSTALL: Regenerated.
26116 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
26117 * manual/maint.texi (Hierarchy Conventions): Do not mention
26119 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
26121 * scripts/gen-sorted.awk: Do not handle Subdirs files from
26123 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
26124 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
26126 2017-10-05 Andreas Schwab <schwab@suse.de>
26129 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
26130 (_IO_flush_all_lockp): Always lock list_all_lock.
26131 (_IO_flush_all_linebuffered): Likewise.
26132 (_IO_unbuffer_all): Likewise.
26134 2017-10-05 Florian Weimer <fweimer@redhat.com>
26137 Do not flush stdio streams on abort.
26138 * stdlib/abort.c (fflush): Remove macro definition.
26139 (abort): Remove stages related to stdio flushing.
26141 2017-10-05 Florian Weimer <fweimer@redhat.com>
26143 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
26145 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
26147 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26149 2017-10-05 Florian Weimer <fweimer@redhat.com>
26151 * support/support_format_hostent.c (support_format_hostent): Add
26152 more error information for NETDB_INTERNAL.
26154 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26156 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
26157 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
26158 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
26159 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
26160 AC_DEFINE if multi-arch is enabled.
26161 * sysdeps/i386/configure: Regenerated.
26163 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26165 * Makeconfig (+link-static-before-libc): Use
26166 $(DEFAULT-LDFLAGS-$(@F)).
26167 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
26168 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
26169 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
26171 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26173 * elf/Makefile (tests): Add tst-main1.
26174 (modules-names): Add tst-main1mod.
26175 ($(objpfx)tst-main1): New.
26176 (CRT-tst-main1): Likewise.
26177 (LDFLAGS-tst-main1): Likewise.
26178 (LDLIBS-tst-main1): Likewise.
26179 (tst-main1mod.so-no-z-defs): Likewise.
26180 * elf/tst-main1.c: New file.
26181 * elf/tst-main1mod.c: Likewise.
26183 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26185 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
26187 2017-10-04 Joseph Myers <joseph@codesourcery.com>
26189 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
26190 (fma): Define using libm_alias_double.
26191 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
26192 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
26194 (fmal): Do not define as compat symbol here.
26195 * sysdeps/alpha/fpu/s_fma.c: New file.
26197 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26199 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
26201 2017-10-04 Joseph Myers <joseph@codesourcery.com>
26204 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
26206 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
26208 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
26209 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26210 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
26211 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
26212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26213 Include <math_ldbl_opt.h>
26214 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
26216 (compat_symbol): Undefine and redefine.
26217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
26219 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26220 (compat_symbol): Undefine and redefine.
26221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
26222 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
26223 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
26224 GLIBC_2_1 for libm.
26225 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
26226 GLIBC_2.0 copysignl symbol.
26227 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
26228 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
26230 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
26232 2017-10-04 Florian Weimer <fweimer@redhat.com>
26234 * scripts/check-local-headers.sh: Ignore nspr4 header file
26235 directory in addition to nspr.
26237 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
26240 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
26241 * configure: Regenerate.
26242 * crypt/Makefile (nss-cpp-flags): New variable.
26243 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
26244 (CPPFLAGS-md5-crypt.c): Use it.
26245 * scripts/check-local-headers.sh: Ignore nspr header file
26248 2017-10-04 Andreas Schwab <schwab@suse.de>
26250 * nis/Makefile (services): Remove compat.
26251 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
26252 ($(objpfx)libnss_compat.so): Remove rule.
26253 * nis/Versions (libnss_compat): Remove.
26254 * nss/Makefile (services): Add compat.
26255 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
26256 * nss/Versions (libnss_compat): Define.
26257 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
26258 Don't include <rpc/types.h>. Replace bool_t by bool.
26259 * nss/nss_compat/compat-initgroups.c: Likewise.
26260 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
26261 instead of <rpcsrv/ypclnt.h>.
26262 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
26263 yp_get_default_domain.
26264 * nss/nss_compat/compat-pwd.c: Likewise.
26265 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
26266 yp_get_default_domain.
26267 * nss/nss_compat/nisdomain.c: New file.
26268 * nss/nss_compat/nisdomain.h: Likewise.
26270 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26273 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
26274 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26276 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26279 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
26280 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
26282 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26284 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
26285 "movl main@GOTOFF(%ebx), %eax".
26287 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26289 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
26290 allow undefined _DYNAMIC in PIE libc.a.
26291 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
26294 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26296 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
26299 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26301 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
26304 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26306 * math/test-math-iscanonical.cc (error): Replace bool with int.
26308 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26310 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
26311 (modf): Define using libm_alias_double, only if [!__modf].
26312 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
26313 <libm-alias-double.h>.
26314 (modf): Define using libm_alias_double, only if [!__modf].
26315 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
26316 compat symbol here.
26317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
26318 (weak_alias): Do not undefine and redefine.
26319 (strong_alias): Likewise.
26320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
26321 (weak_alias): Likewise.
26322 (strong_alias): Likewise.
26324 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
26325 (logb): Define using libm_alias_double, only if [!__logb].
26326 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
26327 <libm-alias-double.h>.
26328 (logb): Define using libm_alias_double, only if [!__logb].
26329 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
26330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
26331 (weak_alias): Do not undefine and redefine.
26332 (strong_alias): Likewise.
26333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
26334 (weak_alias): Likewise.
26335 (strong_alias): Likewise.
26337 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26339 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
26340 Check SHARED instead PIC.
26342 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26344 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
26345 [!__fmaf] (fmaf): Define using libm_alias_float.
26347 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
26348 (frexp): Define using libm_alias_double.
26349 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
26350 <libm-alias-double.h>.
26351 (frexp): Define using libm_alias_double.
26352 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
26353 compat symbol here.
26355 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26358 * math/math.h: Trivial fix for unbalanced parentheses in comment.
26359 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
26360 (CFLAGS-test-math-iscanonical.cc): New variable.
26361 * math/test-math-iscanonical.cc: New file.
26362 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
26363 Provide a C++ implementation based on function overloading,
26364 rather than using __MATH_TG, which uses C-only builtins.
26365 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
26367 * sysdeps/powerpc/powerpc64le/Makefile
26368 (CFLAGS-test-math-iscanonical.cc): New variable.
26370 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26372 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
26373 (ceil): Define using libm_alias_double.
26374 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
26375 (floor): Define using libm_alias_double.
26376 * sysdeps/ieee754/dbl-64/s_llround.c: Include
26377 <libm-alias-double.h>.
26378 (llround): Define using libm_alias_double.
26379 * sysdeps/ieee754/dbl-64/s_lround.c: Include
26380 <libm-alias-double.h>.
26381 (lround): Define using libm_alias_double.
26382 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
26383 <libm-alias-double.h>.
26384 (nearbyint): Define using libm_alias_double.
26385 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
26386 <libm-alias-double.h>.
26387 (remquo): Define using libm_alias_double.
26388 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
26389 (rint): Define using libm_alias_double.
26390 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
26391 (round): Define using libm_alias_double.
26392 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
26393 (trunc): Define using libm_alias_double.
26394 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
26395 <libm-alias-double.h>.
26396 (ceil): Define using libm_alias_double.
26397 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
26398 <libm-alias-double.h>.
26399 (floor): Define using libm_alias_double.
26400 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
26401 <libm-alias-double.h>.
26402 (llround): Define using libm_alias_double.
26403 [_LP64] (lround): Likewise.
26404 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
26405 <libm-alias-double.h>.
26406 [!_LP64] (lround): Define using libm_alias_double.
26407 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
26408 <libm-alias-double.h>.
26409 (nearbyint): Define using libm_alias_double.
26410 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
26411 <libm-alias-double.h>.
26412 (remquo): Define using libm_alias_double.
26413 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
26414 <libm-alias-double.h>.
26415 (rint): Define using libm_alias_double.
26416 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
26417 <libm-alias-double.h>.
26418 (round): Define using libm_alias_double.
26419 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
26420 <libm-alias-double.h>.
26421 (trunc): Define using libm_alias_double.
26422 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
26423 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
26424 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
26425 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
26426 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
26427 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
26428 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
26429 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
26430 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
26432 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26434 * math/w_remainder.c: New file.
26435 * math/w_remainderf.c: New file.
26436 * math/w_remainderl.c: New file.
26438 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26440 * elf/rtld.c (BOOTSTRAP_MAP): New.
26441 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
26442 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26444 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26446 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26449 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
26451 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
26452 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
26453 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
26454 rtld_hidden_data_ver): Define to empty.
26455 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
26456 __assert_perror_fail): Likewise.
26457 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26458 (__rewinddir): Likewise.
26459 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26460 (__profile_frequency): Likewise.
26461 * include/setjmp.h (__sigsetjmp): Likewise.
26462 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
26463 __libc_sigaction): Likewise.
26464 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
26465 not set hidden attribute.
26466 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
26467 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
26468 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
26469 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
26470 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
26471 __fxstatat64): Likewise.
26472 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26473 (__uname): Likewise.
26474 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26475 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
26476 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
26477 (NO_RTLD_HIDDEN): Set.
26478 * sysdeps/mach/hurd/configure: Refresh.
26479 * config.h.in: Refresh.
26481 2017-10-02 Joseph Myers <joseph@codesourcery.com>
26483 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
26484 (atan): Define using libm_alias_double.
26485 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
26486 (tan): Define using libm_alias_double.
26487 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
26488 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
26490 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
26491 define as weak alias of __atan. Do not define any aliases if
26493 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
26494 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
26495 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
26496 as weak alias of __tan. Do not define any aliases if [__tan].
26497 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
26498 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
26499 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
26501 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
26502 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
26503 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
26504 and define as weak alias of __atan.
26505 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
26507 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
26508 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
26509 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
26510 define as weak alias of __tan.
26512 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26514 * math/w_lgamma.c: New file.
26515 * math/w_lgammaf.c: New file.
26516 * math/w_lgammal.c: New file.
26518 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26520 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
26521 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
26522 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
26523 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
26524 * sysdeps/ieee754/flt-32/w_logf.c: New file.
26525 * sysdeps/ieee754/flt-32/w_powf.c: New file.
26526 * sysdeps/i386/fpu/w_log2f.c: New file.
26527 * sysdeps/i386/fpu/w_logf.c: New file.
26528 * sysdeps/i386/fpu/w_powf.c: New file.
26529 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
26530 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
26531 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
26533 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26534 H.J. Lu <hongjiu.lu@intel.com>
26536 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
26537 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
26538 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
26539 * sysdeps/ieee754/flt-32/w_expf.c: New file.
26540 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
26542 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
26543 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
26544 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
26545 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
26546 * sysdeps/i386/fpu/w_exp2f.c: New file.
26547 * sysdeps/i386/fpu/w_expf.c: New file.
26548 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
26549 * sysdeps/x86_64/fpu/w_expf.c: New file.
26551 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26553 * math/Versions (logf): New libm symbol at GLIBC_2.27.
26556 * math/w_log2f.c: New file.
26557 * math/w_logf.c: New file.
26558 * math/w_powf.c: New file.
26559 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
26560 * math/w_logf_compat.c (__logf_compat): Likewise.
26561 * math/w_powf_compat.c (__powf_compat): Likewise.
26562 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
26563 * sysdeps/ia64/fpu/e_logf.S: Likewise.
26564 * sysdeps/ia64/fpu/e_powf.S: Likewise.
26565 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
26566 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26567 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26568 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26569 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26570 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26571 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26572 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26573 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26574 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26575 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26576 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26585 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26586 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26587 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26588 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26589 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26590 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26592 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26594 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26595 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26596 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26598 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26600 * sysdeps/powerpc/powerpc64/multiarch/Makefile
26601 (sysdep_routines): Add memrchr_power8.
26602 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26603 (memrchr): Add __memrchr_power8 to list of memrchr functions.
26604 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
26606 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
26607 (memrchr): Add __memrchr_power8 to ifunc list.
26608 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
26610 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26613 * sysdeps/unix/sysv/linux/posix_fadvise64.c
26614 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
26616 * sysdeps/unix/sysv/linux/posix_fallocate64.c
26617 (__posix_fallocate64_l64): Likewise.
26619 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26622 * sysdeps/unix/sysv/linux/sched_setaffinity.c
26623 (__sched_setaffinity_new): Add libc_hidden_proto and
26626 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26629 * include/glob.h (__glob64): Add libc_hidden_proto.
26630 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
26633 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26636 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
26639 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26642 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
26644 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26647 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
26650 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26653 * csu/version.c (__libc_print_version): Add attribute_hidden.
26655 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26658 * include/libc-internal.h (__init_misc): Add attribute_hidden.
26660 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26663 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
26665 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26668 * nscd/nscd_helper.c (__nis_hash): New prototype.
26670 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26673 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
26674 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
26676 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26677 * termios/tcgetattr.c (__tcgetattr): Likewise.
26679 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26682 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
26683 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
26684 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
26685 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
26686 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
26688 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26691 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
26693 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26696 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
26697 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
26699 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26702 * intl/hash-string.h (__hash_string): Add attribute_hidden.
26704 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26707 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
26708 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
26710 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26713 * include/ifreq.h: New file.
26714 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
26715 (__ifreq): Likewise.
26716 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
26717 (__ifreq): Likewise.
26719 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26722 * include/idna.h: New file.
26723 * inet/getnameinfo.c: Include <idna.h> instead of
26725 (__idna_to_unicode_lzlz): Removed.
26726 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
26728 (__idna_to_ascii_lz): Removed.
26729 (__idna_to_unicode_lzlz): Likewise.
26731 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26734 * include/plural-exp.h: New file.
26735 * intl/plural-exp.c: Include <plural-exp.h> instead of
26738 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26741 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
26742 "getsourcefilter.h".
26743 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
26744 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
26745 "getsourcefilter.h".
26746 (__get_sol): Removed.
26748 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26751 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
26753 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
26755 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26758 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
26761 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26764 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
26766 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26769 * include/search.h (__tdestroy): Add libc_hidden_proto.
26770 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
26772 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26775 * include/assert.h (__assert_fail_base): Add attribute_hidden.
26777 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26780 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
26783 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26786 * include/signal.h (__kill): Add libc_hidden_proto.
26787 (__sigblock): Likewise.
26788 (__sigprocmask): Likewise.
26789 (__sigaltstack): Likewise.
26790 * signal/kill.c (__kill): Add libc_hidden_def.
26791 * signal/sigblock.c (__sigblock): Likewise.
26792 * signal/sigprocmask.c (__sigprocmask): Likewise.
26793 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
26794 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
26795 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
26796 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
26797 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
26799 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
26801 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
26802 (__sigprocmask): Likewise.
26803 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
26805 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
26806 (__sigprocmask): Likewise.
26807 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
26810 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26813 * include/string.h (__strsep): Add libc_hidden_proto.
26814 * string/strsep.c (__strsep): Add libc_hidden_def.
26816 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26819 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
26821 (__spawni): Likewise.
26823 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26826 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
26827 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
26830 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26833 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
26835 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26838 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
26839 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
26840 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
26841 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
26842 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
26844 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
26845 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
26847 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26850 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
26851 (__dcigettext): Likewise.
26853 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26856 * include/sys/sysinfo.h (__get_nprocs_conf): Add
26858 (__get_nprocs): Likewise.
26859 (__get_phys_pages): Likewise.
26860 (__get_avphys_pages): Likewise.
26861 (__get_child_max): Add attribute_hidden.
26862 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
26863 (__get_nprocs): Likewise.
26864 (__get_phys_pages): Likewise.
26865 (__get_avphys_pages): Likewise.
26866 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
26868 (__get_nprocs): Likewise.
26869 (__get_phys_pages): Likewise.
26870 (__get_avphys_pages): Likewise.
26871 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
26873 (__get_nprocs_conf): Likewise.
26874 (__get_phys_pages): Likewise.
26875 (__get_avphys_pages): Likewise.
26877 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26880 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
26882 (__netlink_close): Likewise.
26883 (__netlink_free_handle): Likewise.
26884 (__netlink_request): Likewise.
26886 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26889 * include/rpc/rpc.h (__rpc_thread_variables): Add
26891 (__rpc_thread_svc_cleanup): Likewise.
26892 (__rpc_thread_clnt_cleanup): Likewise.
26893 (__rpc_thread_key_cleanup): Likewise.
26895 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26898 * include/sys/uio.h (__readv): Add libc_hidden_proto.
26899 (__writev): Likewise.
26900 * misc/readv.c (__readv): Add libc_hidden_def.
26901 * misc/writev.c (__writev): Likewise.
26902 * sysdeps/posix/readv.c (__readv): Likewise.
26903 * sysdeps/posix/writev.c (__writev): Likewise.
26904 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
26905 (__readv): Likewise.
26906 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
26907 (__writev): Likewise.
26909 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26912 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
26913 (__regcomp): Add libc_hidden_proto.
26914 (__regexec): Likewise.
26915 (__regfree): Likewise.
26916 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
26917 (__regfree): Likewise.
26918 * posix/regexec.c (__regexec): Likewise.
26920 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26923 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
26924 (__getutent): Likewise.
26925 (__getutid): Likewise.
26926 (__getutline): Likewise.
26927 (__pututline): Likewise.
26928 (__getutent_r): Likewise.
26929 (__getutid_r): Likewise.
26930 (__getutline_r): Likewise.
26931 (__utmpname): Add attribute_hidden.
26932 (__setutent): Likewise.
26933 (__endutent): Likewise.
26934 * login/getutent.c (__getutent): Add libc_hidden_def.
26935 * login/getutent_r.c (__getutent_r): Likewise.
26936 (__pututline): Likewise.
26937 * login/getutid.c (__getutid): Likewise.
26938 * login/getutid_r.c (__getutid_r): Likewise.
26939 * login/getutline.c (__getutline): Likewise.
26940 * login/getutline_r.c (__getutline_r): Likewise.
26941 * login/updwtmp.c (__updwtmp): Likewise.
26943 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26946 * include/dirent.h (__opendir): Always add attribute_hidden.
26947 (__fdopendir): Likewise.
26948 (__closedir): Likewise.
26949 (__readdir): Likewise.
26950 (__readdir64): Add libc_hidden_proto.
26951 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
26952 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
26953 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
26954 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
26957 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26960 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
26961 * include/netdb.h (__gethostbyaddr_r): Likewise.
26962 (__gethostbyname_r): Likewise.
26963 (__gethostbyname2_r): Likewise.
26964 (__getnetbyaddr_r): Likewise.
26965 (__getnetbyname_r): Likewise.
26966 (__getservbyname_r): Likewise.
26967 (__getservbyport_r): Likewise.
26968 (__getprotobyname_r): Likewise.
26969 (__getprotobynumber_r): Likewise.
26970 (__getnetgrent_r): Likewise.
26971 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
26972 (__getrpcbynumber_r): Likewise.
26973 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
26975 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26978 * include/stdio.h (__fcloseall): Add attribute_hidden.
26979 (__getline): Likewise.
26980 (__path_search): Likewise.
26981 (__gen_tempname): Likewise.
26982 (__libc_message): Likewise.
26983 (__flockfile): Likewise.
26984 (__funlockfile): Likewise.
26985 (__fxprintf): Likewise.
26986 (__fxprintf_nocancel): Likewise.
26988 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26991 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
26992 (__sgetsgent_r): Likewise.
26994 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26997 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
26998 (__statfs64): Likewise.
26999 (__fstatfs64): Likewise.
27000 * include/sys/statvfs.h (__statvfs64): Likewise.
27001 (__fstatvfs64): Likewise.
27002 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
27003 (__statfs_filesize_max): Likewise.
27004 (__statfs_symlinks): Likewise.
27005 (__statfs_chown_restricted): Likewise.
27007 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27010 * include/time.h (__tzstring): Add attribute_hidden.
27011 (__tzfile_read): Likewise.
27012 (__tzfile_compute): Likewise.
27013 (__tzfile_default): Likewise.
27014 (__tzset_parse_tz): Likewise.
27015 (__offtime): Likewise.
27016 (__asctime_r): Likewise.
27017 (__tzset): Likewise.
27018 (__tz_convert): Likewise.
27019 (__getdate_r): Likewise.
27020 (__getclktck): Likewise.
27022 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27025 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
27026 (__nscd_unmap): Likewise.
27027 (__nscd_cache_search): Likewise.
27028 (__nscd_get_nl_timestamp): Likewise.
27029 (__nscd_getpwnam_r): Likewise.
27030 (__nscd_getpwuid_r): Likewise.
27031 (__nscd_getgrnam_r): Likewise.
27032 (__nscd_getgrgid_r): Likewise.
27033 (__nscd_gethostbyname_r): Likewise.
27034 (__nscd_gethostbyname2_r): Likewise.
27035 (__nscd_gethostbyaddr_r): Likewise.
27036 (__nscd_getai): Likewise.
27037 (__nscd_getgrouplist): Likewise.
27038 (__nscd_getservbyname_r): Likewise.
27039 (__nscd_getservbyport_r): Likewise.
27040 (__nscd_innetgr): Likewise.
27041 (__nscd_setnetgrent): Likewise.
27043 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27046 * include/gmp.h: Declare internal functions only if _ISOMAC is
27048 (__mpn_extract_double): Add attribute_hidden.
27049 (__mpn_extract_long_double): Likewise.
27050 (__mpn_extract_float128): Likewise.
27051 (__mpn_construct_float): Likewise.
27052 (__mpn_construct_double): Likewise.
27053 (__mpn_construct_long_double): Likewise.
27054 (__mpn_construct_float128): Likewise.
27055 (mpn_add_1): Likewise.
27056 (mpn_addmul_1): Likewise.
27057 (mpn_add_n): Likewise.
27058 (mpn_cmp): Likewise.
27059 (mpn_divrem): Likewise.
27060 (mpn_lshift): Likewise.
27061 (mpn_mul): Likewise.
27062 (mpn_mul_1): Likewise.
27063 (mpn_rshift): Likewise.
27064 (mpn_sub_1): Likewise.
27065 (mpn_submul_1): Likewise.
27066 (mpn_sub_n): Likewise.
27068 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27071 * include/wchar.h (__wcsnlen): Add attribute_hidden.
27072 (__wcscat): Likewise.
27073 (__btowc): Likewise.
27074 (__wcrtomb): Likewise.
27075 (__mbsrtowcs): Likewise.
27076 (__wcsrtombs): Likewise.
27077 (__mbsnrtowcs): Likewise.
27078 (__wcsnrtombs): Likewise.
27079 (__wcsncpy): Likewise.
27080 (__wcpncpy): Likewise.
27081 (__wmemcpy): Likewise.
27082 (__wmempcpy): Likewise.
27083 (__wmemmove): Likewise.
27084 (__wcschrnul): Likewise.
27085 (__vfwscanf): Likewise.
27086 (__vswprintf): Likewise.
27087 (__fwprintf): Likewise.
27088 (__vfwprintf): Likewise.
27090 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27093 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
27094 (__getgrgid_r): Likewise.
27095 (__getgrnam_r): Likewise.
27096 * include/pwd.h (__getpwuid_r): Likewise.
27097 (__getpwnam_r): Likewise.
27098 (__fgetpwent_r): Likewise.
27099 * include/shadow.h (__getspnam_r): Likewise.
27100 (__sgetspent_r): Likewise.
27101 (__fgetspent_r): Likewise.
27103 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27106 * include/unistd.h (__access): Add attribute_hidden.
27107 (__lseek64): Likewise.
27108 (__libc_pread64): Likewise.
27109 (__pipe2): Likewise.
27110 (__sleep): Likewise.
27111 (__chdir): Likewise.
27112 (__fchdir): Likewise.
27113 (__getcwd): Likewise.
27114 (__rmdir): Likewise.
27115 (__execvpe): Likewise.
27116 (__execve): Likewise.
27117 (__setsid): Likewise.
27118 (__getuid): Likewise.
27119 (__geteuid): Likewise.
27120 (__getgid): Likewise.
27121 (__getegid): Likewise.
27122 (__getgroups): Likewise.
27123 (__group_member): Likewise.
27124 (__ttyname_r): Likewise.
27125 (__isatty): Likewise.
27126 (__readlink): Likewise.
27127 (__unlink): Likewise.
27128 (__gethostname): Likewise.
27129 (__profil): Likewise.
27130 (__getdtablesize): Likewise.
27132 (__ftruncate): Likewise.
27133 (__ftruncate64): Likewise.
27135 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27138 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
27139 * argp/argp-fs-xinl.c: Likewise.
27140 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
27141 * argp/argp-parse.c: Include <argp.h>.
27142 * argp/argp-xinl.c: Likewise.
27143 * include/argp-fmtstream.h: New file.
27144 * include/argp.h (__argp_error): Add attribute_hidden.
27145 (__argp_failure): Likewise.
27146 (__argp_input): Likewise.
27147 (__argp_state_help): Likewise.
27149 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27152 * include/wchar.h (____wcstof_l_internal): New prototype.
27153 (____wcstod_l_internal): Likewise.
27154 (____wcstold_l_internal): Likewise.
27155 (____wcstol_l_internal): Likewise.
27156 (____wcstoul_l_internal): Likewise.
27157 (____wcstoll_l_internal): Likewise.
27158 (____wcstoull_l_internal): Likewise.
27159 (____wcstof128_l_internal): Likewise.
27160 * sysdeps/ieee754/float128/wcstof128.c
27161 (____wcstof128_l_internal): Removed.
27162 * sysdeps/ieee754/float128/wcstof128_l.c
27163 (____wcstof128_l_internal): Likewise.
27164 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
27165 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
27166 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
27167 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
27168 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
27169 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
27170 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
27171 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
27172 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
27173 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
27175 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27178 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
27179 instead of <sys/statvfs.h>.
27180 (__internal_statvfs): Removed.
27181 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
27182 instead of <sys/statvfs.h>.
27183 (__internal_statvfs64): Removed.
27184 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
27185 "internal_statvfs.h" instead of <sys/statvfs.h>.
27186 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
27187 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
27188 instead of <sys/statvfs.h>.
27189 (__internal_statvfs): Removed.
27190 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
27191 instead of <sys/statvfs.h>.
27192 (__internal_statvfs64): Removed.
27194 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27197 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
27198 (__gconv_close): Likewise.
27199 (__gconv): Likewise.
27200 (__gconv_find_transform): Likewise.
27201 (__gconv_lookup_cache): Likewise.
27202 (__gconv_compare_alias_cache): Likewise.
27203 (__gconv_load_cache): Likewise.
27204 (__gconv_get_path): Likewise.
27205 (__gconv_close_transform): Likewise.
27206 (__gconv_release_cache): Likewise.
27207 (__gconv_find_shlib): Likewise.
27208 (__gconv_release_shlib): Likewise.
27209 (__gconv_get_builtin_trans): Likewise.
27210 (__gconv_compare_alias): Likewise.
27211 * include/dlfcn.h (_dlerror_run): Likewise.
27212 * include/stdio.h (__fortify_fail_abort): Likewise.
27213 * include/time.h (__tz_compute): Likewise.
27214 (__strptime_internal): Likewise.
27215 * intl/gettextP.h (_nl_find_domain): Likewise.
27216 (_nl_load_domain): Likewise.
27217 (_nl_find_msg): Likewise.
27218 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
27219 (EXTRACT_PLURAL_EXPRESSION): Likewise.
27220 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
27221 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
27222 (__gai_find_request): Likewise.
27223 (__gai_remove_request): Likewise.
27224 (__gai_notify): Likewise.
27225 (__gai_notify_only): Likewise.
27226 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
27227 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
27228 (_dl_non_dynamic_init): Likewise.
27229 (_dl_aux_init): Likewise.
27230 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
27231 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
27233 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
27234 (__wcsmbs_clone_conv): Likewise.
27235 (__wcsmbs_named_conv): Likewise.
27237 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27240 * include/stdlib.h (__random): Add attribute_hidden.
27241 (__random_r): Likewise.
27242 (__srandom_r): Likewise.
27243 (__initstate_r): Likewise.
27244 (__setstate_r): Likewise.
27245 (__erand48_r): Likewise.
27246 (__nrand48_r): Likewise.
27247 (__jrand48_r): Likewise.
27248 (__srand48_r): Likewise.
27249 (__seed48_r): Likewise.
27250 (__lcong48_r): Likewise.
27251 (__drand48_iterate): Likewise.
27252 (__setenv): Likewise.
27253 (__unsetenv): Likewise.
27254 (__clearenv): Likewise.
27255 (__ptsname_r): Likewise.
27256 (__posix_openpt): Likewise.
27257 (__add_to_environ): Likewise.
27258 (__realpath): Add libc_hidden_proto.
27259 (__ecvt_r): Likewise.
27260 (__fcvt_r): Likewise.
27261 (__qecvt_r): Likewise.
27262 (__qfcvt_r): Likewise.
27263 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
27264 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
27266 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27269 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
27270 * include/time.h (__mktime_internal): Likewise.
27271 * libio/iolibio.h (__fopen_internal): Likewise.
27273 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
27275 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
27277 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
27278 Correct offset used to restore PIC register.
27280 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
27283 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
27284 code to load address of __getcontext_ret when generating PIC code.
27286 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
27288 * elf/Makefile (tests-static-internal): Add
27289 tst-tls1-static-non-pie.
27290 (LDFLAGS-tst-tls1-static-non-pie): New.
27291 * elf/tst-tls1-static-non-pie.c: New file.
27293 2017-09-29 Joseph Myers <joseph@codesourcery.com>
27295 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
27296 (asinh): Define using libm_alias_double.
27297 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
27298 (cbrt): Define using libm_alias_double.
27299 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
27300 <libm-alias-double.h>.
27301 (copysign): Define using libm_alias_double.
27302 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
27303 (erf): Define using libm_alias_double.
27305 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
27306 (expm1): Define using libm_alias_double.
27307 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
27308 (fabs): Define using libm_alias_double.
27309 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
27311 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
27312 <libm-alias-double.h>.
27313 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
27315 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
27316 <libm-alias-double.h>.
27317 (getpayload): Define using libm_alias_double.
27318 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
27319 <libm-alias-double.h>.
27320 (llrint): Define using libm_alias_double.
27321 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
27322 (lrint): Define using libm_alias_double.
27323 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
27324 <libm-alias-double.h>.
27325 (nextup): Define using libm_alias_double.
27326 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
27327 <libm-alias-double.h>.
27328 (roundeven): Define using libm_alias_double.
27329 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
27331 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
27332 <libm-alias-double.h>.
27333 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
27334 using libm_alias_double.
27335 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
27336 (cos): Define using libm_alias_double.
27338 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
27339 <libm-alias-double.h>.
27340 (sincos): Define using libm_alias_double.
27341 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
27342 (tanh): Define using libm_alias_double.
27343 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
27344 <libm-alias-double.h>.
27345 (totalorder): Define using libm_alias_double.
27346 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
27347 <libm-alias-double.h>.
27348 (totalordermag): Define using libm_alias_double.
27349 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
27351 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
27353 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
27354 <libm-alias-double.h>.
27355 (getpayload): Define using libm_alias_double.
27356 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
27357 <libm-alias-double.h>.
27358 (roundeven): Define using libm_alias_double.
27359 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
27360 <libm-alias-double.h>.
27361 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
27362 <libm-alias-double.h>.
27363 (totalorder): Define using libm_alias_double.
27364 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
27365 <libm-alias-double.h>.
27366 (totalordermag): Define using libm_alias_double.
27367 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
27368 libc compat symbol here.
27369 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
27370 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
27371 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
27372 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
27373 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
27374 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
27375 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
27376 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
27377 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
27378 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
27380 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27382 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
27383 _dl_relocate_static_pie instead of _dl_start to compute load
27384 address in static PIE. Return 0 if _DYNAMIC is undefined for
27387 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27389 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
27390 _DYNAMIC is undefined for static executable.
27392 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27394 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
27396 2017-09-29 Joseph Myers <joseph@codesourcery.com>
27398 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27400 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
27402 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
27403 (__ieee754_lgamma_r): Use fabs rather than __fabs.
27404 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
27405 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
27406 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
27407 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
27408 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
27409 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
27410 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
27411 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
27412 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
27413 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
27414 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
27415 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
27416 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
27417 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
27418 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
27420 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
27422 * math/bits/cmathcalls.h (cimag): Remove inline.
27423 (creal): Remove inline.
27424 (conj): Remove inline.
27426 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27428 * math/Makefile (type-float-routines): Add e_powf_log2_data.
27429 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
27430 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
27431 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
27432 (issignalingf_inline): Likewise.
27433 (POWF_LOG2_TABLE_BITS): Likewise.
27434 (POWF_LOG2_POLY_ORDER): Likewise.
27435 (POWF_SCALE_BITS): Likewise.
27436 (POWF_SCALE): Likewise.
27437 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
27438 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
27439 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
27441 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27443 * math/Makefile (type-float-routines): Add e_log2f_data.
27444 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
27445 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
27446 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
27447 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
27448 * sysdeps/i386/fpu/e_log2f_data.c: New file.
27449 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
27450 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
27452 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27454 * math/Makefile (type-float-routines): Add e_logf_data.
27455 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
27456 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
27457 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
27458 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
27459 * sysdeps/i386/fpu/e_logf_data.c: New file.
27460 * sysdeps/ia64/fpu/e_logf_data.c: New file.
27461 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
27463 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
27465 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
27466 undefined _DYNAMIC in PIE libc.a.
27467 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
27470 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
27472 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
27473 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
27474 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
27475 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
27476 (__signbit): Remove.
27477 (__signbitl): Remove.
27478 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
27479 (__signbit): Remove.
27480 (__signbitl): Remove.
27481 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
27482 (__signbit): Remove.
27483 (__signbitl): Remove.
27484 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
27485 (__signbit): Remove.
27486 (__signbitl): Remove.
27487 * sysdeps/tile/bits/mathinline.h: Delete file.
27488 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
27489 (__signbit): Remove.
27490 (__signbitl): Remove.
27492 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
27494 * math/math.h: Improve handling of C99 isgreater macros.
27495 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
27496 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
27497 * sysdeps/powerpc/bits/mathinline.h: Likewise.
27498 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27499 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
27501 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
27503 * sysdeps/aarch64/libm-test-ulps: Update.
27505 2017-09-28 Joseph Myers <joseph@codesourcery.com>
27508 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27509 math_opt_barrier on argument when doing arithmetic on it.
27510 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27511 Likewise. Use math_force_eval not math_opt_barrier after
27513 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
27514 math_opt_barrier on argument when doing arithmetic on it.
27515 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27518 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
27520 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
27522 (__freeifaddrs): Likewise.
27524 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
27526 * include/dirent.h (__dirfd): New declaration.
27527 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
27529 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
27530 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
27531 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
27532 * include/unistd.h (__revoke): New declaration.
27533 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
27535 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
27536 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
27538 * include/dirent.h (__seekdir): New declaration.
27539 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
27540 redefine as weak alias.
27541 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
27543 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
27544 and use libc_hidden_def on them.
27545 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
27547 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
27548 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
27549 instead of getifaddrs and freeifaddrs.
27551 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27554 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
27555 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
27556 (__dso_handle): Remove declaration.
27557 * dlfcn/tstatexit.c (__dso_handle): Removed.
27558 (main): Don't check __dso_handle.
27559 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
27560 (main): Don't check __dso_handle.
27561 * include/dso_handle.h: New file.
27562 * malloc/mtrace.c: Include <dso_handle.h>.
27563 (mtrace): Pass __dso_handle directly.
27564 * nptl/pthread_atfork.c: Include <dso_handle.h>.
27565 (__dso_handle): Remove declaration.
27566 (__pthread_atfork): Pass __dso_handle directly.
27567 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
27568 (__dso_handle): Removed.
27569 * posix/wordexp-test.c: Include <dso_handle.h>.
27570 (__dso_handle): Remove declaration.
27571 (__app_register_atfork): Pass __dso_handle directly.
27572 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
27573 (__dso_handle): Remove declaration.
27574 (at_quick_exit): Pass __dso_handle directly.
27575 * stdlib/atexit.c: Include <dso_handle.h>.
27576 (__dso_handle): Remove declaration.
27577 (atexit): Pass __dso_handle directly.
27578 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
27579 (__dso_handle): Removed.
27581 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27583 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
27586 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
27588 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
27589 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
27590 values to correct default value for given type.
27592 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27595 * elf/Makefile (tests): Add tst-debug1.
27596 ($(objpfx)tst-debug1): New.
27597 ($(objpfx)tst-debug1.out): Likewise.
27598 ($(objpfx)tst-debug1mod1.so): Likewise.
27599 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
27600 with p_filesz == 0.
27601 * elf/tst-debug1.c: New file.
27603 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27605 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
27606 Define using __ifunc.
27608 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27610 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
27613 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27616 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
27618 2017-09-26 Florian Weimer <fweimer@redhat.com>
27620 * resolv/Makefile (tests-internal): Fix typo in comment.
27622 2017-09-26 Florian Weimer <fweimer@redhat.com>
27624 * resolv/nss_dns/dns-host.c: Fix typo in comment.
27626 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27628 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
27629 Use an union instead of a max_align_t array for __space,
27630 so that __space is the same size on all platforms.
27631 * malloc/scratch_buffer_grow_preserve.c
27632 (__libc_scratch_buffer_grow_preserve): Likewise.
27635 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
27637 * posix/Makefile (routines): Add glob-lstat-compat and
27638 glob64-lstat-compat.
27639 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
27640 * posix/glob-lstat-compat.c: New file.
27641 * posix/glob64-lstat-compat.c: Likewise.
27642 * posix/tst-glob_lstat_compat.c: Likewise.
27643 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
27644 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
27645 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
27646 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
27648 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
27649 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
27650 * posix/glob.c (glob_lstat): New function.
27651 (glob): Rename to __glob and add versioned symbol to 2.27.
27652 (glob_in_dir): Use glob_lstat.
27653 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
27654 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
27655 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
27657 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
27658 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
27659 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
27660 gl_lstat on glob call.
27661 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
27662 and glob64 symbols.
27663 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27664 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
27665 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
27666 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
27667 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
27668 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
27669 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
27670 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
27671 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
27672 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27673 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27674 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
27675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
27677 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
27678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
27679 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27680 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27681 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
27682 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27683 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27684 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
27685 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
27686 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
27687 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
27688 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
27690 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
27692 * configure.ac (AS): Require binutils 2.25 or later.
27693 * configure: Regenerated.
27695 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
27698 * stdlib/test-atexit-race-common.c (do_test): Minimize required
27701 2017-09-25 DJ Delorie <dj@redhat.com>
27704 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
27707 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
27709 * sysdeps/ieee754/dbl-64/sincos32.h
27710 [SINCCOS32_H]: Remove define.
27711 [SINCOS32_H]: Define.
27713 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27715 * math/Versions (expf): New libm symbol at GLIBC_2.27.
27717 * math/w_exp2f.c: New file.
27718 * math/w_expf.c: New file.
27719 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
27720 * math/w_expf_compat.c (__expf_compat): Likewise.
27721 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
27722 * sysdeps/ia64/fpu/e_expf.S: Likewise.
27723 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
27724 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27725 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
27726 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
27727 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27728 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27729 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
27730 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
27731 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
27732 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
27733 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27734 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
27735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
27737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
27743 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27744 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27745 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
27746 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27747 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27748 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
27750 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
27752 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
27753 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27754 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27756 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27758 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
27759 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
27760 (roundtoint, converttoint): Likewise.
27761 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
27762 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
27763 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
27764 * sysdeps/ieee754/flt-32/math_config.h: New file.
27765 * sysdeps/ieee754/flt-32/math_errf.c: New file.
27766 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
27767 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
27768 * sysdeps/i386/fpu/math_errf.c: New file.
27769 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
27770 * sysdeps/ia64/fpu/math_errf.c: New file.
27771 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
27772 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
27774 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
27776 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
27777 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
27778 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
27779 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
27780 to make sure that these symbols are defined.
27781 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
27783 (__need_NULL): Do not define.
27784 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
27786 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
27787 CMGROUP_MAX, cmsgcred): Do not define.
27788 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
27790 * bits/socket.h: Likewise.
27791 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
27792 __gettimeofday instead of gettimeofday.
27793 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
27794 instead of settimeofday.
27796 2017-09-22 Joseph Myers <joseph@codesourcery.com>
27798 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
27799 (asinhf): Define using libm_alias_float.
27800 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
27801 (atanf): Define using libm_alias_float.
27802 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
27803 (cbrtf): Define using libm_alias_float.
27804 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
27805 (ceilf): Define using libm_alias_float.
27806 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
27807 <libm-alias-float.h>.
27808 (copysignf): Define using libm_alias_float.
27809 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
27810 (cosf): Define using libm_alias_float.
27811 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
27812 (erff): Define using libm_alias_float.
27814 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
27815 (expm1f): Define using libm_alias_float.
27816 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
27817 (fabsf): Define using libm_alias_float.
27818 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
27819 (floorf): Define using libm_alias_float.
27820 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
27821 (frexpf): Define using libm_alias_float.
27822 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
27824 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
27825 <libm-alias-float.h>.
27826 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
27828 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
27829 <libm-alias-float.h>.
27830 (getpayloadf): Define using libm_alias_float.
27831 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
27832 <libm-alias-float.h>.
27833 (llrintf): Define using libm_alias_float.
27834 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
27835 <libm-alias-float.h>.
27836 (llroundf): Define using libm_alias_float.
27837 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
27838 (logbf): Define using libm_alias_float.
27839 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
27840 (lrintf): Define using libm_alias_float.
27841 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
27842 (lroundf): Define using libm_alias_float.
27843 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
27844 (modff): Define using libm_alias_float.
27845 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
27846 <libm-alias-float.h>.
27847 (nearbyintf): Define using libm_alias_float.
27848 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
27849 <libm-alias-float.h>.
27850 (nextafterf): Define using libm_alias_float.
27851 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
27852 <libm-alias-float.h>.
27853 (nextupf): Define using libm_alias_float.
27854 * sysdeps/ieee754/flt-32/s_remquof.c: Include
27855 <libm-alias-float.h>.
27856 (remquof): Define using libm_alias_float.
27857 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
27858 (rintf): Define using libm_alias_float.
27859 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
27860 <libm-alias-float.h>.
27861 (roundevenf): Define using libm_alias_float.
27862 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
27863 (roundf): Define using libm_alias_float.
27864 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
27865 using libm_alias_float.
27866 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
27867 <libm-alias-float.h>.
27868 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
27869 Define using libm_alias_float.
27870 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
27871 <libm-alias-float.h>.
27872 (sincosf): Define using libm_alias_float.
27873 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
27874 (sinf): Define using libm_alias_float.
27875 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
27876 (tanf): Define using libm_alias_float.
27877 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
27878 (tanhf): Define using libm_alias_float.
27879 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
27880 <libm-alias-float.h>.
27881 (totalorderf): Define using libm_alias_float.
27882 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
27883 <libm-alias-float.h>.
27884 (totalordermagf): Define using libm_alias_float.
27885 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
27886 (truncf): Define using libm_alias_float.
27887 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
27889 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
27892 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27895 math/math.h: Let fpclassify use the builtin in C++ mode, even
27896 when optimazing for size.
27898 2017-09-22 Joseph Myers <joseph@codesourcery.com>
27900 * csu/Makefile (generated): Do not add version-info.h.
27901 (before-compile): Likewise.
27902 (all-Banner-files): Remove variable.
27903 ($(objpfx)version-info.h): Remove rule.
27904 * csu/version.c (banner): Do not include "version-info.h".
27905 * libidn/Banner: Remove.
27906 * manual/contrib.texi (Simon Josefsson): New entry.
27908 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27910 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27911 Remove conditionals on LDBL_MANT_DIG.
27912 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
27913 (__ieee754_lgammal_r): Likewise.
27915 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27917 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
27919 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
27920 _Float128 and L(). Replace _Float128 with long double and L(x)
27921 with xL, throughout the file.
27922 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
27923 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
27924 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
27925 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
27927 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27929 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
27930 sysdeps/ieee754/ldbl-128ibm.
27931 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
27932 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
27933 of including it. Keep _Float128 and L() intact. These will be
27934 reviewed by a separate patch.
27935 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
27936 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
27937 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
27938 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
27940 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
27943 (__finitef128): Define to __redirect___finitef128.
27944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
27945 (__isinff128): Define to __redirect___isinff128.
27946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
27947 (__isnanf128): Define to __redirect___isnanf128.
27949 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27951 * sysdeps/powerpc/powerpc64le/Makefile
27952 (CFLAGS-tst-strtod-nan-locale.c): New variable.
27953 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
27955 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
27956 Carlos O'Donell <carlos@redhat.com>
27959 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
27960 * stdlib/test-dlclose-exit-race.c: New file.
27961 * stdlib/test-dlclose-exit-race-helper.c: New file.
27962 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
27964 2017-09-21 Joseph Myers <joseph@codesourcery.com>
27966 * crypt/Banner: Remove file.
27967 * nptl/Banner: Likewise.
27968 * resolv/Banner: Likewise.
27969 * soft-fp/Banner: Likewise.
27970 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
27971 ($(objpfx)version.d): Remove dependency on banner.h.
27972 ($(objpfx)version.os): Likewise.
27973 * nptl/version.c (banner): Do not include banner.h.
27974 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
27975 Jelinek and BIND code.
27977 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
27978 Carlos O'Donell <carlos@redhat.com>
27980 * support/xdlfcn.h: New file.
27981 * support/xdlfcn.c: New file.
27982 * support/Makefile (libsupport-routines): Add xdlfcn.
27983 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
27985 2017-09-20 Joseph Myers <joseph@codesourcery.com>
27988 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27989 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
27990 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
27991 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
27992 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
27993 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
27994 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
27995 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
27997 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
27998 Ricky Zhou <rickyz@google.com>
27999 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
28002 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
28004 (__new_exitfn): Fail registration when we finished at_exit processing.
28005 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
28006 * stdlib/on_exit.c (__on_exit): Likewise.
28007 * stdlib/exit.c (__exit_funcs_done): New variable.
28008 (__run_exit_handlers): Use __exit_funcs_lock.
28009 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
28011 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
28012 (test-cxa_atexit-race, test-on_exit-race): New tests.
28013 * stdlib/test-atexit-race-common.c: New file.
28014 * stdlib/test-atexit-race.c: New file.
28015 * stdlib/test-at_quick_exit-race.c: New file.
28016 * stdlib/test-cxa_atexit-race.c: New file.
28017 * stdlib/test-on_exit-race.c: New file.
28019 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
28021 * benchtests/Makefile: Add exp2f and log2f benchmarks.
28022 * benchtests/exp2f-inputs: Copy of expf-inputs.
28023 * benchtests/log2f-inputs: Copy of logf-inputs.
28025 2017-09-19 Joseph Myers <joseph@codesourcery.com>
28027 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
28028 Explicitly take address of first element of array arguments in
28029 call to INLINE_SYSCALL.
28031 2017-09-19 Andreas Schwab <schwab@suse.de>
28034 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
28036 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
28038 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
28039 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
28040 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28041 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
28042 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28043 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
28044 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28045 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
28046 * posix/Makefile (tests): Add tst-fexecve.
28047 * posix/tst-fexecve.c: New file.
28049 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28051 * benchtests/Makefile: Add logf benchmark.
28052 * benchtests/logf-inputs: Add reduced trace from wrf_r.
28054 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28056 * benchtests/Makefile: Add expf benchmark.
28057 * benchtests/expf-inputs: Add reduced trace from wrf_r.
28059 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28061 * csu/Makefile: Add -funwind-tables to libc-start.c.
28062 * debug/Makefile: Add -funwind-tables to backtrace.c.
28063 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
28064 * sysdeps/arm/Makefile: Likewise.
28065 * sysdeps/i386/Makefile: Likewise.
28066 * sysdeps/m68k/Makefile: Likewise.
28067 * sysdeps/mips/Makefile: Likewise.
28068 * sysdeps/nios2/Makefile: Likewise.
28069 * sysdeps/sh/Makefile: Likewise.
28070 * sysdeps/sparc/Makefile: Likewise.
28072 2017-09-19 Joseph Myers <joseph@codesourcery.com>
28074 * benchtests/Makefile (bench-math): Add trunc and truncf.
28075 (CFLAGS-bench-trunc.c): New variable.
28076 (CFLAGS-bench-truncf.c): Likewise.
28077 * benchtests/trunc-inputs: New file.
28078 * benchtests/truncf-inputs: Likewise.
28080 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28082 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
28084 2017-09-18 Joseph Myers <joseph@codesourcery.com>
28086 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
28087 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
28089 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
28090 (exp10l): Define as weak alias.
28091 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
28092 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
28094 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
28095 (remainderl): Define as weak alias.
28097 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
28098 (fmal): Define using libm_alias_ldouble.
28099 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
28100 (acoshl): Define using libm_alias_ldouble.
28101 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
28102 (acosl): Define using libm_alias_ldouble.
28103 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
28104 (asinl): Define using libm_alias_ldouble.
28105 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
28106 (atan2l): Define using libm_alias_ldouble.
28107 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
28108 (atanhl): Define using libm_alias_ldouble.
28109 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
28110 (coshl): Define using libm_alias_ldouble.
28111 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
28112 (exp10l): Define using libm_alias_ldouble.
28113 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
28114 (exp2l): Define using libm_alias_ldouble.
28115 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
28116 (expl): Define using libm_alias_ldouble.
28117 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
28118 (fmodl): Define using libm_alias_ldouble.
28119 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
28120 (hypotl): Define using libm_alias_ldouble.
28121 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
28122 (j0l): Define using libm_alias_ldouble.
28124 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
28125 (j1l): Define using libm_alias_ldouble.
28127 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
28128 (jnl): Define using libm_alias_ldouble.
28130 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
28131 (log10l): Define using libm_alias_ldouble.
28132 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
28133 (log2l): Define using libm_alias_ldouble.
28134 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
28135 (logl): Define using libm_alias_ldouble.
28136 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
28137 (powl): Define using libm_alias_ldouble.
28138 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
28139 (remainderl): Define using libm_alias_ldouble.
28140 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
28141 (sinhl): Define using libm_alias_ldouble.
28142 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
28143 (sqrtl): Define using libm_alias_ldouble.
28144 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
28145 (tgammal): Define using libm_alias_ldouble.
28146 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
28147 (exp10l): Do not use long_double_symbol here.
28148 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
28149 [LIBM_SVID_COMPAT] (remainderl): Likewise.
28150 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
28151 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
28152 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
28153 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
28154 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
28155 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
28156 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
28157 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
28158 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
28159 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
28160 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
28161 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
28162 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
28163 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
28164 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
28165 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
28166 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
28167 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
28168 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
28169 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
28171 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
28173 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
28174 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
28176 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
28178 * io/read.c (read): Add libc_hidden_weak.
28179 * sysdeps/mach/hurd/read.c (read): Likewise.
28180 * io/write.c (write): Likewise.
28181 * sysdeps/mach/hurd/write.c (write): Likewise.
28182 * io/pread64.c (__pread64): Likewise.
28183 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
28184 * posix/pread64.c (__pread64): Add libc_hidden_def.
28186 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
28188 * benchtests/scripts/compare_strings.py: New option -g.
28189 (draw_graph): Print a message that a graph is being generated.
28190 (process_results): Generate graph only if -g is passed.
28191 (main): Process option -g.
28193 * benchtests/scripts/compare_strings.py (process_results):
28194 Better spacing for output.
28196 * benchtests/scripts/compare_strings.py: Use argparse.
28197 * benchtests/README: Document existence of compare_strings.py.
28199 2017-09-15 Joseph Myers <joseph@codesourcery.com>
28201 * math/s_fma.c: Include <libm-alias-double.h>.
28202 (fma): Define using libm_alias_double.
28203 * math/s_nextafter.c: Include <libm-alias-double.h>.
28204 (nextafter): Define using libm_alias_double.
28205 * math/w_acos_compat.c: Include <libm-alias-double.h>.
28206 (acos): Define using libm_alias_double.
28207 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
28208 (aocsh): Define using libm_alias_double.
28209 * math/w_asin_compat.c: Include <libm-alias-double.h>.
28210 (asin): Define using libm_alias_double.
28211 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
28212 (atan2): Define using libm_alias_double.
28213 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
28214 (atanh): Define using libm_alias_double.
28215 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
28216 (cosh): Define using libm_alias_double.
28217 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
28218 (exp10): Define using libm_alias_double.
28219 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
28220 (exp2): Define using libm_alias_double.
28221 * math/w_exp_compat.c: Include <libm-alias-double.h>.
28222 (exp): Define using libm_alias_double.
28223 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
28224 (fmod): Define using libm_alias_double.
28225 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
28226 (hypot): Define using libm_alias_double.
28227 * math/w_j0_compat.c: Include <libm-alias-double.h>.
28228 (j0): Define using libm_alias_double.
28230 * math/w_j1_compat.c: Include <libm-alias-double.h>.
28231 (j1): Define using libm_alias_double.
28233 * math/w_jn_compat.c: Include <libm-alias-double.h>.
28234 (jn): Define using libm_alias_double.
28236 * math/w_log10_compat.c: Include <libm-alias-double.h>.
28237 (log10): Define using libm_alias_double.
28238 * math/w_log2_compat.c: Include <libm-alias-double.h>.
28239 (log2): Define using libm_alias_double.
28240 * math/w_log_compat.c: Include <libm-alias-double.h>.
28241 (log): Define using libm_alias_double.
28242 * math/w_pow_compat.c: Include <libm-alias-double.h>.
28243 (pow): Define using libm_alias_double.
28244 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
28245 (remainder): Define using libm_alias_double.
28246 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
28247 (sinh): Define using libm_alias_double.
28248 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
28249 (sqrt): Define using libm_alias_double.
28250 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
28251 (tgamma): Define using libm_alias_double.
28252 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
28253 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
28254 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
28255 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
28256 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
28257 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
28258 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
28259 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
28260 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
28261 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
28262 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
28263 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
28264 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
28265 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
28266 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
28267 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
28268 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
28269 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
28270 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
28271 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
28272 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
28273 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
28274 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
28275 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
28276 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
28278 * math/e_acoshl.c: Remove.
28279 * math/e_acosl.c: Likewise.
28280 * math/e_asinl.c: Likewise.
28281 * math/e_atan2l.c: Likewise.
28282 * math/e_atanhl.c: Likewise.
28283 * math/e_coshl.c: Likewise.
28284 * math/e_expl.c: Likewise.
28285 * math/e_fmodl.c: Likewise.
28286 * math/e_gammal_r.c: Likewise.
28287 * math/e_hypotl.c: Likewise.
28288 * math/e_j0l.c: Likewise.
28289 * math/e_j1l.c: Likewise.
28290 * math/e_jnl.c: Likewise.
28291 * math/e_lgammal_r.c: Likewise.
28292 * math/e_log10l.c: Likewise.
28293 * math/e_log2l.c: Likewise.
28294 * math/e_logl.c: Likewise.
28295 * math/e_powl.c: Likewise.
28296 * math/e_rem_pio2l.c: Likewise.
28297 * math/e_sinhl.c: Likewise.
28298 * math/e_sqrtf128.c: Likewise.
28299 * math/e_sqrtl.c: Likewise.
28300 * math/k_cosl.c: Likewise.
28301 * math/k_sinl.c: Likewise.
28302 * math/k_tanl.c: Likewise.
28303 * math/s_asinhl.c: Likewise.
28304 * math/s_atanl.c: Likewise.
28305 * math/s_cbrtl.c: Likewise.
28306 * math/s_erfl.c: Likewise.
28307 * math/s_expm1l.c: Likewise.
28308 * math/s_log1pl.c: Likewise.
28309 * math/s_tanhl.c: Likewise.
28311 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28314 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
28315 [$(subdir) = math] (sysdep_calls): New variable. Has the
28316 previous contents of sysdep_routines, but re-sorted..
28317 [$(subdir) = math] (sysdep_routines): Re-use the contents from
28319 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
28320 defined in sysdep_calls and replace by the respective m_* names.
28321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
28322 (compat_symbol): Undefine to avoid duplicated compat symbols in
28325 2017-09-15 Joseph Myers <joseph@codesourcery.com>
28327 * math/s_fmaf.c: Include <libm-alias-float.h>.
28328 (fmaf): Define using libm_alias_float.
28329 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
28330 (acosf): Define using libm_alias_float.
28331 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
28332 (acoshf): Define using libm_alias_float.
28333 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
28334 (asinf): Define using libm_alias_float.
28335 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
28336 (atan2f): Define using libm_alias_float.
28337 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
28338 (atanhf): Define using libm_alias_float.
28339 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
28340 (coshf): Define using libm_alias_float.
28341 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
28342 (exp10f): Define using libm_alias_float.
28343 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
28344 (fmodf): Define using libm_alias_float.
28345 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
28346 (hypotf): Define using libm_alias_float.
28347 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
28348 (j0f): Define using libm_alias_float.
28350 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
28351 (j1f): Define using libm_alias_float.
28353 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
28354 (jnf): Define using libm_alias_float.
28356 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
28357 (log10f): Define using libm_alias_float.
28358 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
28359 (log2f): Define using libm_alias_float.
28360 * math/w_logf_compat.c: Include <libm-alias-float.h>.
28361 (logf): Define using libm_alias_float.
28362 * math/w_powf_compat.c: Include <libm-alias-float.h>.
28363 (powf): Define using libm_alias_float.
28364 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
28365 (remainderf): Define using libm_alias_float.
28366 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
28367 (sinhf): Define using libm_alias_float.
28368 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
28369 (sqrtf): Define using libm_alias_float.
28370 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
28371 (tgammaf): Define using libm_alias_float.
28373 2017-09-14 Joseph Myers <joseph@codesourcery.com>
28375 * include/math.h (roundeven): Change hidden_proto call to
28377 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
28379 [NO_LONG_DOUBLE] (__j0l): New strong alias.
28380 (y0): Rename to __y0 and define as weak alias.
28381 [NO_LONG_DOUBLE] (__y0l): New strong alias.
28382 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
28384 (y0f): Rename to __y0f and define as weak alias.
28385 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
28387 [NO_LONG_DOUBLE] (__j1l): New strong alias.
28388 (y1): Rename to __y1 and define as weak alias.
28389 [NO_LONG_DOUBLE] (__y1l): New strong alias.
28390 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
28392 (y1f): Rename to __y1f and define as weak alias.
28393 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
28395 [NO_LONG_DOUBLE] (__jnl): New strong alias.
28396 (yn): Rename to __yn and define as weak alias.
28397 [NO_LONG_DOUBLE] (__ynl): New strong alias.
28398 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
28400 (ynf): Rename to __ynf and define as weak alias.
28401 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
28402 (fromfp): Define as weak alias.
28403 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
28404 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
28405 (fromfpx): Define as weak alias.
28406 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
28407 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
28408 __getpayload and define as weak alias.
28409 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
28410 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
28411 __roundeven and define as weak alias.
28412 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
28413 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
28415 (setpayload): Define as weak alias.
28416 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
28417 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
28419 (setpayloadsig): Define as weak alias.
28420 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
28421 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
28422 __totalorder and define as weak alias.
28423 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
28424 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
28425 to __totalordermag and define as weak alias.
28426 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
28427 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
28428 (ufromfp): Define as weak alias.
28429 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
28430 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
28432 (ufromfpx): Define as weak alias.
28433 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
28434 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
28435 Rename to __getpayload and define as weak alias.
28436 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
28437 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
28438 Rename to __roundeven and define as weak alias.
28439 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
28440 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
28441 Rename to __totalorder and define as weak alias.
28442 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
28443 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
28444 (totalordermag): Rename to __totalordermag and define as weak
28446 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
28447 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
28449 (__roundevenl): Likewise.
28450 (__totalorderl): Likewise.
28451 (__totalordermagl): Likewise
28452 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
28454 (fromfpf128): Define as weak alias.
28455 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
28457 (fromfpxf128): Define as weak alias.
28458 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
28460 (setpayloadf128): Define as weak alias.
28461 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
28462 __setpayloadsigf128.
28463 (setpayloadsigf128): Define as weak alias.
28464 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
28466 (ufromfpf128): Define as weak alias.
28467 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
28469 (ufromfpxf128): Define as weak alias.
28470 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
28471 (fromfpf): Define as weak alias.
28472 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
28474 (fromfpxf): Define as weak alias.
28475 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
28476 __getpayloadf and define as weak alias.
28477 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
28478 __roundevenf and define as weak alias.
28479 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
28481 (setpayloadf): Define as weak alias.
28482 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
28484 (setpayloadsigf): Define as weak alias.
28485 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
28486 __totalorderf and define as weak alias.
28487 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
28488 Rename to __totalordermagf and define as weak alias.
28489 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
28491 (ufromfpf): Define as weak alias.
28492 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
28494 (ufromfpxf): Define as weak alias.
28495 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
28497 (fromfpl): Define as weak alias.
28498 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
28500 (fromfpxl): Define as weak alias.
28501 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
28502 to __getpayloadl and define as weak alias.
28503 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
28504 __roundevenl and define as weak alias.
28505 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
28507 (setpayloadl): Define as weak alias.
28508 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
28510 (setpayloadsigl): Define as weak alias.
28511 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
28512 to __totalorderl and define as weak alias.
28513 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
28514 Rename to __totalordermagl and define as weak alias.
28515 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
28517 (ufromfpl): Define as weak alias.
28518 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
28520 (ufromfpxl): Define as weak alias.
28521 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
28523 (fromfpl): Define as weak alias.
28524 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
28526 (fromfpxl): Define as weak alias.
28527 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
28528 Rename to __getpayloadl and define as weak alias.
28529 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
28530 to __roundevenl and define as weak alias. Call __roundeven
28531 instead of roundeven.
28532 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
28534 (setpayloadl): Define as weak alias.
28535 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
28537 (setpayloadsigl): Define as weak alias.
28538 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
28539 Rename to __totalorderl and define as weak alias.
28540 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
28541 Rename to __totalordermagl and define as weak alias.
28542 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
28544 (ufromfpl): Define as weak alias.
28545 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
28547 (ufromfpxl): Define as weak alias.
28548 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
28550 (fromfpl): Define as weak alias.
28551 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
28553 (fromfpxl): Define as weak alias.
28554 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
28555 __getpayloadl and define as weak alias.
28556 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
28557 __roundevenl and define as weak alias.
28558 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
28560 (setpayloadl): Define as weak alias.
28561 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
28563 (setpayloadsigl): Define as weak alias.
28564 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
28565 __totalorderl and define as weak alias.
28566 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
28567 Rename to __totalordermagl and define as weak alias.
28568 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
28570 (ufromfpl): Define as weak alias.
28571 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
28573 (ufromfpxl): Define as weak alias.
28575 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
28577 * benchtests/bench-string.h (realloc_bufs): New function.
28578 (test_init): Call it.
28579 * benchtests/bench-memset-large.c (do_test): Likewise.
28580 * benchtests/bench-memset.c (do_test): Likewise.
28582 * benchtests/bench-memset-large.c: Print output in JSON
28584 * benchtests/bench-memset.c: Likewise.
28586 2017-09-14 Mike FABIAN <mfabian@redhat.com>
28589 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
28590 * iconvdata/Makefile: Add IBM858.
28591 * iconvdata/gconv-modules: Likewise.
28592 * iconvdata/tst-tables.sh: Likewise.
28593 * iconvdata/ibm858.c: New file.
28594 * localedata/charmaps/IBM858: Likewise.
28596 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
28599 * locales/niu_NZ (LC_TIME): copy "niu_NU".
28600 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
28602 2017-09-14 Mike FABIAN <mfabian@redhat.com>
28605 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
28606 and add tel_int_fmt.
28608 2017-09-14 Joseph Myers <joseph@codesourcery.com>
28610 * sysdeps/generic/libm-alias-float128.h: New file.
28611 * sysdeps/generic/math-type-macros-float128.h: Include
28612 <libm-alias-float128.h>.
28613 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28615 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28617 * sysdeps/generic/libm-alias-ldouble.h: New file.
28618 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
28619 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
28620 * sysdeps/generic/math-type-macros-ldouble.h: Include
28621 <libm-alias-ldouble.h>.
28622 [!declare_mgen_alias] (declare_mgen_alias): Define to use
28623 libm_alias_ldouble.
28625 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
28627 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
28628 * math/w_exp_compat.c: ... here.
28629 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
28630 * math/w_expf_compat.c: ... here.
28631 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
28632 * math/w_expl_compat.c: ... here.
28633 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
28634 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
28635 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
28636 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
28638 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28640 * math/w_scalbln_template.c (strong_alias): Do not undefine and
28642 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
28644 (ldexpl): Only define as compat symbol for libc, not libm.
28645 (scalbnl): Define as compat symbol for libc here.
28646 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
28647 define for [IS_IN (libc)].
28648 (__ldexpl_2): Remove alias.
28649 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
28650 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
28651 name in long_double_symbol call.
28652 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
28653 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
28654 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
28655 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
28656 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
28658 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
28659 Define as compat symbol.
28661 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28663 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
28664 * sysdeps/unix/sysv/linux/alpha/Makefile
28665 [$(subdir) = csu] (sysdep_routines): Remove rule.
28667 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28669 * sysdeps/generic/libm-alias-double.h: New file.
28670 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
28671 * sysdeps/generic/math-type-macros-double.h: Include
28672 <libm-alias-double.h>.
28673 [declare_mgen_alias] (declare_mgen_alias): Define to use
28675 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
28676 (M_LIBM_NEED_COMPAT): Remove macro.
28677 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
28678 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
28679 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
28681 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28682 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28683 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28684 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28685 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28686 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28687 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28688 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28689 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28690 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28691 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28692 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28693 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28694 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28695 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28696 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28697 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28698 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28699 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28700 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28701 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28702 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28703 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28704 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28705 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28706 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28707 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28708 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
28709 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
28711 (declare_mgen_alias): New macro.
28712 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
28713 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
28714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
28715 (M_LIBM_NEED_COMPAT): Remove macro.
28716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
28717 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
28718 <first-versions.h>.
28719 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
28720 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
28722 2017-09-12 Joseph Myers <joseph@codesourcery.com>
28724 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
28725 (declare_mgen_alias_2): Remove.
28726 * sysdeps/generic/math-type-macros-double.h
28727 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
28729 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
28731 (ldexp): Define with declare_mgen_alias.
28732 (scalbn): Likewise.
28734 2017-09-12 Steve Ellcey <sellcey@cavium.com>
28736 * grp/initgroups.c: Include config.h.
28737 (DEFAULT_CONFIG): New macro.
28738 (internal_getgrouplist): Use DEFAULT_CONFIG.
28739 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28740 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
28741 (DEFAULT_DEFCONFIG): New macro.
28742 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
28743 * nss/grp-lookup.c: Include config.h
28744 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
28745 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
28746 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
28747 * manual/nss.texi: Update default values section.
28749 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
28752 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
28754 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
28755 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
28756 Handle MathVec_Prefer_No_AVX512.
28757 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
28758 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
28761 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
28763 * posix/sched_primax.c (__sched_get_priority_max): Add
28765 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
28766 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
28767 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
28768 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
28769 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
28770 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
28771 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
28772 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
28775 2017-09-11 Joseph Myers <joseph@codesourcery.com>
28777 * sysdeps/generic/libm-alias-float.h: New file.
28778 * sysdeps/generic/math-type-macros-float.h: Include
28779 <libm-alias-float.h>.
28780 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28782 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
28785 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
28786 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
28787 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
28788 (HWCAP_IMPORTANT): Likewise.
28789 (HWCAP_X86_64): New enum.
28790 (HWCAP_X86_AVX512_1): Updated.
28791 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
28792 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
28793 (modules-names): Add x86_64/tst-x86_64mod-1.
28794 (LDFLAGS-tst-x86_64mod-1.so): New.
28795 ($(objpfx)tst-x86_64-1): Likewise.
28796 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
28797 (tst-x86_64-1-clean): Likewise.
28798 * sysdeps/x86_64/tst-x86_64-1.c: New file.
28799 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
28801 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
28803 * po/sv.po: Update translations.
28804 * po/fr.po: Likewise.
28806 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28808 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
28810 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
28812 * elf/rtld-Rules: Fix $(error) use.
28814 2017-09-09 Mike FABIAN <mfabian@redhat.com>
28817 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
28818 * locale/iso-639.def: Change “Bengali” to “Bangla”.
28819 * localedata/locales/bn_BD: “Bengali” was still used in some
28820 comments. Change it to “Bangla”.
28822 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
28824 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
28826 2017-09-08 Steve Ellcey <sellcey@cavium.com>
28828 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
28829 thunderx2t99p1 to list of cpu names.
28830 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
28831 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
28833 2017-09-08 Steve Ellcey <sellcey@cavium.com>
28835 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
28836 Use strcmp instead of tunable_is_name.
28838 2017-09-08 Joseph Myers <joseph@codesourcery.com>
28840 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28841 (F_GET_RW_HINT): New macro.
28842 [__USE_GNU] (F_SET_RW_HINT): Likewise.
28843 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
28844 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
28845 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
28846 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
28847 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
28848 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
28849 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
28850 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
28852 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28853 (F_ADD_SEALS): New macro.
28854 [__USE_GNU] (F_GET_SEALS): Likewise.
28855 [__USE_GNU] (F_SEAL_SEAL): Likewise.
28856 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
28857 [__USE_GNU] (F_SEAL_GROW): Likewise.
28858 [__USE_GNU] (F_SEAL_WRITE): Likewise.
28860 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28862 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
28863 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
28864 * posix/glob_internal.h (__glob_pattern_type):
28865 * posix/glob.c (glob):
28866 * posix/glob_pattern_p.c (__glob_pattern_p):
28869 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
28870 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28871 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
28872 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
28873 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
28874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
28875 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
28876 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
28877 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
28878 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28879 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
28880 * sysdeps/wordsize-64/glob.c: Likewise.
28881 * sysdeps/wordsize-64/glob64.c: Likewise.
28882 * sysdeps/wordsize-64/globfree.c: Likewise.
28883 * sysdeps/wordsize-64/globfree64.c: Likewise.
28884 * sysdeps/unix/sysv/linux/glob.c: New file.
28885 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
28886 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
28887 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
28888 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
28889 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
28890 adds !GLOB_NO_OLD_VERSION as an extra condition.
28891 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
28892 using relative path instead of absolute one.
28893 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
28894 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28895 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28896 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
28897 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
28898 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
28901 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
28902 (glob): Use the same scratch buffer for both getlogin_r and
28903 getpwnam_r. Don’t require preallocation of the login name. This
28904 simplifies storage allocation, and corrects the handling of
28908 * posix/glob.c (glob): Port recent patches to platforms
28909 lacking getpwnam_r.
28910 (glob): Fix longstanding misuse of errno after getpwnam_r, which
28911 returns an error number rather than setting errno.
28913 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
28914 instead of GCC extension.
28915 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
28916 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
28917 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
28921 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
28922 * posix/bug-glob1.c: Remove file.
28923 * posix/tst-glob_symlinks.c: New file.
28924 * posix/glob.c (__lstat64): New macro.
28925 (is_dir): New function.
28926 (glob, glob_in_dir): Match symlinks even if they are dangling.
28927 (link_stat, link_exists_p): Remove. All uses removed.
28931 * posix/glob.c (struct readdir_result): Remove skip_entry member.
28932 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
28937 * posix/Makefile (routines): Add globfree, globfree64, and
28939 * posix/flexmember.h: New file.
28940 * posix/glob_internal.h: Likewise.
28941 * posix/glob_pattern_p.c: Likewise.
28942 * posix/globfree.c: Likewise.
28943 * posix/globfree64.c: Likewise.
28944 * sysdeps/gnu/globfree64.c: Likewise.
28945 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
28946 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
28947 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
28948 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
28949 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
28950 * sysdeps/wordsize-64/globfree.c: Likewise.
28951 * sysdeps/wordsize-64/globfree64.c: Likewise.
28952 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
28953 [NDEBUG): Remove comments.
28954 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
28955 (dirent_type): New type. Use uint_fast8_t not
28956 uint8_t, as C99 does not require uint8_t.
28957 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
28958 (struct readdir_result): Use dirent_type. Do not define skip_entry
28959 unless it is needed; this saves a byte on platforms lacking d_ino.
28960 (readdir_result_type, readdir_result_skip_entry):
28961 New functions, replacing ...
28962 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
28963 these functions, which were removed. This makes the callers
28964 easier to read. All callers changed.
28965 (D_INO_TO_RESULT): Now empty if there is no d_ino.
28966 (size_add_wrapv, glob_use_alloca): New static functions.
28967 (glob, glob_in_dir): Check for size_t overflow in several places,
28968 and fix some size_t checks that were not quite right.
28969 Remove old code using SHELL since Bash no longer
28971 (glob, prefix_array): Separate MS code better.
28972 (glob_in_dir): Remove old Amiga and VMS code.
28973 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
28975 (glob_in_dir): Do not rely on undefined behavior in accessing
28976 struct members beyond their bounds. Use a flexible array member
28978 (link_stat): Rename from link_exists2_p and return -1/0 instead of
28979 0/1. Caller changed.
28980 (glob): Fix memory leaks.
28981 * posix/glob64 (globfree64): Move to separate file.
28982 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
28983 (globfree64): Remove hidden alias.
28984 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
28986 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
28988 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
28990 Move compat code to separate file.
28991 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
28994 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
28996 * resolv/tst-resolv-qtypes.c (domain): Changed to
28997 "const char domain[] =".
28999 2017-09-07 Joseph Myers <joseph@codesourcery.com>
29001 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
29004 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
29005 (TCP_MD5SIG_EXT): Likewise.
29006 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
29007 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
29008 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
29010 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
29012 2017-09-07 Mike FABIAN <mfabian@redhat.com>
29014 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
29016 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
29019 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
29021 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
29023 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
29024 before assuming that the file is empty. Avoid testing buffer content
29027 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29030 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
29032 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
29034 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
29036 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
29038 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
29040 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
29042 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
29045 2017-09-06 Florian Weimer <fweimer@redhat.com>
29047 * malloc/dynarray_emplace_enlarge.c
29048 (__libc_dynarray_emplace_enlarge): Add missing else.
29050 2017-09-06 Florian Weimer <fweimer@redhat.com>
29053 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
29054 case of failure to obtain the global conf object.
29056 2017-09-06 Florian Weimer <fweimer@redhat.com>
29059 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
29060 dynarray allocation failure.
29062 2017-09-06 Florian Weimer <fweimer@redhat.com>
29064 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
29065 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
29066 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
29068 (response): Call them. Add 'p', '6' flag processing.
29069 (test_reverse): New function.
29070 (test_get2_any): Call it.
29071 (test_no_inet6): Add 'p' test.
29072 (test_inet6): Likewise.
29074 2017-09-06 Florian Weimer <fweimer@redhat.com>
29076 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
29077 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
29079 (test_gai): Adjust query names. Add additional tests.
29080 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
29081 test_get2. Adjust query names. Add additional tests.
29082 (test_no_inet6): New function, extracted from threadfunc.
29083 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
29084 Add additional tests.
29086 2017-09-06 Mike FABIAN <mfabian@redhat.com>
29089 * localedata/unicode-gen/utf8_gen.py: Set the width for
29090 characters with Prepended_Concatenation_Mark property to 1
29091 * localedata/charmaps/UTF-8: Updated using the improved script.
29093 2017-09-06 Mike FABIAN <mfabian@redhat.com>
29096 * localedata/unicode-gen/utf8_gen.py: Improve the script to
29097 use the range notation for all ranges of neighbouring characters
29098 with the same width.
29100 2017-09-05 Joseph Myers <joseph@codesourcery.com>
29102 * sysdeps/generic/math-type-macros-double.h: Include
29103 <math-svid-compat.h>.
29104 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29105 * sysdeps/generic/math-type-macros-float.h: Include
29106 <math-svid-compat.h>.
29107 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29108 * sysdeps/generic/math-type-macros-ldouble.h: Include
29109 <math-svid-compat.h>.
29110 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29111 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
29113 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
29114 * math/w_acosf_compat.c: Likewise.
29115 * math/w_acosh_compat.c: Likewise.
29116 * math/w_acoshf_compat.c: Likewise.
29117 * math/w_acoshl_compat.c: Likewise.
29118 * math/w_acosl_compat.c: Likewise.
29119 * math/w_asin_compat.c: Likewise.
29120 * math/w_asinf_compat.c: Likewise.
29121 * math/w_asinl_compat.c: Likewise.
29122 * math/w_atan2_compat.c: Likewise.
29123 * math/w_atan2f_compat.c: Likewise.
29124 * math/w_atan2l_compat.c: Likewise.
29125 * math/w_atanh_compat.c: Likewise.
29126 * math/w_atanhf_compat.c: Likewise.
29127 * math/w_atanhl_compat.c: Likewise.
29128 * math/w_cosh_compat.c: Likewise.
29129 * math/w_coshf_compat.c: Likewise.
29130 * math/w_coshl_compat.c: Likewise.
29131 * math/w_exp10_compat.c: Likewise.
29132 * math/w_exp10f_compat.c: Likewise.
29133 * math/w_exp10l_compat.c: Likewise.
29134 * math/w_exp2_compat.c: Likewise.
29135 * math/w_exp2f_compat.c: Likewise.
29136 * math/w_exp2l_compat.c: Likewise.
29137 * math/w_fmod_compat.c: Likewise.
29138 * math/w_fmodf_compat.c: Likewise.
29139 * math/w_fmodl_compat.c: Likewise.
29140 * math/w_hypot_compat.c: Likewise.
29141 * math/w_hypotf_compat.c: Likewise.
29142 * math/w_hypotl_compat.c: Likewise.
29143 * math/w_j0_compat.c: Likewise.
29144 * math/w_j0f_compat.c: Likewise.
29145 * math/w_j0l_compat.c: Likewise.
29146 * math/w_j1_compat.c: Likewise.
29147 * math/w_j1f_compat.c: Likewise.
29148 * math/w_j1l_compat.c: Likewise.
29149 * math/w_jn_compat.c: Likewise.
29150 * math/w_jnf_compat.c: Likewise.
29151 * math/w_jnl_compat.c: Likewise.
29152 * math/w_lgamma_r_compat.c: Likewise.
29153 * math/w_lgammaf_r_compat.c: Likewise.
29154 * math/w_lgammal_r_compat.c: Likewise.
29155 * math/w_log10_compat.c: Likewise.
29156 * math/w_log10f_compat.c: Likewise.
29157 * math/w_log10l_compat.c: Likewise.
29158 * math/w_log2_compat.c: Likewise.
29159 * math/w_log2f_compat.c: Likewise.
29160 * math/w_log2l_compat.c: Likewise.
29161 * math/w_log_compat.c: Likewise.
29162 * math/w_logf_compat.c: Likewise.
29163 * math/w_logl_compat.c: Likewise.
29164 * math/w_pow_compat.c: Likewise.
29165 * math/w_powf_compat.c: Likewise.
29166 * math/w_powl_compat.c: Likewise.
29167 * math/w_remainder_compat.c: Likewise.
29168 * math/w_remainderf_compat.c: Likewise.
29169 * math/w_remainderl_compat.c: Likewise.
29170 * math/w_sinh_compat.c: Likewise.
29171 * math/w_sinhf_compat.c: Likewise.
29172 * math/w_sinhl_compat.c: Likewise.
29173 * math/w_sqrt_compat.c: Likewise.
29174 * math/w_sqrtf_compat.c: Likewise.
29175 * math/w_sqrtl_compat.c: Likewise.
29176 * math/w_tgamma_compat.c: Likewise.
29177 * math/w_tgammaf_compat.c: Likewise.
29178 * math/w_tgammal_compat.c: Likewise.
29179 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
29180 [LIBM_SVID_COMPAT].
29181 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
29182 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
29183 [LIBM_SVID_COMPAT].
29184 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
29185 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
29186 [LIBM_SVID_COMPAT].
29187 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
29188 * sysdeps/i386/fpu/w_sqrt.c: New file.
29189 * sysdeps/ia64/fpu/w_acos.c: Likewise.
29190 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
29191 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
29192 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
29193 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
29194 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
29195 * sysdeps/ia64/fpu/w_asin.c: Likewise.
29196 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
29197 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
29198 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
29199 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
29200 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
29201 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
29202 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
29203 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
29204 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
29205 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
29206 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
29207 * sysdeps/ia64/fpu/w_exp.c: Likewise.
29208 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
29209 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
29210 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
29211 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
29212 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
29213 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
29214 * sysdeps/ia64/fpu/w_expf.c: Likewise.
29215 * sysdeps/ia64/fpu/w_expl.c: Likewise.
29216 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
29217 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
29218 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
29219 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
29220 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
29221 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
29222 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
29223 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
29224 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
29225 * sysdeps/ia64/fpu/w_log.c: Likewise.
29226 * sysdeps/ia64/fpu/w_log10.c: Likewise.
29227 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
29228 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
29229 * sysdeps/ia64/fpu/w_log2.c: Likewise.
29230 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
29231 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
29232 * sysdeps/ia64/fpu/w_logf.c: Likewise.
29233 * sysdeps/ia64/fpu/w_logl.c: Likewise.
29234 * sysdeps/ia64/fpu/w_pow.c: Likewise.
29235 * sysdeps/ia64/fpu/w_powf.c: Likewise.
29236 * sysdeps/ia64/fpu/w_powl.c: Likewise.
29237 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
29238 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
29239 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
29240 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
29241 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
29242 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
29243 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
29244 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
29245 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
29246 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
29247 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
29248 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
29249 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
29250 [LIBM_SVID_COMPAT].
29251 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
29252 * sysdeps/ieee754/k_standard.c: Likewise.
29253 * sysdeps/ieee754/k_standardf.c: Likewise.
29254 * sysdeps/ieee754/k_standardl.c: Likewise.
29255 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
29256 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
29257 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
29258 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
29259 long_double_symbol call on [LIBM_SVID_COMPAT].
29260 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
29261 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
29262 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
29263 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
29264 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
29265 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
29266 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
29267 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
29268 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
29269 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
29270 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
29271 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
29272 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
29273 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
29274 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
29275 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
29276 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
29277 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
29278 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
29279 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
29280 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
29281 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
29283 2017-09-05 Steve Ellcey <sellcey@cavium.com>
29285 * include/shlib-compat.h (TEST_COMPAT): New Macro.
29286 * malloc/tst-mallocstate.c: Convert from test-skeleton
29287 to test-driver. Ifdef code using TEST_COMPAT macro.
29288 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
29289 * math/test-matherr.c: Likewise.
29291 2017-09-05 Joseph Myers <joseph@codesourcery.com>
29294 * debug/pcprofiledump.c (main): Use byte-swapped mask when
29295 comparing word with byte-swapped constant.
29297 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
29300 * locale/iso-639.def: add Miskito.
29301 * localedata/SUPPORTED: Add miq_NI/UTF-8.
29302 * localedata/locales/miq_NI: New file.
29304 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
29307 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
29308 (__mkdir): Likewise.
29309 * io/chmod.c (__chmod): Add libc_hidden_def.
29310 * io/mkdir.c (__mkdir): Likewise.
29311 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
29312 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
29313 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
29314 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
29316 2017-09-04 Joseph Myers <joseph@codesourcery.com>
29318 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
29322 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
29323 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
29325 2017-09-04 Florian Weimer <fweimer@redhat.com>
29327 * math/math.h: Issue warning if log is defined.
29329 2017-09-04 Joseph Myers <joseph@codesourcery.com>
29331 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
29332 kernel version to 4.13.
29334 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
29336 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
29337 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
29339 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
29340 just <bits/types.h>.
29341 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
29342 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
29343 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
29344 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
29345 * misc/preadv2.c: Include <errno.h>.
29346 * misc/preadv64v2.c: Include <errno.h>.
29347 * misc/pwritev2.c: Include <errno.h>.
29348 * misc/pwritev64v2.c: Include <errno.h>.
29349 * sysdeps/posix/preadv2.c: Include <errno.h>.
29350 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
29351 Fix <unistd.h> inclusion.
29352 * sysdeps/posix/pwritev2.c: Include <errno.h>.
29353 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
29354 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
29355 __strtoul_internal): New functions.
29356 * sysdeps/posix/pause.c: Include <sigsetops.h>.
29357 * sysdeps/posix/system.c: Include <sigsetops.h>.
29358 * sysdeps/mach/hurd/i386/Makefile
29359 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
29360 [$(subdir) = csu] (sysdep-only-routines): Likewise.
29361 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
29362 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
29363 __feraiseexcept_renamed to feraiseexcept instead of
29364 __GI_feraiseexcept.
29365 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
29366 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
29367 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
29368 RWF_NOWAIT): Define to 0 if undefined already.
29369 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
29371 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
29372 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
29374 2017-09-01 Joseph Myers <joseph@codesourcery.com>
29376 * manual/math.texi (pow10): Do not document.
29377 (pow10f): Likewise.
29378 (pow10l): Likewise.
29379 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
29380 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
29381 * math/libm-test-exp10.inc (pow10_test): Remove.
29382 (do_test): Do not call pow10.
29383 * math/w_exp10_compat.c (pow10): Make into compat symbol.
29384 [NO_LONG_DOUBLE] (pow10l): Likewise.
29385 * math/w_exp10f_compat.c (pow10f): Likewise.
29386 * math/w_exp10l_compat.c (pow10l): Likewise.
29387 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
29388 (pow10): Make into compat symbol.
29389 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
29390 (pow10f): Make into compat symbol.
29391 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
29392 (pow10l): Make into compat symbol.
29393 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
29395 (CFLAGS-nldbl-pow10.c): Remove variable..
29396 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
29397 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
29398 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
29399 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
29400 Undefine and redefine.
29401 (pow10l): Make into compat symbol.
29402 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
29403 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
29404 * sysdeps/arm/libm-test-ulps: Likewise.
29405 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
29406 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
29407 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29408 * sysdeps/microblaze/libm-test-ulps: Likewise.
29409 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
29410 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29411 * sysdeps/nios2/libm-test-ulps: Likewise.
29412 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29413 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
29414 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29415 * sysdeps/sh/libm-test-ulps: Likewise.
29416 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29417 * sysdeps/tile/libm-test-ulps: Likewise.
29418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29420 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
29422 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
29424 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29426 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
29427 "../ChangeLog.old/ChangeLog.8".
29428 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
29429 "../ChangeLog.old/ChangeLog.14".
29431 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29433 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
29436 2017-09-01 Joseph Myers <joseph@codesourcery.com>
29438 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
29440 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29442 * csu/version.c (banner): Remove "by Roland McGrath et al.".
29443 * nptl/Banner: Remove "by Ulrich Drepper et al.".
29445 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
29447 * stdlib/tst-atexit-common.c (do_test): Test support for at least
29448 32 atexit handlers.
29450 2017-09-01 Zack Weinberg <zackw@panix.com>
29452 * math/math.h (HUGE_VAL): Improve commentary.
29454 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29455 Andreas Schwab <schwab@suse.de>
29458 * include/stdio.h (__gen_tempfd): New function.
29459 * stdio-common/Makefile (routines): Add gentempfd.
29460 * stdio-common/gentempfd.c: New file.
29461 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
29462 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
29463 unnamed file first.
29465 2017-09-01 Florian Weimer <fweimer@redhat.com>
29469 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
29470 result to determine success or failure, not the errno value.
29471 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
29472 (tst-nss-files-hosts-erange): Link with -ldl.
29473 * nss/tst-nss-files-hosts-erange.c: New file.
29474 * nss/tst-resolv-basic.c (response): Handle nodata.example.
29475 (do_test): Add NO_DATA tests.
29476 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
29477 (do_test): Call it.
29479 2017-09-01 Florian Weimer <fweimer@redhat.com>
29482 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
29483 coming from gethostbyname2_r.
29485 2017-09-01 Florian Weimer <fweimer@redhat.com>
29487 * support/namespace.h (struct support_chroot_configuration): Add
29489 (struct support_chroot): Add path_hosts, path_host_conf.
29490 * support/support_chroot.c (write_file): New function.
29491 (support_chroot_create): Call it to process /etc/resolv.conf,
29492 /etc/hosts, /etc/host.conf.
29493 (support_chroot_free): Update.
29495 2017-09-01 Florian Weimer <fweimer@redhat.com>
29497 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
29498 status indicates it is set.
29500 2017-09-01 Florian Weimer <fweimer@redhat.com>
29503 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
29504 function lookup failures more reliable.
29506 2017-09-01 Florian Weimer <fweimer@redhat.com>
29508 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
29509 (getcanonname): Likewise.
29510 (gaih_inet): Likewise.
29512 2017-09-01 Florian Weimer <fweimer@redhat.com>
29514 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
29515 (getcanonname): Likewise.
29516 (gaih_inet): Likewise.
29518 2017-08-31 Steve Ellcey <sellcey@cavium.com>
29519 Richard Henderson <rth@twiddle.net>
29521 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
29522 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
29523 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
29524 (IREG_SIZE, OREG_SIZE): New macros.
29525 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
29526 (IREG_SIZE, OREG_SIZE): New macros.
29527 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
29528 (IREG_SIZE): New macro.
29529 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
29530 (IREG_SIZE): New macro.
29531 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
29533 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
29534 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
29535 (__CONCATX): Handle exceptions correctly on large values that may
29537 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
29538 Initialize if not already set.
29539 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
29541 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29543 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
29544 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
29546 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
29548 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
29550 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
29552 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
29554 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
29556 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
29558 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
29559 (NO_CANCELLATION): Likewise.
29560 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
29562 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
29564 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
29566 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
29567 (NO_CANCELLATION): Likewise.
29568 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
29569 (NO_CANCELLATION): Likewise.
29570 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
29572 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
29574 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
29576 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
29578 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
29580 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
29581 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
29583 2017-08-31 Steve Ellcey <sellcey@cavium.com>
29585 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
29588 2017-08-31 Florian Weimer <fweimer@redhat.com>
29590 * include/libc-symbols.h (internal_function): Remove.
29592 2017-08-31 Florian Weimer <fweimer@redhat.com>
29594 * stdlib/fmtmsg.c (internal_addseverity): Remove
29597 2017-08-31 Florian Weimer <fweimer@redhat.com>
29599 * stdio-common/printf_fp.c (group_number): Remove
29601 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
29603 2017-08-31 Florian Weimer <fweimer@redhat.com>
29605 * posix/fnmatch.c (internal_function): Remove definition.
29606 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
29607 * posix/regcomp.c (peek_token, init_word_char)
29608 (duplicate_node_closure, fetch_token, peek_token)
29609 (peek_token_bracket, build_range_exp, build_collating_symbol):
29611 * posix/regex_internal.c (re_string_construct_common)
29612 (create_ci_newstate, create_cd_newstate, re_string_allocate)
29613 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
29614 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
29615 (re_string_translate_buffer, re_string_reconstruct)
29616 (re_string_peek_byte_case, re_string_fetch_byte_case)
29617 (re_string_destruct, re_string_context_at, re_node_set_alloc)
29618 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
29619 (re_node_set_add_intersect, re_node_set_init_union)
29620 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
29621 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
29622 (re_dfa_add_node, calc_state_hash, re_acquire_state)
29623 (re_acquire_state_context): Likewise.
29624 * posix/regex_internal.h (internal_function): Remove definition.
29625 (re_string_realloc_buffers, build_wcs_buffer)
29626 (build_wcs_upper_buffer, build_upper_buffer)
29627 (re_string_translate_buffer, re_string_context_at)
29628 (re_string_char_size_at, re_string_wchar_at)
29629 (re_string_elem_size_at): Likewise.
29630 * posix/regexec.c (match_ctx_init, match_ctx_clean)
29631 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
29632 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
29633 (re_search_internal, re_search_2_stub, re_search_stub)
29634 (re_copy_regs, prune_impossible_nodes, check_matching)
29635 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
29636 (free_fail_stack_return, sift_states_iter_mb)
29637 (sift_states_backward, build_sifted_states)
29638 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
29639 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
29640 (check_subexp_limits, sift_states_bkref, merge_state_array)
29641 (find_recover_state, transit_state, merge_state_with_log)
29642 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
29643 (transit_state_mb, transit_state_bkref, get_subexp)
29644 (get_subexp_sub, find_subexp_node, check_arrival)
29645 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
29646 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
29647 (check_node_accept_bytes, find_collation_sequence_value)
29648 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
29649 (acquire_init_state_context, check_halt_node_context)
29650 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
29651 (sub_epsilon_src_nodes): Likewise.
29652 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
29653 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
29654 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
29655 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
29656 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
29657 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
29658 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
29659 * sysdeps/posix/ttyname.c (getttyname): Likewise.
29660 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
29661 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
29662 (PREADV): Likewise.
29663 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
29664 (PREADV): Likewise.
29665 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
29666 (PWRITEV): Likewise.
29667 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
29668 (PWRITEV): Likewise.
29669 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
29670 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
29672 2017-08-31 Florian Weimer <fweimer@redhat.com>
29674 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
29675 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
29676 Remove internal_function.
29677 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
29678 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
29679 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
29680 (__deallocate_stack, __libc_pthread_init)
29681 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
29682 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
29683 (__libc_disable_asynccancel, __librt_disable_asynccancel):
29685 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
29686 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
29687 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
29689 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
29690 (__pthread_mutex_unlock_usercnt): Likewise.
29692 2017-08-31 Florian Weimer <fweimer@redhat.com>
29694 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
29695 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
29696 (fts_safe_changedir): Remove internal_function.
29697 * io/ftw.c (internal_function): Remove definition.
29698 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
29700 2017-08-31 Florian Weimer <fweimer@redhat.com>
29702 * inet/deadline.c (__deadline_current_time)
29703 (__deadline_from_timeval, __deadline_to_ms): Remove
29705 * inet/getnameinfo.c (nrl_domainname): Likewise.
29706 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
29707 * inet/inet6_option.c (add_pad): Likewise.
29708 * inet/net-internal.h (__deadline_current_time)
29709 (__deadline_from_timeval, __deadline_to_ms): Likewise.
29710 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
29711 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
29712 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
29714 2017-08-31 Joseph Myers <joseph@codesourcery.com>
29716 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
29717 include <bits/nan.h>.
29718 * math/Makefile (headers): Remove bits/nan.h.
29719 * bits/nan.h: Remove.
29720 * sysdeps/ieee754/bits/nan.h: Likewise.
29721 * sysdeps/mips/bits/nan.h: Likewise.
29723 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
29724 not include <bits/inf.h>.
29725 * math/Makefile (headers): Remove bits/inf.h.
29726 * bits/inf.h: Remove.
29727 * sysdeps/ieee754/bits/inf.h: Likewise.
29729 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
29730 bits/huge_vall.h or bits/huge_val_flt128.h.
29731 (HUGE_VAL): Define directly here.
29732 [__USE_ISOC99] (HUGE_VALF): Likewise.
29733 [__USE_ISOC99] (HUGE_VALL): Likewise.
29734 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29735 (HUGE_VAL_F128): Likewise.
29736 * math/Makefile (headers): Remove bits/huge_val.h,
29737 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
29738 * bits/huge_val.h: Remove.
29739 * bits/huge_val_flt128.h: Likewise.
29740 * bits/huge_valf.h: Likewise.
29741 * bits/huge_vall.h: Likewise.
29742 * sysdeps/ia64/bits/huge_vall.h: Likewise.
29743 * sysdeps/ieee754/bits/huge_val.h: Likewise.
29744 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
29745 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
29746 * sysdeps/sh/bits/huge_val.h: Likewise.
29747 * sysdeps/sparc/bits/huge_vall.h: Likewise.
29748 * sysdeps/x86/bits/huge_vall.h: Likewise.
29750 2017-08-31 Florian Weimer <fweimer@redhat.com>
29752 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
29754 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
29756 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
29757 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
29758 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
29759 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
29760 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29761 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
29762 * elf/dl-libc.c (dlerror_run): Likewise.
29763 * elf/dl-load.c (add_name_to_object, decompose_rpath)
29764 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
29765 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
29766 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
29768 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
29769 (_dl_higher_prime_number, _dl_strtoul): Likewise.
29770 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
29771 * elf/dl-profile.c (_dl_start_profile): Likewise.
29772 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
29773 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
29775 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
29776 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
29777 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
29778 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
29779 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
29780 (_dl_allocate_tls_storage): Likewise.
29781 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
29782 (_dl_check_all_versions): Likewise.
29783 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
29784 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
29785 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
29786 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29787 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
29788 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
29789 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
29790 internal_function from __dl_start.
29791 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
29792 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
29793 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
29794 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
29795 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
29796 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
29797 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
29798 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
29799 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
29800 (_dl_next_ld_env_entry, _dl_important_hwcaps)
29801 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
29802 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
29803 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
29804 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
29805 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
29807 (struct rtld_global_ro): Remove internal_function from the
29808 _dl_lookup_symbol_x member.
29809 (_dl_symbol_value): Remove. No longer defined anywhere.
29810 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
29812 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29813 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
29814 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
29815 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
29816 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
29817 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
29818 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
29819 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
29820 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
29821 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
29822 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29823 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
29825 2017-08-31 Florian Weimer <fweimer@redhat.com>
29827 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
29828 Remove internal_function.
29829 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29831 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29834 2017-08-31 Florian Weimer <fweimer@redhat.com>
29836 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
29837 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
29838 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
29840 2017-08-31 Florian Weimer <fweimer@redhat.com>
29842 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
29843 (__gai_enqueue_request): Remove internal_function.
29844 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
29845 (__gai_remove_request, __gai_notify, __gai_notify_only)
29846 (__gai_sigqueue): Likewise.
29847 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
29848 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
29849 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
29850 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29853 2017-08-31 Florian Weimer <fweimer@redhat.com>
29855 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
29856 * include/dirent.h (__opendirat, __getdents, __getdents64)
29857 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
29858 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
29859 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
29860 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
29862 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
29864 2017-08-31 Florian Weimer <fweimer@redhat.com>
29866 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
29868 (GETCWD_RETURN_TYPE): Likewise.
29870 2017-08-31 Florian Weimer <fweimer@redhat.com>
29872 * include/time.h (__tz_compute, __strptime_internal): Remove
29874 * time/strptime_l.c (__strptime_internal): Likewise.
29875 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
29877 2017-08-31 Florian Weimer <fweimer@redhat.com>
29879 * iconv/gconv.c (__gconv): Remove internal_function.
29880 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
29881 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
29882 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
29883 (__gconv_release_cache): Likewise.
29884 * iconv/gconv_close.c (__gconv_close): Likewise.
29885 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
29886 (read_conf_file, __gconv_get_path): Likewise.
29887 * iconv/gconv_db.c (derivation_lookup, add_derivation)
29888 (__gconv_release_step, gen_steps, increment_counter)
29889 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
29890 (__gconv_close_transform, free_modules_db): Likewise.
29891 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
29893 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
29894 (__gconv_find_transform, __gconv_lookup_cache)
29895 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
29896 (__gconv_close_transform, __gconv_release_cache)
29897 (__gconv_loaded_object, __gconv_release_shlib)
29898 (__gconv_compare_alias): Likewise.
29899 * iconv/gconv_open.c (__gconv_open): Likewise.
29900 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
29901 * iconv/iconvconfig.c (add_module): Likewise.
29902 * intl/dcigettext.c (plural_lookup, guess_category_value)
29903 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
29904 * intl/eval-plural.h (plural_eval): Likewise.
29905 * intl/finddomain.c (_nl_find_domain): Likewise.
29906 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
29907 (_nl_load_domain, _nl_find_msg): Likewise.
29908 (internal_function): Remove definition.
29909 * intl/loadinfo.h (internal_function): Likewise.
29910 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
29912 * intl/localealias.c (internal_function): Remove definition.
29913 (read_alias_file): Remove internal_function.
29914 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
29915 * intl/plural-exp.h (internal_function): Remove definition.
29916 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
29918 * intl/plural.c: Regenerate.
29919 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
29920 * locale/coll-lookup.c (__collidx_table_lookup)
29921 (__collseq_table_lookup): Likewise.
29922 * locale/coll-lookup.h (__collidx_table_lookup)
29923 (__collseq_table_lookup): Likewise.
29924 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
29925 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29926 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
29927 (_nl_unload_locale): Likewise.
29928 * locale/localeinfo.h (struct __locale_data): Remove
29929 internal_function from cleanup member.
29930 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
29931 (_nl_remove_locale, _nl_load_locale_from_archive)
29932 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
29933 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
29934 (_nl_cleanup_time): Remove internal_function.
29935 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
29936 (_nl_parse_alt_digit): Likewise.
29937 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
29938 (_nl_select_era_entry): Likewise.
29939 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
29940 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
29941 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
29942 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
29943 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
29945 2017-08-31 Florian Weimer <fweimer@redhat.com>
29947 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
29948 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
29949 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
29950 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
29952 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
29953 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
29954 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
29955 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
29957 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
29959 2017-08-31 Florian Weimer <fweimer@redhat.com>
29961 * misc/getttyent.c (skip, value): Remove internal_function.
29962 * misc/syslog.c (openlog_internal): Likewise.
29963 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
29965 2017-08-31 Florian Weimer <fweimer@redhat.com>
29967 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
29968 (__nss_rewrite_field): Remove internal_function.
29969 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29970 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
29971 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
29972 * nss/nsswitch.c (nss_parse_file, nss_getline)
29973 (nss_parse_service_list, nss_new_service): Likewise.
29974 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
29975 * nss/valid_field.c (__nss_valid_field): Likewise.
29976 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
29978 2017-08-31 Florian Weimer <fweimer@redhat.com>
29980 * malloc/arena.c (__malloc_fork_lock_parent)
29981 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
29982 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
29983 internal_function from defintions.
29984 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
29985 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
29986 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
29987 internal_function from declarations.
29988 * malloc/malloc.c (internal_function): Do not define.
29989 (mem2mem_check): Remove internal_function from declaration.
29990 (munmap_chunk, mremap_chunk): Remove internal_function.
29991 * malloc/mtrace.c (tr_where): Likewise.
29993 2017-08-31 Florian Weimer <fweimer@redhat.com>
29995 * include/rpc/pmap_clnt.h (__get_socket): Remove
29997 * sunrpc/auth_des.c (synchronize): Likewise.
29998 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
29999 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
30000 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
30001 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
30002 (key_call): Likewise.
30003 * sunrpc/pm_getport.c (__get_socket): Likewise.
30004 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
30005 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
30006 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
30007 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
30008 (invalidate): Likewise.
30009 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
30010 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
30011 (set_input_fragment, get_input_bytes): Likewise.
30013 2017-08-31 Florian Weimer <fweimer@redhat.com>
30015 * malloc/malloc.c (_int_free): Remove locked variable and related
30018 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
30021 * Makerules (build-module-helper-objlist): Filter out
30022 $(elf-objpfx)sofini.os.
30023 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
30026 2017-08-31 Florian Weimer <fweimer@redhat.com>
30028 * libio/fcloseall.c: Assume weak_alias is defined.
30029 * libio/feof.c: Likewise.
30030 * libio/fileno.c: Likewise.
30031 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
30032 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
30034 (_IO_file_open): Call __open directly.
30035 (_IO_new_file_sync): Assume ESPIPE is defined.
30036 (_IO_file_seekoff_maybe_mmap): Call __read directly.
30037 (_IO_new_file_write): Call __write directly.
30038 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
30039 * libio/ftello64.c (__ftello64): Assume EIO is defined.
30040 * libio/genops.c: Assume _LIBC is defined.
30041 (save_for_backup): Remove internal_function.
30042 * libio/getc.c: Assume weak_alias is defined.
30043 * libio/getwc.c: Likewise.
30044 * libio/iofclose.c: Assume _LIBC is defined.
30045 * libio/iofdopen.c: Likewise.
30046 (_IO_fcntl): Remove macro definition.
30047 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
30048 Call __fcntl directly.
30049 * libio/iofflush.c: Assume weak_alias is defined.
30050 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
30052 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
30053 * libio/iofgets.c: Likewise.
30054 * libio/iofopen.c: Assume _LIBC is defined.
30055 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
30056 * libio/iofputs.c: Assume weak_alias is defined.
30057 * libio/iofread.c: Likewise.
30058 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
30059 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
30060 * libio/ioftell.c: Assume weak_alias is defined.
30061 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
30062 * libio/iofwide.c: Assume _LIBC is defined.
30063 (_IO_fwide): Drop SHARED conditional because it is implied by
30065 * libio/iofwrite.c: Assume weak_alias is defined.
30066 * libio/iogetdelim.c: Likewise.
30067 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
30068 * libio/iogetwline.c (wmemcpy): Remove macro definition.
30069 (_IO_getwline): Call __wmemcpy directly.
30070 * libio/iopopen.c: Assume _LIBC is defined.
30071 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
30072 (_IO_close): Remove macro definitions.
30073 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
30075 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
30077 * libio/ioputs.c: Assume weak_alias is defined.
30078 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
30079 * libio/iosetbuffer.c: Assume weak_alias is defined.
30080 * libio/iosetvbuf.c: Likewise.
30081 * libio/ioungetc.c: Likewise.
30082 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
30083 libc_hidden_def, libc_hidden_weak, NULL are defined.
30084 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
30085 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
30087 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
30089 (_IO_old_file_init_internal): Drop SHARED conditional because it
30090 is implied by SHLIB_COMPAT.
30091 (_IO_old_file_fopen): Call __open directly.
30092 (_IO_old_file_sync): Assume ESPIPE is defined.
30093 (_IO_old_file_write): Call __write directly.
30094 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
30095 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
30096 Call __fcntl directly.
30097 * libio/oldiofgetpos.c: Assume weak_alias is defined.
30098 (_IO_old_fgetpos): Assume EIO is defined.
30099 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
30100 (_IO_old_fgetpos64): Assume EIO is defined.
30101 * libio/oldiofsetpos.c: Assume weak_alias is defined.
30102 (_IO_old_fsetpos): Assume EIO is defined.
30103 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
30104 (_IO_old_fsetpos64): Assume EIO is defined.
30105 * libio/oldiopopen.c: Assume _LIBC is defined.
30106 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
30107 (_IO_close): Remove macro definitions.
30108 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
30110 (_IO_old_proc_close): Call __close, __waitpid directly.
30111 * libio/put.c: Assume weak_alias is defined.
30112 * libio/stdfiles.c: Assume _LIBC is defined.
30113 * libio/stdio.c: Likewise.
30114 * libio/wfileops.c: Likewise.
30115 (_IO_wfile_sync): Assume ESPIPE is defined.
30116 * libio/wgenops.c: Assume _LIBC is defined.
30117 (save_for_wbackup): Remove internal_function.
30119 2017-08-31 Florian Weimer <fweimer@redhat.com>
30121 * malloc/malloc.c (top_check): Change return type to void. Remove
30123 * malloc/hooks.c (top_check): Likewise.
30124 (malloc_check, realloc_check, memalign_check): Adjust.
30126 2017-08-30 Joseph Myers <joseph@codesourcery.com>
30129 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
30130 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
30131 sigcontext and namespace requirements.
30132 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
30133 * sysdeps/m68k/sys/ucontext.h: Likewise.
30134 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
30135 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
30136 <bits/sigcontext.h>.
30137 (__ctx): Define earlier.
30138 (mcontext_t): Define structure contents rather than using struct
30140 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
30141 __glibc_reserved1 instead of __reserved.
30142 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
30143 <bits/sigcontext.h>.
30144 (__ctx): Define earlier.
30145 (mcontext_t): Define structure contents rather than using struct
30147 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
30148 mcontext_t instead of struct sigcontext.
30149 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
30150 <bits/sigcontext.h>.
30151 (__ctx): Define earlier.
30152 (mcontext_t): Define structure contents rather than using struct
30154 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
30155 <bits/sigcontext.h>.
30156 (__ctx): Define earlier.
30157 (mcontext_t): Define structure contents rather than using struct
30159 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
30160 mcontext_t instead of struct sigcontext.
30161 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
30162 mcontext_t instead of struct sigcontext.
30163 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
30164 <bits/sigcontext.h>.
30165 (__ctx): New macro.
30166 (struct __ia64_fpreg_mcontext): New type.
30167 (mcontext_t): Define structure contents rather than using struct
30169 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
30170 (uc_sigmask): Define using __ctx.
30171 (uc_stack): Likewise.
30172 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
30173 <bits/sigcontext.h>.
30174 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30175 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
30176 <bits/sigcontext.h>.
30177 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
30178 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
30179 <bits/sigcontext.h>.
30180 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
30181 <bits/sigcontext.h>.
30182 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
30183 <bits/sigcontext.h>.
30184 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
30185 <bits/sigcontext.h>.
30186 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
30187 <bits/sigcontext.h>.
30188 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
30189 <bits/sigcontext.h>.
30190 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
30191 <bits/sigcontext.h>.
30192 (__ctx): Define earlier.
30193 (mcontext_t): Define structure contents rather than using struct
30195 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
30196 <bits/sigcontext.h>. Include <bits/types.h>.
30197 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
30198 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
30199 (test-xfail-XPG42/ucontext.h/conform): Likewise.
30200 (test-xfail-UNIX98/signal.h/conform): Likewise.
30201 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
30202 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
30203 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
30204 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
30205 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
30206 (test-xfail-POSIX2008/signal.h/conform): Likewise.
30207 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
30208 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
30209 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
30211 2017-08-30 Florian Weimer <fweimer@redhat.com>
30213 * malloc/dynarray_emplace_enlarge.c
30214 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
30215 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
30216 * malloc/tst-dynarray.c (test_long_overflow): New function.
30217 (do_test): Call it.
30219 2017-08-30 Florian Weimer <fweimer@redhat.com>
30221 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
30222 (set_arena_corrupt): Remove definitions.
30223 (mtrim): Do not check for corrupt arena.
30224 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
30227 2017-08-30 Florian Weimer <fweimer@redhat.com>
30230 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
30232 (ptmalloc_init): Do not set or use check_action.
30233 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
30234 call to malloc_printerr. Remove return statement.
30235 (free_check): Likewise. Remove arena unlock.
30236 (top_check): Update comment. Adjust call to malloc_printerr.
30237 Remove heap repair code.
30238 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
30239 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
30240 (sysmalloc): Adjust call to malloc_printerr.
30241 (munmap_chunk, __libc_realloc): Likewise. Remove return
30243 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
30244 Remove errout label and corresponding gotos.
30245 (_int_free): Likewise. Remove arena unlock.
30246 (do_set_mallopt_check): Do not set check_action.
30247 (malloc_printerr): Adjust parameter list. Do not mark arena as
30249 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
30251 * manual/probes.texi (Memory Allocation Probes): Remove
30252 memory_mallopt_check_action.
30254 2017-08-30 Steve Ellcey <sellcey@cavium.com>
30256 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
30257 Use pointer to uint64_t instead of long int for sp.
30259 2017-08-30 Florian Weimer <fweimer@redhat.com>
30262 * malloc/malloc.c (malloc_printerr): Always terminate the process,
30263 without printing a backtrace. Do not leak any information in the
30265 * manual/memory.texi (Heap Consistency Checking): Update.
30266 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
30268 2017-08-30 Florian Weimer <fweimer@redhat.com>
30270 Do not scale NPTL tests with available number of CPUs.
30271 * nptl/tst-cond16.c (count): Set to constant value of 8.
30272 * nptl/tst-cond18.c (count): Likewise.
30274 2017-08-29 Joseph Myers <joseph@codesourcery.com>
30277 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
30278 Define to take a second argument that is a macro that
30279 concatentates a suffix, not the suffix itself.
30280 (__CONCAT_d): New macro.
30281 (__CONCAT_f): Likewise.
30282 (__CONCAT_l): Likewise.
30284 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
30286 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
30289 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30290 Aurelien Jarno <aurelien@aurel32.net>
30291 Maciej W. Rozycki <macro@imgtec.com>
30294 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
30295 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
30296 `mips16-syscall6' and `mips16-syscall7'.
30297 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
30298 (CFLAGS-mips16-syscall7.c): Remove.
30299 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
30300 Remove `__mips16_syscall5', `__mips16_syscall6' and
30301 `__mips16_syscall7'.
30302 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
30303 (__mips16_syscall0): Rename `__mips16_syscall_return' to
30304 `__mips_syscall_return'.
30305 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
30306 (__mips16_syscall1): Likewise.
30307 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
30308 (__mips16_syscall2): Likewise.
30309 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
30310 (__mips16_syscall3): Likewise.
30311 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
30312 (__mips16_syscall4): Likewise.
30313 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
30315 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
30317 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
30319 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
30320 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
30321 `__mips16_syscall5'. Remove prototype.
30322 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
30323 `__mips16_syscall6'. Remove prototype.
30324 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
30325 `__mips16_syscall7'. Remove prototype.
30326 (__nomips16, __mips16_syscall_return): Move to...
30327 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
30328 (__nomips16, __mips_syscall_return): ... here.
30329 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
30330 `__mips16_syscall_return' to `__mips_syscall_return'.
30331 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
30332 `internal_syscall##nr'.
30333 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
30334 `internal_syscall##nr'.
30335 (FORCE_FRAME_POINTER): Remove.
30336 (__mips_syscall5): New prototype.
30337 (internal_syscall5): Rewrite to call `__mips_syscall5'.
30338 (__mips_syscall6): New prototype.
30339 (internal_syscall6): Rewrite to call `__mips_syscall6'.
30340 (__mips_syscall7): New prototype.
30341 (internal_syscall7): Rewrite to call `__mips_syscall7'.
30342 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
30343 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
30344 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
30345 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
30346 (sysdep_routines): Add libc-do-syscall.
30347 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
30348 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
30350 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30353 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
30354 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
30355 (advise_stack_range): New function.
30356 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
30357 stack non required to advise_stack_range at allocatestack.c
30359 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30361 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
30363 2017-08-29 Florian Weimer <fweimer@redhat.com>
30366 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
30367 __end_fct. Mangle __end_fct after setting it to NULL.
30368 * iconv/Makefile (tests): Add tst-gconv-init-failure.
30369 (modules-names, modules-names-tests): Add
30370 tst-gconv-init-failure-mod.
30371 (gconv-modules): New target.
30372 (tst-gconv-init-failure-mod.so): Link against libsupport.
30373 (tst-gconv-init-failure): Depend on gconv-modules,
30374 tst-gconv-init-failure-mod.so.
30375 * iconv/tst-gconv-init-failure-mod.c: New file.
30376 * iconv/tst-gconv-init-failure.c: Likewise.
30377 * iconv/test-gconv-modules: Likewise.
30379 2017-08-29 Florian Weimer <fweimer@redhat.com>
30382 * iconv/gconv_db.c (free_derivation): Remove redundant
30384 (gen_steps): Unconditionally mangle __btowc_fct after
30386 (increment_counter): Likewise. Do not call init_fct for internal
30389 2017-08-29 Joseph Myers <joseph@codesourcery.com>
30392 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
30393 (_MSUF_): Remove macro.
30394 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
30396 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
30397 (__REDIRFROM_X): New macro.
30398 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
30400 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
30401 (__REDIRTO_X): Likewise.
30402 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
30404 (__MATH_REDIRCALL_2): Likewise.
30405 (__MATH_REDIRCALL_INTERNAL): Likewise.
30406 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30407 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
30408 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
30409 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30410 * math/test-finite-macros.c: New file.
30411 * math/Makefile (tests): Add test-finite-macros.
30412 (CFLAGS-test-finite-macros.c): New variable.
30414 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
30415 Jeff Law <law@redhat.com>
30418 Mangle NULL pointers in iconv/gconv.
30419 * iconv/gconv_cache.c (find_module): Demangle init_fct before
30420 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
30421 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
30422 is non-NULL before demangling the end_fct. Check for NULL
30423 end_fct after demangling.
30424 (__gconv_release_step): Demangle the end_fct before checking
30425 it for NULL. Remove assert on __shlibc_handle != NULL.
30426 (gen_steps): Don't check btowc_fct for NULL before mangling.
30427 Demangle init_fct before checking for NULL.
30428 (increment_counter): Likewise.
30429 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
30430 end_fct for NULL before mangling.
30431 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
30434 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
30437 * locale/iso-639.def: add Morisyen.
30439 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30442 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
30443 (iszero): New C++ implementation that does not use
30444 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
30445 signaling nans are enabled, since __builtin_types_compatible_p
30446 is a C-only feature.
30447 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
30448 defined, include ieee754_float128.h for access to the union and
30449 member ieee854_float128.ieee.
30450 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
30451 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
30452 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
30453 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
30454 options of test-math-zero on powerpc64le.
30456 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
30458 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
30459 Change double to float.
30461 2017-08-28 Joseph Myers <joseph@codesourcery.com>
30463 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
30465 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
30466 conditional code; define contents only for [LIBM_SVID_COMPAT].
30468 2017-08-28 Florian Weimer <fweimer@redhat.com>
30470 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
30471 (abi-lp64_be-options): Remove.
30472 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
30473 (abi-hard-options): Likewise.
30474 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
30475 (abi-o32_hard-options, abi-o32_soft_2008-options)
30476 (abi-o32_hard_2008-options, abi-n32_soft-options)
30477 (abi-n32_hard-options, abi-n32_soft_2008-options)
30478 (abi-n32_hard_2008-options, abi-n64_soft-options)
30479 (abi-n64_hard-options, abi-n64_soft_2008-options)
30480 (abi-n64_hard_2008-options): Likewise.
30481 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
30482 (abi-64-v1-options, abi-64-v2-options): Likewise.
30483 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
30484 (abi-64-options): Likewise.
30485 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
30486 (abi-64-options): Likewise.
30487 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
30488 (abi-64-options): Likewise.
30489 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
30490 (abi-64-options, abi-x32-options): Likewise.
30492 2017-08-28 Florian Weimer <fweimer@redhat.com>
30494 Store supported list of SYS_* system calls in the source tree.
30495 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
30496 (bits/syscall.h): Generate from list file.
30497 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
30498 [$(subdir) = misc] (tests): Add tst-syscall-list.
30499 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
30500 [$(subdir) = misc] (tst-syscall-list-macros.list)
30501 [$(subdir) = misc] (tst-syscall-list-nr.list)
30502 (tst-syscall-list-sys.list): Helper targets for new
30503 tst-syscall-list test.
30504 [$(subdir) = misc] (tst-syscall-list.out): Run test script
30505 tst-syscall-list.sh.
30506 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
30507 target. Do not include bits/syscall.d.
30508 [$(subdir) = misc] (generated): Do not update.
30509 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
30510 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
30511 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
30512 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
30514 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
30516 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
30517 (tst-cxa_atexit, tst-on_exit): Likewise.
30518 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
30519 tst-cxa_atexit, and tst-on_exit.
30520 * stdlib/tst-atexit-common.c: New file.
30521 * stdlib/tst-atexit.c: New file.
30522 * stdlib/tst-at_quick_exit.c: New file.
30523 * stdlib/tst-cxa_atexit.c: New file.
30524 * stdlib/tst-on_exit.c: New file.
30526 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
30528 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
30529 * mach/stack_chk_fail_local.c: New file.
30530 * hurd/stack_chk_fail_local.c: New file.
30531 * mach/Machrules ($(interface-library)-routines): Add
30532 stack_chk_fail_local.
30533 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
30534 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
30535 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
30536 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
30537 * hurd/Makefile (CFLAGS-hurdstartup.o,
30538 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
30540 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
30542 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
30543 (index_cpu_*, index_arch_*): Removed.
30545 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30547 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
30548 Use uint64_t instead of unsigned long.
30550 2017-08-25 Joseph Myers <joseph@codesourcery.com>
30552 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
30553 [__HAVE_DISTINCT_FLOAT128].
30555 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
30556 of <bits/math-finite.h>.
30557 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
30558 inclusion of <bits/math-finite.h>.
30559 * math/bits/math-finite.h (__REDIRTO_X): Do not define
30560 conditionally on [__MATH_DECLARING_LDOUBLE && defined
30561 __NO_LONG_DOUBLE_MATH].
30562 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
30563 (__MATH_REDIRCALL_2): Likewise.
30564 (__MATH_REDIRCALL_INTERNAL): Likewise.
30565 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30566 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
30567 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
30571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
30573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
30575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
30577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
30579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
30581 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
30582 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
30583 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
30584 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
30585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
30586 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
30587 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
30588 w_sqrtf_compat-ppc32.
30590 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30592 * math/math.h [defined __cplusplus] (issignaling): In the long
30593 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
30594 is not defined. Call __issignaling, otherwise.
30596 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30598 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
30599 syscall definitions and replace __builtin_expect with __glibc_likely.
30600 * sysdeps/unix/syscall-template.S: Update comment about cancellable
30602 (SYSCALL_CANCELLABLE): Removedefinition
30603 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
30605 (PSEUDO_END): Likewise.
30606 [IS_IN (libpthread)] (CENABLE): Likewise.
30607 [IS_IN (libpthread)] (CDISABLE): Likewise.
30608 [IS_IN (libc)] (CENABLE): Likewise.
30609 [IS_IN (libc)] (CENABLE): Likewise.
30610 [IS_IN (librt)] (CDISABLE): Likewise.
30611 [IS_IN (librt)] (CDISABLE): Likewise.
30612 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30613 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
30615 (PSEUDO_END): Likewise.
30616 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
30617 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
30618 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
30619 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
30620 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
30621 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
30622 (CENABLE): Likewise.
30623 (CDISABLE): Likewise.
30624 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30625 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
30627 (PSEUDO_END): Likewise.
30628 [IS_IN (libpthread)] (CENABLE): Likewise.
30629 [IS_IN (libpthread)] (CDISABLE): Likewise.
30630 [IS_IN (libc)] (CENABLE): Likewise.
30631 [IS_IN (libc)] (CENABLE): Likewise.
30632 [IS_IN (librt)] (CDISABLE): Likewise.
30633 [IS_IN (librt)] (CDISABLE): Likewise.
30634 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30635 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
30637 (PSEUDO_END): Likewise.
30638 [IS_IN (libpthread)] (CENABLE): Likewise.
30639 [IS_IN (libpthread)] (CDISABLE): Likewise.
30640 [IS_IN (libc)] (CENABLE): Likewise.
30641 [IS_IN (libc)] (CENABLE): Likewise.
30642 [IS_IN (librt)] (CDISABLE): Likewise.
30643 [IS_IN (librt)] (CDISABLE): Likewise.
30644 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30645 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
30647 (PSEUDO_END): Likewise.
30648 [IS_IN (libpthread)] (CENABLE): Likewise.
30649 [IS_IN (libpthread)] (CDISABLE): Likewise.
30650 [IS_IN (libc)] (CENABLE): Likewise.
30651 [IS_IN (libc)] (CENABLE): Likewise.
30652 [IS_IN (librt)] (CDISABLE): Likewise.
30653 [IS_IN (librt)] (CDISABLE): Likewise.
30654 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30655 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
30657 (PSEUDO_END): Likewise.
30658 [IS_IN (libpthread)] (CENABLE): Likewise.
30659 [IS_IN (libpthread)] (CDISABLE): Likewise.
30660 [IS_IN (libc)] (CENABLE): Likewise.
30661 [IS_IN (libc)] (CENABLE): Likewise.
30662 [IS_IN (librt)] (CDISABLE): Likewise.
30663 [IS_IN (librt)] (CDISABLE): Likewise.
30664 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30665 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
30667 (PSEUDO_END): Likewise.
30668 [IS_IN (libpthread)] (CENABLE): Likewise.
30669 [IS_IN (libpthread)] (CDISABLE): Likewise.
30670 [IS_IN (libc)] (CENABLE): Likewise.
30671 [IS_IN (libc)] (CENABLE): Likewise.
30672 [IS_IN (librt)] (CDISABLE): Likewise.
30673 [IS_IN (librt)] (CDISABLE): Likewise.
30674 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30675 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
30677 (PSEUDO_END): Likewise.
30678 [IS_IN (libpthread)] (CENABLE): Likewise.
30679 [IS_IN (libpthread)] (CDISABLE): Likewise.
30680 [IS_IN (libc)] (CENABLE): Likewise.
30681 [IS_IN (libc)] (CENABLE): Likewise.
30682 [IS_IN (librt)] (CDISABLE): Likewise.
30683 [IS_IN (librt)] (CDISABLE): Likewise.
30684 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30685 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
30687 (PSEUDO_END): Likewise.
30688 [IS_IN (libpthread)] (CENABLE): Likewise.
30689 [IS_IN (libpthread)] (CDISABLE): Likewise.
30690 [IS_IN (libc)] (CENABLE): Likewise.
30691 [IS_IN (libc)] (CENABLE): Likewise.
30692 [IS_IN (librt)] (CDISABLE): Likewise.
30693 [IS_IN (librt)] (CDISABLE): Likewise.
30694 (SINGLE_THREAD_P): Likewise.
30695 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
30697 (PSEUDO_END): Likewise.
30698 [IS_IN (libpthread)] (CENABLE): Likewise.
30699 [IS_IN (libpthread)] (CDISABLE): Likewise.
30700 [IS_IN (libc)] (CENABLE): Likewise.
30701 [IS_IN (libc)] (CENABLE): Likewise.
30702 [IS_IN (librt)] (CDISABLE): Likewise.
30703 [IS_IN (librt)] (CDISABLE): Likewise.
30704 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30705 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
30707 (PSEUDO_END): Likewise.
30708 [IS_IN (libpthread)] (CENABLE): Likewise.
30709 [IS_IN (libpthread)] (CDISABLE): Likewise.
30710 [IS_IN (libc)] (CENABLE): Likewise.
30711 [IS_IN (libc)] (CENABLE): Likewise.
30712 [IS_IN (librt)] (CDISABLE): Likewise.
30713 [IS_IN (librt)] (CDISABLE): Likewise.
30714 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30715 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
30716 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30717 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
30718 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
30720 (PSEUDO_END): Likewise.
30721 [IS_IN (libpthread)] (CENABLE): Likewise.
30722 [IS_IN (libpthread)] (CDISABLE): Likewise.
30723 [IS_IN (libc)] (CENABLE): Likewise.
30724 [IS_IN (libc)] (CENABLE): Likewise.
30725 [IS_IN (librt)] (CDISABLE): Likewise.
30726 [IS_IN (librt)] (CDISABLE): Likewise.
30727 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30728 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
30730 (PSEUDO_END): Likewise.
30731 [IS_IN (libpthread)] (CENABLE): Likewise.
30732 [IS_IN (libpthread)] (CDISABLE): Likewise.
30733 [IS_IN (libc)] (CENABLE): Likewise.
30734 [IS_IN (libc)] (CENABLE): Likewise.
30735 [IS_IN (librt)] (CDISABLE): Likewise.
30736 [IS_IN (librt)] (CDISABLE): Likewise.
30737 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30738 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
30740 (PSEUDO_END): Likewise.
30741 [IS_IN (libpthread)] (CENABLE): Likewise.
30742 [IS_IN (libpthread)] (CDISABLE): Likewise.
30743 [IS_IN (libc)] (CENABLE): Likewise.
30744 [IS_IN (libc)] (CENABLE): Likewise.
30745 [IS_IN (librt)] (CDISABLE): Likewise.
30746 [IS_IN (librt)] (CDISABLE): Likewise.
30747 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30748 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
30749 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30750 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
30751 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
30753 (PSEUDO_END): Likewise.
30754 [IS_IN (libpthread)] (CENABLE): Likewise.
30755 [IS_IN (libpthread)] (CDISABLE): Likewise.
30756 [IS_IN (libc)] (CENABLE): Likewise.
30757 [IS_IN (libc)] (CENABLE): Likewise.
30758 [IS_IN (librt)] (CDISABLE): Likewise.
30759 [IS_IN (librt)] (CDISABLE): Likewise.
30760 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30761 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
30763 (PSEUDO_END): Likewise.
30764 [IS_IN (libpthread)] (CENABLE): Likewise.
30765 [IS_IN (libpthread)] (CDISABLE): Likewise.
30766 [IS_IN (libc)] (CENABLE): Likewise.
30767 [IS_IN (libc)] (CENABLE): Likewise.
30768 [IS_IN (librt)] (CDISABLE): Likewise.
30769 [IS_IN (librt)] (CDISABLE): Likewise.
30770 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30772 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
30774 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
30776 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30778 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30780 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30783 * string/stratcliff.c (do_test): Declare size, nchars, inner,
30784 middle and outer with size_t instead of int. Repleace %d and
30785 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
30786 "MAX (outer, nchars - 64)" to support unsigned outer and
30787 nchars. Also exit loop when outer == 0.
30789 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30791 * include/fcntl.h (__fcntl_nocancel): Remove definition.
30792 * include/signal.h (__sigsuspend_nocancel): Likewise.
30793 * include/time.h (__nanosleep_nocancel): Likewise.
30794 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
30795 * login/utmp_file.c: Include non cancellable syscall header.
30796 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
30799 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30801 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
30802 .byte sequences with AVX512F instructions.
30803 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
30804 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
30805 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
30806 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
30808 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
30811 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
30812 Steve Ellcey <sellcey@cavium.com>
30814 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
30815 Use PTR_REG macro in cmp instruction.
30817 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30819 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
30820 Change the return type of the ifunc resolver to match the return
30821 type of the target function.
30823 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30825 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
30826 (preadv64): Likewise.
30827 (pwrite64(: Likewise.
30828 (pwritev64): Likewise.
30830 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
30831 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
30832 (LOAD_ARGS_0): Likewise.
30833 (LOAD_ARGS_1): Likewise.
30834 (LOAD_ARGS_2): Likewise.
30835 (LOAD_ARGS_3): Likewise.
30836 (LOAD_ARGS_4): Likewise.
30837 (LOAD_ARGS_5): Likewise.
30838 (LOAD_ARGS_6): Likewise.
30839 (LOAD_REGS_0): Likewise.
30840 (LOAD_REGS_1): Likewise.
30841 (LOAD_REGS_2): Likewise.
30842 (LOAD_REGS_3): Likewise.
30843 (LOAD_REGS_4): Likewise.
30844 (LOAD_REGS_5): Likewise.
30845 (LOAD_REGS_6): Likewise.
30846 (ASM_ARGS_0): Likewise.
30847 (ASM_ARGS_1): Likewise.
30848 (ASM_ARGS_2): Likewise.
30849 (ASM_ARGS_3): Likewise.
30850 (ASM_ARGS_4): Likewise.
30851 (ASM_ARGS_5): Likewise.
30852 (ASM_ARGS_6): Likewise.
30853 (LOAD_ARGS_TYPES_1): Likewise.
30854 (LOAD_ARGS_TYPES_2): Likewise.
30855 (LOAD_ARGS_TYPES_3): Likewise.
30856 (LOAD_ARGS_TYPES_4): Likewise.
30857 (LOAD_ARGS_TYPES_5): Likewise.
30858 (LOAD_ARGS_TYPES_6): Likewise.
30859 (LOAD_REGS_TYPES_1): Likewise.
30860 (LOAD_REGS_TYPES_2): Likewise.
30861 (LOAD_REGS_TYPES_3): Likewise.
30862 (LOAD_REGS_TYPES_4): Likewise.
30863 (LOAD_REGS_TYPES_5): Likewise.
30864 (LOAD_REGS_TYPES_6): Likewise.
30865 (TYPEFY): New define.
30866 (ARGIFY): Likewise.
30867 (internal_syscall0): Likewise.
30868 (internal_syscall1): Likewise.
30869 (internal_syscall2): Likewise.
30870 (internal_syscall3): Likewise.
30871 (internal_syscall4): Likewise.
30872 (internal_syscall5): Likewise.
30873 (internal_syscall6): Likewise.
30874 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
30875 (INTERNAL_SYSCALL_NCS): Remove define.
30876 (internal_syscall1): Add define.
30878 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30880 * math/w_remainder_compat.c: Remove duplicate inclusion of
30881 math-svid-compat.h.
30882 * math/w_remainderf_compat.c: Likewise.
30883 * math/w_remainderl_compat.c: Likewise.
30885 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30887 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30889 2017-08-22 Joseph Myers <joseph@codesourcery.com>
30892 * math/tgmath.h (__floating_type): Simplify definitions.
30893 (__real_integer_type): New macro.
30894 (__complex_integer_type): Likewise.
30895 (__expr_is_real): Likewise.
30896 (__tgmath_real_type_sub): Update comment to describe handling of
30898 (__tgmath_complex_type_sub): New macro.
30899 (__tgmath_complex_type): Likewise.
30900 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30901 (__TGMATH_CF128): Use __expr_is_real.
30902 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
30904 (__TGMATH_BINARY_REAL_IMAG): Likewise.
30905 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
30906 * math/gen-tgmath-tests.py (Type.create_type): Create complex
30909 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30911 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
30913 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
30915 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
30918 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
30919 nanosleep_not_cancel with __nanosleep_nocancel.
30920 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
30921 (__nanosleep_nocancel): New macro.
30922 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
30924 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
30926 (__nanosleep_nocancel): New prototype.
30928 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
30929 pause_not_cancel with __pause_nocancel.
30930 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
30931 (__pause_nocancel): New macro.
30932 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
30934 (__pause_nocancel): New prototype.
30935 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
30937 2017-08-22 Martin Sebor <msebor@redhat.com>
30939 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
30940 to return a pointer to the same type as the target function.
30942 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
30946 * include/printf.h (__printf_fphex): Add attribute_hidden.
30947 (__guess_grouping): New prototype.
30948 * stdio-common/printf_fp.c (__guess_grouping): Removed.
30949 * stdio-common/reg-printf.c (__register_printf_specifier): Add
30950 libc_hidden_proto and libc_hidden_def.
30951 * stdlib/strfmon_l.c (__guess_grouping): Removed.
30952 (__vstrfmon_l): Remove the third argument passed to
30955 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30957 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
30958 definition for issignaling that does not rely on __MATH_TG,
30959 since __MATH_TG uses __builtin_types_compatible_p, which is only
30960 available in C mode.
30961 (CFLAGS-test-math-issignaling.cc): New variable.
30962 * math/Makefile [CXX] (tests): Add test-math-issignaling.
30963 * math/test-math-issignaling.cc: New test for C++ implementation
30964 of type-generic issignaling.
30965 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
30966 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
30967 options of test-math-issignaling on powerpc64le.
30969 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
30971 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30973 (hidden_proto): Likewise.
30974 (hidden_tls_proto): Likewise.
30975 (__hidden_proto): Likewise.
30977 2017-08-22 Florian Weimer <fweimer@redhat.com>
30979 math: Statically link tests of internal functionality.
30980 * math/Makefile (tests): Remove atest-exp, atest-sincos,
30982 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
30983 (gmp-objs): Remove assignment.
30984 (atest-exp, atest-sincos, atest-exp2): Remove targets.
30986 2017-08-22 Joseph Myers <joseph@codesourcery.com>
30989 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
30991 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
30993 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
30996 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
30997 variable definitions above inclusion of ../Rules.
30999 2017-08-21 Joseph Myers <joseph@codesourcery.com>
31001 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
31002 case calling __builtin_unreachable.
31004 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31006 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
31007 __waitpid_nocancel.
31008 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
31009 (__waitpid_nocancel): New macro.
31010 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
31012 (__waitpid_nocancel): Replace macro with a function.
31013 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
31016 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
31018 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
31019 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
31021 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
31022 __writev_nocancel_nostatus.
31023 (write_call_graph): Likewise.
31024 (write_bb_counts): Likewise.
31025 * resolv/herror.c (herror): Likewise.
31026 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
31028 (__writev_nocancel_nostatus): New macro.
31029 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
31031 (__writev_nocancel_nostatus): New function.
31033 2017-08-21 Joseph Myers <joseph@codesourcery.com>
31036 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31038 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31040 (hidden_proto): Likewise.
31041 (hidden_tls_proto): Likewise.
31042 (__hidden_proto): Likewise.
31045 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
31046 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
31047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
31049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
31051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
31053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
31055 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
31056 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
31057 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
31058 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
31059 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
31060 GLIBC_2.0 sqrtl symbol.
31062 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
31063 [__USE_MISC] (_LIB_VERSION): Likewise.
31064 [__USE_MISC] (struct exception): Likewise.
31065 [__USE_MISC] (matherr): Likewise.
31066 [__USE_MISC] (DOMAIN): Likewise.
31067 [__USE_MISC] (SING): Likewise.
31068 [__USE_MISC] (OVERFLOW): Likewise.
31069 [__USE_MISC] (UNDERFLOW): Likewise.
31070 [__USE_MISC] (TLOSS): Likewise.
31071 [__USE_MISC] (PLOSS): Likewise.
31072 [__USE_MISC] (HUGE): Likewise.
31073 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
31074 * math/math-svid-compat.h: New file.
31075 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
31077 * include/math.h [!_ISOMAC] (__matherr): Remove.
31078 * manual/arith.texi (FP Exceptions): Do not document matherr.
31079 * math/Makefile (tests): Change test-matherr to test-matherr-3.
31080 (tests-internal): New variable.
31081 (install-lib): Do not add libieee.a.
31082 (non-lib.a): Likewise.
31083 (extra-objs): Do not add libieee.a and ieee-math.o.
31084 (CPPFLAGS-s_lib_version.c): Remove variable.
31085 ($(objpfx)libieee.a): Remove rule.
31086 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
31087 * math/ieee-math.c: Remove.
31088 * math/libm-test-support.c (matherr): Remove.
31089 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
31090 and license notices. Include <math-svid-compat.h> and
31092 (matherr): Undefine as macro. Use compat_symbol_reference.
31093 (_LIB_VERSION): Likewise.
31094 * math/test-matherr-2.c: New file.
31095 * math/test-matherr-3.c: Likewise.
31096 * sysdeps/generic/math_private.h (__kernel_standard): Remove
31098 (__kernel_standard_f): Likewise.
31099 (__kernel_standard_l): Likewise.
31100 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
31101 <math_private.h>. Include <math-svid-compat.h>.
31102 (_LIB_VERSION): Undefine as macro.
31103 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
31104 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
31105 [LIBM_SVID_COMPAT], use compat_symbol.
31106 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
31107 <math_private.h>. Include <math-svid-compat.h>.
31108 (matherr): Undefine as macro.
31109 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
31111 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
31112 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
31113 compat_symbol_reference.
31114 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
31115 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
31116 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
31117 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
31118 (MATHERR_D): Remove declaration.
31119 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
31120 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
31121 [LIBM_BUILD] (pmatherrf): Likewise.
31122 [LIBM_BUILD] (pmatherr): Likewise.
31123 [LIBM_BUILD] (pmatherrl): Likewise.
31124 (DOMAIN): Likewise.
31126 (OVERFLOW): Likewise.
31127 (UNDERFLOW): Likewise.
31130 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
31131 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
31133 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
31134 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
31136 * math/lgamma-compat.h: Include <math-svid-compat.h>.
31137 * math/w_acos_compat.c: Likewise.
31138 * math/w_acosf_compat.c: Likewise.
31139 * math/w_acosh_compat.c: Likewise.
31140 * math/w_acoshf_compat.c: Likewise.
31141 * math/w_acoshl_compat.c: Likewise.
31142 * math/w_acosl_compat.c: Likewise.
31143 * math/w_asin_compat.c: Likewise.
31144 * math/w_asinf_compat.c: Likewise.
31145 * math/w_asinl_compat.c: Likewise.
31146 * math/w_atan2_compat.c: Likewise.
31147 * math/w_atan2f_compat.c: Likewise.
31148 * math/w_atan2l_compat.c: Likewise.
31149 * math/w_atanh_compat.c: Likewise.
31150 * math/w_atanhf_compat.c: Likewise.
31151 * math/w_atanhl_compat.c: Likewise.
31152 * math/w_cosh_compat.c: Likewise.
31153 * math/w_coshf_compat.c: Likewise.
31154 * math/w_coshl_compat.c: Likewise.
31155 * math/w_exp10_compat.c: Likewise.
31156 * math/w_exp10f_compat.c: Likewise.
31157 * math/w_exp10l_compat.c: Likewise.
31158 * math/w_exp2_compat.c: Likewise.
31159 * math/w_exp2f_compat.c: Likewise.
31160 * math/w_exp2l_compat.c: Likewise.
31161 * math/w_fmod_compat.c: Likewise.
31162 * math/w_fmodf_compat.c: Likewise.
31163 * math/w_fmodl_compat.c: Likewise.
31164 * math/w_hypot_compat.c: Likewise.
31165 * math/w_hypotf_compat.c: Likewise.
31166 * math/w_hypotl_compat.c: Likewise.
31167 * math/w_j0_compat.c: Likewise.
31168 * math/w_j0f_compat.c: Likewise.
31169 * math/w_j0l_compat.c: Likewise.
31170 * math/w_j1_compat.c: Likewise.
31171 * math/w_j1f_compat.c: Likewise.
31172 * math/w_j1l_compat.c: Likewise.
31173 * math/w_jn_compat.c: Likewise.
31174 * math/w_jnf_compat.c: Likewise.
31175 * math/w_jnl_compat.c: Likewise.
31176 * math/w_lgamma_main.c: Likewise.
31177 * math/w_lgamma_r_compat.c: Likewise.
31178 * math/w_lgammaf_main.c: Likewise.
31179 * math/w_lgammaf_r_compat.c: Likewise.
31180 * math/w_lgammal_main.c: Likewise.
31181 * math/w_lgammal_r_compat.c: Likewise.
31182 * math/w_log10_compat.c: Likewise.
31183 * math/w_log10f_compat.c: Likewise.
31184 * math/w_log10l_compat.c: Likewise.
31185 * math/w_log2_compat.c: Likewise.
31186 * math/w_log2f_compat.c: Likewise.
31187 * math/w_log2l_compat.c: Likewise.
31188 * math/w_log_compat.c: Likewise.
31189 * math/w_logf_compat.c: Likewise.
31190 * math/w_logl_compat.c: Likewise.
31191 * math/w_pow_compat.c: Likewise.
31192 * math/w_powf_compat.c: Likewise.
31193 * math/w_powl_compat.c: Likewise.
31194 * math/w_remainder_compat.c: Likewise.
31195 * math/w_remainderf_compat.c: Likewise.
31196 * math/w_remainderl_compat.c: Likewise.
31197 * math/w_scalb_compat.c: Likewise.
31198 * math/w_scalbf_compat.c: Likewise.
31199 * math/w_scalbl_compat.c: Likewise.
31200 * math/w_sinh_compat.c: Likewise.
31201 * math/w_sinhf_compat.c: Likewise.
31202 * math/w_sinhl_compat.c: Likewise.
31203 * math/w_sqrt_compat.c: Likewise.
31204 * math/w_sqrtf_compat.c: Likewise.
31205 * math/w_sqrtl_compat.c: Likewise.
31206 * math/w_tgamma_compat.c: Likewise.
31207 * math/w_tgammaf_compat.c: Likewise.
31208 * math/w_tgammal_compat.c: Likewise.
31209 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
31210 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
31211 * sysdeps/ieee754/k_standard.c: Likewise.
31212 * sysdeps/ieee754/k_standardf.c: Likewise.
31213 * sysdeps/ieee754/k_standardl.c: Likewise.
31214 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
31215 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
31216 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
31217 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
31218 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
31219 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
31220 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
31221 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
31222 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
31223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
31225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
31227 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
31228 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
31229 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
31230 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
31232 2017-08-21 Florian Weimer <fweimer@redhat.com>
31235 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
31236 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
31237 Move before inclusion of ../Rules.
31239 2017-08-21 Florian Weimer <fweimer@redhat.com>
31242 * assert/assert.h (assert): Use static_cast (bool) for C++.
31243 Use the ternary operator in the warning branch for GNU C.
31244 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
31245 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
31246 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
31247 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
31248 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
31250 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31253 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31254 (__syscall_clock_gettime): Add attribute_hidden.
31255 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
31256 (__start_context): Likewise.
31258 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31260 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31262 (hidden_proto): Likewise.
31263 (hidden_tls_proto): Likewise.
31264 (__hidden_proto): Likewise.
31266 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31268 * include/libc-symbols.h (attribute_hidden): Enable hidden
31269 visibility in libc.a compiled with PIE.
31271 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31274 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
31275 Add attribute_hidden.
31277 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31280 * Makerules (all-nonlib): Add $(others-extras).
31281 * catgets/Makefile (others-extras): New.
31282 * elf/Makefile (others-extras): Likewise.
31283 * nss/Makefile (others-extras): Likewise.
31285 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31288 * csu/libc-start.c (__libc_multiple_libcs): Removed.
31289 * elf/dl-open.c: Include <libc-internal.h>.
31290 (__libc_multiple_libcs): Removed.
31291 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
31293 * include/libc-internal.h (__libc_multiple_libcs): New.
31294 * misc/sbrk.c: Include <libc-internal.h>.
31295 (__libc_multiple_libcs): Removed.
31297 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31300 * grp/initgroups.c (__nss_group_database): Removed.
31301 (__nss_initgroups_database): Likewise.
31302 * nscd/gai.c (__nss_hosts_database): Likewise.
31303 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
31304 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
31305 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
31306 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
31307 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
31308 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
31310 * nss/nsswitch.c (__nss_database_custom): Define only if
31311 USE_NSCD is defined.
31312 (__nss_configure_lookup): Use __nss_database_custom only if
31313 USE_NSCD is defined.
31314 * nss/nsswitch.h (__nss_database_custom): Declare only if
31315 USE_NSCD is defined. Add attribute_hidden.
31316 (__nss_setent): Add attribute_hidden.
31317 (__nss_endent): Likewise.
31318 (__nss_getent_r): Likewise.
31319 (__nss_getent): Likewise.
31320 (DEFINE_DATABASE): Declare __nss_##arg##_database.
31322 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31325 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
31326 libc_hidden_proto and libc_hidden_def.
31328 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31331 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
31332 Add libc_hidden_proto.
31333 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
31334 Add libc_hidden_def.
31336 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31339 * gmon/Makefile (routines): Remove bb_init_func and
31341 (elide-routines.os): Removed.
31342 * gmon/bb_exit_func.c: Likewise.
31343 * gmon/bb_init_func.c: Likewise.
31344 * include/sys/gmon.h (__bb): Likewise.
31345 (__bb_init_func): Likewise.
31346 (__bb_exit_func): Likewise.
31347 * sysdeps/alpha/bb_init_func.S: Likewise.
31349 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31351 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
31352 * include/setjmp.h (____longjmp_chk): Here. Add
31355 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
31358 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
31360 (__strspn_sse2): Likewise.
31362 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31364 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
31365 (close_not_cancel_no_status): Likewise.
31366 (__close_nocancel): New macro.
31367 (__close_nocancel_nostatus): Likewise.
31368 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
31370 (close_not_cancel): Likewise.
31371 (close_not_cancel_no_status): Likewise.
31372 (__close_nocancel): New prototype.
31373 (__close_nocancel_nostatus): New function.
31374 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
31375 * catgets/open_catalog.c (__open_catalog): Replace
31376 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
31377 * gmon/gmon.c (write_gmon): Likewise.
31378 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
31379 * intl/loadmsgcat.c (close): Likewise.
31380 * io/ftw.c (open_dir_stream): Likewise.
31381 (ftw_startup): Likewise.
31382 * libio/fileops.c (_IO_file_open): Likewise.
31383 (_IO_file_close_mmap): Likewise.
31384 (_IO_file_close): Likewise.
31385 * libio/iopopen.c (_IO_dup2): Likewise.
31386 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31387 * locale/loadlocale.c (_nl_load_locale): Likewise.
31388 * login/utmp_file.c (pututline_file): Likewise.
31389 (endutent_file): Likewise.
31390 * misc/daemon.c (daemon): Likewise.
31391 * nscd/nscd_getai.c (__nscd_getai): Likewise.
31392 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31393 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31394 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31395 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31396 * nscd/nscd_helper.c (open_socket): Likewise.
31397 (__nscd_open_socket): Likewise.
31398 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
31399 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
31400 (__nscd_innetgr): Likewise.
31401 * nss/nss_db/db-open.c (internal_setent): Likewise.
31402 * resolv/res-close.c (__res_iclose): Likewise.
31403 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
31404 * sysdeps/posix/closedir.c (__closedir): Likewise.
31405 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
31406 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31407 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
31408 (opendir_tail): Likewise.
31409 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31410 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
31411 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
31412 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31413 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31414 (gethostid): Likewise.
31415 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31416 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31418 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31419 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
31420 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31421 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31423 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
31424 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
31425 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31427 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
31428 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31430 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31432 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
31433 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31434 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31437 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
31438 (openat_not_cancel_3): Likewise.
31439 (openat64_not_cancel_3): Likewise).
31440 (openat_not_cancel_3): Likewise).
31441 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
31443 (openat_not_cancel_3): Likewise.
31444 (openat64_not_cancel): Likewise.
31445 (openat64_not_cancel_3): Likewise.
31446 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
31447 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
31448 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
31449 __open{64}_nocancel.
31450 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31451 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31452 * sysdeps/posix/opendir.c (__opendirat): Likewise.
31454 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31457 * include/argz.h (__argz_create_sep): New function prototype.
31458 (__argz_append): Likewise.
31459 (__argz_add): Likewise.
31460 (__argz_add_sep): Likewise.
31461 (__argz_delete): Likewise.
31462 (__argz_insert): Likewise.
31463 (__argz_replace): Likewise.
31464 * string/argz.h (__argz_create_sep): Removed.
31465 (__argz_append): Likewise.
31466 (__argz_add): Likewise.
31467 (__argz_add_sep): Likewise.
31468 (__argz_delete): Likewise.
31469 (__argz_insert): Likewise.
31470 (__argz_replace): Likewise.
31472 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31474 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
31475 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
31476 (GNU_PROPERTY_STACK_SIZE): Likewie.
31477 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
31478 (GNU_PROPERTY_LOPROC): Likewise.
31479 (GNU_PROPERTY_HIPROC): Likewise.
31480 (GNU_PROPERTY_LOUSER): Likewise.
31481 (GNU_PROPERTY_HIUSER): Likewise.
31482 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
31483 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
31484 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
31485 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
31486 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
31487 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
31488 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
31489 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
31490 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
31491 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
31492 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
31493 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
31494 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
31495 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
31496 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
31497 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
31498 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
31499 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
31500 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
31501 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
31502 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
31503 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
31504 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
31506 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31508 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
31511 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31514 * math/math.h (isinf): Check if in C or C++ mode before using
31515 __builtin_types_compatible_p, since this is a C mode feature.
31517 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31519 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
31520 (__write_nocancel): New macro.
31521 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
31522 Rewrite as a function prototype.
31523 (write_not_cancel): Remove macro.
31524 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
31525 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
31526 (write_gmon): Likewise.
31527 * libio/fileops.c (_IO_new_file_write): Likewise.
31528 * login/utmp_file.c (pututline_file): Likewise.
31529 (updwtmp_file): Likewise.
31530 * stdio-common/psiginfo.c (psiginfo): Likewise.
31531 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31532 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31533 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31535 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31538 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
31539 (__read_nocancel): New macro.
31540 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31542 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
31544 (__read_nocancel): New prototype.
31545 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
31546 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
31547 with __read_nocancel.
31548 * intl/loadmsgcat.c (read): Likewise.
31549 * libio/fileops.c (_IO_file_read): Likewise.
31550 * locale/loadlocale.c (_nl_load_locale): Likewise.
31551 * login/utmp_file.c (getutent_r_file): Likewise.
31552 (internal_getut_r): Likewise.
31553 (getutline_r_file): Likewise.
31554 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31555 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31556 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31557 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31559 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
31560 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31561 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31563 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31565 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31567 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31569 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31571 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31574 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
31575 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
31578 2017-08-17 DJ Delorie <dj@redhat.com>
31580 * bug17079.c: Update to new test harness.
31581 * test-digits-dots.c: Likewise.
31582 * test-netdb.c: Likewise.
31583 * tst-field.c: Likewise.
31584 * tst-nss-getpwent.c: Likewise.
31585 * tst-nss-static.c: Likewise.
31586 * tst-nss-test1.c: Likewise.
31587 * tst-nss-test2.c: Likewise.
31588 * tst-nss-test3.c: Likewise.
31589 * tst-nss-test4.c: Likewise.
31590 * tst-nss-test5.c: Likewise.
31592 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31594 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
31595 (open_not_cancel_2): Likewise.
31596 (open_nocancel): New macro.
31597 (open64_nocancel): Likewise.
31598 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
31599 (open_not_cancel_2): Likewise.
31600 (__open_nocancel): New prototype.
31601 (__open64_nocancel): Likewise.
31602 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31604 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
31605 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
31606 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
31607 with __open_nocancel.
31608 * csu/check_fds.c (check_one_fd): Likewise.
31609 * gmon/gmon.c (write_gmon): Likewise.
31610 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
31611 * intl/loadmsgcat.c (open): Likewise.
31612 * libio/fileops.c (_IO_file_open): Likewise.
31613 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31614 * locale/loadlocale.c (_nl_load_locale): Likewise.
31615 * login/utmp_file.c (setutent_file): Likewise.
31616 * misc/daemon.c (daemon): Likewise.
31617 * nss/nss_db/db-open.c (internal_setent): Likewise.
31618 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31619 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
31620 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
31621 (__opendir): Likewise.
31622 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31623 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31624 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31625 (gethostid): Likewise.
31626 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31627 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31629 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31630 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
31631 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31632 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31634 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31636 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31638 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
31640 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31642 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31644 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
31645 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31647 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
31649 * benchtests/bench-skeleton.c (main): Add support for
31650 latency benchmarking.
31651 * benchtests/scripts/bench.py: Add support for latency benchmarking.
31653 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
31655 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
31656 the startup object.
31658 2017-08-17 Florian Weimer <fweimer@redhat.com>
31660 * include/sys/socket.h (__opensock): Remove internal_function.
31661 * socket/opensock.c (__opensock): Likewise.
31662 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
31664 2017-08-16 Joseph Myers <joseph@codesourcery.com>
31667 * signal/bits/types/__sigval_t.h: New file.
31668 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
31669 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
31670 and define sigval_t using __sigval_t.
31671 * include/bits/types/__sigval_t.h: New file.
31672 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
31673 instead of <bits/types/__sigval_t.h>.
31674 (struct sigevent): Use __sigval_t instead of sigval_t.
31675 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
31676 instead of <bits/types/__sigval_t.h>.
31677 (siginfo_t): Use __sigval_t instead of sigval_t.
31678 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
31679 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31680 (struct sigevent): Use __sigval_t instead of sigval_t.
31681 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
31682 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31683 (siginfo_t): Use __sigval_t instead of sigval_t.
31684 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
31686 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31688 * NEWS: Remove "[Add new features here]" for 2.27.
31690 2017-08-16 Joseph Myers <joseph@codesourcery.com>
31692 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
31695 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31697 * NEWS: Mention x86-64 FMA optimization.
31699 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31702 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31704 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
31705 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
31706 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
31708 2017-08-16 Andreas Schwab <schwab@suse.de>
31712 * elf/ldd.bash.in: Never run file directly.
31714 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
31717 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
31718 (L(SP_INF_0)): Likewise.
31720 2017-08-15 Florian Weimer <fweimer@redhat.com>
31722 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
31725 2017-08-15 Florian Weimer <fweimer@redhat.com>
31727 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
31728 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
31729 BROKEN_THREAD_SIGNALS code.
31730 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
31731 request_list): Remove caller_pid member used for
31732 BROKEN_THREAD_SIGNALS.
31733 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
31734 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31735 Remove BROKEN_THREAD_SIGNALS support.
31736 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
31737 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
31739 2017-08-15 Florian Weimer <fweimer@redhat.com>
31741 * gmon/Makefile (tests): Add tst-gmon.
31742 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
31744 (tests-special): Add tst-gmon-prof.out.
31745 (tst-gmon.out): Depend on clean-tst-gmon-data.
31746 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
31747 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
31748 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
31750 * aclocal.m4 (GPROF): Set and substitute.
31751 * config.amke.in (GPROF): Set.
31752 * configure: Regenerate.
31754 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
31756 * elf/elf.h A (NT_PPC_TAR): New macro.
31757 (NT_PPC_PPR): Likewise.
31758 (NT_PPC_DSCR): Likewise.
31759 (NT_PPC_EBB): Likewise.
31760 (NT_PPC_PMU): Likewise.
31761 (NT_PPC_TM_CGPR): Likewise.
31762 (NT_PPC_TM_CFPR): Likewise.
31763 (NT_PPC_TM_CVMX): Likewise.
31764 (NT_PPC_TM_CVSX): Likewise.
31765 (NT_PPC_TM_SPR): Likewise.
31766 (NT_PPC_TM_CTAR): Likewise.
31767 (NT_PPC_TM_CPPR): Likewise.
31768 (NT_PPC_TM_CDSCR): Likewise.
31770 2017-08-15 Florian Weimer <fweimer@redhat.com>
31772 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
31773 regparm (2) instead of internal_function.
31774 (_MCOUNT_DECL): Adjust.
31776 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
31778 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
31779 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
31781 2017-08-14 Joseph Myers <joseph@codesourcery.com>
31783 * conform/data/sys/wait.h-data (si_value): Do not expect for
31786 2017-08-14 Florian Weimer <fweimer@redhat.com>
31789 NSS: Create stubs for accidentally exported lookup functions.
31790 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
31791 Remove declaration.
31792 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
31793 (ether_hostton): Call __nss_ethers_lookup2 instead.
31794 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
31795 (ether_ntohost): Call __nss_ethers_lookup2 instead.
31796 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
31797 (setup): Call __nss_netgroup_lookup2 instead.
31798 * nss/Makefile (routines): Add compat-lookup.
31799 * nss/Versions (GLIBC_2.27): Add symbol version.
31800 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
31801 (DB_COMPAT_FCT): Remove.
31802 * nss/compat-lookup.c: New file.
31803 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
31804 from databases.def.
31805 * nss/service-lookup.c (NO_COMPAT): Remove definition.
31806 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
31807 (netname2user): Call __nss_publickey_lookup2 instead.
31808 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
31809 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
31812 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31813 Sergei Trofimovich <slyfox@inbox.ru>
31816 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
31817 Rename to MMAP2_PAGE_UNIT.
31818 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
31819 __OFF_T_MATCHES_OFF64_T is not defined.
31820 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
31822 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
31823 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
31825 2017-08-14 Florian Weimer <fweimer@redhat.com>
31827 i386: Do not set internal_function.
31828 * config.h.in (USE_REGPARMS, internal_function): Remove.
31829 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
31830 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
31832 2017-08-14 Florian Weimer <fweimer@redhat.com>
31834 * elf/dl-init.c (_dl_init): Remove internal_function.
31835 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
31836 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
31838 2017-08-14 Florian Weimer <fweimer@redhat.com>
31840 * elf/rtld.c (_dl_start): Remove internal_function.
31841 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
31844 2017-08-14 Florian Weimer <fweimer@redhat.com>
31846 * elf/dl-fini.c (_dl_fini): Remove internal_function
31847 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
31849 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
31851 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
31852 (bit_cpu_SHSTK): Likewise.
31853 (index_cpu_IBT): Likewise.
31854 (index_cpu_SHSTK): Likewise.
31855 (reg_IBT): Likewise.
31856 (reg_SHSTK): Likewise.
31857 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
31858 Handle index_cpu_IBT and index_cpu_SHSTK.
31860 2017-08-14 Mike FABIAN <mfabian@redhat.com>
31863 * po/fr.po: Fix spelling mistake.
31865 2017-08-13 Florian Weimer <fweimer@redhat.com>
31867 * elf/dl-addr.c (_dl_addr): Remove internal_function.
31868 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
31869 (_dl_catch_error, _dl_receive_error): Likewise.
31870 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
31871 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
31872 (_dl_deallocate_tls): Likewise.
31873 * include/dlfcn.h (_dl_addr): Likewise.
31874 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
31875 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
31876 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
31879 2017-08-13 Florian Weimer <fweimer@redhat.com>
31881 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
31882 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
31884 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
31886 2017-08-13 Florian Weimer <fweimer@redhat.com>
31888 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
31890 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
31891 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
31892 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
31893 internal_function from _dl_make_stack_executable_hook member.
31894 (_dl_make_stack_executable): Remove internal_function.
31895 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
31897 * sysdeps/unix/sysv/linux/dl-execstack.c
31898 (_dl_make_stack_executable): Likewise.
31900 2017-08-13 Florian Weimer <fweimer@redhat.com>
31902 * sysdeps/unix/sysv/linux/netlinkaccess.h
31903 (__netlink_assert_response): Remove internal_function.
31904 * sysdeps/unix/sysv/linux/netlink_assert_response.c
31905 (__netlink_assert_response): Likewise.
31907 2017-08-13 Florian Weimer <fweimer@redhat.com>
31909 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
31911 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
31913 2017-08-13 Florian Weimer <fweimer@redhat.com>
31915 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
31917 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
31918 * inet/netgroup.h (__internal_setnetgrent)
31919 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
31920 * inet/getnetgrent_r.c (__internal_setnetgrent)
31921 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
31922 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
31923 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
31924 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
31925 * nss/nsswitch.h (db_lookup_function): Likewise.
31927 2017-08-13 Florian Weimer <fweimer@redhat.com>
31929 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
31930 Remove internal_function.
31931 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
31932 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
31933 message argument on the stack.
31934 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
31937 2017-08-12 Mike FABIAN <mfabian@redhat.com>
31939 Adapt test case data to the changes in the thousands
31943 * localedata/tst-langinfo.sh: Adapt test case data.
31944 * stdlib/tst-strfmon_l.c: Likewise.
31945 * stdlib/tst-strtod4.c: Likewise.
31946 * stdlib/tst-strtod5i.c: Likewise.
31948 2017-08-11 Florian Weimer <fweimer@redhat.com>
31951 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
31952 Suppress pedantic warning resulting from statement expression.
31953 (__ASSERT_FUNCTION): Add missing __extension__.
31955 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
31957 * benchtests/bench-memmove-large.c: Print output in JSON
31959 * benchtests/bench-memmove.c: Likewise.
31961 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
31962 * benchtests/bench-memchr.c (do_one_test): Likewise.
31963 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
31964 * benchtests/bench-memcpy.c (do_one_test): Likewise.
31965 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
31966 * benchtests/bench-memmove.c (do_one_test): Likewise.
31967 * benchtests/bench-memset-large.c (do_one_test): Likewise.
31968 * benchtests/bench-memset.c (do_one_test): Likewise.
31969 * benchtests/bench-string.h (test_init): Remove memsets.
31971 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
31974 (Computing the Width of an Integer Data Type): Rename section to
31975 "Width of an Integer Type". Remove inaccurate statement regarding
31976 lack of C language facilities for determining width of integer
31977 types, and reorder content to improve flow and context of
31980 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
31982 * lang.texi (va_copy): Change standard from ISO to C99.
31983 (__va_copy): Add standard and header annotation.
31984 Update description for clarity of origins and current use.
31986 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31989 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
31990 xssqrtqp requires operands to be in Vector Registers
31991 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
31992 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
31993 (__ieee754_sqrtf128): Likewise.
31995 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
31997 * sysdeps/aarch64/memcmp.S (memcmp):
31998 Rewrite of optimized memcmp.
32000 2017-08-10 Florian Weimer <fweimer@redhat.com>
32002 Introduce ld.so exceptions.
32003 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
32004 (_dl_exception_create, _dl_exception_create_format)
32005 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
32006 (_dl_catch_exception): Declare.
32007 (_dl_catch_error): Update comment.
32008 * elf/dl-error-skeleton.c (struct catch): Replace objname,
32009 errstring, malloced members with exception member.
32010 (_dl_out_of_memory): Remove.
32011 (fatal_error): New function, extracted from _dl_signal_error.
32012 (_dl_signal_exception, _dl_signal_cexception): New functions.
32013 (_dl_signal_error): Call _dl_exception_create to allocate an
32015 (_dl_catch_exception): New function, based on _dl_catch_error.
32016 (_dl_catch_error): Implement using _dl_catch_exception.
32017 * elf/dl-exception.c: New file.
32018 * elf/Makefile (dl-routines): Add dl-exception.
32019 (elide-routines.os): Likewise.
32020 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
32021 _dl_exception_create_format, _dl_exception_free.
32022 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
32023 _dl_signal_exception.
32024 * elf/dl-lookup.c (make_string): Remove.
32025 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
32026 _dl_signal_cexception, _dl_exception_free.
32027 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
32028 _dl_signal_exception.
32029 * elf/dl-sym.c (do_sym): Likewise.
32030 * elf/dl-version.c (make_string): Remove.
32031 (match_symbol): Use _dl_exception_create_format,
32032 _dl_signal_cexception, _dl_exception_free.
32033 (_dl_check_map_versions): Likewise.
32034 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
32035 _dl_catch_exception.
32036 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
32037 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
32038 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
32039 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
32040 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
32041 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
32042 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
32043 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
32045 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
32046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
32048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
32050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
32052 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
32053 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
32054 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
32056 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
32058 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
32060 2017-08-10 Florian Weimer <fweimer@redhat.com>
32062 * inet/net-internal.h (__inet6_scopeid_pton): Remove
32063 attribute_hidden, internal_function.
32064 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
32067 2017-08-10 Florian Weimer <fweimer@redhat.com>
32069 * malloc/malloc.c (get_max_fast): Reimplement as an inline
32070 function which calls __builtin_unreachable.
32072 2017-08-10 Mike FABIAN <mfabian@redhat.com>
32074 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
32075 Indian monetary formatting
32076 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
32079 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
32081 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
32082 Fix typo in comment.
32085 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
32086 PTRACE_SEIZE_DEVEL): Remove.
32087 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
32088 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32089 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32090 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32091 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32093 2017-08-09 Joseph Myers <joseph@codesourcery.com>
32095 * posix/bits/types.h (__qaddr_t): Remove.
32098 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
32099 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32101 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
32102 (ucontext_t): Use __ctx with uc_flags.
32103 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
32104 (__ctxt): Likewise.
32105 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32107 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
32108 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32110 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
32111 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32113 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
32115 (ucontext_t): Use __ctx with uc_flags.
32116 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
32117 (ucontext_t): Use __ctx with uc_flags.
32118 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
32119 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
32120 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
32121 (ucontext_t): Use __ctx with uc_flags.
32122 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
32123 undefine further down.
32124 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32126 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
32127 undefine further down.
32128 (ucontext_t): Use __ctx with uc_flags.
32129 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
32130 undefine further down.
32131 (ucontext_t): Use __ctx with uc_flags.
32132 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
32133 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
32134 Rename uc_pad to __glibc_reserved1.
32135 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
32136 undefine further down.
32137 (ucontext_t): Use __ctx with uc_flags.
32138 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
32140 (ucontext_t): Use __ctx with uc_flags.
32141 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
32142 __ctx with uc_flags.
32143 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
32144 (ucontext_t): Use __ctx with uc_flags.
32145 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
32146 __ctx with uc_flags.
32148 2017-08-09 Florian Weimer <fweimer@redhat.com>
32151 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
32152 before early return.
32154 2017-08-09 Andreas Schwab <schwab@suse.de>
32157 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
32161 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
32162 tst-compat-forwarder.
32163 (modules-names): Add tst-compat-forwarder-mod.
32164 ($(objpfx)tst-compat-forwarder): Depend on
32165 $(objpfx)tst-compat-forwarder-mod.so.
32166 * nptl/tst-compat-forwarder.c: New file.
32167 * nptl/tst-compat-forwarder-mod.c: New file.
32169 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
32171 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
32174 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
32175 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
32177 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
32179 (__libc_ifunc_impl_list): Add __memcpy_falkor.
32180 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
32181 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
32182 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
32184 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
32187 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32190 * manual/setjmp.texi (getcontex): Document uc_stack value
32191 compatibility differences.
32193 2017-08-08 Joseph Myers <joseph@codesourcery.com>
32195 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
32196 (old_malloc_hook): Likewise.
32197 (old_memalign_hook): Likewise.
32198 (old_realloc_hook): Likewise.
32199 (struct hdr): Likewise.
32201 (freehook): Likewise.
32202 (mallochook): Likewise.
32203 (memalignhook): Likewise.
32204 (reallochook): Likewise.
32205 (mprobe): Likewise.
32206 * malloc/mtrace.c (mallwatch): Likewise.
32207 (tr_old_free_hook): Likewise.
32208 (tr_old_malloc_hook): Likewise.
32209 (tr_old_realloc_hook): Likewise.
32210 (tr_old_memalign_hook): Likewise.
32211 (tr_where): Likewise.
32212 (lock_and_info): Likewise.
32213 (tr_freehook): Likewise.
32214 (tr_mallochook): Likewise.
32215 (tr_reallochook): Likewise.
32216 (tr_memalignhook): Likewise.
32217 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
32218 * misc/mmap.c (__mmap): Likewise.
32219 * misc/mmap64.c (__mmap64): Likewise.
32220 * misc/mprotect.c (__mprotect): Likewise.
32221 * misc/msync.c (msync): Likewise.
32222 * misc/munmap.c (__munmap): Likewise.
32223 * posix/posix_madvise.c (posix_madvise): Likewise.
32224 * socket/send.c (__send): Likewise.
32225 * socket/sendto.c (__sendto): Likewise.
32226 * socket/setsockopt.c (__setsockopt): Likewise.
32227 * string/memcmp.c (__ptr_t): Remove macro.
32228 (MEMCMP): Use void * instead of ptr_t.
32229 * string/memrchr.c (__ptr_t): Remove macro.
32230 (__memrchr): Use void * instead of ptr_t.
32231 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
32232 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
32233 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
32234 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
32235 * sysdeps/mach/msync.c (msync): Likewise.
32236 * sysdeps/mach/munmap.c (__munmap): Likewise.
32237 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
32239 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32240 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
32241 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
32242 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
32243 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
32244 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
32245 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
32246 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
32248 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
32249 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
32250 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
32251 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
32252 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
32253 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
32254 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
32255 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
32256 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
32258 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
32259 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
32260 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
32261 (MEMCMP): Use void * instead of ptr_t.
32262 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
32263 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
32265 2017-08-08 Florian Weimer <fweimer@redhat.com>
32267 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
32270 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
32273 * csu/libc-tls.c: Include <startup.h> first.
32274 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
32275 * elf/dl-tunables.c: Include <startup.h> first.
32276 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
32277 * sysdeps/generic/startup.h: New file.
32278 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
32279 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
32280 (I386_USE_SYSENTER): New. Defined to 0.
32282 2017-08-08 Andreas Schwab <schwab@suse.de>
32285 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
32286 * nptl/pt-system.c (system): Likewise.
32288 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32291 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
32293 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
32294 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
32295 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
32296 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
32297 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
32298 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
32299 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
32301 2017-08-07 Joseph Myers <joseph@codesourcery.com>
32304 * bits/sigaction.h (struct sigaction): Define sa_handler and
32305 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
32306 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32307 [__USE_XOPEN_EXTENDED].
32308 (SA_RESTART): Likewise.
32309 (SA_NODEFER): Likewise.
32310 (SA_RESETHAND): Likewise.
32311 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
32312 (struct sigaction): Define sa_handler and sa_sigaction using union
32313 also for [__USE_XOPEN_EXTENDED].
32314 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32315 [__USE_XOPEN_EXTENDED].
32316 (SA_RESTART): Likewise.
32317 (SA_NODEFER): Likewise.
32318 (SA_RESETHAND): Likewise.
32319 * sysdeps/unix/sysv/linux/bits/sigaction.h
32320 (struct sigaction): Define sa_handler and sa_sigaction using union
32321 also for [__USE_XOPEN_EXTENDED].
32322 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32323 [__USE_XOPEN_EXTENDED].
32324 (SA_RESTART): Likewise.
32325 (SA_NODEFER): Likewise.
32326 (SA_RESETHAND): Likewise.
32327 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
32328 (struct sigaction): Define sa_handler and sa_sigaction using union
32329 also for [__USE_XOPEN_EXTENDED].
32330 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32331 [__USE_XOPEN_EXTENDED].
32332 (SA_RESTART): Likewise.
32333 (SA_NODEFER): Likewise.
32334 (SA_RESETHAND): Likewise.
32335 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
32336 (struct sigaction): Define sa_handler and sa_sigaction using union
32337 also for [__USE_XOPEN_EXTENDED].
32338 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32339 [__USE_XOPEN_EXTENDED].
32340 (SA_RESTART): Likewise.
32341 (SA_NODEFER): Likewise.
32342 (SA_RESETHAND): Likewise.
32343 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
32344 (struct sigaction): Define sa_handler and sa_sigaction using union
32345 also for [__USE_XOPEN_EXTENDED].
32346 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32347 [__USE_XOPEN_EXTENDED].
32348 (SA_RESTART): Likewise.
32349 (SA_NODEFER): Likewise.
32350 (SA_RESETHAND): Likewise.
32351 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
32352 (struct sigaction): Define sa_handler and sa_sigaction using union
32353 also for [__USE_XOPEN_EXTENDED].
32354 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32355 [__USE_XOPEN_EXTENDED].
32356 (SA_RESTART): Likewise.
32357 (SA_NODEFER): Likewise.
32358 (SA_RESETHAND): Likewise.
32359 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
32360 (struct sigaction): Define sa_handler and sa_sigaction using union
32361 also for [__USE_XOPEN_EXTENDED].
32362 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32363 [__USE_XOPEN_EXTENDED].
32364 (SA_RESTART): Likewise.
32365 (SA_NODEFER): Likewise. Define directly rather than as alias.
32366 (SA_RESETHAND): Likewise.
32367 (SA_INTERRUPT): Define only for [__USE_MISC].
32368 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
32369 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
32371 (SA_STACK): Define only for [__USE_MISC].
32372 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
32373 (struct sigaction): Define sa_handler and sa_sigaction using union
32374 also for [__USE_XOPEN_EXTENDED].
32375 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32376 [__USE_XOPEN_EXTENDED].
32377 (SA_RESTART): Likewise.
32378 (SA_NODEFER): Likewise.
32379 (SA_RESETHAND): Likewise.
32380 (SA_NOPTRACE): Define only for [__USE_MISC].
32382 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
32383 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
32384 (struct catalog_info): Likewise.
32385 * inet/htontest.c (lo): Likewise.
32387 * inet/inet_lnaof.c (inet_lnaof): Likewise.
32388 * inet/inet_net.c (inet_network): Likewise.
32389 * inet/inet_netof.c (inet_netof): Likewise.
32390 * inet/rcmd.c (__ivaliduser): Likewise.
32391 (iruserok): Likewise.
32392 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
32393 * locale/programs/locale-spec.c (locale_special): Likewise.
32394 * nis/nis_findserv.c (struct findserv_req): Likewise.
32395 (__nis_findfastest_with_timeout): Likewise.
32396 * nss/test-netdb.c (test_network): Likewise.
32397 * resolv/inet_neta.c (inet_neta): Likewise.
32398 * resolv/ns_date.c (ns_datetosecs): Likewise.
32399 (SECS_PER_DAY): Likewise.
32400 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
32402 * resolv/res_comp.c (__putlong): Likewise.
32403 (__putshort): Likewise.
32404 (_getlong): Likewise.
32405 (_getshort): Likewise.
32406 * resolv/res_debug.c (p_time): Likewise.
32407 (precsize_ntoa): Likewise.
32408 (precsize_aton): Likewise.
32409 (latlon2ul): Likewise.
32410 (loc_aton): Likewise.
32411 (loc_ntoa): Likewise.
32412 * resolv/res_hconf.c (struct netaddr): Likewise.
32413 (_res_hconf_reorder_addrs): Likewise.
32414 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
32415 (clnttcp_control): Likewise.
32416 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32417 (clntudp_control): Likewise.
32418 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
32419 (clntunix_control): Likewise.
32420 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
32421 * sunrpc/rpc/auth.h (union des_block): Likewise.
32422 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
32423 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
32424 (xdrrec_create): Likewise.
32425 (xdrrec_endofrecord): Likewise.
32426 (flush_out): Likewise.
32427 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
32428 (xdrstdio_putlong): Likewise.
32429 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
32432 * misc/sys/cdefs.h (__long_double_t): Remove.
32433 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
32434 instead of __long_double_t,
32435 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
32437 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
32439 * benchtests/scripts/compare_strings.py: Avoid display error when
32440 running on a text terminal.
32442 * benchtests/scripts/compare_strings.py (main): Add an
32443 optional -base option.
32444 (process_results): New argument base_func.
32446 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
32448 * benchtests/bench-memcpy-large.c (test_name): Likewise.
32449 * benchtests/bench-memcpy-random.c (test_name): Likewise.
32451 2017-08-07 Andreas Schwab <schwab@suse.de>
32453 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
32454 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
32455 * intl/Makefile ($(objpfx)tst-gettext.out)
32456 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
32457 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
32458 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
32459 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
32460 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
32461 * posix/Makefile ($(objpfx)globtest.out)
32462 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
32463 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
32464 ($(objpfx)tst-printf.out): Likewise.
32465 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
32466 ($(objpfx)tst-setcontext3.out): Likewise.
32468 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
32470 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32471 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
32472 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
32473 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
32474 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
32476 (CFLAGS-doasin-fma.c): New.
32477 (CFLAGS-dosincos-fma.c): Likewise.
32478 (CFLAGS-e_asin-fma.c): Likewise.
32479 (CFLAGS-e_atan2-fma.c): Likewise.
32480 (CFLAGS-e_exp-fma.c): Likewise.
32481 (CFLAGS-e_log-fma.c): Likewise.
32482 (CFLAGS-e_pow-fma.c): Likewise.
32483 (CFLAGS-halfulp-fma.c): Likewise.
32484 (CFLAGS-mpa-fma.c): Likewise.
32485 (CFLAGS-mpatan-fma.c): Likewise.
32486 (CFLAGS-mpatan2-fma.c): Likewise.
32487 (CFLAGS-mpexp-fma.c): Likewise.
32488 (CFLAGS-mplog-fma.c): Likewise.
32489 (CFLAGS-mpsqrt-fma.c): Likewise.
32490 (CFLAGS-mptan-fma.c): Likewise.
32491 (CFLAGS-s_atan-fma.c): Likewise.
32492 (CFLAGS-sincos32-fma.c): Likewise.
32493 (CFLAGS-slowexp-fma.c): Likewise.
32494 (CFLAGS-slowpow-fma.c): Likewise.
32495 (CFLAGS-s_sin-fma.c): Likewise.
32496 (CFLAGS-s_tan-fma.c): Likewise.
32497 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
32498 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
32499 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
32500 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
32501 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
32502 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
32503 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
32504 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
32505 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
32506 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
32507 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
32508 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
32509 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
32510 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
32511 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
32512 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
32513 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
32514 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
32515 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
32516 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
32517 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
32518 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
32519 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
32520 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
32521 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32522 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32523 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32524 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
32525 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32526 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32527 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32529 2017-08-04 Joseph Myers <joseph@codesourcery.com>
32531 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
32532 (min_of_type_f): New macro.
32533 (min_of_type_): Likewise.
32534 (min_of_type_l): Likewise.
32535 (min_of_type_f128): Likewise.
32536 (min_of_type): Define using __MATH_TG and taking an expression
32538 (math_check_force_underflow): Pass expression instead of type to
32540 (math_check_force_underflow_nonneg): Likewise.
32542 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32544 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32545 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
32546 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
32548 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32550 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32551 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
32552 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
32553 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
32554 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
32555 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
32556 memcpy_chk-nonshared, mempcpy_chk-nonshared,
32557 memmove_chk-nonshared and memset_chk-nonshared
32558 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
32559 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
32560 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
32561 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
32562 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
32563 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
32564 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
32565 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
32566 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
32567 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
32568 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
32569 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
32570 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
32571 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
32572 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
32573 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
32574 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
32575 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
32576 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
32577 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
32578 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
32579 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
32580 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
32581 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
32582 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
32583 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
32584 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
32585 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
32586 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
32587 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
32588 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
32589 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
32590 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
32591 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32592 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32593 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
32594 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
32595 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
32596 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
32597 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
32598 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
32599 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
32600 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
32601 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
32602 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
32603 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
32604 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
32605 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
32606 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
32607 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
32608 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
32609 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
32610 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
32611 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
32612 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
32613 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
32614 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
32615 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
32616 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
32617 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
32618 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
32619 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
32620 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
32621 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
32622 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
32623 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
32624 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
32625 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
32626 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
32627 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
32628 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
32629 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32630 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32631 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32632 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32633 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32634 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32635 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32636 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32637 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32638 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32639 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32640 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32641 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32642 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32643 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32644 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32645 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32646 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32647 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32648 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32649 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32650 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32651 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32652 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32653 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32654 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32655 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32656 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32657 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32658 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32659 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32660 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32661 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32662 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32663 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32664 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32665 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32667 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32669 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
32670 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
32671 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
32672 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
32673 svml_d_log2_core-sse2, svml_d_log4_core-sse,
32674 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
32675 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
32676 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
32677 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
32678 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
32679 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
32680 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
32681 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
32682 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
32683 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
32684 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
32685 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
32686 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
32687 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
32688 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
32689 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
32690 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
32691 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
32692 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
32693 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
32694 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
32695 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
32696 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
32697 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
32698 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
32699 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
32700 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
32701 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
32702 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
32703 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
32704 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
32705 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
32706 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
32707 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
32708 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
32709 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
32710 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
32711 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
32712 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
32713 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
32714 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
32715 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
32716 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
32717 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
32718 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
32719 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
32720 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
32721 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
32722 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
32723 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
32724 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
32725 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
32726 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
32727 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
32729 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
32730 Don't include <sysdep.h> nor <init-arch.h>.
32731 (_ZGVbN2v_cos): Removed.
32732 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
32734 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
32735 Don't include <sysdep.h> nor <init-arch.h>.
32736 (_ZGVdN4v_cos): Removed.
32737 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
32739 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
32740 Don't include <sysdep.h> nor <init-arch.h>.
32741 (_ZGVeN8v_cos): Removed.
32742 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
32744 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
32745 Don't include <sysdep.h> nor <init-arch.h>.
32746 (_ZGVbN2v_exp): Removed.
32747 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
32749 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
32750 Don't include <sysdep.h> nor <init-arch.h>.
32751 (_ZGVdN4v_exp): Removed.
32752 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
32754 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
32755 Don't include <sysdep.h> nor <init-arch.h>.
32756 (_ZGVeN8v_exp): Removed.
32757 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
32759 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
32760 Don't include <sysdep.h> nor <init-arch.h>.
32761 (_ZGVbN2v_log): Removed.
32762 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
32764 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
32765 Don't include <sysdep.h> nor <init-arch.h>.
32766 (_ZGVdN4v_log): Removed.
32767 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
32769 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
32770 Don't include <sysdep.h> nor <init-arch.h>.
32771 (_ZGVeN8v_log): Removed.
32772 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
32774 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
32775 Don't include <sysdep.h> nor <init-arch.h>.
32776 (_ZGVbN2vv_pow): Removed.
32777 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
32779 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
32780 Don't include <sysdep.h> nor <init-arch.h>.
32781 (_ZGVdN4vv_pow): Removed.
32782 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
32784 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
32785 Don't include <sysdep.h> nor <init-arch.h>.
32786 (_ZGVeN8vv_pow): Removed.
32787 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
32789 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
32790 Don't include <sysdep.h> nor <init-arch.h>.
32791 (_ZGVbN2v_sin): Removed.
32792 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
32794 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
32795 Don't include <sysdep.h> nor <init-arch.h>.
32796 (_ZGVbN4v_sin): Removed.
32797 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
32799 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
32800 Don't include <sysdep.h> nor <init-arch.h>.
32801 (_ZGVbN8v_sin): Removed.
32802 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
32804 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
32805 Don't include <sysdep.h> nor <init-arch.h>.
32806 (_ZGVbN2vvv_sincos): Removed.
32807 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
32809 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
32810 Don't include <sysdep.h> nor <init-arch.h>.
32811 (_ZGVdN4vvv_sincos): Removed.
32812 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
32814 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
32815 Don't include <sysdep.h> nor <init-arch.h>.
32816 (_ZGVeN8vvv_sincos): Removed.
32817 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
32819 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
32820 Don't include <sysdep.h> nor <init-arch.h>.
32821 (_ZGVeN16v_cosf): Removed.
32822 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
32824 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
32825 Don't include <sysdep.h> nor <init-arch.h>.
32826 (_ZGVbN4v_cosf): Removed.
32827 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
32829 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
32830 Don't include <sysdep.h> nor <init-arch.h>.
32831 (_ZGVdN8v_cosf): Removed.
32832 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
32834 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
32835 Don't include <sysdep.h> nor <init-arch.h>.
32836 (_ZGVeN16v_expf): Removed.
32837 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
32839 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
32840 Don't include <sysdep.h> nor <init-arch.h>.
32841 (_ZGVbN4v_expf): Removed.
32842 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
32844 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
32845 Don't include <sysdep.h> nor <init-arch.h>.
32846 (_ZGVdN8v_expf): Removed.
32847 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
32849 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
32850 Don't include <sysdep.h> nor <init-arch.h>.
32851 (_ZGVeN16v_logf): Removed.
32852 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
32854 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
32855 Don't include <sysdep.h> nor <init-arch.h>.
32856 (_ZGVbN4v_logf): Removed.
32857 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
32859 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
32860 Don't include <sysdep.h> nor <init-arch.h>.
32861 (_ZGVdN8v_logf): Removed.
32862 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
32864 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
32865 Don't include <sysdep.h> nor <init-arch.h>.
32866 (_ZGVeN16vv_powf): Removed.
32867 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
32869 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
32870 Don't include <sysdep.h> nor <init-arch.h>.
32871 (_ZGVbN4vv_powf): Removed.
32872 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
32874 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
32875 Don't include <sysdep.h> nor <init-arch.h>.
32876 (_ZGVdN8vv_powf): Removed.
32877 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
32879 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
32880 Don't include <sysdep.h> nor <init-arch.h>.
32881 (_ZGVeN16vvv_sincosf): Removed.
32882 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
32884 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
32885 Don't include <sysdep.h> nor <init-arch.h>.
32886 (_ZGVbN4vvv_sincosf): Removed.
32887 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
32889 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
32890 Don't include <sysdep.h> nor <init-arch.h>.
32891 (_ZGVdN8vvv_sincosf): Removed.
32892 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
32894 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
32895 Don't include <sysdep.h> nor <init-arch.h>.
32896 (_ZGVeN16v_sinf): Removed.
32897 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
32899 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
32900 Don't include <sysdep.h> nor <init-arch.h>.
32901 (_ZGVbN4v_sinf): Removed.
32902 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
32904 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
32905 Don't include <sysdep.h> nor <init-arch.h>.
32906 (_ZGVdN8v_sinf): Removed.
32908 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32910 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32911 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
32912 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
32913 s_rint-sse4_1 and s_rintf-sse4_1.
32914 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
32915 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
32916 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
32917 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
32918 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
32919 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
32920 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
32921 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
32922 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
32923 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
32924 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
32925 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32927 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
32928 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
32929 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32930 (__ceilf): Removed.
32931 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
32932 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
32933 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32934 (__floor): Removed.
32935 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
32936 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
32937 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32938 (__floorf): Removed.
32939 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
32940 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
32941 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32942 (__nearbyint): Removed.
32943 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
32944 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
32945 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32946 (__nearbyintf): Removed.
32947 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
32948 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
32949 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32951 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
32952 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
32953 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32954 (__rintf): Removed.
32956 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32958 * sysdeps/i386/start.S (_start): Check Check PIC instead of
32959 SHARED. Avoid dynamic relocation against main in static PIE.
32961 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32964 * elf/Makefile (CFLAGS-tst-prelink.c): New.
32965 (LDFLAGS-tst-prelink): Likewise.
32967 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32969 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
32970 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
32971 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
32972 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
32973 (INTERNAL_SYSCALL_NCS): Likewise.
32974 (LOADARGS_1): Likewise.
32975 (LOADARGS_5): Likewise.
32976 (RESTOREARGS_1): Likewise.
32977 (RESTOREARGS_5): Likewise.
32979 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32981 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
32982 (MEMPCPY_SYMBOL): Likewise.
32983 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
32984 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
32985 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
32987 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32988 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
32990 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
32991 (__hidden_ver1): Don't use in libc.a.
32992 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
32993 (__mempcpy): Don't create a weak alias in libc.a.
32994 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
32996 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
32997 (__hidden_ver1): Don't use in libc.a.
32999 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33001 * config.make.in (have-insert): New.
33002 * configure.ac (libc_cv_insert): New. Set to yes if linker
33003 supports INSERT in linker script.
33004 (AC_SUBST(libc_cv_insert): New.
33005 * configure: Regenerated.
33006 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
33007 if $(have-insert) == yes.
33009 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33011 * elf/Makefile (tests): Add vismain only if
33012 $(have-protected-data) == yes.
33013 (tests-pie): Likewise.
33015 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33018 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
33019 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
33021 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33024 * sysdeps/i386/i586/memset.S
33025 (__memset_zero_constant_len_parameter): Removed.
33026 * sysdeps/i386/i686/memset.S
33027 (__memset_zero_constant_len_parameter): Likewise.
33028 * sysdeps/i386/i686/multiarch/memset_chk.S
33029 (__memset_zero_constant_len_parameter): Likewise.
33030 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
33033 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
33035 * stdlib/getentropy.c (getentropy): Change return type to int.
33037 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
33039 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
33041 2017-08-03 Joseph Myers <joseph@codesourcery.com>
33043 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
33045 * math/s_nexttowardf.c (__nexttowardf): Likewise.
33046 * sysdeps/generic/math_private.h (ieee_double_shape_type):
33048 (ieee_float_shape_type): Likewise.
33049 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
33050 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
33051 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
33052 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33053 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
33054 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
33055 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
33056 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
33057 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
33059 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
33060 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
33061 (__ieee754_yn): Likewise.
33062 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
33063 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
33064 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
33066 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
33067 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
33068 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
33069 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
33070 (__erfc): Likewise.
33071 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
33072 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
33073 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
33074 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
33075 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
33076 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
33078 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
33079 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
33080 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
33081 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
33082 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
33083 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
33084 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
33085 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
33086 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
33087 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
33088 (__issignaling): Likewise.
33089 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
33090 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
33091 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
33093 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33094 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
33095 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
33096 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
33098 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
33100 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
33101 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
33102 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
33103 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
33104 (__erfcf): Likewise.
33105 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
33106 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
33107 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
33108 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
33110 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
33111 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
33113 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
33114 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
33115 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
33116 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
33117 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
33118 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
33119 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
33120 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
33122 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
33124 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
33126 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
33127 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
33129 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
33131 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
33132 (__ieee754_ynl): Likewise.
33133 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
33134 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
33136 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
33138 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
33139 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
33140 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33142 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
33143 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
33144 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
33145 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
33146 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
33147 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
33148 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
33149 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
33151 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
33152 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
33153 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
33155 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
33156 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
33157 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
33158 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
33159 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
33160 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33162 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
33164 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33166 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33168 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
33169 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
33170 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33171 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
33172 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
33173 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
33174 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
33176 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
33178 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
33179 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33181 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
33182 (__ieee754_remainderl): Likewise.
33183 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33184 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33185 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
33186 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
33188 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
33189 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33191 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33192 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
33193 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
33194 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
33195 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
33196 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
33198 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
33199 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
33200 (__ieee754_y0l): Likewise.
33203 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33204 (__ieee754_y1l): Likewise.
33207 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
33208 (__ieee754_ynl): Likewise.
33209 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
33210 (__ieee754_lgammal_r): Likewise.
33211 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
33213 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
33214 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
33215 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
33216 (__erfcl): Likewise.
33217 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
33218 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
33220 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
33221 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
33222 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
33223 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
33224 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
33225 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33226 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33228 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
33229 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
33230 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
33231 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
33232 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33234 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
33235 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
33237 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
33238 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
33239 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
33240 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
33241 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
33243 2017-08-03 Florian Weimer <fweimer@redhat.com>
33246 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
33247 on memory allocation failure.
33249 2017-08-03 Alan Modra <amodra@gmail.com>
33251 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
33252 tst-tlsopt-powerpc.c with function name change and no test harness.
33253 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
33254 Call tls_get_addr_opt_test.
33255 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
33256 (modules-names): Add mod-tlsopt-powerpc.
33257 (mod-tlsopt-powerpc.so-no-z-defs): Define.
33258 (tst-tlsopt-powerpc): Depend on .so.
33259 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
33260 define. Expand use in TLS_GD and TLS_LD.
33262 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
33264 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
33266 * sysdeps/posix/shm_open.c: Include <pthread.h>.
33268 2017-08-02 Joseph Myers <joseph@codesourcery.com>
33271 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
33272 comparing size with that of double.
33273 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
33274 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
33275 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
33276 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
33277 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33278 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
33279 unsigned __int128 types.
33281 2017-08-02 Steve Ellcey <sellcey@cavium.com>
33283 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
33284 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
33285 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
33286 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
33287 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
33289 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33291 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
33293 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33295 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
33297 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
33298 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
33299 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33300 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
33301 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
33302 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
33303 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
33305 2017-08-02 Joseph Myers <joseph@codesourcery.com>
33308 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
33309 bit-field expressions passed to sizeof or typeof.
33310 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33311 (__TGMATH_F128): Likewise.
33312 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33313 (__TGMATH_CF128): Likewise.
33314 (__TGMATH_UNARY_REAL_ONLY): Likewise.
33315 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
33316 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
33317 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
33318 (__TGMATH_BINARY_REAL_ONLY): Likewise.
33319 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
33320 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
33321 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
33322 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
33323 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
33324 (__TGMATH_UNARY_REAL_IMAG): Likewise.
33325 (__TGMATH_UNARY_IMAG): Likewise.
33326 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
33327 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33328 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
33330 (define_vars_for_type): Handle bit_field type specially.
33331 (Tests.__init__): Declare structure with bit-field element.
33333 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33336 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
33337 (MEMCPY_CHK): Define only if SHARED is defined.
33338 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
33340 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
33343 See ChangeLog.18 for earlier changes.