1 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3 * include/random-bits.h: New file.
4 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
5 (__res_context_mkquery): Remove usage hp-timing usage and replace with
7 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
8 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
11 * include/libc-internal.h (__get_clockfreq): Remove prototype.
12 * rt/Makefile (clock-routines): Remove get_clockfreq.
13 * rt/get_clockfreq.c: Remove file.
14 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
15 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
16 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
17 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
18 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
20 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
21 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
22 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
23 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
24 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
26 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
27 pthread_clock_settime.
28 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
29 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
30 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
31 * elf/rtld.c (_dl_start_final): Likewise.
32 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
33 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
35 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
36 (_dl_cpuclock_offset): Remove.
37 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
38 cpuclock_offset_ununsed.
39 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
41 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
42 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
43 * nptl/pthread_clock_gettime.c: Remove file.
44 * nptl/pthread_clock_settime.c: Likewise.
45 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
46 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
47 and CLOCK_PROCESS_CPUTIME_ID support.
48 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
49 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
50 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
51 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
52 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
54 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
56 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
58 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
59 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
60 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
62 * sysdeps/s390/memmem-arch13.S: New file.
63 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
64 if it is only used as fallback.
65 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
66 * sysdeps/s390/multiarch/ifunc-impl-list.c
67 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
69 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
71 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
72 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
73 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
75 * sysdeps/s390/multiarch/ifunc-impl-list.c
76 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
77 * sysdeps/s390/strstr-arch13.S: New file.
78 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
79 if it is only used as fallback.
80 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
82 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
84 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
85 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
86 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
87 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
89 * sysdeps/s390/multiarch/ifunc-impl-list.c
90 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
91 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
92 S390_IS_ARCH13_MIE3): New defines.
94 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
96 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
97 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
98 * sysdeps/s390/configure.ac: Add checks for arch13 support.
99 * sysdeps/s390/configure: Regenerated.
101 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
103 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
104 Add vxe2, vxp, dflt, sort flags.
105 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
106 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
108 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
109 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
110 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
111 HWCAP_S390_DFLT): Define.
113 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
116 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
118 * locale/programs/ld-collate.c (collate_output): Likewise.
120 2019-03-21 DJ Delorie <dj@redhat.com>
123 * iconv/iconvconfig.c (write_output): Replace floating point math
124 with integer math to avoid imprecise results.
125 * locale/programs/ld-collate.c (collate_output): Likewise.
127 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
129 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
130 Add HWCAP_S390_VX and HWCAP_S390_VXE.
132 2019-03-20 mansayk <6688000@gmail.com>
135 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
136 (abday): Likewise, but remove the trailing dots.
138 2019-03-19 Joseph Myers <joseph@codesourcery.com>
140 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
142 (HWCAP_PACA): Likewise.
143 (HWCAP_PACG): Likewise.
144 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
146 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
148 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
150 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
153 2019-03-15 Joseph Myers <joseph@codesourcery.com>
155 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
157 (old_getpagesize): New syscall.
159 2019-03-15 Felix Yan <felixonmars@archlinux.org>
162 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
163 * localedata/locales/cmn_TW (era): Likewise.
164 * localedata/locales/hak_TW (era): Likewise.
165 * localedata/locales/lzh_TW (era): Likewise.
166 * localedata/locales/nan_TW (era): Likewise.
168 2019-03-14 Florian Weimer <fweimer@redhat.com>
170 Remove obsolete, never-implemented XSI STREAMS declarations.
171 * manual/terminal.texi (Allocation): Remove portability note and
173 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
175 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
176 * sysdeps/unix/inet/Subdirs (streams): Remove.
177 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
178 (conformtest-headers-UNIX98): Likewise.
179 (conformtest-headers-XOPEN2K): Likewise.
180 (conformtest-headers-POSIX2008): Likewise.
181 * posix/compat-streams.c: New file.
182 * posix/Makefile (routines): Add it.
183 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
184 getpmsg, isastream, putmsg, putpmsg.
185 (GLIBC_2.30): New section.
186 * bits/stropts.h: Remove file.
187 * bits/xtitypes.h: Likewise.
188 * conform/data/stropts.h-data: Likewise.
189 * include/stropts.h: Likewise.
190 * include/sys/stropts.h: Likewise.
191 * include/xtitypes.h: Likewise.
192 * streams/Makefile: Likewise.
193 * streams/fattach.c: Likewise.
194 * streams/fdetach.c: Likewise.
195 * streams/getmsg.c: Likewise.
196 * streams/getpmsg.c: Likewise.
197 * streams/isastream.c: Likewise.
198 * streams/putmsg.c: Likewise.
199 * streams/putpmsg.c: Likewise.
200 * streams/stropts.h: Likewise.
201 * streams/sys/stropts.h: Likewise.
202 * sysdeps/ia64/bits/xtitypes.h: Likewise.
203 * sysdeps/s390/bits/xtitypes.h: Likewise.
204 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
205 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
206 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
207 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
208 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
209 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
210 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
211 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
212 * sysdeps/x86/bits/xtitypes.h: Likewise.
214 2019-03-14 Florian Weimer <fweimer@redhat.com>
216 * nss/tst-nss-files-alias-truncated.c (do_test): Load
218 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
219 but not with libnss_files.
220 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
222 2019-03-14 Zack Weinberg <zackw@panix.com>
224 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
225 Specify encoding="utf-8" when opening headers to check.
227 2019-03-13 Joseph Myers <joseph@codesourcery.com>
229 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
231 (Context.checkout_tar): Handle variable major version for Linux
234 2019-03-13 Florian Weimer <fweimer@redhat.com>
237 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
239 2019-03-13 Zack Weinberg <zackw@panix.com>
241 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
243 * include/inttypes.h: Adjust to match.
244 * include/stdint.h: New wrapper.
246 2019-03-13 Zack Weinberg <zackw@panix.com>
248 * scripts/check-obsolete-constructs.py: New test script.
249 * scripts/check-installed-headers.sh: Remove tests for
250 obsolete typedefs, superseded by check-obsolete-constructs.py.
251 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
252 as a special test. Update commentary.
253 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
254 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
256 * posix/sys/types.h (__u_intN_t): Remove.
257 (u_int8_t): Typedef using __uint8_t.
258 (u_int16_t): Typedef using __uint16_t.
259 (u_int32_t): Typedef using __uint32_t.
260 (u_int64_t): Typedef using __uint64_t.
262 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
264 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
266 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
267 Ignore types other than AT_HWCAP.
268 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
269 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
271 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
272 in the case of falling back to generic output mechanism.
273 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
276 2019-03-12 Florian Weimer <fweimer@redhat.com>
278 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
280 2019-03-12 Florian Weimer <fweimer@redhat.com>
283 resolv: Enable full ICMP errors for UDP DNS sockets
284 * resolv/res_enable_icmp.c: New file.
285 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
286 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
287 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
290 2019-03-11 Mao Han <han_mao@c-sky.com>
292 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
293 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
295 2019-03-11 Mao Han <han_mao@c-sky.com>
297 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
298 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
299 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
301 2019-03-11 Mao Han <han_mao@c-sky.com>
303 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
305 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
308 2019-03-11 Mao Han <han_mao@c-sky.com>
310 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
311 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
314 2019-03-08 Mike FABIAN <mfabian@redhat.com>
317 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
318 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
320 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
321 * localedata/unicode-gen/PropList.txt: Likewise.
322 * localedata/unicode-gen/UnicodeData.txt: Likewise.
323 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
324 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
325 * localedata/charmaps/UTF-8: Regenerate.
326 * localedata/locales/i18n_ctype: Likewise.
327 * localedata/locales/tr_TR: Likewise.
328 * localedata/locales/translit_circle: Likewise.
329 * localedata/locales/translit_cjk_compat: Likewise.
330 * localedata/locales/translit_combining: Likewise.
331 * localedata/locales/translit_compat: Likewise.
332 * localedata/locales/translit_font: Likewise.
333 * localedata/locales/translit_fraction: Likewise.
335 2019-03-07 Joseph Myers <joseph@codesourcery.com>
337 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
338 than after operators.
339 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
340 (setitimer_locked): Likewise.
341 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
342 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
343 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
344 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
345 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
346 (PPC_CPU_SUPPORTED): Likewise.
347 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
348 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
349 (stat_overflow): Likewise.
350 (statfs_overflow): Likewise.
351 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
352 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
353 (eq_ttyname_r): Likewise.
354 (run_chroot_tests): Likewise.
356 2019-03-07 Florian Weimer <fweimer@redhat.com>
358 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
361 2019-03-07 Martin Liska <mliska@suse.cz>
363 * math/Makefile: Change location where math-vector-fortran.h is
365 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
366 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
367 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
368 * scripts/check-installed-headers.sh: Skip Fortran header files.
369 * scripts/check-wrapper-headers.py: Likewise.
371 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
373 * nptl/nptl-init.c (__have_futex_clock_realtime,
374 __have_futex_clock_realtime): Remove definition.
375 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
376 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
377 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
378 __ASSUME_FUTEX_CLOCK_REALTIME support.
379 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
380 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
381 * sysdeps/unix/sysv/linux/kernel-features.h
382 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
383 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
386 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
388 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
389 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
390 __GI___wcscpy and wcscpy.
392 2019-03-04 Florian Weimer <fweimer@redhat.com>
394 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
396 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
399 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
401 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
402 * sysdeps/s390/s390-32/sysdep.h: Likewise.
404 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
407 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
408 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
410 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
412 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
415 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
416 (do_test_call_varg): Likewise.
417 (do_test_call_rarg): Likewise.
418 * sysdeps/ieee754/ldbl-opt/Makefile
419 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
421 ($(objpfx)tst-nldbl-warn.c): New rule.
422 ($(objpfx)tst-nldbl-error.c): Likewise.
423 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
426 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
429 * include/bits/error-ldbl.h: New file.
430 * include/error.h: Include stdarg.h. Declare internal functions
431 __error_internal and __error_at_line_internal.
432 * misc/Makefile (headers): Add bits/error-ldbl.h.
433 * misc/bits/error-ldbl.h: New file.
434 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
435 avoid the inclusion of bits/error.h.
436 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
437 and __nldbl_error_at_line.
438 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
439 (__nldbl_error, __ndlbl_error_at_line): New functions.
440 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
441 Redirect error and error_at_line.
442 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
451 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
452 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
453 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
455 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
458 * include/bits/err-ldbl.h: New file.
459 * include/err.h: Add prototypes for the internal functions:
460 __vwarnx_internal and __vwarn_internal.
461 * misc/Makefile (headers): Add bits/err-ldbl.h.
462 * misc/bits/err-ldbl.h: New file.
463 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
464 defined, i.e.: when -mlong-double-64 is in use.
465 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
466 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
467 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
468 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
469 (VA_CALL): New macro.
470 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
471 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
473 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
474 declare prototypes for the new functions.
475 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
484 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
485 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
486 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
488 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
490 * sysdeps/ieee754/ldbl-opt/Makefile
491 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
492 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
493 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
495 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
498 * argp/Makefile (headers): Add bits/argp-ldbl.h.
499 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
500 * argp/bits/argp-ldbl.h: New file.
501 * include/argp.h: Include stdarg.h. Add prototypes for internal
502 functions: __argp_error_internal and __argp_failure_internal.
503 * include/bits/argp-ldbl.h: New file.
504 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
505 __nldbl_argp_error and __nldbl_argp_failure.
506 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
507 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
508 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
509 Redirect argp_error and argp_failure calls.
510 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
519 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
520 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
521 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
523 2019-03-01 Florian Weimer <fweimer@redhat.com>
526 * elf/tst-big-note-lib.S: Create a syntactically valid note.
527 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
528 code, to avoid creating an ABI tag note.
529 (modules-names-nobuild): Add tst-big-note-lib.
531 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
533 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
534 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
536 2019-03-01 Florian Weimer <fweimer@redhat.com>
539 * sysdeps/unix/sysv/linux/netlink_assert_response.c
540 (__netlink_assert_response): Add additional missing newlines.
542 2019-02-28 Joseph Myers <joseph@codesourcery.com>
544 * sysdeps/powerpc/powerpc32/dl-machine.c
545 (__elf_machine_fixup_plt): Use space before '('.
546 (__process_machine_rela): Likewise.
547 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
549 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
551 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
553 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
556 (check_result): Likewise.
557 (check_excepts): Likewise.
558 (check_op): Likewise.
560 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
561 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
563 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
566 (__makecontext): Likewise.
567 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
570 2019-02-28 Florian Weimer <fweimer@redhat.com>
573 elf: Add test with a local IFUNC resolver.
574 * elf/ifuncmain9.c: New file.
575 * elf/ifuncmain9pic.c: Likewise.
576 * elf/ifuncmain9picstatic.c: Likewise.
577 * elf/ifuncmain9pie.c: Likewise.
578 * elf/ifuncmain9static.c: Likewise.
579 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
580 ifuncmain9static, ifuncmain9picstatic.
581 * elf/Makefile [multi-arch && build-shared] (tests-internal):
582 Add ifuncmain9, ifuncmain9pic.
583 * elf/Makefile [multi-arch && build-shared && have-fpie]
584 (ifunc-pie-tests): Add ifuncmain9pie.
585 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
586 (CFLAGS-ifuncmain9picstatic.c): Likewise.
587 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
589 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
591 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
592 * configure: Regenerated.
593 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
595 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
597 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
598 symbol as __wcspcy instead of wcscpy.
600 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
602 * include/stdio.h (__renameat2): New hidden prototype.
603 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
604 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
605 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
606 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
608 2019-02-27 Joseph Myers <joseph@codesourcery.com>
610 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
613 * benchtests/bench-strcpy.c (do_test): Use space before '('.
614 * benchtests/bench-string.h (cmdline_process_function): Likewise.
615 * benchtests/bench-strlen.c (do_test): Likewise.
616 (test_main): Likewise.
617 * catgets/gencat.c (read_old): Likewise.
618 * elf/cache.c (load_aux_cache): Likewise.
619 * iconvdata/bug-iconv8.c (do_test): Likewise.
620 * math/test-tgmath-ret.c (do_test): Likewise.
621 * nis/nis_call.c (rec_dirsearch): Likewise.
622 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
623 * nptl/tst-audit-threads.c (do_test): Likewise.
624 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
625 * nss/nss_test1.c (init): Likewise.
626 * nss/test-netdb.c (test_hosts): Likewise.
627 * posix/execvpe.c (maybe_script_execute): Likewise.
628 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
629 * stdio-common/tst-printf.c (do_test): Likewise.
630 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
631 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
632 * stdlib/qsort.c (STACK_SIZE): Likewise.
633 * stdlib/test-canon.c (do_test): Likewise.
634 * stdlib/tst-swapcontext1.c (do_test): Likewise.
635 * string/memcmp.c (OPSIZ): Likewise.
636 * string/test-strcpy.c (do_test): Likewise.
637 (do_random_tests): Likewise.
638 * string/test-strlen.c (do_test): Likewise.
639 (test_main): Likewise.
640 * string/test-strrchr.c (do_test): Likewise.
641 (do_random_tests): Likewise.
642 * string/tester.c (test_memrchr): Likewise.
643 (test_memchr): Likewise.
644 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
645 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
646 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
647 (read_encoded_value_with_base): Likewise.
648 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
649 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
650 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
651 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
652 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
653 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
655 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
657 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
658 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
659 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
661 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
663 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
665 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
667 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
668 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
669 (FP_XSTATE_MAGIC2_SIZE): Likewise.
670 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
671 * time/test_time.c (main): Likewise.
673 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
675 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
677 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
680 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
683 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
685 * include/wchar.h (__wcscpy): New prototype.
686 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
687 (__wcscpy): Route internal symbol to generic implementation.
688 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
689 Add internal __wcscpy alias.
690 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
691 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
692 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
693 * wcsmbs/wcscpy.c (wcscpy): Add
694 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
695 use generic implementation.
696 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
698 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
701 * sysdeps/m68k/wcpcpy.c: Remove file.
702 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
704 2019-02-26 Joseph Myers <joseph@codesourcery.com>
706 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
707 than after operators.
708 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
709 * sysdeps/mach/hurd/getcwd.c
710 (__hurd_canonicalize_directory_name_internal): Likewise.
711 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
712 (pthread_mutex_consistent): Likewise.
713 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
715 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
716 (__pthread_mutex_transfer_np): Likewise.
717 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
718 (__pthread_mutex_unlock): Likewise.
719 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
720 (mtx_owned_p): Likewise.
721 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
722 (pthread_mutexattr_getrobust): Likewise.
723 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
724 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
726 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
727 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
728 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
729 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
730 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
731 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
732 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
734 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
736 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
737 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
738 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
739 (____longjmp_chk): Likewise.
740 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
742 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
743 (INTERNAL_SYSCALL): Likewise.
744 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
745 (INTERNAL_SYSCALL): Likewise.
746 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
747 (__get_clockfreq_via_cpuinfo): Likewise.
749 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
751 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
752 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
753 (WORD_COPY_BWD): Likewise.
754 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
755 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
757 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
758 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
760 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
762 2019-02-25 Joseph Myers <joseph@codesourcery.com>
764 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
765 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
766 rather than after operators.
767 * elf/cache.c (print_cache): Likewise.
768 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
769 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
770 * hurd/hurdinit.c (_hurd_setproc): Likewise.
771 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
772 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
773 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
774 (reauth_proc): Likewise.
775 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
776 (__file_name_split_at): Likewise.
777 (__directory_name_split_at): Likewise.
778 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
779 * hurd/port2fd.c (_hurd_port2fd): Likewise.
780 * iconv/gconv_dl.c (do_print): Likewise.
781 * inet/netinet/in.h (struct sockaddr_in): Likewise.
782 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
783 * locale/setlocale.c (new_composite_name): Likewise.
784 * malloc/memusagestat.c (main): Likewise.
785 * misc/fstab.c (fstab_convert): Likewise.
786 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
788 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
789 (getgrent_next_file): Likewise.
790 (internal_getgrnam_r): Likewise.
791 (internal_getgrgid_r): Likewise.
792 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
794 (internal_getgrent_r): Likewise.
795 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
796 (getpwent_next_nss): Likewise.
797 (getpwent_next_file): Likewise.
798 (internal_getpwnam_r): Likewise.
799 (internal_getpwuid_r): Likewise.
800 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
802 (getspent_next_nss): Likewise.
803 (internal_getspnam_r): Likewise.
804 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
805 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
806 * string/strchr.c (STRCHR): Likewise.
807 * string/strchrnul.c (STRCHRNUL): Likewise.
808 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
809 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
810 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
811 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
812 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
814 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
815 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
816 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
817 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
818 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
819 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
820 (open_file): Likewise.
821 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
822 (pthread_mutexattr_setprotocol): Likewise.
823 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
824 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
825 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
826 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
827 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
829 (elf_machine_rela): Likewise.
830 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
831 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
832 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
833 * sysdeps/posix/rename.c (rename): Likewise.
834 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
835 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
836 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
837 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
838 * sysdeps/unix/grantpt.c (grantpt): Likewise.
839 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
840 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
842 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
844 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
845 * time/tzfile.c (__tzfile_compute): Likewise.
847 2019-02-22 Joseph Myers <joseph@codesourcery.com>
849 * benchtests/bench-memmem.c (simple_memmem): Break lines before
850 rather than after operators.
851 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
852 * crypt/md5.c (md5_finish_ctx): Likewise.
853 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
854 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
855 * elf/cache.c (load_aux_cache): Likewise.
856 * elf/dl-load.c (open_verify): Likewise.
857 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
858 * elf/readelflib.c (process_elf_file): Likewise.
859 * elf/rtld.c (dl_main): Likewise.
860 * elf/sprof.c (generate_call_graph): Likewise.
861 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
862 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
863 * hurd/dtable.c (reauth_dtable): Likewise.
864 * hurd/getdport.c (__getdport): Likewise.
865 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
866 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
867 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
869 * hurd/hurdioctl.c (fioctl): Likewise.
870 * hurd/hurdselect.c (_hurd_select): Likewise.
871 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
872 (STOPSIGS): Likewise.
873 * hurd/hurdstartup.c (_hurd_startup): Likewise.
874 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
875 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
876 * hurd/msgportdemux.c (msgport_server): Likewise.
877 * hurd/setauth.c (_hurd_setauth): Likewise.
878 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
879 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
880 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
881 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
882 * login/tst-utmp.c (do_check): Likewise.
883 (simulate_login): Likewise.
884 * mach/lowlevellock.h (lll_lock): Likewise.
885 (lll_trylock): Likewise.
886 * math/test-fenv.c (ALL_EXC): Likewise.
887 * math/test-fenvinline.c (ALL_EXC): Likewise.
888 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
889 * nis/nis_call.c (__do_niscall3): Likewise.
890 * nis/nis_callback.c (cb_prog_1): Likewise.
891 * nis/nis_defaults.c (searchaccess): Likewise.
892 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
893 * nis/nis_ismember.c (internal_ismember): Likewise.
894 * nis/nis_local_names.c (nis_local_principal): Likewise.
895 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
896 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
898 * nis/ypclnt.c (yp_match): Likewise.
899 (yp_first): Likewise.
901 (yp_master): Likewise.
902 (yp_order): Likewise.
903 * nscd/hstcache.c (cache_addhst): Likewise.
904 * nscd/initgrcache.c (addinitgroupsX): Likewise.
905 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
906 (internal_getpwuid_r): Likewise.
907 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
908 * posix/glob.h (__GLOB_FLAGS): Likewise.
909 * posix/regcomp.c (peek_token): Likewise.
910 (peek_token_bracket): Likewise.
911 (parse_expression): Likewise.
912 * posix/regexec.c (sift_states_iter_mb): Likewise.
913 (check_node_accept_bytes): Likewise.
914 * posix/tst-spawn3.c (do_test): Likewise.
915 * posix/wordexp-test.c (testit): Likewise.
916 * posix/wordexp.c (parse_tilde): Likewise.
917 (exec_comm): Likewise.
918 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
919 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
920 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
921 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
922 * stdio-common/tst-fileno.c (do_test): Likewise.
923 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
924 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
925 * stdlib/strtod_l.c (round_and_return): Likewise.
926 (____STRTOF_INTERNAL): Likewise.
927 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
928 * string/strcspn.c (STRCSPN): Likewise.
929 * string/test-memmem.c (simple_memmem): Likewise.
930 * termios/tcsetattr.c (tcsetattr): Likewise.
931 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
932 * time/asctime.c (asctime_internal): Likewise.
933 * time/strptime_l.c (__strptime_internal): Likewise.
934 * time/sys/time.h (timercmp): Likewise.
935 * time/tzfile.c (__tzfile_compute): Likewise.
937 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
940 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
942 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
944 * argp/argp-help.c (__argp_error_internal): New function,
945 renamed from __argp_error, but that takes a 'mode_flags'
946 parameter to control the format of long double parameters.
947 (__argp_error): Converted into a call __argp_error_internal.
948 (__argp_failure_internal): New function, renamed from
949 __argp_failure, but that takes a 'mode_flags' parameter.
950 (__argp_failure): Converted into a call __argp_failure_internal.
951 * misc/err.c (__vwarnx_internal): New function, renamed from
952 vwarnx, but that takes a 'mode_flags' parameter.
953 (vwarnx): Converted into a call to __vwarnx_internal.
954 (__vwarn_internal): New function, renamed from vwarn, but that
955 takes a 'mode_flags' parameter.
956 (vwarn): Converted into a call to __vwarn_internal.
957 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
958 call to __vfxprintf with 'mode_flags'.
959 (__error_internal): New function, renamed from error, but that
960 takes a 'mode_flags' parameter.
961 (error): Converted into a call to __error_internal.
962 (__error_at_line_internal): New function, renamed from
963 error_at_line, but that takes a 'mode_flags' parameter.
964 (error_at_line): Converted into a call to
965 __error_at_line_internal.
966 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
967 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
970 2019-02-20 Martin Liska <mliska@suse.cz>
972 * math/Makefile: Install math-vector-fortran.h.
973 * bits/math-vector-fortran.h: New file.
974 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
976 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
978 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
979 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
981 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
983 * nptl/pthread_mutex_trylock.c: Fix comment.
985 2019-02-19 Carlos O'Donell <carlos@redhat.com>
987 * nptl/pthread_tryjoin.c: Fix comment.
989 2019-02-18 Joseph Myers <joseph@codesourcery.com>
992 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
993 after R_SPARC_H34 case.
995 2019-02-18 Florian Weimer <fweimer@redhat.com>
997 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
998 (getanswer): Do not call Dprintf.
999 (res_gethostbyname2_context): Likewise.
1000 (res_gethostbyaddr_context): Likewise.
1002 2019-02-18 Florian Weimer <fweimer@redhat.com>
1004 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
1006 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
1008 * libio/stdfiles.c: Update comment.
1009 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
1010 set _IO_stdin, _IO_stdout, _IO_stderr.
1011 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
1012 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
1014 (_IO_deallocate_file): New inline function.
1015 * libio/iolibio.h (_IO_vprintf): Remove definition.
1016 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
1017 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
1018 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
1020 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
1021 __builtin_expect. Use _IO_legacy_file.
1023 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
1025 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
1026 Initialize ctid with a known value and remove update of ctid
1028 (wait_tid): Adjust arguments and call futex_wait with ctid_val
1029 as assumed current value of ctid_ptr.
1031 2019-02-15 Florian Weimer <fweimer@redhat.com>
1033 Check that non-sysdeps headers have wrapper headers.
1034 * scripts/check-wrapper-headers.py: New file.
1035 * Makefile (tests-special): Add check-wrapper-headers.out.
1036 (check-wrapper-headers.out): New target.
1037 * Rules (tests-special): Add check-wrapper-headers.out.
1038 (check-wrapper-headers.out): New target.
1040 2019-02-15 Florian Weimer <fweimer@redhat.com>
1042 Add missing header wrappers under include/.
1043 * include/ar.h: New file.
1044 * include/bits/mqueue2.h: Likewise.
1045 * include/bits/stdio.h: Likewise.
1046 * include/bits/stdio2.h: Likewise.
1047 * include/fstab.h: Likewise.
1048 * include/fts.h: Likewise.
1049 * include/lastlog.h: Likewise.
1050 * include/netinet/icmp6.h: Likewise.
1051 * include/netinet/igmp.h: Likewise.
1052 * include/netinet/ip6.h: Likewise.
1053 * include/re_comp.h: Likewise.
1054 * include/regexp.h: Likewise.
1055 * include/rpcsvc/bootparam.h: Likewise.
1056 * include/rpcsvc/yp_prot.h: Likewise.
1057 * include/sys/random.h: Likewise.
1058 * include/sys/stropts.h: Likewise.
1059 * include/sys/ttychars.h: Likewise.
1060 * include/sys/vfs.h: Likewise.
1061 * include/wait.h: Likewise.
1063 2019-02-15 Florian Weimer <fweimer@redhat.com>
1065 * nptl_db/proc_service.h: Move to ...
1066 * sysdeps/nptl/proc_service.h: ... here.
1067 * nptl_db/thread_db.h: Move to ...
1068 * sysdeps/nptl/thread_db.h: ... here.
1069 * nptl/descr.h: Include <thread_db.h>.
1071 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1073 * io/Makefile (tests): Add tst-lockf.
1074 * io/lockf.c (lockf): Use __fcntl and only define for
1075 !__OFF_T_MATCHES_OFF64_T.
1076 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
1077 __OFF_T_MATCHES_OFF64_T case.
1078 * io/tst-lockf.c: New file.
1079 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
1080 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
1081 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
1082 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
1083 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
1084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
1085 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
1086 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
1087 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
1089 2019-02-15 Florian Weimer <fweimer@redhat.com>
1092 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
1093 pd->result after the thread descriptor has been freed.
1095 2019-02-15 Joseph Myers <joseph@codesourcery.com>
1097 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
1098 from function return type.
1100 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
1102 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1104 * scripts/test_printers_common.py: Set TERM to a known harmless
1107 2019-02-14 Joseph Myers <joseph@codesourcery.com>
1109 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
1110 (xdr_u_int): Likewise.
1111 (xdr_enum): Likewise.
1112 (xdr_bytes): Reword fall-through comment.
1113 (xdr_string): Likewise.
1115 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1118 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
1119 (tests): Add tst-join8 tst-join9.
1120 * nptl/lll_timedwait_tid.c: Remove file.
1121 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
1122 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
1123 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
1124 * nptl/pthread_join_common.c (timedwait_tid): New function.
1125 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
1127 * nptl/tst-join5.c (thread_join): New function.
1128 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
1130 * nptl/tst-join8.c: New file.
1131 * nptl/tst-join9.c: Likewise.
1132 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
1133 lll_futex_timed_wait_cancel): Add generic macros.
1134 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
1136 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1137 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1138 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1139 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
1141 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
1143 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1144 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
1145 (lll_futex_timed_wait_cancel): New macro.
1147 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
1149 * benchtests/Makefile: Add malloc-simple benchmark.
1150 * benchtests/bench-malloc-simple.c: New benchmark.
1152 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
1154 * benchtests/bench-memmove.c (do_one_test): Remove unused
1157 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
1161 2019-01-13 Jim Wilson <jimw@sifive.com>
1164 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
1165 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
1167 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
1169 * nptl/Makefile (tests): Add tst-unwind-thread.
1170 (CFLAGS-tst-unwind-thread.c): Define.
1171 * nptl/tst-unwind-thread.c: New file.
1172 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
1175 2019-02-13 Joseph Myers <joseph@codesourcery.com>
1177 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
1179 * nis/nis_call.c (__do_niscall3): Likewise.
1181 * catgets/gencat.c (normalize_line): Use braces around empty
1183 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1184 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
1185 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
1186 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
1187 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
1188 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
1189 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
1192 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
1195 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
1197 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
1198 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
1199 * benchtests/bench-strchr.c (stupid_strchr): Remove.
1200 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
1201 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
1202 * benchtests/bench-strlen.c (builtin_strlen): Remove.
1203 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
1204 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
1205 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
1206 * benchtests/bench-strspn.c (stupid_strspn): Remove.
1207 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
1208 * benchtests/bench-bcopy.c: Delete file.
1209 * benchtests/bench-bzero.c: Likewise.
1210 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
1211 (simple_memccpy): Remove.
1212 (generic_memccpy): Add function.
1213 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
1214 * benchtests/bench-memmove.c (simple_bcopy): Remove.
1215 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
1216 (generic_mempcpy): Add new function.
1217 * benchtests/bench-memset.c (simple_bzero): Remove.
1218 (builtin_bzero): Remove.
1219 (builtin_memset): Remove.
1220 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
1221 (generic_rawmemchr): Add new function.
1223 2019-02-12 Florian Weimer <fweimer@redhat.com>
1225 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
1227 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1230 * elf/Makefile (tests): Add tst-audit13.
1231 (modules-names): Add tst-audit13mod1.
1232 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
1234 * elf/tst-audit13.c: New file.
1235 * elf/tst-audit13mod1.c: Likewise.
1237 2019-02-12 Florian Weimer <fweimer@redhat.com>
1240 * elf/rtld.c (unload_audit_module): New function.
1241 (report_audit_module_load_error): Likewise.
1242 (load_audit_module): Likewise. Extracted from dl_main. Call
1243 _dl_close if the laversion symbol cannot be found. Use early
1244 returns for error handling. Add malloc error check. Check for a
1245 zero return value from la_version. Remove spurious comment about
1246 static TLS initialization. Remove useless casts.
1247 (notify_audit_modules_of_loaded_object): New function. Extracted
1249 (load_audit_module): Likewise.
1250 (dl_main): Call load_audit_modules.
1252 2019-02-12 Joseph Myers <joseph@codesourcery.com>
1254 * elf/dl-exception.c (_dl_exception_create_format): Add
1255 fall-through comments.
1256 * elf/ldconfig.c (parse_conf_include): Likewise.
1257 * elf/rtld.c (print_statistics): Likewise.
1258 * locale/programs/charmap.c (parse_charmap): Likewise.
1259 * misc/mntent_r.c (__getmntent_r): Likewise.
1260 * posix/wordexp.c (parse_arith): Likewise.
1261 (parse_backtick): Likewise.
1262 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
1263 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
1264 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1266 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
1268 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
1269 Use float instead of double.
1271 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
1273 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
1275 2019-02-08 Joseph Myers <joseph@codesourcery.com>
1277 * sysdeps/powerpc/bits/mathinline.h: Remove.
1279 2019-02-08 Florian Weimer <fweimer@redhat.com>
1281 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
1282 * math/bits/math-finite.h: Move to ...
1283 * bits/math-finite.h: ... here.
1285 2019-02-08 Florian Weimer <fweimer@redhat.com>
1287 * sysdeps/generic/bits/unistd_ext.h: Move to ...
1288 * bits/unistd_ext.h: here.
1290 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
1293 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
1294 * nss/tst-nss-files-hosts-long.c: New file.
1295 * nss/tst-nss-files-hosts-long.root: New directory.
1296 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
1297 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
1299 2019-02-08 Florian Weimer <fweimer@redhat.com>
1301 * include/bits/unistd_ext.h: Remove file.
1302 * posix/bits/unistd_ext.h: Move to ...
1303 * sysdeps/generic/bits/unistd_ext.h: ... here.
1305 2019-02-08 Florian Weimer <fweimer@redhat.com>
1307 * include/bits/unistd_ext.h: New file.
1309 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
1311 * time/tst-strftime2.c: Use array_length macros instead of magic
1314 2019-02-08 Florian Weimer <fweimer@redhat.com>
1317 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
1319 * nptl/register-atfork.c (__run_fork_handlers): Only perform
1320 locking if the new do_locking argument is true.
1321 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
1322 __run_fork_handlers.
1324 2019-02-08 Florian Weimer <fweimer@redhat.com>
1327 Linux: Add gettid system call wrapper.
1328 * posix/Makefile (headers): Add bits/unistd_ext.h.
1329 * posix/bits/unistd_ext.h: New file.
1330 * posix/unistd.h: Include it.
1331 * manual/process.texi (Process Identification): Document gettid.
1332 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
1333 tst-gettid, tst-gettid-kill.
1334 (tst-gettid): Link with $(shared-thread-library).
1335 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
1336 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
1337 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
1338 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
1339 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
1340 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
1342 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1344 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1345 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
1347 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
1349 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
1351 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
1353 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1355 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1357 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1359 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1360 (GLIBC_2.30): Likewise.
1361 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1362 (GLIBC_2.30): Likewise.
1363 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1364 (GLIBC_2.30): Likewise.
1365 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1366 (GLIBC_2.30): Likewise.
1367 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1370 (GLIBC_2.30): Likewise.
1371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1372 (GLIBC_2.30): Likewise.
1373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1374 (GLIBC_2.30): Likewise.
1375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1376 (GLIBC_2.30): Likewise.
1377 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1379 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1381 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1383 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1384 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1386 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1388 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1390 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1392 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
1394 2019-02-07 Florian Weimer <fweimer@redhat.com>
1396 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
1397 compatibility symbols.
1399 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
1402 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1403 Add compiler barriers and comments.
1405 2019-02-07 Florian Weimer <fweimer@redhat.com>
1407 * include/array_length.h (array_length): Do not use a statement
1408 expression and _Static_assert, so that array_length can be used at
1409 file scope and as a constant expression.
1411 2019-02-07 Florian Weimer <fweimer@redhat.com>
1413 * support/xdlfcn.h (xdlmopen): Declare.
1414 * support/xdlmopen.c: New file.
1415 * support/Makefile (libsupport-routines): Add xdlmopen.
1417 2019-02-06 Joseph Myers <joseph@codesourcery.com>
1419 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
1420 before return type, without separate inline.
1421 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
1422 * elf/dl-tunables.h (tunable_is_name): Likewise.
1423 * malloc/malloc.c (do_set_trim_threshold): Likewise.
1424 (do_set_top_pad): Likewise.
1425 (do_set_mmap_threshold): Likewise.
1426 (do_set_mmaps_max): Likewise.
1427 (do_set_mallopt_check): Likewise.
1428 (do_set_perturb_byte): Likewise.
1429 (do_set_arena_test): Likewise.
1430 (do_set_arena_max): Likewise.
1431 (do_set_tcache_max): Likewise.
1432 (do_set_tcache_count): Likewise.
1433 (do_set_tcache_unsorted_limit): Likewise.
1434 * nis/nis_subr.c (count_dots): Likewise.
1435 * nptl/allocatestack.c (advise_stack_range): Likewise.
1436 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
1438 (reduce_sincos): Likewise.
1439 (do_sincos): Likewise.
1440 * sysdeps/unix/sysv/linux/x86/elision-conf.c
1441 (do_set_elision_enable): Likewise.
1442 (TUNABLE_CALLBACK_FNDECL): Likewise.
1444 2019-02-06 Florian Weimer <fweimer@redhat.com>
1446 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
1447 (xdlsym): Use dlerror to detect a NULL symbol.
1449 2019-02-06 Florian Weimer <fweimer@redhat.com>
1451 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
1453 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1455 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
1457 * libio/tst-bz24153.c (wide): Use wide char format specifier.
1459 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
1461 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
1462 __wmemcmp and weak alias to wmemcmp.
1464 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
1467 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
1468 TLS_TCB_AT_TP tls variant.
1469 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
1470 Add alignment checks.
1471 * support/Makefile (libsupport-routines): Add xposix_memalign and
1473 * support/support.h: Add xposix_memalign.
1474 * support/xthread.h: Add xpthread_attr_setstack.
1475 * support/xposix_memalign.c: New File.
1476 * support/xpthread_attr_setstack.c: Likewise.
1478 2019-02-05 Florian Weimer <fweimer@redhat.com>
1481 arm: Use "nr" constraint for Systemtap probes, to avoid the
1482 compiler using memory operands for constants, due to the "o"
1483 alternative in the default "nor" constraint.
1484 * include/stap-probe.h [USE_STAP_PROBE]: Include
1485 <stap-probe-machine.h>
1486 * sysdeps/generic/stap-probe-machine.h: New file.
1487 * sysdeps/arm/stap-probe-machine.h: Likewise.
1489 2019-02-04 Joseph Myers <joseph@codesourcery.com>
1491 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
1492 with 0, not tcache->entries[tc_idx].
1494 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
1497 2019-02-04 Andreas Schwab <schwab@suse.de>
1501 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
1502 looking up collating elements match against (wide) character
1503 sequence instead of name. Correct alignment adjustment.
1504 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
1505 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
1506 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
1507 (LOCALES): Add cs_CZ.ISO-8859-2.
1508 * posix/tst-fnmatch4.c: New file.
1509 * posix/tst-fnmatch5.c: New file.
1510 * include/wchar.h (__wmemcmp): Declare.
1511 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
1512 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
1513 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
1514 * sysdeps/s390/wmemcmp.c: Likewise.
1516 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
1520 * NEWS: Updated for CVE-2019-7309.
1521 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
1522 upper 32 bits of RDX register for x32. Use unsigned Jcc
1523 instructions, instead of signed.
1524 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
1525 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
1527 2019-02-04 Florian Weimer <fweimer@redhat.com>
1529 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
1530 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
1531 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
1533 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
1534 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
1535 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
1536 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
1538 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
1540 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
1542 (posix_spawn_file_actions_addopen): Likewise.
1543 (posix_spawn_file_actions_addclose): Likewise.
1544 (posix_spawn_file_actions_adddup2): Likewise.
1545 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
1547 (posix_spawn_file_actions_addfchdir_np): Likewise.
1549 2019-02-04 David Newall <glibc@davidnewall.com>
1551 elf: Implement --preload option for the dynamic linker.
1552 * elf/rtld.c (preloadarg): New variable.
1553 (handle_preload_list): Pass through “where” argument to
1555 (dl_main): Handle "--preload" and add second call to
1556 handle_preload_list.
1557 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
1558 (tst-rtld-preload-OBJS): Set variable.
1559 (tst-rtld-preload.out): New target.
1560 * elf/tst-rtld-preload.sh: New file.
1562 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
1564 * Makefile (testrun.sh): Exit in case of incorrect argument.
1566 2019-02-04 Florian Weimer <fweimer@redhat.com>
1568 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
1571 2019-02-03 Florian Weimer <fweimer@redhat.com>
1573 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
1574 implicit overflow checks.
1576 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
1578 * stdlib/isomac.c: Include <unistd.h>.
1580 2019-02-03 Florian Weimer <fweimer@redhat.com>
1582 * include/time.h (__tzfile_default): Use int, not long int, for
1584 * time/tzfile.c (struct ttinfo): Change type of the offset member
1586 (__tzfile_read): Remove useless cast.
1587 (__tzfile_default): Adjust prototype.
1588 * time/tzset.c (tz_rule): Change type of the offset member to int.
1589 (parse_offset): Change the type of the sign variable to int.
1591 2019-02-03 Florian Weimer <fweimer@redhat.com>
1594 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
1595 * libio/getchar.c (getchar): Likewise.
1596 * libio/getchar_u.c (getchar_unlocked): Likewise.
1597 * libio/getwchar.c (getwchar): Likewise.
1598 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1599 * libio/iogets.c (_IO_gets): Likewise.
1600 * libio/vscanf.c (_IO_vscanf): Likewise.
1601 * libio/vwscanf.c (__vwscanf): Likewise.
1602 * libio/tst-bz24153.c: New file.
1603 * libio/Makefile (tests): Add it.
1605 2019-02-02 Florian Weimer <fweimer@redhat.com>
1608 * manual/resource.texi (Basic Scheduling Functions): Add
1609 portability note. Change process to task throughout the section.
1610 Remove incorrect comment about sched_yield as it affects
1611 tasks/threads, not entire processes.
1612 * sysdeps/unix/sysv/linux/bits/posix_opt.h
1613 (_POSIX_PRIORITY_SCHEDULING): Update comment.
1615 2019-02-01 Joseph Myers <joseph@codesourcery.com>
1617 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
1618 * configure: Regenerated.
1619 * manual/install.texi (Tools for Compilation): Update minimum GCC
1621 * INSTALL: Regenerated.
1623 2019-02-01 Florian Weimer <fweimer@redhat.com>
1625 * support/support_test_compare_string.c
1626 (support_test_compare_string): Use "string" in error message.
1627 * support/tst-test_compare_string.c (do_test): Adjust.
1629 2019-02-01 Florian Weimer <fweimer@redhat.com>
1631 * support/support_format_address_family.c
1632 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
1634 2019-02-01 Florian Weimer <fweimer@redhat.com>
1636 * manual/socket.texi (Internet Address Formats): Clarify the byte
1637 order of struct sockaddr_in, struct sockaddr_in6. Document
1638 sin6_flowinfo and sin6_scope_id.
1640 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
1642 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
1643 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
1644 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
1645 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
1646 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
1647 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
1649 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1651 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
1652 [!MEMCHR](MEMCHR): Set to __memchr.
1653 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
1654 Add memchr_generic and memchr_nosimd.
1655 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1656 (__libc_ifunc_impl_list): Add memchr ifuncs.
1657 * sysdeps/aarch64/multiarch/memchr.c: New file.
1658 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
1659 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
1661 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1663 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
1665 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1666 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
1667 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
1668 Add IS_EMAG check for ifunc dispatch.
1669 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
1670 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
1672 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1674 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
1675 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
1677 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
1680 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
1682 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
1684 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
1686 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
1687 syscall-template file.
1689 2019-01-31 Carlos O'Donell <carlos@redhat.com>
1690 Torvald Riegel <triegel@redhat.com>
1691 Rik Prohaska <prohaska7@gmail.com>
1694 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
1695 tst-rwlock-trywrlock-stall.
1696 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1697 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
1698 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
1699 Set __wrphase_fute to 1 only if we started the write phase.
1700 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
1701 * nptl/tst-rwlock-trywrlock-stall.c: New file.
1702 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
1703 * support/xpthread_rwlock_destroy.c: New file.
1704 * support/xthread.h: Declare xpthread_rwlock_destroy.
1706 2019-02-01 Joseph Myers <joseph@codesourcery.com>
1708 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
1711 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
1714 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
1715 * libio/fileops.c (_IO_new_file_underflow): Likewise
1716 * libio/wfileops.c (_IO_wfile_underflow): Likewise
1717 * libio/putchar.c (putchar): Likewise.
1718 * libio/putchar_u.c (putchar_unlocked): Likewise.
1719 * libio/putwchar.c (putchar): Likewise.
1720 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
1721 * libio/tst-bz24051.c: New test.
1722 * libio/Makefile (tests): Add tst-bz24051
1724 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
1727 regex: fix read overrun [BZ #24114]
1728 Problem found by AddressSanitizer, reported by Hongxu Chen in:
1729 https://debbugs.gnu.org/34140
1730 * posix/regexec.c (proceed_next_node):
1731 Do not read past end of input buffer.
1733 2019-01-31 Florian Weimer <fweimer@redhat.com>
1736 * nss/nss_files/files-alias.c (get_next_alias): Handle
1737 continuation line without newline at the end.
1738 * nss/tst-nss-files-alias-truncated.c: New file.
1739 * nss/Makefile [$(build-shared)] (tests): Add
1740 tst-nss-files-alias-truncated.
1741 (tst-nss-files-alias-truncated): Link with libnss_files.so.
1742 * support/namespace.h (struct support_chroot_configuration): Add
1744 (struct support_chroot): Add path_aliases member.
1745 * support/support_chroot.c (support_chroot_create): Handle
1747 (support_chroot_free): Free path_aliases.
1749 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
1751 * version.h (RELEASE): Set to "development".
1752 (VERSION): Set to "2.29.9000".
1753 * NEWS: Add section for 2.30.
1755 * version.h (RELEASE): Set to "stable".
1756 (VERSION): Set to "2.29".
1757 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
1759 * NEWS: Add the list of bugs fixed in 2.29.
1760 * manual/contrib.texi: Update contributors list with some more
1762 * manual/install.texi: Update latest versions of packages
1764 * INSTALL: Regenerated.
1766 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
1768 * po/be.po: Update translations.
1769 * po/bg.po: Likewise.
1770 * po/ca.po: Likewise.
1771 * po/cs.po: Likewise.
1772 * po/da.po: Likewise.
1773 * po/de.po: Likewise.
1774 * po/el.po: Likewise.
1775 * po/eo.po: Likewise.
1776 * po/es.po: Likewise.
1777 * po/fi.po: Likewise.
1778 * po/fr.po: Likewise.
1779 * po/gl.po: Likewise.
1780 * po/hr.po: Likewise.
1781 * po/hu.po: Likewise.
1782 * po/ia.po: Likewise.
1783 * po/id.po: Likewise.
1784 * po/it.po: Likewise.
1785 * po/ja.po: Likewise.
1786 * po/ko.po: Likewise.
1787 * po/lt.po: Likewise.
1788 * po/nb.po: Likewise.
1789 * po/nl.po: Likewise.
1790 * po/pl.po: Likewise.
1791 * po/pt_BR.po: Likewise.
1792 * po/ru.po: Likewise.
1793 * po/rw.po: Likewise.
1794 * po/sk.po: Likewise.
1795 * po/sl.po: Likewise.
1796 * po/sv.po: Likewise.
1797 * po/tr.po: Likewise.
1798 * po/uk.po: Likewise.
1799 * po/vi.po: Likewise.
1800 * po/zh_CN.po: Likewise.
1801 * po/zh_TW.po: Likewise.
1803 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
1806 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
1807 of $f3 register on $y_is_neg path.
1809 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
1812 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
1813 sigaltstack.ss_flags.
1815 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
1818 * manual/time.texi (strftime): Document "%Ey".
1819 * time/strftime_l.c (__strftime_internal): Set the default width
1820 padding with zero of "%Ey" to 2.
1823 * manual/time.texi (strftime): Document "%EC" and "%EY".
1824 * time/Makefile (tests): Add tst-strftime2.
1825 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
1826 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
1827 override padding for "%Ey".
1828 If an optional flag ('_' or '-') is specified to "%EY", interpret the
1829 "%Ey" in the subformat as if decorated with that flag.
1830 * time/tst-strftime2.c: New file.
1832 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1834 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
1838 * elf/Makefile (tests): Add tst-audit13.
1839 (modules-names): Add tst-audit13mod1.
1840 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
1842 * elf/rtld.c (dl_main): Handle invalid audit module version.
1843 * elf/tst-audit13.c: New file.
1844 * elf/tst-audit13mod1.c: Likewise.
1846 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
1848 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
1849 returned by __hurd_at_flags.
1850 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
1851 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
1852 directly instead of __hurd_file_name_lookup.
1854 2019-01-21 Joseph Myers <joseph@codesourcery.com>
1856 * scripts/build-many-glibcs.py (Context.checkout): Default
1857 binutils version to 2.32 branch.
1859 2019-01-21 Florian Weimer <fweimer@redhat.com>
1863 resolv: Reject trailing characters in host names
1864 * include/arpa/inet.h (__inet_aton_exact): Declare.
1865 (inet_aton): Remove hidden prototype. No longer used internally.
1866 * nscd/gai.c (__inet_aton): Do not define.
1867 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
1868 * nss/digits_dots.c (__inet_aton): Likewise.
1869 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
1870 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
1871 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
1872 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
1873 (tst-resolv-trailing): Likewise.
1874 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
1876 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
1877 Make static. Add endp parameter.
1878 (__inet_aton_exact): New function.
1879 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
1880 (__inet_addr): Call inet_aton_end.
1881 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
1882 not just IPv6. Call __inet_aton_exact.
1883 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
1884 (tests): Make const. Add additional test cases with trailing
1886 (do_test): Use array_length.
1887 * resolv/tst-inet_aton_exact.c: New file.
1888 * resolv/tst-resolv-trailing.c: Likewise.
1889 * resolv/tst-resolv-nondecimal.c: Likewise.
1890 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
1892 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1896 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
1897 Clear the upper 32 bits of RSI register.
1898 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
1899 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
1900 and tst-size_t-wcsnlen.
1901 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
1902 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
1904 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1908 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
1909 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1910 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1911 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
1912 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
1914 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1918 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
1919 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1920 * sysdeps/x86_64/strcmp.S: Likewise.
1921 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
1922 tst-size_t-strncmp and tst-size_t-wcsncmp.
1923 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
1924 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
1925 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
1927 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1931 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
1932 RDX_LP for length. Clear the upper 32 bits of RDX register.
1933 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
1934 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
1935 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
1936 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
1938 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1942 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
1943 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
1944 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
1945 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
1947 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1951 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
1952 length. Clear the upper 32 bits of RDX register.
1953 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1954 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
1956 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
1958 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
1960 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
1962 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1966 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
1967 length. Clear the upper 32 bits of RDX register.
1968 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1969 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1970 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
1972 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
1973 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
1975 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1979 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
1980 upper 32 bits of RDX register.
1981 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
1982 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
1984 * sysdeps/x86_64/x32/test-size_t.h: New file.
1985 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
1986 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
1988 2019-01-18 Florian Weimer <fweimer@redhat.com>
1991 resolv: Do not send queries for non-host-names in nss_dns.
1992 * resolv/nss_dns/dns-host.c (check_name): New function.
1993 (_nss_dns_gethostbyname2_r): Use it.
1994 (_nss_dns_gethostbyname_r): Likewise.
1995 (_nss_dns_gethostbyname4_r): Likewise.
1997 2019-01-21 Florian Weimer <fweimer@redhat.com>
1999 * resolv/inet_addr.c: Reformat to GNU style.
2000 (__inet_addr, __inet_aton): Update comment.
2002 2019-01-18 Florian Weimer <fweimer@redhat.com>
2004 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
2005 ("malloc: Use current (C11-style) atomics for fastbin access").
2006 This commit introduces a substantial performance regression on
2008 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
2009 (REMOVE_FB): Define.
2010 (_int_malloc): Use it and reindent.
2011 (_int_free): Use CAS loop with
2012 catomic_compare_and_exchange_val_rel.
2013 (malloc_consolidate): Use atomic_exchange_acq.
2016 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
2018 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
2020 (LDFLAGS-tst-minsigstksz-2): Likewise.
2021 (LDFLAGS-tst-minsigstksz-3): Likewise.
2022 (LDFLAGS-tst-minsigstksz-3a): Likewise.
2023 (LDFLAGS-tst-minsigstksz-4): Likewise.
2025 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
2027 * manual/time.texi (strftime): Fix the wording to "alternative" rather
2030 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
2032 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
2034 2019-01-16 Zack Weinberg <zackw@panix.com>
2036 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
2037 (xget_sigstack_location): New test support functions.
2038 * support/xsigstack.c: New file, implementing them.
2039 * support/tst-xsigstack.c: New test for them.
2040 * support/Makefile: Update.
2042 * signal/tst-minsigstksz-1.c
2043 * signal/tst-minsigstksz-2.c
2044 * signal/tst-minsigstksz-3.c
2045 * signal/tst-minsigstksz-3a.c
2046 * signal/tst-minsigstksz-4.c: New tests.
2047 * signal/Makefile: Run them.
2049 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
2051 * po/libc.pot: Regenerate.
2053 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2055 * math/libm-test-fma.inc (fma_test_data): Set
2056 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
2058 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2060 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
2061 (do_test): Changed __vector __int128_t to __vector unsigned int.
2063 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2065 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2066 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
2067 stpcpy-avx2 and stpncpy-avx2.
2068 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
2069 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
2070 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
2072 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
2073 ifunc-strcpy.h}: rename header for a more generic name.
2074 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
2075 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
2076 AVX unaligned load is fast and vzeroupper is preferred.
2077 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
2078 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
2079 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
2080 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
2081 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
2082 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
2084 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
2086 * argp/argp-help.c: Fix typo in comment.
2087 * misc/sys/cdefs.h: Likewise.
2088 * posix/regexec.c (sift_states_iter_mb): Likewise.
2089 * socket/sockatmark.c: Likewise.
2090 * socket/sys/socket.h: Likewise.
2091 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
2092 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
2093 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
2094 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2095 * sysdeps/unix/sockatmark.c: Likewise.
2096 * time/strptime_l.c: Likewise.
2098 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
2100 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
2101 missing space after the cast of "_NL_CURRENT".
2103 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2105 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
2106 ifdef to fix read of VSCR.
2107 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
2108 tst-ucontext-ppc64-vscr.c to test list.
2109 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
2111 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
2113 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
2116 2019-01-09 Jim Wilson <jimw@sifive.com>
2118 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
2120 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
2122 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
2123 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
2124 __memcpy_falkor for ares.
2125 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
2127 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2130 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
2133 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
2134 4_FP_W_TYPEs are used for IEEE quad precision.
2135 * soft-fp/extendhftf2.c: Likewise.
2136 * soft-fp/extendsftf2.c: Likewise.
2137 * soft-fp/extendxftf2.c: Likewise.
2138 * soft-fp/trunctfdf2.c: Likewise.
2139 * soft-fp/trunctfhf2.c: Likewise.
2140 * soft-fp/trunctfsf2.c: Likewise.
2141 * soft-fp/trunctfxf2.c: Likewise.
2142 * sysdeps/alpha/ots_cvttx.c: Likewise.
2143 * sysdeps/alpha/ots_cvtxt.c: Likewise.
2144 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
2145 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
2146 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
2147 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
2148 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
2149 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
2150 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
2151 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
2152 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
2153 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
2154 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
2155 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
2156 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
2157 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
2158 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
2159 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
2161 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
2164 * Makeconfig: Build libm with -fno-math-errno but build the remaining
2165 code with -fmath-errno.
2166 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
2167 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
2168 * string/test-strerror-errno.c: New file.
2170 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
2173 * localedata/locales/en_US (date_fmt): Add, set to
2174 "%a %d %b %Y %r %Z".
2176 2019-01-07 Florian Weimer <fweimer@redhat.com>
2179 * manual/arith.texi (Math Error Reporting): Use @code{errno}
2180 instead of @var{errno}.
2181 (Parsing of Integers): Likewise.
2182 (Parsing of Floats): Likewise.
2183 * manual/filesys.texi (Working with Directory Trees): Likewise.
2184 (Temporary Files): Likewise.
2185 * manual/job.texi (Terminal Access Functions): Likewise.
2186 * manual/llio.texi (Synchronizing I/O): Likewise.
2187 * manual/math.texi (SVID Random): Likewise.
2188 * manual/message.texi (The catgets Functions): Likewise.
2189 (Translation with gettext): Likewise.
2190 (Locating gettext catalog): Likewise.
2191 (Charset conversion in gettext): Likewise.
2192 * manual/nss.texi (NSS Module Function Internals): Likewise.
2193 * manual/search.texi (Hash Search Function): Likewise.
2194 * manual/setjmp.texi (System V contexts): Likewise.
2195 * manual/time.texi (Sleeping): Likewise.
2196 * manual/users.texi (Lookup User): Likewise.
2197 (Lookup Group): Likewise.
2199 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2201 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
2204 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
2207 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
2208 __builtin_unreachable for default case in switch.
2209 (__ieee754_yn): Likewise.
2210 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2211 (__ieee754_ynl): Likewise.
2212 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2213 (__ieee754_ynl): Likewise.
2214 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2215 (__ieee754_ynl): Likewise.
2217 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2219 * manual/maint.texi: Use @{ and @}.
2221 2019-01-04 Florian Weimer <fweimer@redhat.com>
2223 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
2225 (do_in_chroot_1): Call it.
2227 Improve error reporting in case it is not possible to create a
2228 collision for the PTY name required by the test.
2230 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2232 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
2233 lll_wait_tid with timeout.
2234 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
2235 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
2236 futex_reltimed_wait_cancelable for cancelabla mode.
2237 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
2238 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
2240 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
2241 * sysdeps/posix/waitid.c (__sigwait): Likewise.
2242 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
2243 SYSCALL_CANCEL_NCS): New macro.
2244 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
2245 (lll_timedwait_tid): Remove macro.
2246 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
2248 (lll_timedwait_tid): Likewise.
2249 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
2251 (lll_timedwait_tid): Likewise.
2252 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
2254 (lll_timedwait_tid): Likewise.
2255 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
2256 Use INTERNAL_SYSCALL_CANCEL.
2257 * sysdeps/unix/sysv/linux/futex-internal.h
2258 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
2259 instead of __pthread_{enable,disable}_asynccancel.
2260 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
2261 (lll_futex_wait_cancel): New macro.
2263 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
2264 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
2266 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
2267 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
2269 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
2270 in backtrace analysis.
2271 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
2273 (tf_send): Likewise.
2275 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
2276 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
2277 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
2278 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
2279 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
2280 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
2281 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
2282 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
2283 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
2284 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
2285 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
2286 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
2288 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
2289 tst-cancel-wrappers.sh.
2290 (generated): Remove tst-cancel-wrappers.out.
2291 (tst-cancel-wrappers.out): Remove rule.
2292 * nptl/tst-cancel-wrappers.sh: Remove file.
2294 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
2296 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
2297 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
2300 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2303 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
2304 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
2305 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
2306 close-on-exec reset for adddup2 file action.
2307 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
2309 2019-01-03 Zack Weinberg <zackw@panix.com>
2311 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
2312 parameter. Only use deprecated scanf when __USE_GNU is defined
2313 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
2314 than 201103L, whichever is relevant for the language being compiled.
2316 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
2317 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
2318 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
2319 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
2320 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
2324 * libio/iovswscanf.c
2329 * stdio-common/fscanf.c
2330 * stdio-common/scanf.c
2331 * stdio-common/vfscanf.c
2332 * stdio-common/vfwscanf.c
2333 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
2334 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
2335 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
2336 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
2337 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
2338 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
2339 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
2340 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
2341 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
2342 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
2343 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
2344 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
2345 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
2346 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
2347 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
2349 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
2350 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
2351 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
2353 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
2354 with a preprocessor macro.
2356 * stdio-common/bug21.c, stdio-common/scanf14.c:
2357 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
2358 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
2359 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
2360 to xscanf, xfscanf, xsscanf.
2362 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
2363 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
2364 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
2365 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
2367 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
2368 override feature selection macros or provide definitions of u_char etc.
2369 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
2370 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
2371 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
2374 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2376 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2377 bits/termios-misc.h.
2378 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
2379 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2380 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2381 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2382 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
2383 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
2385 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
2386 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
2387 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
2388 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
2389 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
2390 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
2392 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
2393 (sysdep_headers): Add termios-misc.h.
2395 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
2396 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2397 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2399 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2401 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
2402 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
2403 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
2404 TCSAFLUSH): Move to termios-tcflow.h.
2405 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2406 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2407 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2408 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2410 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2412 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
2413 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
2414 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
2415 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
2416 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
2417 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
2418 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
2419 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
2421 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2422 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2423 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2424 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2426 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2428 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
2429 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
2430 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
2431 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
2432 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
2434 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2435 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2436 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2437 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2440 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2442 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
2443 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
2444 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
2445 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
2446 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
2447 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
2448 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
2449 __MAX_BAUD): Move to termios-baud.h.
2450 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
2451 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
2452 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2453 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2454 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2456 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2458 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
2459 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
2460 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
2461 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
2462 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
2463 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
2465 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
2466 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
2468 [USE_MISC] (XTABS): Likewise.
2469 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2470 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2471 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2472 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
2474 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
2476 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
2477 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
2478 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
2479 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
2480 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
2481 IUTF8): Move to termios-c_iflag.h.
2482 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2483 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2484 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2485 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2487 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
2489 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
2490 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
2491 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
2492 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
2493 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
2494 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
2495 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
2496 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
2497 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2498 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2499 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2500 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2502 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
2503 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
2504 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
2505 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
2506 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2508 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
2510 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
2512 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
2514 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
2516 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
2518 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
2519 _HAVE_C_OSPEED): Define.
2520 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
2521 _HAVE_C_OSPEED): Likewise.
2522 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
2523 _HAVE_C_OSPEED): Likewise.
2524 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
2525 (cfsetospeed): Check for define value instead of existence.
2526 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
2527 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
2528 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
2529 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
2530 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
2533 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
2535 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
2536 (TIOCSER_TEMT): Likewise.
2537 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
2538 (TEOCSER_TEMT): Likewise.
2540 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
2543 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
2545 2019-01-02 Joseph Myers <joseph@codesourcery.com>
2547 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
2549 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
2551 * sysdeps/htl/pt-barrierattr-setpshared.c
2552 (pthread_barrierattr_setpshared): Add stub warning.
2553 * sysdeps/htl/pt-condattr-setpshared.c
2554 (pthread_condattr_setpshared): Likewise.
2555 * sysdeps/htl/pt-mutexattr-setpshared.c
2556 (pthread_mutexattr_setpshared): Likewise.
2557 * sysdeps/htl/pt-rwlockattr-setpshared.c
2558 (pthread_rwlockattr_setpshared): Likewise.
2559 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
2560 (pthread_mutexattr_setpshared): Likewise.
2562 2019-01-02 Joseph Myers <joseph@codesourcery.com>
2564 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
2565 constants to match with Linux 4.20.
2567 * sysdeps/mips/mips32/libm-test-ulps: Update.
2568 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2570 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
2573 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
2574 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
2575 than __typeof (...) for the a_ptr variable.
2577 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2579 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
2580 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
2581 * libio/Makefile (tests): Add tst-sprintf-ub and
2583 (CFLAGS-tst-sprintf-ub.c): New variable.
2584 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
2585 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
2586 destination buffer and check for overflows in fortified mode.
2587 * libio/libioP.h (PRINTF_CHK): New macro.
2588 * libio/tst-sprintf-chk-ub.c: New file.
2589 * libio/tst-sprintf-ub.c: Likewise.
2591 2019-01-02 Florian Weimer <fweimer@redhat.com>
2594 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
2597 2019-01-02 Florian Weimer <fweimer@redhat.com>
2599 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
2601 2019-01-01 Joseph Myers <joseph@codesourcery.com>
2603 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
2606 * sysdeps/unix/sysv/linux/netpacket/packet.h
2607 (PACKET_IGNORE_OUTGOING): New macro.
2609 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
2612 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2614 (riscv_flush_icache): New syscall.
2616 * manual/texinfo.tex: Update to version 2018-12-28.17 with
2617 trailing whitespace removed.
2618 * scripts/config.guess: Update to version 2019-01-01.
2619 * scripts/config.sub: Update to version 2019-01-01.
2620 * scripts/move-if-change: Update from gnulib.
2622 * NEWS: Update copyright dates.
2623 * catgets/gencat.c (print_version): Likewise.
2624 * csu/version.c (banner): Likewise.
2625 * debug/catchsegv.sh: Likewise.
2626 * debug/pcprofiledump.c (print_version): Likewise.
2627 * debug/xtrace.sh (do_version): Likewise.
2628 * elf/ldconfig.c (print_version): Likewise.
2629 * elf/ldd.bash.in: Likewise.
2630 * elf/pldd.c (print_version): Likewise.
2631 * elf/sotruss.sh: Likewise.
2632 * elf/sprof.c (print_version): Likewise.
2633 * iconv/iconv_prog.c (print_version): Likewise.
2634 * iconv/iconvconfig.c (print_version): Likewise.
2635 * locale/programs/locale.c (print_version): Likewise.
2636 * locale/programs/localedef.c (print_version): Likewise.
2637 * login/programs/pt_chown.c (print_version): Likewise.
2638 * malloc/memusage.sh (do_version): Likewise.
2639 * malloc/memusagestat.c (print_version): Likewise.
2640 * malloc/mtrace.pl: Likewise.
2641 * manual/libc.texinfo: Likewise.
2642 * nptl/version.c (banner): Likewise.
2643 * nscd/nscd.c (print_version): Likewise.
2644 * nss/getent.c (print_version): Likewise.
2645 * nss/makedb.c (print_version): Likewise.
2646 * posix/getconf.c (main): Likewise.
2647 * scripts/test-installation.pl: Likewise.
2648 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2650 * All files with FSF copyright notices: Update copyright dates
2651 using scripts/update-copyrights.
2652 * locale/programs/charmap-kw.h: Regenerated.
2653 * locale/programs/locfile-kw.h: Likewise.
2655 2018-12-31 Joseph Myers <joseph@codesourcery.com>
2657 * timezone/zdump.c: Update from tzcode 2018i.
2658 * timezone/zic.c: Likewise.
2660 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
2662 regex: improve Gnulib port to AIX
2663 From the glibc point of view, this removes duplicate macro
2664 definitions and is obviously safe.
2665 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
2666 * posix/regex_internal.h:
2667 (__attribute__, __attribute_warn_unused_result__):
2668 Remove; already defined elsewhere.
2670 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
2673 * malloc/malloc.c (_int_realloc): Always call memcpy for the
2674 copying operation. (ncopies had the wrong type, resulting in an
2675 integer wraparound and too few elements being copied.)
2677 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
2680 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
2681 <asm/syscalls.h> exists with __has_include__ before including it.
2683 2018-12-31 Joseph Myers <joseph@codesourcery.com>
2685 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2688 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
2690 * hurd/lookup-retry: Include <unistd.h>.
2691 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
2692 Release it on return. Handle "pid" magical lookup retry.
2694 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2697 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
2698 (t_fmt_ampm): Likewise.
2699 * localedata/locales/aa_ER (t_fmt): Likewise.
2700 (t_fmt_ampm): Likewise.
2701 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
2702 (t_fmt_ampm): Likewise.
2703 * localedata/locales/aa_ET (t_fmt): Likewise.
2704 (t_fmt_ampm): Likewise.
2705 * localedata/locales/am_ET (t_fmt): Likewise.
2706 (t_fmt_ampm): Likewise.
2707 * localedata/locales/byn_ER (t_fmt): Likewise.
2708 (t_fmt_ampm): Likewise.
2709 * localedata/locales/om_ET (t_fmt): Likewise.
2710 (t_fmt_ampm): Likewise.
2711 * localedata/locales/sid_ET (t_fmt): Likewise.
2712 (t_fmt_ampm): Likewise.
2713 * localedata/locales/so_DJ (t_fmt): Likewise.
2714 (t_fmt_ampm): Likewise.
2715 * localedata/locales/so_ET (t_fmt): Likewise.
2716 (t_fmt_ampm): Likewise.
2717 * localedata/locales/so_SO (t_fmt): Likewise.
2718 (t_fmt_ampm): Likewise.
2719 * localedata/locales/ti_ER (t_fmt): Likewise.
2720 (t_fmt_ampm): Likewise.
2721 * localedata/locales/ti_ET (t_fmt): Likewise.
2722 (t_fmt_ampm): Likewise.
2723 * localedata/locales/tig_ER (t_fmt): Likewise.
2724 (t_fmt_ampm): Likewise.
2725 * localedata/locales/wal_ET (t_fmt): Likewise.
2726 (t_fmt_ampm): Likewise.
2728 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
2729 * localedata/locales/ar_IN (t_fmt): Likewise.
2730 * localedata/locales/bhb_IN (t_fmt): Likewise.
2731 * localedata/locales/bho_IN (t_fmt): Likewise.
2732 * localedata/locales/bi_VU (t_fmt): Likewise.
2733 * localedata/locales/bn_BD (t_fmt): Likewise.
2734 * localedata/locales/bn_IN (t_fmt): Likewise.
2735 * localedata/locales/brx_IN (t_fmt): Likewise.
2736 * localedata/locales/doi_IN (t_fmt): Likewise.
2737 * localedata/locales/en_HK (t_fmt): Likewise.
2738 (t_fmt_ampm): Likewise.
2739 * localedata/locales/en_IN (t_fmt): Likewise.
2740 * localedata/locales/en_PH (t_fmt): Likewise.
2741 * localedata/locales/gu_IN (t_fmt): Likewise.
2742 * localedata/locales/hi_IN (t_fmt): Likewise.
2743 * localedata/locales/hif_FJ (t_fmt): Likewise.
2744 * localedata/locales/hne_IN (t_fmt): Likewise.
2745 * localedata/locales/kn_IN (t_fmt): Likewise.
2746 * localedata/locales/kok_IN (t_fmt): Likewise.
2747 * localedata/locales/ks_IN (t_fmt): Likewise.
2748 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
2749 * localedata/locales/mag_IN (t_fmt): Likewise.
2750 * localedata/locales/mai_IN (t_fmt): Likewise.
2751 * localedata/locales/mjw_IN (t_fmt): Likewise.
2752 * localedata/locales/ml_IN (t_fmt): Likewise.
2753 * localedata/locales/mni_IN (t_fmt): Likewise.
2754 * localedata/locales/mr_IN (t_fmt): Likewise.
2755 * localedata/locales/ms_MY (t_fmt): Likewise.
2756 * localedata/locales/pa_IN (t_fmt): Likewise.
2757 * localedata/locales/raj_IN (t_fmt): Likewise.
2758 * localedata/locales/sa_IN (t_fmt): Likewise.
2759 * localedata/locales/sat_IN (t_fmt): Likewise.
2760 * localedata/locales/sd_IN (t_fmt): Likewise.
2761 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
2762 * localedata/locales/tcy_IN (t_fmt): Likewise.
2763 * localedata/locales/the_NP (t_fmt): Likewise.
2764 * localedata/locales/to_TO (t_fmt): Likewise.
2765 * localedata/locales/ur_IN (t_fmt): Likewise.
2767 * localedata/locales/hif_FJ (d_t_fmt): Set to
2768 "%A %d %b %Y %I:%M:%S %p".
2769 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
2771 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
2772 * localedata/locales/ar_BH (t_fmt): Likewise.
2773 * localedata/locales/ar_DZ (t_fmt): Likewise.
2774 * localedata/locales/ar_EG (t_fmt): Likewise.
2775 * localedata/locales/ar_IQ (t_fmt): Likewise.
2776 * localedata/locales/ar_JO (t_fmt): Likewise.
2777 * localedata/locales/ar_KW (t_fmt): Likewise.
2778 * localedata/locales/ar_LB (t_fmt): Likewise.
2779 * localedata/locales/ar_LY (t_fmt): Likewise.
2780 * localedata/locales/ar_OM (t_fmt): Likewise.
2781 * localedata/locales/ar_QA (t_fmt): Likewise.
2782 * localedata/locales/ar_SD (t_fmt): Likewise.
2783 * localedata/locales/ar_SS (t_fmt): Likewise.
2784 * localedata/locales/ar_SY (t_fmt): Likewise.
2785 * localedata/locales/ar_TN (t_fmt): Likewise.
2786 * localedata/locales/ar_YE (t_fmt): Likewise.
2788 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
2789 (t_fmt_ampm): Likewise.
2790 * localedata/locales/gez_ET (t_fmt): Likewise.
2791 (t_fmt_ampm): Likewise.
2793 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
2794 (t_fmt_ampm): Likewise.
2795 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
2797 * localedata/locales/zh_HK (t_fmt):
2798 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
2800 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
2801 because this locale does not use the 12-hour clock.
2802 (t_fmt): Set to "%Z %H:%M:%S".
2803 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
2805 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
2806 because this locale does not use the 12-hour clock.
2807 (t_fmt): Set to "%H:%M:%S %Z".
2808 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
2810 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
2811 because this locale does not use the 12-hour clock.
2812 (t_fmt): Set to "%T".
2813 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
2814 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
2816 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
2817 because this locale does not use the 12-hour clock.
2818 (t_fmt): Set to "%H:%M:%S %Z".
2819 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
2821 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
2822 because this locale does not use the 12-hour clock.
2823 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
2824 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
2826 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2830 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
2831 (t_fmt_ampm): Likewise.
2832 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
2833 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
2834 (d_fmt): Set to "%-d.%-m.%y".
2836 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2838 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
2839 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
2840 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
2842 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
2843 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
2844 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
2846 * support/blob_repeat.c (check_mul_overflow_size_t,
2847 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
2849 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
2851 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
2853 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
2855 regex: simplify Gnulib port
2856 This simplifies the code, by removing stuff intended for porting
2857 to Gnulib but no longer needed there.
2858 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
2859 uses of libc_hidden_def, weak_alias.
2860 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
2861 _Restrict_ except for public-facing headers.
2862 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
2863 Remove; already defined elsewhere.
2864 * posix/regex.c, posix/regex_internal.h:
2865 Use __GNUC_PREREQ instead of rolling our own.
2866 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
2868 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
2870 * benchtests/bench-strlen.c (generic_strlen): New function.
2871 (memchr_strlen): New function.
2873 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2875 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
2876 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
2877 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
2879 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2881 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2883 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2885 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
2886 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
2887 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
2888 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
2889 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
2890 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
2891 <sysdeps/ieee754/flt-32/s_sincosf.c>.
2893 2018-12-21 Joseph Myers <joseph@codesourcery.com>
2896 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
2897 PLT reference in libc.so.
2898 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
2899 _Q_lltoq and _Q_qtod PLT references in libc.so.
2901 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
2903 * benchtests/bench-memchr.c: Cleanup defines.
2904 * benchtests/bench-memcmp.c: Likewise.
2905 * benchtests/bench-memset.c: Likewise.
2906 * benchtests/bench-memset-large.c: Likewise.
2907 * benchtests/bench-memset-walk.c: Likewise.
2908 * benchtests/bench-stpcpy.c: Likewise.
2909 * benchtests/bench-stpncpy.c: Likewise.
2910 * benchtests/bench-strcat.c: Likewise.
2911 * benchtests/bench-strchr.c: Likewise.
2912 * benchtests/bench-strcmp.c: Likewise.
2913 * benchtests/bench-strcpy.c: Likewise.
2914 * benchtests/bench-strcspn.c: Likewise.
2915 * benchtests/bench-string.h: Likewise.
2916 * benchtests/bench-strlen.c: Likewise.
2917 * benchtests/bench-strncat.c: Likewise.
2918 * benchtests/bench-strncmp.c: Likewise.
2919 * benchtests/bench-strncpy.c: Likewise.
2920 * benchtests/bench-strnlen.c: Likewise.
2921 * benchtests/bench-strpbrk.c: Likewise.
2922 * benchtests/bench-strrchr.c: Likewise.
2923 * benchtests/bench-strspn.c: Likewise.
2925 2018-12-21 Joseph Myers <joseph@codesourcery.com>
2927 * stdlib/longlong.h: Update from GCC.
2930 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
2931 * configure: Regenerated.
2932 * manual/install.texi (Tools for Compilation): Update minimum GCC
2934 * INSTALL: Regenerated.
2936 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
2938 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
2940 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
2942 * malloc/malloc.c (mremap_chunk): Additional checks.
2944 2018-12-21 Mao Han <han_mao@c-sky.com>
2946 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
2947 * scripts/build-many-glibcs.py: Add C-SKY targets.
2948 * sysdeps/csky/Implies: New file.
2949 * sysdeps/csky/Makefile: Likewise.
2950 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
2951 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
2952 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
2953 * sysdeps/csky/abiv2/memcmp.S: Likewise.
2954 * sysdeps/csky/abiv2/memcpy.S: Likewise.
2955 * sysdeps/csky/abiv2/memmove.S: Likewise.
2956 * sysdeps/csky/abiv2/memset.S: Likewise.
2957 * sysdeps/csky/abiv2/setjmp.S: Likewise.
2958 * sysdeps/csky/abiv2/start.S: Likewise.
2959 * sysdeps/csky/abiv2/strcmp.S: Likewise.
2960 * sysdeps/csky/abiv2/strcpy.S: Likewise.
2961 * sysdeps/csky/abiv2/strlen.S: Likewise.
2962 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
2963 * sysdeps/csky/abort-instr.h: Likewise.
2964 * sysdeps/csky/atomic-machine.h: Likewise.
2965 * sysdeps/csky/bits/endian.h: Likewise.
2966 * sysdeps/csky/bits/fenv.h: Likewise.
2967 * sysdeps/csky/bits/link.h: Likewise.
2968 * sysdeps/csky/bits/setjmp.h: Likewise.
2969 * sysdeps/csky/bsd-_setjmp.S: Likewise.
2970 * sysdeps/csky/bsd-setjmp.S: Likewise.
2971 * sysdeps/csky/configure: Likewise.
2972 * sysdeps/csky/configure.ac: Likewise.
2973 * sysdeps/csky/dl-machine.h: Likewise.
2974 * sysdeps/csky/dl-procinfo.c: Likewise.
2975 * sysdeps/csky/dl-procinfo.h: Likewise.
2976 * sysdeps/csky/dl-sysdep.h: Likewise.
2977 * sysdeps/csky/dl-tls.h: Likewise.
2978 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
2979 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
2980 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
2981 * sysdeps/csky/fpu/fegetenv.c: Likewise.
2982 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
2983 * sysdeps/csky/fpu/fegetmode.c: Likewise.
2984 * sysdeps/csky/fpu/fegetround.c: Likewise.
2985 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
2986 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
2987 * sysdeps/csky/fpu/fenv_private.h: Likewise.
2988 * sysdeps/csky/fpu/fesetenv.c: Likewise.
2989 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
2990 * sysdeps/csky/fpu/fesetmode.c: Likewise.
2991 * sysdeps/csky/fpu/fesetround.c: Likewise.
2992 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
2993 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
2994 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
2995 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
2996 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
2997 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
2998 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
2999 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
3000 * sysdeps/csky/fpu_control.h: Likewise.
3001 * sysdeps/csky/gccframe.h: Likewise.
3002 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
3003 * sysdeps/csky/ldsodefs.h: Likewise.
3004 * sysdeps/csky/libc-tls.c: Likewise.
3005 * sysdeps/csky/linkmap.h: Likewise.
3006 * sysdeps/csky/machine-gmon.h: Likewise.
3007 * sysdeps/csky/memusage.h: Likewise.
3008 * sysdeps/csky/nofpu/Implies: Likewise.
3009 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
3010 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
3011 * sysdeps/csky/nptl/Makefile: Likewise.
3012 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
3013 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
3014 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
3015 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
3016 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
3017 * sysdeps/csky/nptl/tls.h: Likewise.
3018 * sysdeps/csky/preconfigure: Likewise.
3019 * sysdeps/csky/sfp-machine.h: Likewise.
3020 * sysdeps/csky/sotruss-lib.c: Likewise.
3021 * sysdeps/csky/stackinfo.h: Likewise.
3022 * sysdeps/csky/sysdep.h: Likewise.
3023 * sysdeps/csky/tininess.h: Likewise.
3024 * sysdeps/csky/tst-audit.h: Likewise.
3025 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
3026 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
3027 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
3028 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
3029 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
3030 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
3031 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
3032 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
3033 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
3034 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
3035 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
3036 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
3037 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
3038 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
3039 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
3040 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
3041 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
3042 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
3043 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
3044 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
3045 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
3046 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
3047 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
3048 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
3049 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
3050 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
3051 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
3052 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
3053 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
3054 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
3055 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
3056 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
3057 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
3058 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
3059 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
3060 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
3061 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
3062 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
3063 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
3064 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
3065 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
3066 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
3067 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
3068 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
3070 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
3072 * include/time.h (__difftime64): Add.
3073 * time/difftime.c (subtract): convert to 64-bit time.
3074 * time/difftime.c (__difftime64): Add.
3075 * time/difftime.c (__difftime): Wrap around __difftime64.
3077 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
3079 * manual/examples/add.c: Remove redundant "if not".
3080 * manual/examples/argp-ex1.c: Likewise.
3081 * manual/examples/argp-ex2.c: Likewise.
3082 * manual/examples/argp-ex3.c: Likewise.
3083 * manual/examples/argp-ex4.c: Likewise.
3084 * manual/examples/atexit.c: Likewise.
3085 * manual/examples/db.c: Likewise.
3086 * manual/examples/dir.c: Likewise.
3087 * manual/examples/dir2.c: Likewise.
3088 * manual/examples/execinfo.c: Likewise.
3089 * manual/examples/filecli.c: Likewise.
3090 * manual/examples/filesrv.c: Likewise.
3091 * manual/examples/fmtmsgexpl.c: Likewise.
3092 * manual/examples/genpass.c: Likewise.
3093 * manual/examples/inetcli.c: Likewise.
3094 * manual/examples/inetsrv.c: Likewise.
3095 * manual/examples/isockad.c: Likewise.
3096 * manual/examples/longopt.c: Likewise.
3097 * manual/examples/memopen.c: Likewise.
3098 * manual/examples/memstrm.c: Likewise.
3099 * manual/examples/mkdirent.c: Likewise.
3100 * manual/examples/mkfsock.c: Likewise.
3101 * manual/examples/mkisock.c: Likewise.
3102 * manual/examples/mygetpass.c: Likewise.
3103 * manual/examples/pipe.c: Likewise.
3104 * manual/examples/popen.c: Likewise.
3105 * manual/examples/rprintf.c: Likewise.
3106 * manual/examples/search.c: Likewise.
3107 * manual/examples/select.c: Likewise.
3108 * manual/examples/setjmp.c: Likewise.
3109 * manual/examples/sigh1.c: Likewise.
3110 * manual/examples/sigusr.c: Likewise.
3111 * manual/examples/stpcpy.c: Likewise.
3112 * manual/examples/strdupa.c: Likewise.
3113 * manual/examples/strftim.c: Likewise.
3114 * manual/examples/subopt.c: Likewise.
3115 * manual/examples/swapcontext.c: Likewise.
3116 * manual/examples/termios.c: Likewise.
3117 * manual/examples/testopt.c: Likewise.
3118 * manual/examples/testpass.c: Likewise.
3119 * manual/examples/timeval_subtract.c: Likewise.
3121 2018-12-19 Joseph Myers <joseph@codesourcery.com>
3123 * sysdeps/x86/fpu/math_private.h: New file.
3124 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
3126 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
3131 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3133 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
3134 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
3135 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
3136 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
3138 (_dl_show_auxv): Give a special treatment to
3139 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
3140 and AT_L3_CACHEGEOMETRY.
3141 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
3142 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
3143 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
3144 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
3146 2018-12-19 Andreas Schwab <schwab@suse.de>
3148 * nscd/connections.c (check_use): Don't abort on invalid len.
3150 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
3152 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
3153 values in the 64bit value cases.
3155 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
3161 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
3167 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
3170 (__gmtime64_r): Add.
3172 (__gmtime64_r): Add.
3173 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
3179 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
3182 (__localtime64_r): Add.
3184 (__localtime64_r): Add.
3185 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
3187 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3189 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
3190 kernel_sigction definition.
3192 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
3194 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
3196 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
3197 __syscall_rt_sigaction.
3198 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
3199 (kernel_sigaction): Use Linux generic defintion.
3201 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
3202 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
3203 (__syscall_rt_sigaction): Remove implementation.
3204 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
3206 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
3207 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
3208 INTERNAL_SYSCALL): Remove definitions.
3209 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
3210 action and signal set size.
3211 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
3212 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
3214 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3215 James Clarke <jrtc27@jrtc27.com>
3218 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
3219 Define if SA_RESTORER is defined.
3220 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
3221 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
3223 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
3224 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
3226 (HAS_SA_RESTORER): Define.
3227 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
3228 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
3229 (HAS_SA_RESTORER): Define.
3230 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
3231 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
3232 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
3233 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
3234 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3236 2018-12-18 Joseph Myers <joseph@codesourcery.com>
3238 * sysdeps/unix/sysv/linux/kernel-features.h
3239 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
3240 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3241 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
3242 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3243 (__ASSUME_ST_INO_64_BIT): Likewise.
3244 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3245 <kernel-features.h>.
3246 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3247 Remove conditional code.
3248 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3249 <kernel-features.h>.
3250 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3251 Remove conditional code.
3252 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
3253 <kernel-features.h>.
3254 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3255 Remove conditional code.
3256 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
3257 <kernel-features.h>.
3258 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
3259 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
3261 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3263 * sysdeps/s390/multiarch/ifunc-resolve.h
3264 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
3265 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
3266 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
3267 Delete macro definition.
3268 (s390_libc_ifunc_init): Rename to
3269 s390_libc_ifunc_expr_stfle_init.
3270 * sysdeps/s390/bzero: Use
3271 s390_libc_ifunc_expr_stfle_init instead of
3272 s390_libc_ifunc_init.
3273 * sysdeps/s390/memcmp.c: Likewise.
3274 * sysdeps/s390/memcpy.c: Likewise.
3275 * sysdeps/s390/mempcpy.c: Likewise.
3276 * sysdeps/s390/memset.c: Likewise.
3278 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3280 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
3281 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
3283 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3285 * sysdeps/s390/multiarch/Makefile
3286 (sysdep_routines): Remove wmemcmp variants.
3287 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
3288 * sysdeps/s390/multiarch/ifunc-impl-list.c
3289 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
3290 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
3291 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
3292 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
3293 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
3294 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
3295 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
3296 * sysdeps/s390/ifunc-wmemcmp.h: New file.
3298 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3300 * sysdeps/s390/multiarch/Makefile
3301 (sysdep_routines): Remove wmemset variants.
3302 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
3303 * sysdeps/s390/multiarch/ifunc-impl-list.c
3304 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
3305 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
3306 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
3307 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
3308 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
3309 * sysdeps/s390/multiarch/wmemset.c: Move to ...
3310 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
3311 * sysdeps/s390/ifunc-wmemset.h: New file.
3313 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3315 * sysdeps/s390/multiarch/Makefile
3316 (sysdep_routines): Remove wmemchr variants.
3317 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
3318 * sysdeps/s390/multiarch/ifunc-impl-list.c
3319 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
3320 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
3321 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
3322 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
3323 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
3324 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
3325 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
3326 * sysdeps/s390/ifunc-wmemchr.h: New file.
3328 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3330 * sysdeps/s390/multiarch/Makefile
3331 (sysdep_routines): Remove wcscspn variants.
3332 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
3333 * sysdeps/s390/multiarch/ifunc-impl-list.c
3334 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
3335 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
3336 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
3337 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
3338 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
3339 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
3340 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
3341 * sysdeps/s390/ifunc-wcscspn.h: New file.
3343 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3345 * sysdeps/s390/multiarch/Makefile
3346 (sysdep_routines): Remove wcspbrk variants.
3347 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
3348 * sysdeps/s390/multiarch/ifunc-impl-list.c
3349 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
3350 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
3351 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
3352 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
3353 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
3354 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
3355 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
3356 * sysdeps/s390/ifunc-wcspbrk.h: New file.
3358 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3360 * sysdeps/s390/multiarch/Makefile
3361 (sysdep_routines): Remove wcsspn variants.
3362 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
3363 * sysdeps/s390/multiarch/ifunc-impl-list.c
3364 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
3365 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
3366 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
3367 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
3368 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
3369 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
3370 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
3371 * sysdeps/s390/ifunc-wcsspn.h: New file.
3373 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3375 * sysdeps/s390/multiarch/Makefile
3376 (sysdep_routines): Remove wcsrchr variants.
3377 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
3378 * sysdeps/s390/multiarch/ifunc-impl-list.c
3379 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
3380 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
3381 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
3382 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
3383 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
3384 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
3385 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
3386 * sysdeps/s390/ifunc-wcsrchr.h: New file.
3388 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3390 * sysdeps/s390/multiarch/Makefile
3391 (sysdep_routines): Remove wcschrnul variants.
3392 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
3393 * sysdeps/s390/multiarch/ifunc-impl-list.c
3394 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
3395 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
3396 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
3397 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
3398 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
3399 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
3400 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
3401 * sysdeps/s390/ifunc-wcschrnul.h: New file.
3403 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3405 * sysdeps/s390/multiarch/Makefile
3406 (sysdep_routines): Remove wcschr variants.
3407 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
3408 * sysdeps/s390/multiarch/ifunc-impl-list.c
3409 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
3410 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
3411 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
3412 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
3413 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
3414 * sysdeps/s390/multiarch/wcschr.c: Move to ...
3415 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
3416 * sysdeps/s390/ifunc-wcschr.h: New file.
3418 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3420 * sysdeps/s390/multiarch/Makefile
3421 (sysdep_routines): Remove wcsncmp variants.
3422 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
3423 * sysdeps/s390/multiarch/ifunc-impl-list.c
3424 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
3425 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
3426 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
3427 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
3428 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
3429 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
3430 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
3431 * sysdeps/s390/ifunc-wcsncmp.h: New file.
3433 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3435 * sysdeps/s390/multiarch/Makefile
3436 (sysdep_routines): Remove wcscmp variants.
3437 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
3438 * sysdeps/s390/multiarch/ifunc-impl-list.c
3439 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
3440 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
3441 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
3442 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
3443 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
3444 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
3445 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
3446 * sysdeps/s390/ifunc-wcscmp.h: New file.
3448 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3450 * sysdeps/s390/multiarch/Makefile
3451 (sysdep_routines): Remove wcsncat variants.
3452 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
3453 * sysdeps/s390/multiarch/ifunc-impl-list.c
3454 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
3455 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
3456 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
3457 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
3458 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
3459 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
3460 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
3461 * sysdeps/s390/ifunc-wcsncat.h: New file.
3463 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3465 * sysdeps/s390/multiarch/Makefile
3466 (sysdep_routines): Remove wcscat variants.
3467 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
3468 * sysdeps/s390/multiarch/ifunc-impl-list.c
3469 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
3470 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
3471 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
3472 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
3473 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
3474 * sysdeps/s390/multiarch/wcscat.c: Move to ...
3475 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
3476 * sysdeps/s390/ifunc-wcscat.h: New file.
3478 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3480 * sysdeps/s390/multiarch/Makefile
3481 (sysdep_routines): Remove wcpncpy variants.
3482 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
3483 * sysdeps/s390/multiarch/ifunc-impl-list.c
3484 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
3485 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
3486 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
3487 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
3488 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
3489 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
3490 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
3491 * sysdeps/s390/ifunc-wcpncpy.h: New file.
3493 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3495 * sysdeps/s390/multiarch/Makefile
3496 (sysdep_routines): Remove wcsncpy variants.
3497 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
3498 * sysdeps/s390/multiarch/ifunc-impl-list.c
3499 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
3500 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
3501 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
3502 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
3503 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
3504 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
3505 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
3506 * sysdeps/s390/ifunc-wcsncpy.h: New file.
3508 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3510 * sysdeps/s390/multiarch/Makefile
3511 (sysdep_routines): Remove wcpcpy variants.
3512 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
3513 * sysdeps/s390/multiarch/ifunc-impl-list.c
3514 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
3515 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
3516 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
3517 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
3518 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
3519 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
3520 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
3521 * sysdeps/s390/ifunc-wcpcpy.h: New file.
3523 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3525 * sysdeps/s390/multiarch/Makefile
3526 (sysdep_routines): Remove wcscpy variants.
3527 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
3528 * sysdeps/s390/multiarch/ifunc-impl-list.c
3529 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
3530 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
3531 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
3532 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
3533 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
3534 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
3535 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
3536 * sysdeps/s390/ifunc-wcscpy.h: New file.
3538 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3540 * sysdeps/s390/multiarch/Makefile
3541 (sysdep_routines): Remove wcsnlen variants.
3542 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
3543 * sysdeps/s390/multiarch/ifunc-impl-list.c
3544 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
3545 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
3546 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
3547 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
3548 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
3549 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
3550 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
3551 * sysdeps/s390/ifunc-wcsnlen.h: New file.
3553 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3555 * sysdeps/s390/multiarch/Makefile
3556 (sysdep_routines): Remove wcslen variants.
3557 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
3558 * sysdeps/s390/multiarch/ifunc-impl-list.c
3559 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
3560 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
3561 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
3562 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
3563 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
3564 * sysdeps/s390/multiarch/wcslen.c: Move to ...
3565 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
3566 * sysdeps/s390/ifunc-wcslen.h: New file.
3568 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3570 * sysdeps/s390/multiarch/Makefile
3571 (sysdep_routines): Remove memrchr variants.
3572 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
3573 * sysdeps/s390/multiarch/ifunc-impl-list.c
3574 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
3575 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
3576 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
3577 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
3578 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
3579 * sysdeps/s390/multiarch/memrchr.c: Move to ...
3580 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
3581 * sysdeps/s390/ifunc-memrchr.h: New file.
3583 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3585 * sysdeps/s390/multiarch/Makefile
3586 (sysdep_routines): Remove memccpy variants.
3587 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
3588 * sysdeps/s390/multiarch/ifunc-impl-list.c
3589 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
3590 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
3591 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
3592 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
3593 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
3594 * sysdeps/s390/multiarch/memccpy.c: Move to ...
3595 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
3596 * sysdeps/s390/ifunc-memccpy.h: New file.
3598 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3600 * sysdeps/s390/multiarch/Makefile
3601 (sysdep_routines): Remove rawmemchr variants.
3602 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
3603 * sysdeps/s390/multiarch/ifunc-impl-list.c
3604 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
3605 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
3606 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
3607 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
3608 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
3609 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
3610 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
3611 * sysdeps/s390/ifunc-rawmemchr.h: New file.
3613 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3615 * sysdeps/s390/multiarch/Makefile
3616 (sysdep_routines): Remove memchr variants.
3617 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
3618 * sysdeps/s390/multiarch/ifunc-impl-list.c
3619 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
3620 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
3621 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
3622 * sysdeps/s390/multiarch/memchr.c: Move to ...
3623 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
3624 * sysdeps/s390/ifunc-memchr.h: New file.
3625 * sysdeps/s390/s390-64/memchr.S: Move to ...
3626 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
3627 for 31/64bit and ifunc handling.
3628 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
3629 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
3630 * sysdeps/s390/s390-32/memchr.S: Likewise.
3632 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3634 * sysdeps/s390/multiarch/Makefile
3635 (sysdep_routines): Remove strcspn variants.
3636 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
3637 * sysdeps/s390/multiarch/ifunc-impl-list.c
3638 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
3639 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
3640 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
3641 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
3642 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
3643 * sysdeps/s390/multiarch/strcspn.c: Move to ...
3644 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
3645 * sysdeps/s390/ifunc-strcspn.h: New file.
3647 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3649 * sysdeps/s390/multiarch/Makefile
3650 (sysdep_routines): Remove strpbrk variants.
3651 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
3652 * sysdeps/s390/multiarch/ifunc-impl-list.c
3653 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
3654 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
3655 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
3656 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
3657 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
3658 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
3659 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
3660 * sysdeps/s390/ifunc-strpbrk.h: New file.
3662 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3664 * sysdeps/s390/multiarch/Makefile
3665 (sysdep_routines): Remove strspn variants.
3666 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
3667 * sysdeps/s390/multiarch/ifunc-impl-list.c
3668 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
3669 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
3670 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
3671 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
3672 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
3673 * sysdeps/s390/multiarch/strspn.c: Move to ...
3674 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
3675 * sysdeps/s390/ifunc-strspn.h: New file.
3677 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3679 * sysdeps/s390/multiarch/Makefile
3680 (sysdep_routines): Remove strrchr variants.
3681 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
3682 * sysdeps/s390/multiarch/ifunc-impl-list.c
3683 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
3684 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
3685 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
3686 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
3687 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
3688 * sysdeps/s390/multiarch/strrchr.c: Move to ...
3689 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
3690 * sysdeps/s390/ifunc-strrchr.h: New file.
3692 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3694 * sysdeps/s390/multiarch/Makefile
3695 (sysdep_routines): Remove strchrnul variants.
3696 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
3697 * sysdeps/s390/multiarch/ifunc-impl-list.c
3698 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
3699 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
3700 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
3701 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
3702 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
3703 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
3704 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
3705 * sysdeps/s390/ifunc-strchrnul.h: New file.
3707 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3709 * sysdeps/s390/multiarch/Makefile
3710 (sysdep_routines): Remove strchr variants.
3711 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
3712 * sysdeps/s390/multiarch/ifunc-impl-list.c
3713 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
3714 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
3715 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
3716 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
3717 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
3718 * sysdeps/s390/multiarch/strchr.c: Move to ...
3719 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
3720 * sysdeps/s390/ifunc-strchr.h: New file.
3722 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3724 * sysdeps/s390/multiarch/Makefile
3725 (sysdep_routines): Remove strncmp variants.
3726 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
3727 * sysdeps/s390/multiarch/ifunc-impl-list.c
3728 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
3729 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
3730 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
3731 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
3732 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
3733 * sysdeps/s390/multiarch/strncmp.c: Move to ...
3734 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
3735 * sysdeps/s390/ifunc-strncmp.h: New file.
3737 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3739 * sysdeps/s390/multiarch/Makefile
3740 (sysdep_routines): Remove strcmp variants.
3741 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
3742 * sysdeps/s390/multiarch/ifunc-impl-list.c
3743 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
3744 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
3745 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
3746 * sysdeps/s390/multiarch/strcmp.c: Move to ...
3747 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
3748 * sysdeps/s390/ifunc-strcmp.h: New file.
3749 * sysdeps/s390/s390-64/strcmp.S: Move to ...
3750 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
3751 for 31/64bit and ifunc handling.
3752 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
3753 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
3754 * sysdeps/s390/s390-32/strcmp.S: Likewise.
3756 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3758 * sysdeps/s390/multiarch/Makefile
3759 (sysdep_routines): Remove strncat variants.
3760 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
3761 * sysdeps/s390/multiarch/ifunc-impl-list.c
3762 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
3763 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
3764 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
3765 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
3766 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
3767 * sysdeps/s390/multiarch/strncat.c: Move to ...
3768 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
3769 * sysdeps/s390/ifunc-strncat.h: New file.
3771 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3773 * sysdeps/s390/multiarch/Makefile
3774 (sysdep_routines): Remove strcat variants.
3775 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
3776 * sysdeps/s390/multiarch/ifunc-impl-list.c
3777 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
3778 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
3779 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
3780 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
3781 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
3782 * sysdeps/s390/multiarch/strcat.c: Move to ...
3783 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
3784 * sysdeps/s390/ifunc-strcat.h: New file.
3786 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3788 * sysdeps/s390/multiarch/Makefile
3789 (sysdep_routines): Remove stpncpy variants.
3790 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
3791 * sysdeps/s390/multiarch/ifunc-impl-list.c
3792 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
3793 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
3794 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
3795 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
3796 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
3797 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
3798 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
3799 * sysdeps/s390/ifunc-stpncpy.h: New file.
3801 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3803 * sysdeps/s390/multiarch/Makefile
3804 (sysdep_routines): Remove strncpy variants.
3805 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
3806 * sysdeps/s390/multiarch/ifunc-impl-list.c
3807 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
3808 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
3809 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
3810 * sysdeps/s390/multiarch/strncpy.c: Move to ...
3811 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
3812 * sysdeps/s390/ifunc-strncpy.h: New file.
3813 * sysdeps/s390/s390-64/strncpy.S: Move to ...
3814 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
3815 and adjust ifunc handling.
3816 * sysdeps/s390/s390-32/strncpy.S: Move to ...
3817 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
3818 and adjust ifunc handling.
3819 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
3820 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
3822 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3824 * sysdeps/s390/multiarch/Makefile
3825 (sysdep_routines): Remove stpcpy variants.
3826 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
3827 * sysdeps/s390/multiarch/ifunc-impl-list.c
3828 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
3829 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
3830 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
3831 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
3832 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
3833 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
3834 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
3835 * sysdeps/s390/ifunc-stpcpy.h: New file.
3837 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3839 * sysdeps/s390/multiarch/Makefile
3840 (sysdep_routines): Remove strcpy variants.
3841 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
3842 * sysdeps/s390/multiarch/ifunc-impl-list.c
3843 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
3844 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
3845 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
3846 * sysdeps/s390/multiarch/strcpy.c: Move to ...
3847 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
3848 * sysdeps/s390/ifunc-strcpy.h: New file.
3849 * sysdeps/s390/s390-64/strcpy.S: Move to ...
3850 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
3851 for 31/64bit and ifunc handling.
3852 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
3853 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
3854 * sysdeps/s390/s390-32/strcpy.S: Likewise.
3856 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3858 * sysdeps/s390/multiarch/Makefile
3859 (sysdep_routines): Remove strnlen variants.
3860 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
3861 * sysdeps/s390/multiarch/ifunc-impl-list.c
3862 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
3863 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
3864 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
3865 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
3866 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
3867 * sysdeps/s390/multiarch/strnlen.c: Move to ...
3868 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
3869 * sysdeps/s390/ifunc-strnlen.h: New file.
3871 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3873 * sysdeps/s390/multiarch/Makefile
3874 (sysdep_routines): Remove strlen variants.
3875 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
3876 * sysdeps/s390/multiarch/ifunc-impl-list.c
3877 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
3878 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
3879 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
3880 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
3881 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
3882 * sysdeps/s390/multiarch/strlen.c: Move to ...
3883 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
3884 * sysdeps/s390/ifunc-strlen.h: New file.
3886 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3888 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
3889 * sysdeps/s390/multiarch/ifunc-impl-list.c
3890 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
3891 * sysdeps/s390/ifunc-memmem.h: New file.
3892 * sysdeps/s390/memmem.c: Likewise.
3893 * sysdeps/s390/memmem-c.c: Likewise.
3894 * sysdeps/s390/memmem-vx.c: Likewise.
3896 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3898 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
3899 * sysdeps/s390/multiarch/ifunc-impl-list.c
3900 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
3901 * sysdeps/s390/ifunc-strstr.h: New file.
3902 * sysdeps/s390/strstr.c: Likewise.
3903 * sysdeps/s390/strstr-c.c: Likewise.
3904 * sysdeps/s390/strstr-vx.c: Likewise.
3906 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3908 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
3909 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
3910 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
3911 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
3913 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
3914 * sysdeps/s390/memmove-c.c: New file.
3915 * sysdeps/s390/memmove.c: Likewise.
3916 * sysdeps/s390/multiarch/ifunc-impl-list.c
3917 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
3919 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3921 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
3922 * sysdeps/s390/configure.ac: Add check for z13 support.
3923 * sysdeps/s390/configure: Regenerated.
3925 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3927 * sysdeps/s390/memcopy.h: New file.
3929 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3931 * sysdeps/s390/s390-32/bcopy.S: Remove.
3932 * sysdeps/s390/s390-64/bcopy.S: Likewise.
3934 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3936 * sysdeps/s390/ifunc-memcpy.h: New File.
3937 * sysdeps/s390/memcpy.S: Move to ...
3938 * sysdeps/s390/memcpy-z900.S ... here.
3939 Move implementations from memcpy-s390x.s to here.
3940 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
3941 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3942 Remove memcpy/mempcpy variants.
3943 * sysdeps/s390/Makefile (sysdep_routines):
3944 Add memcpy/mempcpy variants.
3945 * sysdeps/s390/multiarch/ifunc-impl-list.c
3946 (__libc_ifunc_impl_list): Adjust ifunc variants for
3948 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
3950 * sysdeps/s390/memcpy.c: ... here.
3951 Adjust ifunc variants for memcpy.
3952 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
3953 * sysdeps/s390/mempcpy.c: ... here.
3954 Adjust ifunc variants for mempcpy.
3955 * sysdeps/s390/mempcpy.S: Delete file.
3957 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3959 * sysdeps/s390/s390-64/memcpy.S: Move to ...
3960 * sysdeps/s390/memcpy.S: ... here.
3961 Adjust to be usable for 31/64bit.
3962 * sysdeps/s390/s390-32/memcpy.S: Delete File.
3963 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
3964 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
3965 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3966 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
3967 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
3968 Adjust to be usable for 31/64bit.
3969 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
3970 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
3971 * sysdeps/s390/multiarch/memcpy.c: ... here.
3972 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
3974 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3976 * sysdeps/s390/ifunc-memcmp.h: New File.
3977 * sysdeps/s390/memcmp.S: Move to ...
3978 * sysdeps/s390/memcmp-z900.S ... here.
3979 Move implementations from memcmp-s390x.s to here.
3980 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
3981 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3982 Remove memcmp variants.
3983 * sysdeps/s390/Makefile (sysdep_routines):
3984 Add memcmp variants.
3985 * sysdeps/s390/multiarch/ifunc-impl-list.c
3986 (__libc_ifunc_impl_list): Adjust ifunc variants for
3988 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
3990 * sysdeps/s390/memcmp.c: ... here.
3991 Adjust ifunc variants for memcmp.
3993 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3995 * sysdeps/s390/s390-64/memcmp.S: Move to ...
3996 * sysdeps/s390/memcmp.S: ... here.
3997 Adjust to be usable for 31/64bit.
3998 * sysdeps/s390/s390-32/memcmp.S: Delete File.
3999 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
4000 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
4002 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4003 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
4004 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
4005 Adjust to be usable for 31/64bit.
4006 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
4007 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
4008 * sysdeps/s390/multiarch/memcmp.c: ... here.
4009 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
4011 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4013 * sysdeps/s390/s390-32/bzero.S: Delete file.
4014 * sysdeps/s390/s390-64/bzero.S: Likewise.
4015 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
4016 * sysdeps/s390/bzero.c: New file.
4017 * sysdeps/s390/memset-z900.S: Add bzero entry points.
4018 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
4019 * sysdeps/s390/multiarch/ifunc-impl-list.c
4020 (__libc_ifunc_impl_list): Add bzero ifunc variants.
4022 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4024 * sysdeps/s390/ifunc-memset.h: New File.
4025 * sysdeps/s390/memset.S: Move to ...
4026 * sysdeps/s390/memset-z900.S ... here.
4027 Move implementations from memset-s390x.s to here.
4028 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
4029 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4030 Remove memset variants.
4031 * sysdeps/s390/Makefile (sysdep_routines):
4032 Add memset variants.
4033 * sysdeps/s390/multiarch/ifunc-impl-list.c
4034 (__libc_ifunc_impl_list): Adjust ifunc variants for
4036 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
4038 * sysdeps/s390/memset.c: ... here.
4039 Adjust ifunc variants for memset.
4041 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4043 * sysdeps/s390/s390-64/memset.S: Move to ...
4044 * sysdeps/s390/memset.S: ... here.
4045 Adjust to be usable for 31/64bit.
4046 * sysdeps/s390/s390-32/memset.S: Delete File.
4047 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
4048 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
4050 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4051 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
4052 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
4053 Adjust to be usable for 31/64bit.
4054 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
4055 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
4056 * sysdeps/s390/multiarch/memset.c: ... here.
4057 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
4059 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4061 * sysdeps/s390/multiarch/ifunc-resolve.h
4062 (s390_libc_ifunc_init, s390_libc_ifunc,
4063 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
4065 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4067 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
4068 * sysdeps/s390/configure.ac: Add check for z10 support.
4069 * sysdeps/s390/configure: Regenerated.
4071 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
4073 * sysdeps/i386/atomic-machine.h: Merged with ...
4074 * sysdeps/x86_64/atomic-machine.h: To ...
4075 * sysdeps/x86/atomic-machine.h: This. New file.
4077 2018-12-18 Florian Weimer <fweimer@redhat.com>
4079 Rewrite locale/gen-translit.pl in Python.
4080 * locale/Makefile (generated): Add C-translit.h.
4081 (before-compile): Add $(objpfx)C-translit.h.
4082 (C-translit.h): Move to $(objpfx). Create target directory.
4083 Build using Python script.
4084 * locale/gen-translit.py: New file.
4085 * locale/gen-translit.pl: Remove file.
4086 * locale/C-translit.h.in: Change comment character to '#' for
4087 easier parsing without a C preprocessor.
4088 * locale/C-translit.h: Remove generated file.
4089 * manual/install.texi (Tools for Compilation): Do not mention
4091 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
4092 Remove locale/C-translit.h.
4093 * scripts/update-copyrights: Likewise.
4094 * INSTALL: Regenerate.
4096 2018-12-18 Florian Weimer <fweimer@redhat.com>
4099 * localedata/locales/bi_VU: Remove executable bit from file.
4101 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
4104 (__localtime64): Add.
4105 * manual/maint.texi: Document Y2038 symbol handling.
4107 (__localtime64): Add.
4108 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
4110 2018-12-17 Joseph Myers <joseph@codesourcery.com>
4112 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
4115 * scripts/glibcextract.py (compare_macro_consts): Take parameters
4116 to allow extra macros from first or second sources.
4117 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
4118 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
4119 (tests-special): Add $(objpfx)tst-mman-consts.out.
4120 ($(objpfx)tst-mman-consts.out): New makefile target.
4122 2018-12-17 Mao Han <han_mao@c-sky.com>
4124 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
4125 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
4126 without stat64 system call support.
4127 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
4128 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
4129 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4130 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
4131 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
4132 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
4133 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
4134 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
4135 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
4136 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
4137 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
4139 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
4141 regex: fix storage-exhaustion error
4143 * posix/regexec.c (get_subexp):
4144 Do not continue if storage is exhausted.
4146 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
4148 regex: fix heap-use-after-free error
4150 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
4151 https://debbugs.gnu.org/32592
4152 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
4153 call extend_buffers which reallocates the re_string_t internal buffer.
4154 Local variable 'buf' was not updated in such case, resulting in
4156 * posix/regexec.c (get_subexp): Update 'buf' after call to
4159 2018-12-15 Florian Weimer <fweimer@redhat.com>
4161 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
4162 (minimum_stride_size): Use it.
4163 (support_blob_repeat_allocate): Likewise.
4165 2018-12-14 Joseph Myers <joseph@codesourcery.com>
4167 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
4172 2018-12-14 Florian Weimer <fweimer@redhat.com>
4174 * manual/process.texi (Process Creation Concepts): Remove
4175 documentation of process (ID) lifetime. List more process
4176 creation functions. Reference Process Identification section.
4177 (Process Identification): Add information about process ID
4178 lifetime. Describe Linux thread/task IDs.
4179 * manual/signal.texi (Signaling Another Process): Mention that the
4180 signal is always sent to the process.
4182 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4184 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
4185 and tst-ldbl-efgcvt.
4186 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
4187 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
4188 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
4189 (fcvt_tests, output_error, output_r_error, do_test): Use the
4190 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
4191 select the type of floating-point variables and arguments; to
4192 produce extra tests for double and conversion specifiers for
4193 printf; and to set the names of called functions.
4194 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
4195 in tst-efgcvt-template.c.
4196 * misc/tst-ldbl-efgcvt.c: Likewise.
4198 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
4200 * nss/Makefile (tst-nss-test3.out): New rule.
4202 2018-12-13 Joseph Myers <joseph@codesourcery.com>
4204 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
4207 2018-12-13 fanjinke <fanjinke@hygon.cn>
4209 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
4212 2018-12-13 Andreas Schwab <schwab@suse.de>
4215 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
4216 (__pthread_rwlock_rdlock_full): Update expected value for
4217 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
4218 * nptl/tst-rwlock-pwn.c: New file.
4219 * nptl/Makefile (tests): Add tst-rwlock-pwn.
4221 2018-12-12 Joseph Myers <joseph@codesourcery.com>
4223 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
4226 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4228 * benchtests/scripts/compare_bench.py (do_compare): write to
4229 stderr in casestat is not present.
4230 * benchtests/scripts/compare_bench.py (plot_graphs): write to
4231 stderr in case timings field is not present. Also string showing
4232 the output filename goes into the stderr.
4234 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4236 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
4237 and ZeroDivisorError exceptions.
4238 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
4239 argument to loop through user provided statistics.
4240 * benchtests/scripts/compare_bench.py (main): Include the --stats
4243 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4245 * benchtests/scripts/compare_bench.py (compare_runs): Continue
4248 2018-12-12 Florian Weimer <fweimer@redhat.com>
4250 * sysdeps/posix/timespec_get.c: Add missing “any later version”
4251 clause to copyright header.
4253 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4256 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
4257 registers saved in the stack frame.
4258 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
4259 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
4261 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4263 * include/bits/monetary-ldbl.h: New file.
4264 * include/bits/printf-ldbl.h: Likewise.
4265 * include/bits/stdio-ldbl.h: Likewise.
4266 * include/bits/stdlib-ldbl.h: Likewise.
4267 * include/bits/syslog-ldbl.h: Likewise.
4268 * include/bits/wchar-ldbl.h: Likewise.
4270 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4272 * libio/libio.h: Remove redirection for _IO_vfprintf.
4274 2018-12-11 Andreas Schwab <schwab@suse.de>
4276 * Makerules: Remove all references to abilist-pattern.
4277 (update-all-abi): Simplify find expression.
4279 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
4282 * math/auto-libm-test-in: Add new test case.
4283 * math/auto-libm-test-out-pow: Regenerated.
4284 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
4286 2018-12-10 DJ Delorie <dj@redhat.com>
4289 * support/test-container.c: Move postclean step to before we
4292 2018-12-10 Joseph Myers <joseph@codesourcery.com>
4294 * scripts/gen-as-const.py (main): Handle --python option.
4295 * scripts/gen-py-const.awk: Remove.
4296 * Makerules (py-const-script): Use gen-as-const.py.
4297 ($(py-const)): Likewise.
4298 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
4299 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
4300 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
4301 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
4302 ~PTHREAD_MUTEX_NO_ELISION_NP.
4303 * manual/README.pretty-printers: Update reference to
4306 * scripts/glibcextract.py: New file.
4307 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
4308 or tempfile. Import glibcexctract.
4309 (compute_c_consts): Remove. Moved to glibcextract.py.
4310 (gen_test): Update reference to compute_c_consts.
4312 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
4313 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
4314 * sysdeps/unix/sysv/linux/Makefile
4315 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
4316 Redirect stderr as well as stdout.
4318 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
4321 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
4322 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
4323 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
4324 ALWAYS_USE_VSYSCALL.
4325 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
4326 ALWAYS_USE_VSYSCALL.
4327 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
4328 ALWAYS_USE_VSYSCALL.
4330 2018-12-10 Florian Weimer <fweimer@redhat.com>
4333 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
4334 offset instead of count for clarity. Fix typo in comment.
4335 (__old_getdents64): Keep track of previous offset. Use it to call
4337 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
4338 that d_off is never zero.
4340 2018-12-10 Andreas Schwab <schwab@suse.de>
4342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
4343 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
4344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
4345 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
4346 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
4348 2018-12-10 Joseph Myers <joseph@codesourcery.com>
4350 * timezone/private.h: Update from tzcode 2018g.
4351 * timezone/tzfile.h: Likewise.
4352 * timezone/tzselect.ksh: Likewise.
4353 * timezone/zdump.c: Likewise.
4354 * timezone/zic.c: Likewise.
4356 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4359 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
4360 (do_test): Adjust buffer size and fix format.
4362 2018-12-07 DJ Delorie <dj@redhat.com>
4365 * malloc/tst-tcfree3.c: New.
4366 * malloc/Makefile: Add it.
4368 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
4370 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
4372 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4374 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
4375 used as a mask for the mode argument of __vfscanf_internal and
4376 __vfwscanf_internal.
4377 * stdio-common/vfscanf-internal.c
4378 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
4379 (__strtof128_internal): Define to __wcstof128_internal.
4380 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
4381 __strtof128_internal or __wcstof128_internal when the format of
4382 long double is the same as _Float128.
4384 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
4386 * include/unistd.h (__confstr): Add prototype and hidden prototype.
4387 * posix/confstr.c (confstr): Rename to __confstr.
4388 (__confstr): Add hidden def.
4389 (confstr): Add weak alias for __confstr.
4390 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
4393 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
4395 * NEWS: Mention getcpu.
4396 * include/sched.h (__getcpu): New libc_hidden_proto.
4397 * manual/resource.texi: Document getcpu.
4398 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
4399 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
4400 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
4401 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4402 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4403 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4404 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4405 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4406 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4407 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4408 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4409 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4410 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
4412 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4413 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4414 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4423 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
4424 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4425 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4426 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4427 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4428 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4429 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4430 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4431 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
4432 * sysdeps/unix/sysv/linux/getcpu.c: New file.
4433 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
4436 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
4438 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
4440 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
4442 2018-12-07 Florian Weimer <fweimer@redhat.com>
4445 * posix/Makefile (routines): Add spawn_faction_addfchdir.
4446 * posix/Versions (GLIBC_2.29): Export
4447 posix_spawn_file_actions_addfchdir_np.
4448 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
4449 * posix/spawn_faction_destroy.c
4450 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
4451 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
4452 and the field action.fchdir_action.
4453 * posix/tst-spawn-chdir.c (add_chdir): New function.
4454 (do_test): Add do_fchdir loop. Call add_chdir.
4455 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
4456 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4457 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
4458 posix_spawn_file_actions_addfchdir_np.
4459 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
4461 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
4463 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
4464 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
4466 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
4468 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
4470 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
4472 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
4474 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
4476 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4477 (GLIBC_2.29): Likewise.
4478 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4479 (GLIBC_2.29): Likewise.
4480 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4481 (GLIBC_2.29): Likewise.
4482 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4483 (GLIBC_2.29): Likewise.
4484 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
4486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4487 (GLIBC_2.29): Likewise.
4488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4489 (GLIBC_2.29): Likewise.
4490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4491 (GLIBC_2.29): Likewise.
4492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4493 (GLIBC_2.29): Likewise.
4494 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
4496 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
4498 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
4500 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
4501 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
4503 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
4505 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
4507 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
4510 2018-12-06 Joseph Myers <joseph@codesourcery.com>
4512 * manual/texinfo.tex: Update to version 2018-09-21.20 with
4513 trailing whitespace removed.
4514 * scripts/config.guess: Update to version 2018-11-28.
4515 * scripts/config.sub: Update to version 2018-11-28.
4516 * scripts/install-sh: Update to version 2018-03-11.20.
4517 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
4518 * scripts/move-if-change: Update to version 2018-03-07 03:47.
4520 2018-12-07 Florian Weimer <fweimer@redhat.com>
4524 * inet/tst-if_index-long.c: New file.
4525 * inet/Makefile (tests): Add tst-if_index-long.
4527 2018-12-07 Florian Weimer <fweimer@redhat.com>
4529 * support/check.h (support_record_failure_is_failed): Declare.
4530 * support/descriptors.h: New file.
4531 * support/support_descriptors.c: Likewise.
4532 * support/tst-support_descriptors.c: Likewise.
4533 * support/support_record_failure.c
4534 (support_record_failure_is_failed): New function.
4535 * support/Makefile (libsupport-routines): Add support_descriptors.
4536 (tests): Add tst-support_descriptors.
4538 2018-12-05 Zack Weinberg <zackw@panix.com>
4539 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4541 * stdio-common/vfprintf-internal.c
4542 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
4543 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
4544 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
4545 and __no_long_double.
4546 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
4547 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
4548 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
4549 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
4550 and __nldbl_*syslog* functions.
4551 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
4552 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
4553 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
4554 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
4555 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
4556 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
4557 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
4558 (__nldbl_vwprintf, __nldbl_wprintf):
4559 Directly call the appropriate __v*printf_internal routine, passing
4560 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
4562 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
4563 (__nldbl___printf_chk, __nldbl___snprintf_chk)
4564 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
4565 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
4566 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
4567 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4568 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
4569 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
4570 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
4571 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
4572 Likewise, and also pass PRINTF_FORTIFY when appropriate.
4573 (__nldbl_syslog, __nldbl_vsyslog):
4574 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
4575 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4577 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4580 2018-12-05 Zack Weinberg <zackw@panix.com>
4581 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4584 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
4585 Moved here from debug/vsprintf_chk.c.
4586 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
4587 and completion logic for the strfile to match exactly what
4588 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
4589 _IO_str_init_static_internal instead of maxlen-1.
4590 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4591 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
4592 __vsprintf_internal.
4594 * debug/vsprintf_chk.c (__vsprintf_chk)
4595 * debug/sprintf_chk.c (__sprintf_chk):
4596 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
4597 'flags' argument is positive, and slen as maxlen. No need to lock
4598 the FILE and/or construct a temporary FILE. Minimize and normalize
4599 header inclusions and variable names. Do not libc_hidden_def anything.
4601 * debug/asprintf_chk.c (__asprintf_chk)
4602 * debug/dprintf_chk.c (__dprintf_chk)
4603 * debug/fprintf_chk.c (__fprintf_chk)
4604 * debug/fwprintf_chk.c (__fwprintf_chk)
4605 * debug/printf_chk.c (__printf_chk)
4606 * debug/snprintf_chk.c (__snprintf_chk)
4607 * debug/swprintf_chk.c (__swprintf_chk)
4608 * debug/vasprintf_chk.c (__vasprintf_chk)
4609 * debug/vdprintf_chk.c (__vdprintf_chk)
4610 * debug/vfprintf_chk.c (__vfprintf_chk)
4611 * debug/vfwprintf_chk.c (__vfwprintf_chk)
4612 * debug/vprintf_chk.c (__vprintf_chk)
4613 * debug/vsnprintf_chk.c (__vsnprintf_chk)
4614 * debug/vswprintf_chk.c (__vswprintf_chk)
4615 * debug/vwprintf_chk.c (__vwprintf_chk)
4616 * debug/wprintf_chk.c (__wprintf_chk):
4617 Directly call the corresponding vxxprintf_internal function, passing
4618 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
4619 the FILE and/or construct a temporary FILE. Minimize and normalize
4620 header inclusions and variable names. Do not libc_hidden_def anything.
4622 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
4623 __obstack_vprintf_internal.
4624 (__obstack_vprintf_chk): Convert into a wrapper that calls
4625 __obstack_vprintf_internal (these two functions already had the
4626 same code) and move to new file...
4627 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
4629 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
4630 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
4631 * debug/Makefile (routines): Add vobprintf_chk.
4633 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4634 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4635 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
4636 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4637 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
4638 (__nldbl___obstack_vfprintf_chk):
4639 Directly call the corresponding vxxprintf_internal function,
4640 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
4641 duplicate comparison of slen with 0 or maxlen from the corresponding
4642 non-__nldbl function.
4644 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
4645 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
4646 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
4647 Remove libc_hidden_proto.
4649 * stdio-common/vfprintf-internal.c
4650 (__vfprintf_internal, __vfwprintf_internal):
4651 Do not check _IO_FLAGS2_FORTIFY.
4652 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
4653 * libio/libioP.h: Update prototype of __vsprintf_internal and add
4654 a comment explaining why it has the maxlen argument.
4655 (_IO_acquire_lock_clear_flags2_fct): Remove.
4656 (_IO_acquire_lock_clear_flags2): Remove.
4657 (_IO_release_lock): Remove conditional statement which will
4659 (_IO_acquire_lock): Remove variable which is now unused.
4660 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
4661 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
4663 * stdio-common/Makefile (tests): Add tst-bz11319 and
4664 tst-bz11319-fortify2.
4665 (CFLAGS-tst-bz11319-fortify2.c): New macro.
4666 * stdio-common/tst-bz11319-fortify2.c: New file.
4667 * stdio-common/tst-bz11319.c: Likewise.
4669 2018-12-05 Zack Weinberg <zackw@panix.com>
4670 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4672 * misc/syslog.c: Include libioP.h, not iolibio.h.
4673 (__vsyslog_internal): New function with the former body of
4674 __vsyslog_chk; takes mode_flags argument same as
4675 __v*printf_internal. Call __vfprintf_internal directly.
4677 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
4678 Remove libc_hidden_def.
4679 (__syslog, __syslog_chk): Use __vsyslog_internal.
4680 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
4682 * include/sys/syslog.h: Add multiple inclusion guard.
4683 Add prototype for __vsyslog_internal.
4684 Remove declaration and libc_hidden_proto for __vsyslog_chk.
4686 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
4687 Use __vsyslog_internal.
4689 2018-12-05 Zack Weinberg <zackw@panix.com>
4690 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4692 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
4693 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
4694 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
4696 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
4697 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
4699 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
4700 Include wctype.h here if COMPILE_WPRINTF is defined.
4701 Define __vfprintf_internal or __vfwprintf_internal, depending
4703 Temporarily, on entry to this function, update mode_flags
4704 according to the environmental settings corresponding to
4705 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
4706 Throughout, check mode_flags instead of __ldbl_is_dbl and
4707 _IO_FLAGS2_FORTIFY on the destination FILE.
4708 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
4709 Include vfprintf-internal.c. Don't include wctype.h.
4710 * stdio-common/vfprintf.c: New file. Just define __vfprintf
4711 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
4713 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
4714 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
4716 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
4718 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
4719 and add mode_flags argument; use __vfprintf_internal.
4720 (__vdprintf): New function. Alias vdprintf to this.
4721 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
4722 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
4723 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
4724 (__obstack_printf): Use __obstack_printf_internal.
4725 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
4726 public aliases __vsnprintf and vsnprintf.
4727 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
4729 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
4730 public aliases _IO_vsprintf and vsprintf.
4731 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
4732 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
4733 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
4734 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
4735 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
4737 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
4738 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
4739 * stdio-common/fprintf.c, stdio-common/fxprintf.c
4740 * stdio-common/printf.c: Use __vfprintf_internal.
4742 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
4743 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
4744 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
4746 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
4747 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
4748 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
4749 __vfwprintf_internal.
4751 * libio/libio.h: Remove libc_hidden_proto and declaration for
4753 Remove declaration of _IO_vfwprintf.
4754 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
4756 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
4758 * include/stdio.h: Add prototype for __vasprintf.
4759 (__vsnprintf): Remove declaration, because there are no more
4761 * include/wchar.h (__vfwprintf, __vswprintf): Remove
4762 declaration, because there are no more internal calls.
4764 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
4765 __vsnprintf_internal, instead of _IO_vsnprintf.
4766 * argp/argp-help.c (__argp_error, __argp_failure): Use
4767 __vasprintf_internal, instead of _IO_vasprintf.
4768 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
4769 redefine, because there are no more internal calls.
4771 2018-12-05 Zack Weinberg <zackw@panix.com>
4772 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4774 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
4775 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
4776 Include libio/strfile.h instead of libioP.h.
4777 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
4778 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
4779 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
4780 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
4781 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
4782 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
4783 necessary. Do not set __no_long_double. Normalize variable names.
4784 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
4785 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
4786 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
4787 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
4788 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
4789 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
4790 Call __vfscanf_internal / __vfwscanf_internal directly, passing
4791 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
4792 Do not set __no_long_double. Normalize variable names.
4794 2018-12-05 Zack Weinberg <zackw@panix.com>
4795 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4797 * stdio-common/isoc99_scanf.c
4798 * stdio-common/isoc99_fscanf.c
4799 * stdio-common/isoc99_sscanf.c
4800 * stdio-common/isoc99_vscanf.c
4801 * stdio-common/isoc99_vfscanf.c
4802 * stdio-common/isoc99_vsscanf.c
4803 * wcsmbs/isoc99_wscanf.c
4804 * wcsmbs/isoc99_fwscanf.c
4805 * wcsmbs/isoc99_swscanf.c
4806 * wcsmbs/isoc99_vwscanf.c
4807 * wcsmbs/isoc99_vfwscanf.c
4808 * wcsmbs/isoc99_vswscanf.c:
4809 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
4810 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
4811 No need to lock and unlock the FILE passed to that function.
4813 * stdio-common/vfscanf-internal.c
4814 (__vfscanf_internal, __vfwscanf_internal):
4815 Don't look at _IO_FLAGS2_SCANF_STD.
4816 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
4817 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
4818 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
4820 2018-12-05 Zack Weinberg <zackw@panix.com>
4821 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4823 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
4824 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
4825 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
4826 * libio/strfile.h: Add multiple inclusion guard.
4827 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
4829 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
4830 consistency with the other version of this file.
4831 (ldbl_compat_symbol): New macro.
4832 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
4835 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
4836 Define __vfscanf_internal or __vfwscanf_internal, depending on
4837 COMPILE_WSCANF; don't define any other public symbols.
4838 Remove errval and code to set errp.
4839 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
4840 as the mode_flags argument.
4841 (encode_error, conv_error, input_error): Don't set errval.
4842 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
4843 Include vfscanf-internal.c.
4844 * stdio-common/vfscanf.c: New file defining the public entry
4845 point vfscanf, which calls __vfscanf_internal.
4846 * stdio-common/vfwscanf.c: New file defining the public entry
4847 point vfwscanf, which calls __vfwscanf_internal.
4849 * stdio-common/iovfscanf.c: New file.
4850 * stdio-common/iovfwscanf.c: Likewise.
4852 * stdio-common/Makefile (routines): Add vfscanf-internal,
4853 vfwscanf-internal, iovfscanf, iovfwscanf.
4854 * stdio-common/Versions: Mention GLIBC_2.29, so that
4855 it can be used in SHLIB_COMPAT expressions.
4856 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
4857 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
4858 Call __vfscanf_internal, instead of _IO_vfscanf.
4859 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
4861 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
4864 * libio/iovsscanf.c: Clean up includes, when possible. Use
4865 _IO_strfile_read or _IO_strfile_readw, when needed. Call
4866 __vfscanf_internal or __vfwscanf_internal directly.
4867 * libio/iovswscanf.c: Likewise.
4868 * libio/swscanf.c: Likewise.
4869 * libio/vscanf.c: Likewise.
4870 * libio/vwscanf.c: Likewise.
4871 * libio/wscanf.c: Likewise.
4872 * stdio-common/isoc99_fscanf.c: Likewise.
4873 * stdio-common/isoc99_scanf.c: Likewise.
4874 * stdio-common/isoc99_sscanf.c: Likewise.
4875 * stdio-common/isoc99_vfscanf.c: Likewise.
4876 * stdio-common/isoc99_vscanf.c: Likewise.
4877 * stdio-common/isoc99_vsscanf.c: Likewise.
4878 * stdio-common/scanf.c: Likewise.
4879 * stdio-common/sscanf.c: Likewise.
4880 * wcsmbs/isoc99_fwscanf.c: Likewise.
4881 * wcsmbs/isoc99_swscanf.c: Likewise.
4882 * wcsmbs/isoc99_vfwscanf.c: Likewise.
4883 * wcsmbs/isoc99_vswscanf.c: Likewise.
4884 * wcsmbs/isoc99_vwscanf.c: Likewise.
4885 * wcsmbs/isoc99_wscanf.c: Likewise.
4887 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
4890 (__tz_compute): Replace time_t with __time64_t.
4891 (__tz_convert): Replace time_t* with __time64_t.
4892 (__offtime): Replace time_t* with __time64_t.
4894 (__gmtime_r): Adjust call to __tz_convert.
4897 (__localtime_r): Likewise.
4898 (localtime): Likewise.
4899 * time/offtime.c: Replace time_t with __time64_t.
4900 * time/tzset.c: Likewise.
4902 2018-12-04 Joseph Myers <joseph@codesourcery.com>
4904 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
4905 dynamic linker unless [$(run-built-tests) = yes].
4907 2018-12-03 DJ Delorie <dj@delorie.com>
4909 * support/test-container.c (check_for_unshare_hints): New.
4910 (main): Call it if unshare fails. Add support for "su" scriptlet
4913 2018-12-03 Joseph Myers <joseph@codesourcery.com>
4915 * scripts/gen-as-const.py (compute_c_consts): Take an argument
4916 'START' to indicate that start text should be output.
4917 (gen_test): Likewise.
4918 (main): Generate 'START' for first symbol or '--' line, or at end
4919 of input if not previously generated.
4921 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
4924 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
4925 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
4926 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
4927 ALWAYS_USE_VSYSCALL.
4929 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4932 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
4935 2018-12-03 Carlos O'Donell <carlos@redhat.com>
4938 * locale/programs/localedef.c: Declare boolean hard_links default true.
4939 (options): Add --no-hard-links option.
4940 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
4941 * locale/programs/localedef.h: Declare prototype for hard_links.
4942 * locale/programs/locfile.c (write_locale_data): Don't use hard
4943 links if hard_links is false.
4945 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
4947 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
4949 (__cache_sysconf): Likewise.
4950 (init_cacheinfo): Likewise.
4951 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
4952 populate COMMON_CPUID_INDEX_80000007 and
4953 COMMON_CPUID_INDEX_80000008.
4954 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
4955 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
4956 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
4957 (init_cpu_features): Use _Static_assert on
4958 index_arch_Fast_Unaligned_Load.
4959 __get_cpuid_registers and __get_arch_feature. Updated for
4960 cpu_features_basic. Set stepping in cpu_features.
4961 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
4962 (FEATURE_INDEX_2): New.
4963 (FEATURE_INDEX_MAX): Changed to enum.
4964 (COMMON_CPUID_INDEX_D_ECX_1): New.
4965 (COMMON_CPUID_INDEX_80000007): Likewise.
4966 (COMMON_CPUID_INDEX_80000008): Likewise.
4967 (cpuid_registers): Likewise.
4968 (cpu_features_basic): Likewise.
4969 (CPU_FEATURE_USABLE): Likewise.
4970 (bit_arch_XXX_Usable): Likewise.
4971 (cpu_features): Use cpuid_registers and cpu_features_basic.
4972 (bit_arch_XXX): Reweritten.
4973 (bit_cpu_XXX): Likewise.
4974 (index_cpu_XXX): Likewise.
4975 (reg_XXX): Likewise.
4976 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
4978 (CHECK_CPU_FEATURE): New.
4979 (CHECK_CPU_FEATURE_USABLE): Likewise.
4980 (cpu_kinds): Likewise.
4981 (do_test): Print vendor, family, model and stepping. Check
4982 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
4983 (TEST_FUNCTION): Removed.
4984 Include <support/test-driver.c> instead of
4985 "../../test-skeleton.c".
4986 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
4987 Check POPCNT instead of POPCOUNT.
4988 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
4990 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4992 * scripts/gen-as-const.py (main): Avoid emitting empty line when
4993 there is no element in `consts'.
4995 2018-12-01 Florian Weimer <fweimer@redhat.com>
4997 * support/support_capture_subprocess.c
4998 (support_capture_subprocess): Check that pipe descriptors have
4999 expected values. Close original pipe descriptors in subprocess.
5001 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
5004 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
5005 attr with __pthread_default_barrierattr.
5006 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
5007 attr with __pthread_default_condattr.
5008 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
5009 attr with __pthread_default_mutexattr.
5010 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
5011 attr with __pthread_default_rwlockattr.
5013 2018-12-01 Kemi Wang <kemi.wang@intel.com>
5015 * manual/tunables.texi (POSIX Thread Tunables): New node.
5016 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
5017 * nptl/nptl-init.c: Include pthread_mutex_conf.h
5018 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
5019 __pthread_tunables_init.
5020 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
5021 (max_adaptive_count): Define.
5022 * nptl/pthread_mutex_conf.c: New file.
5023 * nptl/pthread_mutex_conf.h: New file.
5024 * sysdeps/generic/adaptive_spin_count.h: New file.
5025 * sysdeps/nptl/dl-tunables.list: New file.
5026 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
5027 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
5028 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
5031 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
5034 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
5035 * stdlib/on_exit.c (__on_exit): Likewise.
5036 * stdlib/Makefile (tests): Add tst-bz20544.
5037 * stdlib/tst-bz20544.c: New test.
5039 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
5042 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
5043 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
5046 2018-11-30 Florian Weimer <fweimer@redhat.com>
5048 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
5049 Extend error logging.
5050 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
5053 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5055 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
5056 __sigismember instead of sigismember.
5057 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
5058 cancel_handler): New definitions.
5059 (do_system): Use posix_spawn instead of fork and execl and remove
5061 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
5062 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
5063 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
5064 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
5065 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
5066 * sysdeps/unix/sysv/linux/system.c: Likewise.
5070 * NEWS: Add new semantic for atfork with popen and system.
5071 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
5074 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5077 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
5078 modification order when accessing reloc_result->addr.
5079 * include/link.h (reloc_result): Add field init.
5080 * nptl/Makefile (tests): Add tst-audit-threads.
5081 (modules-names): Add tst-audit-threads-mod1 and
5082 tst-audit-threads-mod2.
5083 Add rules to build tst-audit-threads.
5084 * nptl/tst-audit-threads-mod1.c: New file.
5085 * nptl/tst-audit-threads-mod2.c: Likewise.
5086 * nptl/tst-audit-threads.c: Likewise.
5087 * nptl/tst-audit-threads.h: Likewise.
5089 2018-11-30 Joseph Myers <joseph@codesourcery.com>
5091 * scripts/gen-as-const.py: New file.
5092 * scripts/gen-as-const.awk: Remove.
5093 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
5095 ($(objpfx)test-as-const-%.c): Likewise.
5097 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
5099 * elf/dl-exception.c: Include <_itoa.h>.
5101 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
5103 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
5104 returned by __f_setlk.
5106 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
5107 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5109 * elf/Makefile (tests-internal): Add tst-create_format1.
5110 * elf/dl-exception.c (_dl_exception_create_format): Support
5112 * elf/tst-create_format1.c: New file.
5114 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
5116 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
5117 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
5119 * argp/argp-help.c (__argp_failure): Likewise.
5121 2018-11-29 Mao Han <han_mao@c-sky.com>
5123 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
5124 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
5125 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
5126 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
5127 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
5128 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
5129 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
5130 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
5131 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
5132 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
5133 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
5134 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
5135 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
5136 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
5137 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
5138 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
5139 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
5140 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
5141 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
5142 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
5143 (R_CKCORE_TLS_TPOFF32): New defines.
5145 2018-11-29 Florian Weimer <fweimer@redhat.com>
5147 * posix/Makefile (before-compile): Remove testcases.h and
5149 (generated): Add testcases.h and ptestcases.h.
5150 (testcases.h, ptestcases.h): Move to $(objpfx).
5151 (runtests.o): Add dependency on testcases.h.
5152 (runptests.o): Add dependency on ptestcases.h.
5153 * posix/testcases.h, posix/ptestcases.h: Remove files.
5154 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
5155 not touch posix/testcases.h and posix/ptestcases.h.
5157 2018-11-28 Florian Weimer <fweimer@redhat.com>
5159 support: Add signal support to support_capture_subprocess_check.
5160 * support/capture_subprocess.h (support_capture_subprocess_check):
5161 Adjust comment and rename parameter.
5162 * support/support_capture_subprocess_check.c
5163 (print_actual_status): New function.
5164 (support_capture_subprocess_check): Support negative
5165 status_or_signal. Call print_actual_status.
5166 * support/tst-support_capture_subprocess.c (do_test): Call
5167 support_capture_subprocess_check.
5168 * libio/tst-vtables-common.c (termination_status)
5169 (init_termination_status): Remove.
5170 (check_for_termination): Adjust support_capture_subprocess_check
5172 (do_test): Remove call to init_termination_status.
5174 2018-11-28 Joseph Myers <joseph@codesourcery.com>
5176 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
5177 source directory instead of a copy.
5178 (CommandList.create_copy_dir): Remove.
5180 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
5182 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5184 2018-11-28 Florian Weimer <fweimer@redhat.com>
5186 * support/support.h (support_quote_string): Do not use str
5189 2018-11-27 Joseph Myers <joseph@codesourcery.com>
5191 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
5192 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
5194 2018-11-27 Florian Weimer <fweimer@redhat.com>
5196 * support/support.h (support_quote_string): Declare.
5197 * support/support_quote_string.c: New file.
5198 * support/tst-support_quote_string.c: Likewise.
5199 * support/Makefile (libsupport-routines): Add
5200 support_quote_string.
5201 (tests): Add tst-support_quote_string.
5203 2018-11-27 Florian Weimer <fweimer@redhat.com>
5207 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
5208 descriptor leak in case of ENODEV error.
5210 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
5213 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
5214 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
5215 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
5217 2018-11-26 Carlos O'Donell <carlos@redhat.com>
5219 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
5220 Error for unknown lines.
5222 2018-11-26 Joseph Myers <joseph@codesourcery.com>
5224 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
5225 Touch additional files.
5227 2018-11-26 Florian Weimer <fweimer@redhat.com>
5230 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
5233 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
5236 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
5237 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
5238 SHARED. Include sysdep.h.
5239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
5240 ALWAYS_USE_VSYSCALL.
5241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
5242 ALWAYS_USE_VSYSCALL.
5244 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
5247 * nptl/Makefile (tests-static): Add tst-cond11-static.
5249 * nptl/tst-cond11-static.c: New File.
5250 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
5251 tst-affinity-static.
5253 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
5255 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
5256 (USE_VSYSCALL): Likewise.
5257 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
5258 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
5260 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
5262 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
5265 2018-11-23 Joseph Myers <joseph@codesourcery.com>
5268 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5269 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
5272 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
5274 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
5275 (tst-cet-legacy-1a-ARGS): New.
5276 ($(objpfx)tst-cet-legacy-1a): New target.
5277 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
5279 2018-11-22 Joseph Myers <joseph@codesourcery.com>
5281 * conform/conformtest.py (CompileSubTest.__init__): Set
5282 self.run_early to False.
5283 (ExecuteSubTest.__init__): Likewise.
5284 (HeaderTests.run): Try running all non-optional, non-XFAILed
5285 compilation tests in a single execution of the compiler.
5287 * conform/conformtest.py (CompileSubTest): New class.
5288 (ExecuteSubTest): Likewise.
5289 (ElementTest.run): Rename to gen_subtests. Append tests to
5290 self.subtests instead of running them.
5291 (ConstantTest.run): Likewise.
5292 (SymbolTest.run): Likewise.
5293 (TypeTest.run): Likewise.
5294 (TagTest.run): Likewise.
5295 (FunctionTest.run): Likewise.
5296 (VariableTest.run): Likewise.
5297 (MacroFunctionTest.run): Likewise.
5298 (MacroStrTest.run): Likewise.
5299 (HeaderTests.handle_test_line): Generate subtests for tests.
5300 (HeaderTests.run): Run subtests for tests.
5302 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5304 * math/Versions (GLIBC_2.29): Add pow.
5305 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
5307 * math/w_pow.c: New file.
5308 * sysdeps/i386/fpu/w_pow.c: New file.
5309 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
5310 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
5311 and add necessary aliases.
5312 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
5313 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
5314 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5315 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5316 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5317 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5318 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5319 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5320 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5321 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5322 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5323 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5324 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5325 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5326 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5331 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5332 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5333 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5334 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5335 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5336 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5337 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5338 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
5340 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
5341 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
5342 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
5344 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5346 * math/Versions (GLIBC_2.29): Add log2.
5347 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
5349 * math/w_log2.c: New file.
5350 * sysdeps/i386/fpu/w_log2.c: New file.
5351 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
5352 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
5353 and add necessary aliases.
5354 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
5355 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
5356 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5357 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5358 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5359 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5360 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5361 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5362 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5363 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5364 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5365 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5366 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5367 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5368 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5373 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5374 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5375 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5376 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5377 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5378 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5379 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5381 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5383 * math/Versions (GLIBC_2.29): Add log.
5384 * math/w_log_compat.c (__log_compat): Change to versioned compat
5386 * math/w_log.c: New file.
5387 * sysdeps/i386/fpu/w_log.c: New file.
5388 * sysdeps/ia64/fpu/e_log.S: Update.
5389 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
5390 and add necessary aliases.
5391 * sysdeps/ieee754/dbl-64/w_log.c: New file.
5392 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
5393 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5394 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5395 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5396 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5397 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5398 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5399 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5400 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5401 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5402 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5403 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5404 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5405 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5410 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5411 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5412 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5413 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5414 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5415 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5416 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5417 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
5419 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
5420 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
5421 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
5422 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
5424 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5426 * math/Versions (GLIBC_2.29): Add exp and exp2.
5427 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
5428 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
5429 * math/w_exp_compat.c (__exp_compat): Likewise.
5430 * math/w_exp.c: New file.
5431 * math/w_exp2.c: New file.
5432 * sysdeps/i386/fpu/w_exp.c: New file.
5433 * sysdeps/i386/fpu/w_exp2.c: New file.
5434 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
5435 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
5436 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
5437 and add necessary aliases.
5438 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
5439 and add necessary aliases.
5440 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
5441 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
5442 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
5443 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
5444 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5445 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5446 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5447 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5448 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5449 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5450 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5451 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5452 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5453 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5454 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5455 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5456 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5461 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5462 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5463 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5464 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5465 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5466 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5467 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5468 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
5469 (__ieee754_exp): Rename to __exp.
5470 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
5471 (__ieee754_exp): Rename to __exp.
5472 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
5473 (__ieee754_exp): Rename to __exp.
5474 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
5476 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
5478 2018-11-20 DJ Delorie <dj@redhat.com>
5480 * malloc/malloc.c (tcache_entry): Add key field.
5481 (tcache_put): Set it.
5482 (tcache_get): Likewise.
5483 (_int_free): Check for double free in tcache.
5484 * malloc/tst-tcfree1.c: New.
5485 * malloc/tst-tcfree2.c: New.
5486 * malloc/Makefile: Run the new tests.
5487 * manual/probes.texi: Document memory_tcache_double_free probe.
5489 * dlfcn/dlerror.c (check_free): Prevent double frees.
5491 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
5493 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
5495 2018-11-20 Joseph Myers <joseph@codesourcery.com>
5497 * conform/conformtest.py (ElementTest.run): Use unique identifiers
5498 in tests. Use names for format arguments.
5499 (ConstantTest.run): Likewise.
5500 (SymbolTest.run): Likewise.
5501 (TypeTest.run): Likewise.
5502 (TagTest.run): Likewise.
5503 (FunctionTest.run): Likewise.
5504 (VariableTest.run): Likewise.
5505 (MacroFunctionTest.run): Likewise.
5506 (MacroStrTest.run): Likewise.
5507 (HeaderTests.__init__): Set self.num_tests.
5508 (HeaderTests.handle_test_line): Set test.num. Increment
5511 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
5513 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
5514 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
5517 2018-11-19 Mao Han <han_mao@c-sky.com>
5519 * scripts/config.guess: Update to version 2018-08-29.
5520 * scripts/config.sub: Update to version 2018-08-29.
5522 2018-11-19 Florian Weimer <fweimer@redhat.com>
5524 support: Print timestamps in timeout handler.
5525 * support/support_test_main.c (print_timestamp): New function.
5526 (signal_handler): Use it to print the termination time and the
5527 time of the last write to standard output.
5529 2018-11-16 Zack Weinberg <zackw@panix.com>
5530 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5532 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
5533 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
5535 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
5536 and add flags argument. Check flags instead of __ldbl_is_dbl when
5537 deciding whether to set is_long_double.
5538 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
5539 passing zero for flags argument.
5540 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
5542 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5543 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
5544 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
5545 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
5546 variable names. Remove libc_hidden_def/libc_hidden_proto from
5547 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
5548 longer called from within the library.
5549 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
5550 for __nldbl___vstrfmon_l, declare it explicitly.
5552 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
5554 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
5556 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
5558 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
5559 F_SETLK64, F_SETLKW64, respectively.
5560 * sysdeps/mach/hurd/f_setlk.c: New file.
5561 * sysdeps/mach/hurd/f_setlk.h: New file.
5562 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
5564 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
5565 (__libc_fcntl): Move non-flock operations to...
5566 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
5567 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
5569 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
5571 mktime: DEBUG_MKTIME cleanup
5572 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
5573 And it’s no longer needed now that glibc and Gnulib both have
5574 their own testing mechanisms for mktime.
5575 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
5577 mktime: fix non-EOVERFLOW errno handling
5579 mktime was not properly reporting failures when the underlying
5580 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
5581 them like EOVERFLOW failures, and set errno to EOVERFLOW.
5582 The problem could happen on non-glibc platforms, with Gnulib.
5583 * time/mktime.c (guess_time_tm): Remove, replacing with ...
5584 (tm_diff): ... this simpler function, which does not change errno.
5585 All callers changed to deal with errno themselves.
5586 (ranged_convert, __mktime_internal): Return failure immediately if
5587 the underlying function reports any failure other than EOVERFLOW.
5588 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
5591 mktime: fix bug with Y2038 DST transition
5593 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
5594 mishandle a DST transition that jumps over the Y2038 boundary.
5595 No such DST transitions are known so this is only a theoretical
5596 bug, but we might as well do things right.
5598 mktime: make more room for overflow
5600 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
5601 This is so that we can add tm_diff results to a previous guess,
5602 which will be useful in a later patch.
5604 mktime: simplify offset guess
5606 * time/mktime.c (__mktime_internal): Omit excess precision.
5608 mktime: new test for mktime failure
5610 Based on a test suggested by Albert Aribaud in:
5611 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
5612 * time/Makefile (tests): Add bug-mktime4.
5613 * time/bug-mktime4.c: New file.
5615 mktime: fix EOVERFLOW bug
5617 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
5618 Include libc-config.h, not config.h, for __set_errno.
5619 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
5621 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
5623 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
5624 __attribute_copy__ to copy attributes from name. Drop static qualifier
5625 to avoid warnings about leaf attribute not having effect on static
5628 2018-11-13 Florian Weimer <fweimer@redhat.com>
5630 * malloc/malloc.c (fastbin_push_entry): New function.
5631 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
5632 (REMOVE_FB): Remove macro.
5633 (_int_malloc): Use fastbin_pop_entry and reindent.
5634 (_int_free): Use fastbin_push_entry.
5635 (malloc_consolidate): Use atomic_exchange_acquire.
5637 2018-11-13 Joseph Myers <joseph@codesourcery.com>
5639 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
5640 alias attribute, not with strong_alias.
5642 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
5643 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
5644 with additional parameter thread.
5645 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
5646 in terms of __hidden_ver2.
5647 (hidden_tls_def): New macro.
5648 (libc_hidden_tls_def): Likewise.
5649 (rtld_hidden_tls_def): Likewise.
5650 (libm_hidden_tls_def): Likewise.
5651 (libmvec_hidden_tls_def): Likewise.
5652 (libresolv_hidden_tls_def): Likewise.
5653 (librt_hidden_tls_def): Likewise.
5654 (libdl_hidden_tls_def): Likewise.
5655 (libnss_files_hidden_tls_def): Likewise.
5656 (libnsl_hidden_tls_def): Likewise.
5657 (libnss_nisplus_hidden_tls_def): Likewise.
5658 (libutil_hidden_tls_def): Likewise.
5659 (libutil_hidden_tls_def): Likweise.
5660 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
5661 libc_hidden_tls_def.
5662 (__sim_disabled_exceptions_thread): Likewise.
5663 (__sim_round_mode_thread): Likewise.
5665 * sysdeps/sparc/sparc-ifunc.h [SHARED]
5666 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
5667 copy attributes from name.
5669 2018-11-12 Joseph Myers <joseph@codesourcery.com>
5671 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
5672 Use __attribute_copy__ to copy attributes from name.
5674 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
5675 with __hidden_ver1 call.
5676 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
5677 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
5678 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
5679 (__cosf): Do not declare here.
5680 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
5681 (__sincosf): Do not declare here.
5682 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
5683 (__sinf): Do not declare here.
5685 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
5686 (__BIG_ENDIAN): Likewise.
5687 (__BYTE_ORDER): Likewise.
5688 (strong_alias): Likewise.
5689 (_strong_alias): Likewise.
5691 2018-11-12 Florian Weimer <fweimer@redhat.com>
5693 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
5694 function. Move after the definition of in_smallbin_range. Do not
5695 use __builtin_expect for paths that lead to a noreturn function.
5696 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
5697 because it is unclear whether this is in fact an unlikely
5699 (_int_malloc, _int_free): Adjust.
5700 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
5702 * malloc/arena.c (heap_trim): Likewise.
5704 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5706 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
5707 it, free it if needed.
5708 (reauthenticate): Test and use ccwdir.
5709 (child_init_port): In non-resetids case, test and use ccwdir.
5710 (child_chdir): New nested function to set ccwdir.
5711 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
5712 * hurd/hurd/port.h (_hurd_port_move): New function.
5713 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
5714 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
5715 * hurd/Versions (_hurd_port_move): Export function.
5716 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
5718 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
5719 of dtablesize for allocating dtable_cloexec.
5721 2018-11-09 Martin Sebor <msebor@redhat.com>
5723 * include/libc-symbols.h (__attribute_copy__): Define macro unless
5724 it's already defined.
5725 (_strong_alias): Use __attribute_copy__.
5726 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
5727 * misc/sys/cdefs.h (__attribute_copy__): New macro.
5728 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
5729 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
5730 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
5731 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
5732 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
5733 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
5734 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
5735 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
5736 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
5737 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
5738 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
5739 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
5740 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
5741 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
5742 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
5743 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
5744 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
5746 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5748 * misc/tst-efgcvt.c: Include support/check.h and
5749 support/test-driver.c. Do not include test-skeleton.c.
5750 (error_count): Remove.
5751 (output_error): Replace increments to error_count with calls to
5752 support_record_failure.
5753 (output_r_error): Likewise.
5754 (special): Likewise.
5755 (do_test): Unconditionally return zero.
5756 (TEST_FUNCTION): Remove.
5758 2018-11-09 Joseph Myers <joseph@codesourcery.com>
5760 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
5762 ($(linknamespace-header-tests)): Likewise.
5764 * conform/conformtest.py: New file.
5765 * conform/conformtest.pl: Remove.
5766 * conform/GlibcConform.pm: Likewise.
5767 * conform/glibcconform.py (KEYWORDS_C90): New constant.
5768 (KEYWORDS_C99): Likewise.
5769 (KEYWORDS): Likewise.
5770 * conform/Makefile ($(conformtest-header-tests)): Use
5771 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
5772 option. Use --header instead of --headers.
5773 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
5775 * conform/data/spawn.h-data: Likewise.
5776 * conform/data/fcntl.h-data (openat): Add space after function
5778 * conform/data/wchar.h-data (wcscasecmp): Likewise.
5779 (wcscasecmp_l): Likewise.
5780 * conform/data/termios.h-data (c_cc): Add space after element
5783 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5785 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
5786 instead of manually comparing and reporting mismatching strings.
5787 * misc/tst-ldbl-error.c (do_one_test): Likewise.
5788 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
5790 2018-11-08 Joseph Myers <joseph@codesourcery.com>
5792 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
5793 __ASSUME_SOCKETCALL.
5794 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5795 (__ASSUME_SOCKETCALL): Remove.
5796 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5797 (__ASSUME_SOCKETCALL): Likewise.
5798 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5799 (__ASSUME_SOCKETCALL): Likewise.
5800 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5801 (__ASSUME_SOCKETCALL): Likewise.
5802 * sysdeps/unix/sysv/linux/s390/kernel-features.h
5803 (__ASSUME_SOCKETCALL): Likewise.
5804 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5805 (__ASSUME_SOCKETCALL): Likewise.
5806 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5807 (__ASSUME_SOCKETCALL): Likewise.
5809 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
5812 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
5813 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
5814 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
5815 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
5816 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
5819 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
5822 * resolv/tst-resolv-network.c: Add test for getnetbyname.
5824 2018-11-07 Joseph Myers <joseph@codesourcery.com>
5827 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5828 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5829 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5830 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5832 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5834 * support/support_test_compare_string.c
5835 (support_test_compare_string): Fix printf format.
5837 2018-11-07 Florian Weimer <fweimer@redhat.com>
5839 Implement TEST_COMPARE_STRING.
5840 * support/check.h (TEST_COMPARE_STRING): Define.
5841 (support_test_compare_string): Declare.
5842 * support/Makefile (libsupport-routines): Add
5843 support_test_compare_string.
5844 (tests): Add tst-test_compare_string.
5845 * support/support_test_compare_string.c: New file.
5846 * support/tst-test_compare_string.c: Likewise.
5848 2018-11-07 Andreas Schwab <schwab@suse.de>
5851 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
5852 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
5855 2018-11-06 Joseph Myers <joseph@codesourcery.com>
5858 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5859 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
5860 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
5861 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
5864 2018-11-06 Florian Weimer <fweimer@redhat.com>
5867 * posix/Makefile (routines): Add spawn_faction_addchdir.
5868 (tests): Add tst-spawn-chdir.
5869 * posix/Versions (GLIBC_2.29): Add
5870 posix_spawn_file_actions_addchdir_np.
5871 * posix/spawn_faction_addchdir.c: New file.
5872 * posix/spawn_faction_destroy.c
5873 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
5874 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
5875 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
5877 * posix/tst-spawn-chdir.c: New file.
5878 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
5879 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5880 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
5881 posix_spawn_file_actions_addchdir_np.
5882 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
5884 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
5886 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
5887 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
5889 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
5891 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
5893 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
5895 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
5897 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
5899 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5900 (GLIBC_2.29): Likewise.
5901 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5902 (GLIBC_2.29): Likewise.
5903 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5904 (GLIBC_2.29): Likewise.
5905 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5906 (GLIBC_2.29): Likewise.
5907 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
5909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5910 (GLIBC_2.29): Likewise.
5911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5912 (GLIBC_2.29): Likewise.
5913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5914 (GLIBC_2.29): Likewise.
5915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5916 (GLIBC_2.29): Likewise.
5917 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
5919 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
5921 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
5923 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
5924 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
5926 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
5928 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
5930 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
5933 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5935 * misc/Makefile (tests): Add tst-ldbl-error.
5936 * misc/tst-ldbl-error.c: New file.
5938 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5940 * misc/Makefile (tests): Add tst-ldbl-warn.
5941 * misc/tst-ldbl-warn.c: New file.
5943 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5945 * argp/Makefile (tests): Add tst-ldbl-argp.
5946 * argp/tst-ldbl-argp.c: New file.
5948 2018-11-05 Arjun Shankar <arjun@redhat.com>
5950 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
5951 __gconv_path_elem and call __gconv_get_path unconditionally.
5953 2018-11-05 Andreas Schwab <schwab@suse.de>
5956 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
5957 creating the first helper thread failed.
5959 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
5961 * sysdeps/mach/hurd/msync.c: New file.
5963 2018-11-02 Florian Weimer <fweimer@redhat.com>
5965 * support/shell-container.c (copy_func): Call
5966 support_copy_file_range instead of copy_file_range to support
5967 cross-device copies.
5969 2018-11-02 Florian Weimer <fweimer@redhat.com>
5971 * support/test-container.c: Include <libc-pointer-arith.h> for
5974 2018-11-01 Zong Li <zong@andestech.com>
5976 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
5977 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
5978 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
5979 (__FP_FRAC_SET_8): Add implementation for RV32 use.
5981 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
5982 variable to avoid overlap arguments.
5984 2018-11-01 Joseph Myers <joseph@codesourcery.com>
5986 * posix/bug-regex22.c (main): Use puts with distinct error
5987 messages for unexpected success of re_compile_pattern, not printf
5988 with NULL argument to %s.
5990 * stdio-common/bug22.c: Include <libc-diag.h>.
5991 (do_test): Disable -Wformat-overflow= warnings around fprintf
5992 calls outputting more than INT_MAX characters.
5993 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
5994 around printf call with NULL %s argument.
5997 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
5998 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
6000 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6001 (__ASSUME_RECVMSG_SYSCALL): Likewise.
6002 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6003 (__ASSUME_SENDTO_SYSCALL): Likewise.
6004 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6005 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
6007 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6008 (__ASSUME_CONNECT_SYSCALL): Likewise.
6009 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6010 (__ASSUME_RECVFROM_SYSCALL): Likewise.
6011 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
6013 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
6015 [__LINUX_KERNEL_VERSION >= 0x040400]
6016 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6017 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
6020 (setsockopt): Likewise.
6022 2018-11-01 Fredrik Noring <noring@nocrew.org>
6024 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
6025 with the ISA override.
6027 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
6029 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
6032 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
6034 * manual/errno.texi (EIEIO): Document how translators should
6035 translate the error message.
6036 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
6037 printing trailing whitespaces refused by git.
6038 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
6039 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6040 * hurd/Makefile (user-interfaces): Add pci.
6042 2018-10-30 Joseph Myers <joseph@codesourcery.com>
6044 * conform/linknamespace.py: New file.
6045 * conform/linknamespace.pl: Remove file.
6046 * conform/Makefile ($(linknamespace-header-tests)): Use
6047 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
6050 2018-10-30 Florian Weimer <fweimer@redhat.com>
6052 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
6055 2018-10-30 Florian Weimer <fweimer@redhat.com>
6057 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
6059 2018-10-30 Florian Weimer <fweimer@redhat.com>
6061 * stdlib/tst-strtod-overflow.c (do_test): Switch to
6062 support_blob_repeat.
6064 2018-10-30 Florian Weimer <fweimer@redhat.com>
6066 Avoid spurious test failures in stdlib/test-bz22786.
6067 * support/Makefile (libsupport-routines): Add blob_repeat.
6068 (tests): Add tst-support_blob_repeat.
6069 * support/blob_repeat.h: New file.
6070 * support/blob_repeat.c: Likewise.
6071 * support/tst-support_blob_repeat.c: Likewise.
6072 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
6073 support_blob_repeat_allocate.
6075 2018-10-30 Andreas Schwab <schwab@suse.de>
6078 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
6079 Don't use tail call.
6080 * elf/tst-unwind-main.c: New file.
6081 * elf/Makefile (tests): Add tst-unwind-main.
6082 (CFLAGS-tst-unwind-main.c): Define.
6084 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
6087 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
6089 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
6091 2018-10-29 Joseph Myers <joseph@codesourcery.com>
6093 * conform/glibcconform.py: Do not import shutil.
6094 (list_exported_functions): Use tempfile.TemporaryDirectory instead
6097 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
6098 critic_missing for versions before 3.4.
6099 * configure: Regenerated.
6100 * manual/install.texi (Tools for Compilation): Document
6101 requirement for Python to build glibc.
6102 * INSTALL: Regenerated.
6103 * Rules [PYTHON]: Make code unconditional.
6104 * benchtests/Makefile [PYTHON]: Likewise.
6105 * conform/Makefile [PYTHON]: Likewise.
6106 * manual/Makefile [PYTHON]: Likewise.
6107 * math/Makefile [PYTHON]: Likewise.
6109 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6111 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
6112 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
6113 answer to interrupt_operation, return EIEIO instead of EINTR.
6114 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
6115 _hurd_intr_rpc_msg_about_to global point to start of controlled
6116 assembly snippet. Make it check canceled flag.
6117 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
6118 the _hurd_intr_rpc_msg_about_to point.
6119 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
6120 issue, remove cancel flag check.
6122 2018-10-26 Joseph Myers <joseph@codesourcery.com>
6124 * scripts/build-many-glibcs.py: Remove compatibility for missing
6125 os.cpu_count and re.fullmatch.
6127 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
6130 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
6131 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
6132 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
6134 2018-10-25 Joseph Myers <joseph@codesourcery.com>
6136 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
6139 2018-10-25 Florian Weimer <fweimer@redhat.com>
6143 XFAIL siginfo_t si_band conform test on sparc64.
6144 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
6145 (__SI_BAND_TYPE): Only override long int default type on sparc64.
6146 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6147 (conformtest-xfail-conds): Add sparc64-linux.
6148 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
6150 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
6152 2018-10-25 Joseph Myers <joseph@codesourcery.com>
6154 * elf/elf.h (NT_MIPS_DSP): New macro.
6155 (NT_MIPS_FP_MODE): Likewise.
6157 2018-10-25 Zong Li <zong@andestech.com>
6159 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
6160 name by adding the file extension (.so).
6162 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
6164 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
6165 (test-xfail-ISO11/threads.h/linknamespace,
6166 test-xfail-ISO11/threads.h/conform): Add.
6168 2018-10-24 Joseph Myers <joseph@codesourcery.com>
6170 * math/gen-libm-test.py: Import os.
6171 (ALL_FLOATS_MANUAL): New constant.
6172 (ALL_FLOATS_SUFFIX): Likewise.
6173 (Ulps.all_functions): New function.
6174 (real_all_ulps): Likewise.
6175 (generate_err_table_sub): Likewise.
6176 (generate_err_table): Likewise.
6177 (main): Handle -s and -m options.
6178 * manual/libm-err-tab.pl: Remove.
6179 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
6180 instead of libm-err-tab.pl.
6181 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
6183 * manual/install.texi (Tools for Compilation): Document
6184 requirement for Python to build manual.
6185 * INSTALL: Regenerated.
6187 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
6189 * bits/time64.h: New file.
6190 * include/time.h: Replace internal_time_t with __time64_t.
6191 * posix/bits/types (__time64_t): Add.
6192 * stdlib/Makefile: Add bits/time64.h to includes.
6193 * time/tzfile.c: Replace internal_time_t with __time64_t.
6195 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6197 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
6198 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
6199 __posix_spawn_file_actions_init, __posix_spawnattr_init,
6200 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
6201 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
6203 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
6204 * posix/spawn_faction_addclose.c
6205 (__posix_spawn_file_actions_addclose): Add hidden definition.
6206 * posix/spawn_faction_adddup2.c
6207 (__posix_spawn_file_actions_adddup2): Likewise.
6208 * posix/spawn_faction_destroy.c
6209 (__posix_spawn_file_actions_destroy): Likewise.
6210 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
6212 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
6213 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
6214 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
6216 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
6217 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
6220 2018-10-24 Andreas Schwab <schwab@suse.de>
6223 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
6225 * elf/cache.c (print_cache): Likewise.
6227 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
6229 * bits/timesize.h: New file.
6230 * stdlib/Makefile (headers): Add bits/timesize.h.
6231 * sysdeps/unix/sysv/linux/bits/msq-pad.h
6232 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
6233 * sysdeps/unix/sysv/linux/bits/sem-pad.h
6234 (__SEM_PAD_AFTER_TIME): Likewise.
6235 * sysdeps/unix/sysv/linux/bits/shm-pad.h
6236 (__SHM_PAD_AFTER_TIME): Likewise.
6237 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
6238 (__MSQ_PAD_BEFORE_TIME): Likewise.
6239 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
6240 (__SEM_PAD_BEFORE_TIME): Likewise.
6241 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
6242 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
6243 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
6244 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
6245 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
6246 (__MSQ_PAD_BEFORE_TIME): Likewise.
6247 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
6248 (__SEM_PAD_BEFORE_TIME): Likewise.
6249 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
6250 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
6251 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
6252 (__MSQ_PAD_BEFORE_TIME): Likewise.
6253 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
6254 (__SEM_PAD_BEFORE_TIME): Likewise.
6255 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
6256 (__SHM_PAD_BEFORE_TIME): Likewise.
6257 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
6258 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
6259 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
6261 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
6263 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
6264 USE_RDTSCP is defined.
6265 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
6266 USE_RDTSCP is defined.
6268 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6270 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
6274 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
6275 independently of other flags.
6277 2018-10-23 Florian Weimer <fweimer@redhat.com>
6279 * time/tst-mktime2.c (N_STRINGS): Remove.
6280 (set_timezone): New function.
6281 (spring_forward_gap): Call it. Use FAIL_EXIT1.
6282 (mktime_test1): Report localtime failure and check errno value.
6284 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
6285 (do_test): Remove alarm call. Use set_timezone and array_length.
6287 2018-10-23 Andreas Schwab <schwab@suse.de>
6289 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
6290 (__start_context): Use END instead of PSEUDO_END.
6292 2018-10-22 Joseph Myers <joseph@codesourcery.com>
6294 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
6297 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6301 * wcsmbs/c32rtomb.c: New file.
6302 * wcsmbs/mbrtoc32.c: Likewise.
6303 * wcsmbs/tst-c32-state.c: Likewise.
6304 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
6305 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
6306 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
6307 (tests): Add tst-c32-state.
6308 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
6311 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
6313 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
6314 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
6316 2018-10-19 Joseph Myers <joseph@codesourcery.com>
6319 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
6320 pair and return 0 in that case, and use saved character to
6321 interpret following character.
6322 * wcsmbs/tst-c16-surrogate.c: New file.
6323 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
6324 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
6325 Depend on $(gen-locales)
6327 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
6330 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
6331 (struct siginfo_t): Use correct type for si_band.
6333 2018-10-19 Florian Weimer <fweimer@redhat.com>
6336 * resource/bits/types/struct_rusage.h (struct rusage): Update
6337 comment on struct. Remove extraneous field comment.
6339 2018-10-18 David S. Miller <davem@davemloft.net>
6341 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
6342 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
6343 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
6344 sysdep_routines in subdir elf.
6345 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
6346 version for __vdso_clock_gettime.
6347 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
6349 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
6350 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6352 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
6354 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
6356 * sysdeps/i386/init-arch.h: Removed.
6357 * sysdeps/i386/i586/init-arch.h: Likewise.
6358 * sysdeps/i386/i686/init-arch.h: Likewise.
6359 * sysdeps/i386/i686/hp-timing.h: Likewise.
6360 * sysdeps/x86_64/hp-timing.h: Likewise.
6361 * sysdeps/i386/isa.h: New file.
6362 * sysdeps/i386/i586/isa.h: Likewise.
6363 * sysdeps/i386/i686/isa.h: Likewise.
6364 * sysdeps/x86_64/isa.h: Likewise.
6365 * sysdeps/x86/hp-timing.h: New file.
6366 * sysdeps/x86/init-arch.h: Include <isa.h>.
6368 2018-10-17 Joseph Myers <joseph@codesourcery.com>
6370 * math/libm-test-pow.inc (pow_test_data): Do not allow
6371 divide-by-zero exception for pow(+/- 0, -Inf).
6373 2018-10-17 Zack Weinberg <zackw@panix.com>
6375 * manual/job.texi (Job Control is Optional): Remove node, as
6376 job control has not been optional in quite some time.
6377 (Job Control): Mention briefly that systems older than
6378 POSIX.1-2001 might not support job control.
6379 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
6380 defined on systems conforming to POSIX.1-2001.
6382 2018-10-17 Arjun Shankar <arjun@redhat.com>
6385 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
6387 * (__gconv_read_conf): Mark function static.
6388 * (once): New static variable.
6389 * (__gconv_load_conf): New function.
6390 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
6391 * iconv/gconv_db.c (once): Remove static variable.
6392 * (__gconv_compare_alias): Use __gconv_load_conf instead of
6394 * (__gconv_find_transform): Likewise.
6395 * iconv/tst-iconv-mt.c: New test.
6396 * iconv/Makefile: Add tst-iconv_mt.
6398 2018-10-17 Joseph Myers <joseph@codesourcery.com>
6400 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6402 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
6403 (shmatt_t): Define as __syscall_ulong_t.
6404 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
6405 and [__SHM_PAD_AFTER_TIME].
6406 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
6407 Define shm_segsz and associated padding based on
6408 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
6409 Use __syscall_ulong_t instead of unsigned long int.
6410 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
6412 [__USE_MISC] (struct shm_info): Likewise.
6413 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
6414 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
6415 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
6416 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
6417 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
6418 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
6419 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
6420 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
6421 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
6422 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
6423 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
6425 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6427 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
6428 (SHMLBA): Remove macro.
6429 (__getpagesize): Remove function declaration.
6430 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
6432 (SHMLBA): Remove macro.
6433 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
6435 (SHMLBA): Remove macro.
6436 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
6438 (SHMLBA): Remove macro.
6439 (__getpagesize): Remove function declaration.
6440 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
6442 (SHMLBA): Remove macro.
6443 (__getshmlba): Remove function declaration.
6444 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
6445 (SHMLBA): Remove macro.
6446 (__getpagesize): Remove function declaration.
6447 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
6448 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
6449 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
6450 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
6451 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
6452 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
6453 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
6454 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
6455 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
6456 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
6458 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
6461 * nptl/tst-mutex10.c: New File.
6462 * nptl/Makefile (tests): Add tst-mutex10.
6463 (tst-mutex10-ENV): New variable.
6464 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
6465 Ensure that elision path is used if elision is available.
6466 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
6468 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
6470 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
6471 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
6472 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
6473 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
6475 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
6476 (__pthread_mutex_cond_lock_adjust): Likewise.
6477 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
6479 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
6480 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6481 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6482 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
6484 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
6485 Use atomic_load_relaxed and atomic_store_relaxed.
6486 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
6487 Use atomic_store_relaxed.
6489 2018-10-17 Andreas Schwab <schwab@suse.de>
6491 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
6492 * crypt/badsalttest.c (TIMEOUT): Likewise.
6493 * crypt/sha256c-test.c (TIMEOUT): Likewise.
6494 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
6495 * io/test-lfs.c (TIMEOUT): Likewise.
6496 * libio/tst-atime.c (TIMEOUT): Likewise.
6497 * localedata/tst-leaks.c (TIMEOUT): Likewise.
6498 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
6499 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
6500 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
6501 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
6502 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
6503 * nptl/tst-cond11.c (TIMEOUT): Likewise.
6504 * nptl/tst-cond14.c (TIMEOUT): Likewise.
6505 * nptl/tst-cond15.c (TIMEOUT): Likewise.
6506 * nptl/tst-cond24.c (TIMEOUT): Likewise.
6507 * nptl/tst-cond25.c (TIMEOUT): Likewise.
6508 * nptl/tst-kill2.c (TIMEOUT): Likewise.
6509 * nptl/tst-kill3.c (TIMEOUT): Likewise.
6510 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
6511 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
6512 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
6513 * nptl/tst-once2.c (TIMEOUT): Likewise.
6514 * nptl/tst-once3.c (TIMEOUT): Likewise.
6515 * nptl/tst-once4.c (TIMEOUT): Likewise.
6516 * nptl/tst-robust8.c (TIMEOUT): Likewise.
6517 * nptl/tst-robust9.c (TIMEOUT): Likewise.
6518 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
6519 * nptl/tst-sem14.c (TIMEOUT): Likewise.
6520 * nptl/tst-sem6.c (TIMEOUT): Likewise.
6521 * nptl/tst-signal3.c (TIMEOUT): Likewise.
6522 * nptl/tst-spin4.c (TIMEOUT): Likewise.
6523 * nptl/tst-tls3.c (TIMEOUT): Likewise.
6524 * nptl/tst-tls4.c (TIMEOUT): Likewise.
6525 * posix/tst-chmod.c (TIMEOUT): Likewise.
6526 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
6527 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
6528 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
6529 * posix/tst-regex2.c (TIMEOUT): Likewise.
6530 * posix/tst-waitid.c (TIMEOUT): Likewise.
6531 * rt/tst-aio.c (TIMEOUT): Likewise.
6532 * rt/tst-aio10.c (TIMEOUT): Likewise.
6533 * rt/tst-aio4.c (TIMEOUT): Likewise.
6534 * rt/tst-aio5.c (TIMEOUT): Likewise.
6535 * rt/tst-aio6.c (TIMEOUT): Likewise.
6536 * rt/tst-aio64.c (TIMEOUT): Likewise.
6537 * rt/tst-aio7.c (TIMEOUT): Likewise.
6538 * rt/tst-aio9.c (TIMEOUT): Likewise.
6539 * rt/tst-clock.c (TIMEOUT): Likewise.
6540 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
6541 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
6542 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
6543 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
6544 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
6545 * rt/tst-timer4.c (TIMEOUT): Likewise.
6546 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
6547 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
6548 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
6549 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
6550 * time/tst-ftime.c (TIMEOUT): Likewise.
6551 * timezone/tst-tzset.c (TIMEOUT): Likewise.
6553 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
6555 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
6556 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
6559 2018-10-15 Joseph Myers <joseph@codesourcery.com>
6561 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6563 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
6564 instead of <bits/wordsize.h>.
6565 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
6566 and [__SEM_PAD_AFTER_TIME].
6567 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
6568 __syscall_ulong_t instead of unsigned long int.
6569 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
6570 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
6571 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
6572 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
6573 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
6574 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
6575 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
6576 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
6577 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
6578 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
6579 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
6581 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
6583 regex: simplify by using intprops.h
6585 * posix/regex_internal.h [_LIBC]: Include intprops.h.
6586 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
6587 intprops.h defines them.
6589 regex: __builtin_expect → __glibc_unlikely
6591 This refactoring was prompted by a problem when the regex code is
6592 used as part of Gnulib and when the builder’s compiler does not grok
6593 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
6594 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
6595 Although this refactoring does not fix the problem directly,
6596 we might as well have Gawk use the now-preferred glibc style for when
6597 __builtin_expect is unavailable.
6598 * posix/regex_internal.h (BE): Remove.
6599 All uses replaced by __glibc_unlikely or __glibc_likely.
6601 2018-10-11 Joseph Myers <joseph@codesourcery.com>
6603 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6605 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
6606 instead of <bits/wordsize.h>.
6607 (msgqnum_t): Define as __syscall_ulong_t.
6608 (msglen_t): Likewise.
6609 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
6610 and [__MSQ_PAD_AFTER_TIME].
6611 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
6612 __syscall_ulong_t instead of unsigned long int.
6613 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
6614 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
6615 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
6616 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
6617 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
6618 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
6619 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
6620 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
6621 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
6622 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
6623 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
6625 2018-10-10 Joseph Myers <joseph@codesourcery.com>
6627 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
6628 (struct shmid_ds): Condition padding after time fields on
6630 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
6631 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
6632 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
6634 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
6635 (struct semid_ds): Condition padding after time fields on
6637 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
6638 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
6639 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
6640 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
6642 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
6643 (struct msqid_ds): Condition padding after time fields on
6645 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
6646 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
6647 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
6648 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
6650 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
6652 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
6654 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
6656 * libio/tst-readline.c (TIMEOUT): Define.
6658 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
6660 mktime fix for Gnulib + coreutils
6662 This fix affects only Gnulib. Problem discovered when
6663 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
6665 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
6666 Do not define since it is not used. Defining an unused static
6667 function prompts a warning from GCC when Coreutils is configured
6668 with --enable-gcc-warnings.
6670 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6672 * benchtests/scripts/compare_bench.py (main): set float type on
6675 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
6678 * localedata/locales/kl_GL (mon): Update, the relative case.
6679 (alt_mon): Add, fill with month names in the nominative case.
6680 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
6681 (d_fmt): Set to "%b %d %Y".
6683 2018-10-04 Joseph Myers <joseph@codesourcery.com>
6685 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
6686 <bits/mman-linux.h>.
6687 (PROT_READ): Don't define here.
6688 (PROT_WRITE): Likewise.
6689 (PROT_EXEC): Likewise.
6690 (PROT_NONE): Likewise.
6691 (PROT_GROWSDOWN): Likewise.
6692 (PROT_GROWSUP): Likewise.
6693 (MAP_SHARED): Likewise.
6694 (MAP_PRIVATE): Likewise.
6695 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
6696 [__USE_MISC] (MAP_FILE): Likewise.
6697 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
6698 [__USE_MISC] (MAP_ANON): Likewise.
6699 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
6700 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
6701 (MCL_CURRENT): Likewise.
6702 (MCL_FUTURE): Likewise.
6703 (MCL_ONFAULT): Likewise.
6704 [__USE_MISC] (MADV_NORMAL): Likewise.
6705 [__USE_MISC] (MADV_RANDOM): Likewise.
6706 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
6707 [__USE_MISC] (MADV_WILLNEED): Likewise.
6708 [__USE_MISC] (MADV_DONTNEED): Likewise.
6709 [__USE_MISC] (MADV_FREE): Likewise.
6710 [__USE_MISC] (MADV_REMOVE): Likewise.
6711 [__USE_MISC] (MADV_DONTFORK): Likewise.
6712 [__USE_MISC] (MADV_DOFORK): Likewise.
6713 [__USE_MISC] (MADV_HWPOISON): Likewise.
6714 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
6715 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
6716 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
6717 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
6718 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
6719 (__MAP_ANONYMOUS): New macro.
6720 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
6721 <bits/mman-linux.h> inclusion.
6722 (MAP_FIXED): Likewise.
6723 (MS_SYNC): Likewise.
6724 (MS_ASYNC): Likewise.
6725 (MS_INVALIDATE): Likewise.
6726 [__USE_MISC] (MADV_MERGEABLE): Likewise.
6727 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
6728 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
6729 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
6730 [__USE_MISC] (MADV_DONTDUMP): Likewise.
6731 [__USE_MISC] (MADV_DODUMP): Likewise.
6732 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
6733 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
6736 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
6738 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
6739 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
6740 Add test-nldbl-redirect.
6741 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
6742 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
6743 $(objpfx)libnldbl_nonshared.a.
6745 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
6747 * support/support.h (support_objdir_elf_ldso): New variable.
6748 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
6749 * support/Makefile (CFLAGS-support_paths.c): Add definition
6750 for OBJDIR_ELF_LDSO_PATH.
6751 * support/test-container.c (main): Search for the ld.so
6752 which is also used by the testsuite.
6754 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
6757 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
6758 should be "sap" rather than "sab".
6759 (day): Fix spelling of Sunday, should be "sapaat" rather than
6762 2018-10-02 Joseph Myers <joseph@codesourcery.com>
6764 * math/libm-test-fma.inc (fma_test_data): Add more tests.
6766 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
6769 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
6770 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
6771 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
6773 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6775 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
6777 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
6779 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
6781 (CFLAGS-elision-unlock.c): Likewise.
6782 (CFLAGS-elision-timed.c): Likewise.
6783 (CFLAGS-elision-trylock.c): Likewise.
6784 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
6786 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6789 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
6790 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
6791 new fd_to_filename interface.
6792 * libio/freopen64.c (freopen64): Likewise.
6793 * libio/tst-memstream.h: New file.
6794 * libio/tst-memstream4.c: Likewise.
6795 * libio/tst-wmemstream4.c: Likewise.
6796 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
6797 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
6798 and remove internal dynamic allocation.
6800 2018-10-01 Joseph Myers <joseph@codesourcery.com>
6802 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
6803 (MREMAP_MAYMOVE): Do not define here.
6804 [__USE_GNU] (MREMAP_FIXED): Likewise.
6805 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
6806 (MREMAP_MAYMOVE): Define here instead.
6807 [__USE_GNU] (MREMAP_FIXED): Likewise.
6808 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
6809 (MREMAP_MAYMOVE): Remove.
6810 [__USE_GNU] (MREMAP_FIXED): Likewise.
6812 2018-09-28 Joseph Myers <joseph@codesourcery.com>
6814 * math/fromfp.h: Do not include <math_private.h>.
6815 * math/s_cacosh_template.c: Likewise.
6816 * math/s_casin_template.c: Likewise.
6817 * math/s_casinh_template.c: Likewise.
6818 * math/s_ccos_template.c: Likewise.
6819 * math/s_cproj_template.c: Likewise.
6820 * math/s_fdim_template.c: Likewise.
6821 * math/s_fmaxmag_template.c: Likewise.
6822 * math/s_fminmag_template.c: Likewise.
6823 * math/s_iseqsig_template.c: Likewise.
6824 * math/s_ldexp_template.c: Likewise.
6825 * math/s_nextdown_template.c: Likewise.
6826 * math/w_log1p_template.c: Likewise.
6827 * math/w_scalbln_template.c: Likewise.
6828 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
6829 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
6830 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
6831 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
6832 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
6833 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
6834 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
6835 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
6836 * sysdeps/i386/fpu/s_atanl.c: Likewise.
6837 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
6838 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
6839 * sysdeps/i386/fpu/s_fdim.c: Likewise.
6840 * sysdeps/i386/fpu/s_logbl.c: Likewise.
6841 * sysdeps/i386/fpu/s_rintl.c: Likewise.
6842 * sysdeps/i386/fpu/s_significandl.c: Likewise.
6843 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
6844 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
6845 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6846 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6847 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
6848 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6849 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6850 * sysdeps/ieee754/k_standardf.c: Likewise.
6851 * sysdeps/ieee754/k_standardl.c: Likewise.
6852 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6853 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
6854 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
6855 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
6856 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
6857 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
6858 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6859 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6860 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6861 * sysdeps/ieee754/s_signgam.c: Likewise.
6862 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
6863 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
6864 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
6865 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6866 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6867 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
6868 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6869 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
6870 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6871 * sysdeps/riscv/rvd/s_finite.c: Likewise.
6872 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
6873 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
6874 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
6875 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
6876 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
6877 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
6878 * sysdeps/riscv/rvf/fegetround.c: Likewise.
6879 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
6880 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
6881 * sysdeps/riscv/rvf/fesetround.c: Likewise.
6882 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
6883 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
6884 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
6885 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6886 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
6887 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6888 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
6889 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
6890 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
6891 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
6892 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
6893 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
6894 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
6895 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
6896 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6897 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6898 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
6900 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
6902 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
6905 * sysdeps/i386/dl-cet.c: Removed.
6906 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
6908 (_dl_runtime_profile_shstk): Likewise.
6909 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
6910 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
6912 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6915 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
6916 do_test_with_invalid_iov): New tests.
6917 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
6918 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
6919 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
6921 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
6922 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
6923 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
6925 2018-09-27 Joseph Myers <joseph@codesourcery.com>
6927 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6928 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
6929 (MATH_REDIRECT_BINARY_ARGS): New macro.
6930 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6931 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
6932 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
6934 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
6935 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6936 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
6937 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6938 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6939 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6940 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
6943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
6945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
6946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
6947 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
6948 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
6949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
6951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
6953 * sysdeps/generic/math_private_calls.h
6954 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
6955 Do not declare and define as an inline function.
6956 * math/divtc3.c (__divtc3): Use copysign functions instead of
6957 __copysign variants.
6958 * math/multc3.c (__multc3): Likewise.
6959 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
6960 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
6961 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6962 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6964 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6965 (__ieee754_yn): Likewise.
6966 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6967 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
6968 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6969 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6970 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
6972 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
6973 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6975 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6977 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6979 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6980 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6982 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6983 (__ieee754_ynf): Likewise.
6984 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
6985 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6986 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
6987 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6989 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6990 (__ieee754_ynl): Likewise.
6991 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6992 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6993 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6995 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6996 (__ieee754_ynl): Likewise.
6997 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
6998 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6999 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7000 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7002 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7004 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
7005 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7006 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
7007 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7008 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7010 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7011 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
7012 using MATH_REDIRECT.
7013 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
7015 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
7016 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7017 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7018 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
7019 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7020 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7021 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
7023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
7024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
7025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
7026 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7027 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7028 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7029 (round): Redirect to __round.
7030 (__roundl): Call round instead of __round.
7031 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
7033 [_ARCH_PWR5X] (__roundf): Likewise.
7034 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
7035 functions instead of __round variants.
7036 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7037 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
7039 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
7041 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
7043 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
7044 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
7046 (__ieee754_expl): Call roundl instead of __roundl.
7048 2018-09-27 Andreas Schwab <schwab@suse.de>
7051 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
7052 (do_test): Make st1 static.
7054 2018-09-26 Andreas Schwab <schwab@suse.de>
7057 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
7058 * elf/Makefile (tests): Add tst-unwind-ctor.
7059 (modules-names): Add tst-unwind-ctor-lib.
7060 ($(objpfx)tst-unwind-ctor): Depend on
7061 $(objpfx)tst-unwind-ctor-lib.so.
7063 2018-09-26 Joseph Myers <joseph@codesourcery.com>
7065 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
7066 file. Most contents moved from ....
7067 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
7068 and include <bits/mman-map-flags-generic.h>.
7069 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7070 (sysdep_headers): Add bits/mman-map-flags-generic.h.
7071 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
7072 <bits/mman-map-flags-generic.h>.
7073 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
7074 macros defined in <bits/mman-map-flags-generic.h>.
7075 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
7076 <bits/mman-map-flags-generic.h>.
7077 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
7078 defined in <bits/mman-map-flags-generic.h>.
7080 2018-09-26 Andreas Schwab <schwab@suse.de>
7082 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
7085 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
7086 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7087 Fangrui Song <maskray@google.com>
7090 * config.make.in (have-textrel_ifunc): New define.
7091 * configure.ac: Add check if linker supports textrel relocation with
7093 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
7095 (CFLAGS-tst-ifunc-textrel.c): New rule.
7096 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
7097 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
7098 * elf/tst-ifunc-textrel.c: New file.
7100 2018-09-25 Joseph Myers <joseph@codesourcery.com>
7102 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
7103 <bits/procfs-prregset.h>.
7104 (prgregset_t): Define using __prgregset_t.
7105 (prfpregset_t): Define using __prfpregset_t.
7106 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7107 (sysdep_headers): Add bits/procfs-prregset.h.
7108 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
7109 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
7110 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
7111 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
7113 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
7114 <bits/procfs-id.h> and <bits/procfs-extra.h>.
7115 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
7117 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7118 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
7119 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
7120 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
7121 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
7122 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
7123 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
7124 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
7125 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
7126 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
7127 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
7128 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
7129 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
7130 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
7131 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
7132 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
7133 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
7134 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
7135 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
7136 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
7137 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
7138 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
7139 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7140 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
7142 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
7143 AArch64 version. Include <bits/procfs.h>.
7144 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7145 (sysdep_headers): Add bits/procfs.h.
7146 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
7147 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
7148 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
7149 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
7150 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
7151 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
7152 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
7153 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
7154 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
7155 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
7156 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
7157 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
7158 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
7159 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
7160 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
7161 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7162 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
7164 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7166 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
7169 2018-09-25 Arjun Shankar <arjun@redhat.com>
7171 * iconv/gconv_int.h (__gconv_path_elem): Remove.
7172 (__gconv_max_path_elem_len): Likewise.
7173 (__gconv_nmodules): Likewise.
7174 (__gconv_get_path): Likewise.
7175 (path_elem): Move to ...
7176 * iconv/gconv_conf.c: ... here.
7177 (__gconv_get_path): Mark function static.
7178 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
7179 * iconv/gconv_open.c: ... here.
7181 2018-09-24 Andreas Schwab <schwab@suse.de>
7183 * scripts/haveversions.awk: New file.
7184 * Makerules ($(common-objpfx)Versions.def)
7185 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
7186 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
7188 * Makeconfig ($(common-objpfx)Versions.def)
7189 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
7190 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
7192 ($(common-objpfx)Versions.mk): New rule. Include it.
7193 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
7194 Emit error if build-obsolete-nsl = yes.
7195 * manual/install.texi (Configuring and compiling): Describe
7196 --enable-obsolete-nsl as unavaiable after version 2.28.
7197 * INSTALL: Regenerate.
7199 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7201 * NEWS: Add note about new TLE support on powerpc64le.
7202 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
7203 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
7205 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
7206 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
7207 * sysdeps/powerpc/powerpc32/sysdep.h,
7208 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
7209 ABORT_TRANSACTION): Remove macros.
7210 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
7211 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
7212 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
7213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
7214 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7215 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
7217 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
7219 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
7222 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
7223 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
7224 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
7225 which is the same as in it_IT.
7226 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
7227 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
7229 2018-09-20 Joseph Myers <joseph@codesourcery.com>
7231 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7232 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
7233 using MATH_REDIRECT.
7234 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
7236 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
7237 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7238 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
7239 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7240 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7241 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
7243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
7244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
7245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
7246 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7247 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7248 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
7249 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
7250 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
7251 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
7252 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
7253 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7254 (ceil): Redirect to __ceil.
7255 (floor): Redirect to __floor.
7256 (trunc): Redirect to __trunc.
7257 (__truncl): Call trunc instead of __trunc.
7258 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
7260 [_ARCH_PWR5X] (__truncf): Likewise.
7261 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
7262 trunc functions instead of __trunc variants.
7263 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7265 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7267 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7269 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7272 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
7273 [__i586__ || __pentium__].
7274 [__i486__]: Handle explicitly.
7275 (HAS_CPUID): Define to 1 if above macros are undefined.
7276 (HAS_I586): Likewise.
7277 (HAS_I686): Likewise.
7279 2018-09-20 Florian Weimer <fweimer@redhat.com>
7281 * misc/tst-gethostid.c: New file.
7282 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
7283 (tst-gethostid): Link with -ldl.
7285 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
7287 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
7288 value from gethostbyname_r.
7290 2018-09-19 Carlos O'Donell <carlos@redhat.com>
7292 * stdlib/tst-setcontext9.c (f1): Rename to...
7294 (f1b): New function implementing lower half of f1 in alternate stack.
7296 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
7298 Fix mktime localtime offset confusion
7300 * include/time.h (__mktime_internal): The localtime offset is now
7301 of type long int instead of time_t. This is the longstanding type
7302 in glibc, and it is more than enough to represent difference
7303 between localtime and gmtime even if it is 32 bits and time_t is
7304 64. Changing it now will let us avoid an unnecessary change when
7305 time_t is widened to 64 bits on 32-bit platforms.
7306 * time/mktime-internal.h (mktime_offset_t): Now long int.
7308 Merge mktime, timegm from upstream Gnulib
7309 [BZ #23603][BZ #16346]
7310 This fixes some obscure problems with integer overflow.
7311 Although it looks scary, it is almost all a byte-for-byte copy
7312 from Gnulib, and the Gnulib code has been tested reasonably well.
7313 * include/intprops.h: New file, copied from Gnulib.
7314 * include/verify.h, time/mktime-internal.h:
7315 New tiny files, simplified from Gnulib.
7316 * time/mktime.c: Copy from Gnulib. This has the following changes:
7317 Do not include config.h if DEBUG_MKTIME is nonzero.
7318 Include stdbool.h, intprops.h, verify.h.
7319 Include string.h only if needed.
7320 Include stdlib.h on MS-Windows.
7321 Include mktime-internal.h.
7322 (DEBUG_MKTIME): Default to 0, and simplify later uses.
7323 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
7324 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
7325 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
7326 simplify later conditionals; default the others to zero. Use
7327 these conditionals to express only the code needed on the current
7328 platform. In uses of these conditionals, explicitly spell out how
7329 _LIBC affects things, so it’s easier to review from a glibc
7331 (WRAPV): Remove; no longer needed now that we have
7332 systematic overflow checking.
7333 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
7334 compartmentalize tzset issues. Move system-dependent tzsettish
7335 code here from mktime.
7336 (verify): Remove; now done by verify.h. All uses changed.
7337 (long_int): Use a more-conservative definition, to avoid
7339 (SHR): Remove, replacing with ...
7340 (shr): New function, which means we needn’t worry about side
7341 effects in args, and conversion analysis is simpler.
7342 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
7343 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
7344 (time_t_avg, time_t_add_ok): Remove.
7345 (mktime_min, mktime_max): New constants.
7346 (leapyear, isdst_differ): Use bool for booleans.
7347 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
7348 Use long_int, not time_t, for mktime differences.
7349 (long_int_avg): New function, replacing time_t_avg.
7350 INT_ADD_WRAPV replaces time_t_add_ok.
7351 (guess_time_tm): 6th arg is now long_int, not time_t const *.
7353 (convert_time): New function.
7354 (ranged_convert): Use it.
7355 (__mktime_internal): Last arg now points to mktime_offset_t, not
7356 time_t. All uses changed. This is a no-op on glibc, where
7357 mktime_offset_t is always time_t. Use int, not time_t, for UTC
7358 offset guess. Directly check for integer overflow instead of
7359 using a heuristic that works only 99.9...% of the time.
7360 Access *OFFSET only once, to avoid an unlikely race if the
7361 compiler delays a load and if this cascades into a signed integer
7363 (mktime): Move tzsettish code to my_tzset, and move
7364 localtime_offset to within mktime so that it doesn’t
7365 need a separate ifdef.
7366 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
7367 instead of localtime.
7368 * time/timegm.c: Copy from Gnulib. This has the following changes:
7369 Include mktime-internal.h.
7370 [!_LIBC]: Include config.h and time.h. Do not include
7371 timegm.h or time_r.h. Make __mktime_internal a macro,
7372 and include mktime-internal.h to get its declaration.
7373 (timegm): Temporary is now mktime_offset_t, not time_t.
7374 This affects only Gnulib.
7376 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
7379 * string/test-strstr.c (pr23637): New function.
7380 (test_main): Add tests with longer needles.
7381 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
7382 * string/strstr.c (AVAILABLE): Likewise.
7384 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
7386 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
7388 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
7390 * NEWS: Mention pow improvements.
7391 * math/Makefile (type-double-routines): Add e_pow_log_data.
7392 * sysdeps/generic/math_private.h (__exp1): Remove.
7393 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
7394 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
7395 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
7397 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
7398 (exp_inline): Remove.
7399 (__ieee754_exp): Only single double input is handled.
7400 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
7401 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
7402 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
7403 (__pow_log_data): Define.
7404 * sysdeps/ieee754/dbl-64/upow.h: Remove.
7405 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
7406 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
7407 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
7409 (CFLAGS-e_pow-fma4.c): Likewise.
7411 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
7413 Simplify tzfile fstat failure code
7415 * time/tzfile.c (__tzfile_read): Simplify slightly.
7417 Fix tzfile low-memory assertion failure
7419 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
7420 when registering time zone abbreviations.
7422 2018-09-18 Joseph Myers <joseph@codesourcery.com>
7424 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
7425 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
7426 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
7427 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
7428 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
7429 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
7430 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
7431 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7432 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7434 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
7436 (__ceill): Call ceil instead of __ceil.
7437 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
7439 (__floorl): Call floor instead of __floor.
7441 2018-09-17 Joseph Myers <joseph@codesourcery.com>
7443 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7444 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
7445 using MATH_REDIRECT.
7446 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
7448 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
7449 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7450 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7451 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
7452 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7453 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7454 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7455 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
7456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
7457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
7458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
7459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
7460 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7461 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7462 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
7463 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
7464 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
7465 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
7466 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
7468 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
7469 functions instead of __ceil variants.
7470 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7471 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
7473 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
7475 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7476 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
7478 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7479 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7482 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
7484 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
7485 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
7486 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
7487 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
7488 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
7489 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
7490 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
7491 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
7492 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
7493 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
7494 (ILL_BADIADDR): Remove constant.
7495 (TRAP_BRANCH): Likewise.
7496 (TRAP_HWBKPT): Likewise.
7498 2018-09-14 Joseph Myers <joseph@codesourcery.com>
7501 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
7502 Remove [_MIPS_SIM = _ABIN32] conditional case.
7503 (struct elf_prpsinfo): Likewise.
7506 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
7507 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
7508 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
7510 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
7511 elf_prpsinfo): Likewise.
7512 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
7513 elf_prpsinfo): Likewise.
7514 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
7517 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7518 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
7519 using MATH_REDIRECT.
7520 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
7522 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
7523 * sysdeps/alpha/fpu/s_rint.c: Likewise.
7524 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
7525 * sysdeps/i386/fpu/s_rintl.c: Likewise.
7526 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7527 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7528 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
7529 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7530 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7531 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7532 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
7533 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
7534 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
7535 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
7536 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
7537 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7538 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7539 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
7540 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
7541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
7542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
7543 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
7544 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
7545 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
7546 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
7547 * sysdeps/x86_64/fpu/math_private.h: Remove file.
7548 * math/e_scalb.c (invalid_fn): Use rint functions instead of
7550 * math/e_scalbf.c (invalid_fn): Likewise.
7551 * math/e_scalbl.c (invalid_fn): Likewise.
7552 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7554 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7556 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
7557 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
7558 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7560 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7562 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7564 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
7565 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
7567 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7568 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
7570 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7571 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
7572 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7573 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
7574 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7575 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
7576 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7577 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
7578 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7579 && !NO_MATH_REDIRECT] (floor): Likewise.
7580 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
7582 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
7583 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7584 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7585 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
7586 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7587 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7588 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7589 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
7590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
7591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
7592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
7593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
7594 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7595 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7596 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
7597 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
7598 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
7599 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
7600 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
7602 [_ARCH_PWR5X] (__floorf): Likewise.
7603 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
7605 [__SSE4_1__] (__floorf): Likewise.
7606 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
7607 instead of __floor variants.
7608 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
7609 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
7610 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
7611 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
7612 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
7613 * math/w_tgamma_compat.c (__tgamma): Likewise.
7614 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
7615 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
7616 * math/w_tgammal_compat.c (__tgammal): Likewise.
7617 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
7618 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7620 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
7621 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
7622 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
7623 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7625 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7626 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
7628 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
7629 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
7631 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7632 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
7634 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
7635 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7636 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
7637 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
7638 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7639 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7641 2018-09-12 Joseph Myers <joseph@codesourcery.com>
7643 * elf/Makefile (modules-names-tests): New variable.
7645 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
7647 * NEWS: Mention log2 improvements.
7648 * math/Makefile (type-double-routines): Add e_log2_data.
7649 * sysdeps/i386/fpu/e_log2_data.c: New file.
7650 * sysdeps/ia64/fpu/e_log2_data.c: New file.
7651 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
7652 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
7653 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
7654 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
7655 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
7657 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
7659 * NEWS: Mention log improvement.
7660 * math/Makefile (type-double-routines): Add e_log_data.
7661 * sysdeps/i386/fpu/e_log_data.c: New file.
7662 * sysdeps/ia64/fpu/e_log_data.c: New file.
7663 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
7664 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
7665 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
7666 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
7667 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
7668 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
7670 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
7671 Xuepeng Guo <xuepeng.guo@intel.com>
7674 * sysdeps/i386/start.S: Include <sysdep.h>
7675 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
7676 enabled. Add cfi_undefined (eip).
7678 2018-09-11 Joseph Myers <joseph@codesourcery.com>
7680 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
7682 (EXTRACT_WORDS64): Likewise.
7683 (INSERT_WORDS64): Likewise.
7684 (GET_FLOAT_WORD): Likewise.
7685 (SET_FLOAT_WORD): Likewise.
7687 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
7689 (Config.build_gcc): Use --disable-libsanitizer for first GCC
7690 build, but not for second build if --full-gcc. Use
7691 --enable-languages=all for second build if --full-gcc.
7692 (get_parser): Add --full-gcc option.
7693 (main): Update call to Context.
7695 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
7698 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
7699 Single Quotation Mark).
7700 (thousands_sep): Likewise.
7701 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
7702 * localedata/locales/it_IT (thousands_sep): Use ".".
7703 (grouping): Use "3;3".
7705 2018-09-10 Joseph Myers <joseph@codesourcery.com>
7707 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
7708 x86_64 and i686 configs using --enable-obsolete-rpc
7709 --enable-obsolete-nsl.
7711 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
7713 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7715 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
7717 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
7718 Increment size of new_argv by one.
7720 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
7723 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
7724 * localedata/locales/ar_IN (d_fmt): Likewise.
7725 * localedata/locales/bhb_IN (d_fmt): Likewise.
7726 * localedata/locales/bho_IN (d_fmt): Likewise.
7727 * localedata/locales/bn_BD (d_fmt): Likewise.
7728 * localedata/locales/bn_IN (d_fmt): Likewise.
7729 * localedata/locales/doi_IN (d_fmt): Likewise.
7730 * localedata/locales/gu_IN (d_fmt): Likewise.
7731 * localedata/locales/hi_IN (d_fmt): Likewise.
7732 * localedata/locales/hne_IN (d_fmt): Likewise.
7733 * localedata/locales/kn_IN (d_fmt): Likewise.
7734 * localedata/locales/mag_IN (d_fmt): Likewise.
7735 * localedata/locales/mai_IN (d_fmt): Likewise.
7736 * localedata/locales/mjw_IN (d_fmt): Likewise.
7737 * localedata/locales/ml_IN (d_fmt): Likewise.
7738 * localedata/locales/mni_IN (d_fmt): Likewise.
7739 * localedata/locales/mr_IN (d_fmt): Likewise.
7740 * localedata/locales/pa_IN (d_fmt): Likewise.
7741 * localedata/locales/raj_IN (d_fmt): Likewise.
7742 * localedata/locales/sat_IN (d_fmt): Likewise.
7743 * localedata/locales/sd_IN (d_fmt): Likewise.
7744 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
7745 * localedata/locales/ta_IN (d_fmt): Likewise.
7746 * localedata/locales/ta_LK (d_fmt): Likewise.
7747 * localedata/locales/tcy_IN (d_fmt): Likewise.
7748 * localedata/locales/ur_IN (d_fmt): Likewise.
7750 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
7751 * localedata/locales/ks_IN (d_fmt): Likewise.
7752 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
7754 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
7755 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
7756 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
7757 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
7759 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
7761 * NEWS: Mention exp and exp2 improvements.
7762 * math/Makefile (libm-support): Remove t_exp.
7763 (type-double-routines): Add math_err and e_exp_data.
7764 * sysdeps/aarch64/libm-test-ulps: Update.
7765 * sysdeps/arm/libm-test-ulps: Update.
7766 * sysdeps/i386/fpu/e_exp_data.c: New file.
7767 * sysdeps/i386/fpu/math_err.c: New file.
7768 * sysdeps/i386/fpu/t_exp.c: Remove.
7769 * sysdeps/ia64/fpu/e_exp_data.c: New file.
7770 * sysdeps/ia64/fpu/math_err.c: New file.
7771 * sysdeps/ia64/fpu/t_exp.c: Remove.
7772 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
7773 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
7774 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
7775 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
7776 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
7777 * sysdeps/ieee754/dbl-64/math_config.h: New file.
7778 * sysdeps/ieee754/dbl-64/math_err.c: New file.
7779 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
7780 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
7781 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
7782 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
7783 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
7784 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
7785 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
7786 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7787 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7789 2018-09-05 Joseph Myers <joseph@codesourcery.com>
7791 * sysdeps/alpha/fpu/math_private.h: Remove.
7793 * sysdeps/generic/math_private.h
7794 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
7795 Move this inline function ....
7796 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
7797 * include/math.h [!_ISOMAC]: To here....
7799 2018-09-04 Joseph Myers <joseph@codesourcery.com>
7801 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
7803 [!FE_HAVE_ROUNDING_MODES]: And this code ....
7804 * include/fenv.h [!_ISOMAC]: ... to here.
7805 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
7806 (feraiseexcept): Likewise.
7807 * math/fromfp.h: Do not include <fenv_private.h>.
7808 * math/s_cexp_template.c: Likewise.
7809 * math/s_csin_template.c: Likewise.
7810 * math/s_csinh_template.c: Likewise.
7811 * math/s_ctan_template.c: Likewise.
7812 * math/s_ctanh_template.c: Likewise.
7813 * math/s_iseqsig_template.c: Likewise.
7814 * math/w_acos_compat.c: Likewise.
7815 * math/w_acosf_compat.c: Likewise.
7816 * math/w_acosl_compat.c: Likewise.
7817 * math/w_asin_compat.c: Likewise.
7818 * math/w_asinf_compat.c: Likewise.
7819 * math/w_asinl_compat.c: Likewise.
7820 * math/w_j0_compat.c: Likewise.
7821 * math/w_j0f_compat.c: Likewise.
7822 * math/w_j0l_compat.c: Likewise.
7823 * math/w_j1_compat.c: Likewise.
7824 * math/w_j1f_compat.c: Likewise.
7825 * math/w_j1l_compat.c: Likewise.
7826 * math/w_jn_compat.c: Likewise.
7827 * math/w_jnf_compat.c: Likewise.
7828 * math/w_log10_compat.c: Likewise.
7829 * math/w_log10f_compat.c: Likewise.
7830 * math/w_log10l_compat.c: Likewise.
7831 * math/w_log2_compat.c: Likewise.
7832 * math/w_log2f_compat.c: Likewise.
7833 * math/w_log2l_compat.c: Likewise.
7834 * math/w_log_compat.c: Likewise.
7835 * math/w_logf_compat.c: Likewise.
7836 * math/w_logl_compat.c: Likewise.
7837 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7838 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7839 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7840 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7841 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7842 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7843 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7844 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7845 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7846 * sysdeps/ieee754/k_standardl.c: Likewise.
7847 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7848 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7849 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7850 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7851 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7852 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7853 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7854 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7855 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7856 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7857 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7858 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7859 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7860 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7861 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7862 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7863 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7864 * math/w_ilogb_template.c: Include <fenv.h> instead of
7866 * math/w_llogb_template.c: Likewise.
7867 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7868 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7870 2018-09-03 Joseph Myers <joseph@codesourcery.com>
7872 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
7873 * math/fromfp.h: Include <fenv_private.h>.
7874 * math/math-narrow.h: Likewise.
7875 * math/s_cexp_template.c: Likewise.
7876 * math/s_csin_template.c: Likewise.
7877 * math/s_csinh_template.c: Likewise.
7878 * math/s_ctan_template.c: Likewise.
7879 * math/s_ctanh_template.c: Likewise.
7880 * math/s_iseqsig_template.c: Likewise.
7881 * math/w_acos_compat.c: Likewise.
7882 * math/w_acosf_compat.c: Likewise.
7883 * math/w_acosl_compat.c: Likewise.
7884 * math/w_asin_compat.c: Likewise.
7885 * math/w_asinf_compat.c: Likewise.
7886 * math/w_asinl_compat.c: Likewise.
7887 * math/w_ilogb_template.c: Likewise.
7888 * math/w_j0_compat.c: Likewise.
7889 * math/w_j0f_compat.c: Likewise.
7890 * math/w_j0l_compat.c: Likewise.
7891 * math/w_j1_compat.c: Likewise.
7892 * math/w_j1f_compat.c: Likewise.
7893 * math/w_j1l_compat.c: Likewise.
7894 * math/w_jn_compat.c: Likewise.
7895 * math/w_jnf_compat.c: Likewise.
7896 * math/w_llogb_template.c: Likewise.
7897 * math/w_log10_compat.c: Likewise.
7898 * math/w_log10f_compat.c: Likewise.
7899 * math/w_log10l_compat.c: Likewise.
7900 * math/w_log2_compat.c: Likewise.
7901 * math/w_log2f_compat.c: Likewise.
7902 * math/w_log2l_compat.c: Likewise.
7903 * math/w_log_compat.c: Likewise.
7904 * math/w_logf_compat.c: Likewise.
7905 * math/w_logl_compat.c: Likewise.
7906 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
7907 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
7908 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
7909 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
7910 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7911 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7912 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7913 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7914 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7915 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7916 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7917 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7918 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
7919 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
7920 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7921 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
7922 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7923 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7924 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7925 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7926 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7927 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7928 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7929 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7930 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7931 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7932 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7933 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
7934 * sysdeps/ieee754/float128/float128_private.h: Likewise.
7935 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7936 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7937 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7938 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
7939 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7940 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7941 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7942 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7943 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7944 * sysdeps/ieee754/k_standardl.c: Likewise.
7945 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7946 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7947 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7948 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7949 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7950 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7951 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7952 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7953 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7954 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7955 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7956 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7957 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7958 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7959 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7960 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
7961 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7962 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
7963 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7964 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7965 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7966 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7967 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7968 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7969 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7970 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7971 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7972 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7973 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
7974 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7975 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7976 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7977 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7978 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7979 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7980 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7981 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7982 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7983 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7984 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7985 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
7986 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7987 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
7988 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7989 * sysdeps/riscv/rvd/s_finite.c: Likewise.
7990 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
7991 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
7992 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
7993 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
7994 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
7995 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
7996 * sysdeps/riscv/rvf/fegetround.c: Likewise.
7997 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
7998 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
7999 * sysdeps/riscv/rvf/fesetround.c: Likewise.
8000 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
8001 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
8002 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
8003 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8004 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
8005 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8006 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
8007 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
8008 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
8009 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
8010 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
8011 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
8012 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
8013 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
8014 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8015 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8017 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8020 * include/stdio.h (__libc_fatal): Mention newline in comment.
8021 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
8022 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
8023 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8024 * nss/nsswitch.c (__nss_next2): Likewise.
8025 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
8026 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
8027 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
8028 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8029 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
8030 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
8031 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
8032 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
8033 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
8034 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
8035 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
8036 * sysdeps/unix/sysv/linux/netlink_assert_response.c
8037 (__netlink_assert_response): Likewise.
8039 2018-08-31 Joseph Myers <joseph@codesourcery.com>
8041 * conform/glibcconform.py: New file.
8042 * conform/list-header-symbols.py: Likewise.
8043 * conform/list-header-symbols.pl: Remove.
8044 * conform/Makefile (tests-special): Only add linknamespace tests
8046 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
8048 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
8051 * support/Makefile (libsupport-routines): Add
8052 support_copy_file_range and xcopy_file_range.
8053 * support/support.h: Include <sys/types.h>.
8054 (support_copy_file_range): New prototype.
8055 * support/support_copy_file_range.c: New file. Copied and
8056 modified from io/copy_file_range-compat.c.
8057 * support/test-container.c (copy_one_file): Call xcopy_file_rang
8058 instead of copy_file_range.
8059 * support/xcopy_file_range.c: New file.
8060 * support/xunistd.h (xcopy_file_range): New prototype.
8062 2018-08-30 Carlos O'Donell <carlos@redhat.com>
8064 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
8065 xpthread_create and xpthread_join.
8067 2018-08-30 Florian Weimer <fweimer@redhat.com>
8069 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
8071 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
8073 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
8076 2018-08-29 Joseph Myers <joseph@codesourcery.com>
8078 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
8079 and minus_oflow as non-finite.
8081 2018-08-28 Joseph Myers <joseph@codesourcery.com>
8083 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
8084 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
8085 moved to fenv_private.h except for ...
8086 (TOINT_INTRINSICS): Kept in math_private.h.
8087 (roundtoint): Likewise.
8088 (converttoint): Likewise.
8089 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
8090 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8091 * sysdeps/arm/math_private.h: Remove.
8092 * sysdeps/generic/fenv_private.h: New file. Contents moved from
8094 * sysdeps/generic/math_private.h: ... this file. Include
8095 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
8096 Include <fenv_private.h>. Remove functions and macros moved to
8098 * sysdeps/i386/fpu/math_private.h: Remove.
8099 * sysdeps/mips/math_private.h: Move to ....
8100 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
8101 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
8102 [__mips_hard_float] conditional. Include next <fenv_private.h>.
8103 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
8104 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8105 * sysdeps/powerpc/fpu/math_private.h: Do not include
8107 * sysdeps/riscv/rvf/math_private.h: Move to ....
8108 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
8109 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
8111 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
8112 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8113 * sysdeps/sparc/fpu/math_private.h: Remove.
8114 * sysdeps/i386/fpu/fenv_private.h: Move to ....
8115 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
8116 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
8118 * sysdeps/x86_64/fpu/math_private.h: Do not include
8119 <sysdeps/i386/fpu/fenv_private.h>.
8121 2018-08-28 Florian Weimer <fweimer@redhat.com>
8124 * posix/tst-regcomp-truncated.c: New file.
8125 * posix/Makefile (tests): Add it.
8126 (tst-regcomp-truncated.out): Depend on generated locales.
8128 2018-08-28 Florian Weimer <fweimer@redhat.com>
8130 * support/test-container.c (main): Treat unshare failure with
8131 EPERM as an unsupported test.
8133 2018-08-28 Florian Weimer <fweimer@redhat.com>
8136 nscd: Fix use-after-free in addgetnetgrentX and its callers.
8137 * nscd/netgroupcache.c
8138 (addgetnetgrentX): Add tofreep parameter. Do not free
8139 heap-allocated buffer.
8140 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
8141 (addgetnetgrentX_ignore): New function.
8142 (addgetnetgrent): Call it.
8143 (readdgetnetgrent): Likewise.
8145 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8147 * string/memmem.c: Use memcmp for first match.
8149 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
8152 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
8154 2018-08-27 DJ Delorie <dj@redhat.com>
8156 * support/Makefile (others): Don't list programs explicitly as a
8157 dependency of "others".
8159 2018-08-27 Joseph Myers <joseph@codesourcery.com>
8161 * sysdeps/generic/math-tests-trap-force.h: New file.
8162 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
8163 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
8164 * sysdeps/powerpc/math-tests.h: Remove file.
8165 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
8167 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
8168 Torvald Riegel <triegel@redhat.com>
8171 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
8172 Update r to include the set wake-request flag if waiters are
8173 remaining after spinning.
8175 2018-08-27 Joseph Myers <joseph@codesourcery.com>
8177 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
8179 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
8182 regex: fix uninitialized memory access
8183 I introduced this bug into gnulib in commit
8184 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
8185 eventually it was merged into glibc. The bug was found by
8186 project-repo <bugs@feusi.co> and reported here:
8187 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
8188 Diagnosis and draft fix reported by Assaf Gordon here:
8189 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
8190 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
8191 * posix/regex_internal.c (build_wcs_upper_buffer):
8192 Fix bug when mbrtowc returns 0.
8194 2018-08-24 Carlos O'Donell <carlos@redhat.com>
8196 * po/be.po: Update translation.
8198 2018-08-24 DJ Delorie <dj@delorie.com>
8200 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
8203 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8206 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
8207 create temporary files in source tree.
8209 2018-08-24 Joseph Myers <joseph@codesourcery.com>
8211 * sysdeps/generic/math-tests-trap.h: New file.
8212 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
8213 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
8214 * sysdeps/aarch64/math-tests.h: Remove file.
8215 * sysdeps/arm/math-tests.h: Likewise.
8216 * sysdeps/riscv/math-tests.h: Likewise.
8217 * sysdeps/aarch64/math-tests-trap.h: New file.
8218 * sysdeps/arm/math-tests-trap.h: Likewise.
8219 * sysdeps/riscv/math-tests-trap.h: Likewise.
8221 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
8223 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
8224 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
8225 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
8226 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
8227 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
8228 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
8229 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8230 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
8231 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
8232 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8233 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8234 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8235 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8236 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
8237 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
8238 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
8239 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8240 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8242 2018-08-23 Joseph Myers <joseph@codesourcery.com>
8244 * sysdeps/generic/math-tests-exceptions.h: New file.
8245 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
8246 (EXCEPTION_TESTS_float): Do not define here.
8247 (EXCEPTION_TESTS_double): Likewise.
8248 (EXCEPTION_TESTS_long_double): Likewise.
8249 (EXCEPTION_TESTS_float128): Likewise.
8250 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
8252 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
8253 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
8254 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
8255 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
8256 * sysdeps/mips/math-tests.h: Likewise.
8257 * sysdeps/nios2/math-tests.h: Likewise.
8258 * sysdeps/riscv/math-tests.h [!__riscv_flen]
8259 (EXCEPTION_TESTS_float): Do not define here.
8260 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
8261 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
8262 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
8264 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
8266 * NEWS: Move optimized sinf entry to 2.29.
8268 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
8270 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
8272 2018-08-22 DJ Delorie <dj@redhat.com>
8274 * Makefile (testroot.pristine): New rules to initialize the
8275 test-in-container "testroot".
8276 * Makerules (all-testsuite): Add tests-container.
8277 * Rules (tests-expected): Add tests-container.
8278 (binaries-all-tests): Likewise.
8279 (tests-container): New, run these tests in the testroot container.
8280 * support/Makefile (others): Add *-container, support_paths.c,
8281 xmkdirp, and links-dso-program.
8282 * support/links-dso-program-c.c: New.
8283 * support/links-dso-program.cc: New.
8284 * support/test-container.c: New.
8285 * support/shell-container.c: New.
8286 * support/echo-container.c: New.
8287 * support/true-container.c: New.
8288 * support/xmkdirp.c: New.
8289 * support/xsymlink.c: New.
8290 * support/support_paths.c: New.
8291 * support/support.h: Add support paths prototypes.
8292 * support/xunistd.h: Add xmkdirp () and xsymlink ().
8294 * nss/tst-nss-test3.c: Convert to test-in-container.
8295 * nss/tst-nss-test3.root/: New.
8297 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
8299 regex: port Gnulib code to z/OS POSIX environment
8300 Problem reported by Arnold Robbins in:
8301 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
8302 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
8305 2018-08-22 Joseph Myers <joseph@codesourcery.com>
8307 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
8308 (ROUNDING_TESTS_double): Remove.
8309 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
8310 (ROUNDING_TESTS_double): Remove.
8311 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
8312 (ROUNDING_TESTS_double): Remove.
8313 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
8314 (ROUNDING_TESTS_float): Remove.
8315 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
8316 (ROUNDING_TESTS_float): Remove.
8317 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
8318 (ROUNDING_TESTS_float): Remove.
8319 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
8321 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8322 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8324 * sysdeps/generic/math-tests-rounding.h: New file.
8325 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
8326 (ROUNDING_TESTS_float): Do not define here.
8327 (ROUNDING_TESTS_double): Likewise.
8328 (ROUNDING_TESTS_long_double): Likewise.
8329 (ROUNDING_TESTS_float128): Likewise.
8330 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
8331 (ROUNDING_TESTS_double): Undefine before defining.
8332 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
8333 (ROUNDING_TESTS_double): Undefine before defining.
8334 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
8335 (ROUNDING_TESTS_double): Undefine before defining.
8336 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
8337 (ROUNDING_TESTS_float): Undefine before defining.
8338 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
8339 (ROUNDING_TESTS_float): Undefine before defining.
8340 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
8341 (ROUNDING_TESTS_float): Undefine before defining.
8342 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
8343 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
8345 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
8346 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
8347 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
8348 * sysdeps/riscv/math-tests.h [!__riscv_flen]
8349 (ROUNDING_TESTS_float): Do not define here.
8350 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
8351 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
8352 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
8353 (ROUNDING_TESTS_float): Likewise.
8354 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
8355 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
8356 * sysdeps/mips/math-tests.h [__mips_soft_float]
8357 (ROUNDING_TESTS_float): Likewise.
8358 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
8359 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
8360 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
8361 (ROUNDING_TESTS_double): Likewise.
8362 (ROUNDING_TESTS_long_double): Likewise.
8364 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
8366 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
8367 (PF_XDP): New macro.
8368 (AF_XDP): New macro.
8369 (SOL_XDP): New macro.
8371 2018-08-21 Joseph Myers <joseph@codesourcery.com>
8373 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
8374 (TCP_INQ): Likewise.
8375 (TCP_CM_INQ): Likewise.
8376 (TCP_REPAIR_ON): Likewise.
8377 (TCP_REPAIR_OFF): Likewise.
8378 (TCP_REPAIR_OFF_NO_WP): Likewise.
8379 (struct tcp_zerocopy_receive): New type.
8381 2018-08-21 Florian Weimer <fweimer@redhat.com>
8383 * support/support.h (support_descriptor_supports_holes): Declare.
8384 * support/Makefile (libsupport-routines): Add
8385 support_descriptor_supports_holes.
8386 * support/support_descriptor_supports_holes.c: New file.
8387 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
8388 and stop testing if holes are not supported.
8389 * io/test-lfs.c (do_prepare): Likewise.
8390 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
8392 * timezone/tst-tzset.c (create_tz_file): Likewise.
8393 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
8395 (do_prepare): Set it.
8396 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
8398 2018-08-21 Florian Weimer <fweimer@redhat.com>
8401 * Makeconfig (+cflags): Do not sort (and deduplicate).
8403 2018-08-21 Florian Weimer <fweimer@redhat.com>
8405 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
8406 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
8408 2018-08-20 Florian Weimer <fweimer@redhat.com>
8410 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
8411 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
8413 2018-08-20 Joseph Myers <joseph@codesourcery.com>
8415 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
8416 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
8417 and ssi_arch members.
8419 * elf/elf.c (NT_VMCOREDD): New macro.
8420 (AT_MINSIGSTKSZ): Likewise.
8422 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8424 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8425 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
8426 s_cosf-ppc64 and s_cosf-power8.
8427 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
8428 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8429 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8430 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
8432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
8433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
8434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
8435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
8436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
8437 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
8438 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
8440 2018-08-17 Florian Weimer <fweimer@redhat.com>
8442 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8444 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
8446 * malloc/malloc.c (_int_malloc): Additional binning code checks.
8448 2018-08-16 Florian Weimer <fweimer@redhat.com>
8450 * configure.ac: Add --with-nonshared-cflags option.
8451 * config.make.in (extra-nonshared-cflags): Set variable.
8452 * Makeconfig (CFLAGS-.oS): Use it.
8453 * manual/install.texi (Configuring and compiling): Document
8454 --with-nonshared-cflags.
8455 * configure: Regenerate.
8456 * INSTALL: Likewise.
8458 2018-08-16 Florian Weimer <fweimer@redhat.com>
8460 * Makeconfig (ASFLAGS): Always append required assembler flags.
8462 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
8464 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
8465 (malloc_consolidate): Likewise.
8467 2018-08-16 Pochang Chen <johnchen902@gmail.com>
8469 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
8471 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
8473 * benchtests/bench-strlen.c (do_test): Allocate buffers before
8476 * benchtests/bench-strlen.c: Print performance numbers in json.
8478 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8480 * sysdeps/powerpc/powerpc64/multiarch/Makefile
8481 (sysdep_routines): Build strcmp-power9 and strncmp-power9
8482 only for little endian.
8483 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8484 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
8485 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
8486 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
8487 Add check for little endian.
8488 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
8489 (__strcmp_power9): Add check for little endian.
8490 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
8491 Add check for little endian.
8492 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
8493 (__strncmp_power9): Add check for little endian.
8494 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
8495 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
8496 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
8497 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
8498 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
8500 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
8502 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
8503 [!STRLEN](STRLEN): Set to __strlen.
8504 * sysdeps/aarch64/multiarch/strlen.c: New file.
8505 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
8506 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
8507 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
8508 (__libc_ifunc_impl_list): Add strlen.
8509 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
8510 strlen_generic and strlen_asimd.
8512 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
8514 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
8515 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
8516 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
8518 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
8520 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
8522 2018-08-14 Florian Weimer <fweimer@redhat.com>
8525 * include/stdio.h (__vfxprintf): Declare.
8526 * stdio-common/fxprintf.c (__vfxprintf): New function.
8527 (__fxprintf): Call it.
8528 * misc/err.c (convert_and_print): Remove function.
8529 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
8530 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
8531 * misc/Makefile (tests): Add tst-warn-wide.
8532 * misc/tst-warn-wide.c: New file.
8534 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
8535 Szabolcs Nagy <szabolcs.nagy@arm.com>
8537 * NEWS: Mention sinf, cosf, sincosf.
8538 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
8539 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
8540 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
8541 constants rather than including generic sincosf.h.
8542 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
8543 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
8544 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
8545 (reduced_cos): Remove.
8546 (sinf_poly): New function.
8547 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
8549 2018-08-14 Florian Weimer <fweimer@redhat.com>
8553 * nss/nss_files/files-alias.c (get_next_alias): During :include:
8554 processing, bail out if no room, and close the stream before
8556 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
8557 (tst-nss-files-alias-leak): Link with libdl.
8558 (tst-nss-files-alias-leak.out): Depend on nss_files.
8560 * nss/tst-nss-files-alias-leak.c: New file.
8562 2018-08-14 Florian Weimer <fweimer@redhat.com>
8564 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
8565 server_user, stat_user.
8567 2018-08-13 Joseph Myers <joseph@codesourcery.com>
8569 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8571 (io_pgetevents): New syscall.
8574 * manual/install.texi (Configuring and compiling): Do not list
8575 tools used for testing pretty printers here.
8576 (Tools for Compilation): List Python, PExpect and GDB here.
8577 Update descriptions of uses of Perl and Python.
8578 * INSTALL: Regenerate.
8580 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8583 2018-08-13 Florian Weimer <fweimer@redhat.com>
8585 * misc/error.c (error): Add missing va_end call.
8586 (error_at_line): Likewise.
8588 2018-08-13 Florian Weimer <fweimer@redhat.com>
8590 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
8592 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
8594 * benchtests/scripts/benchout.schema.json (properties): Add
8597 * benchtests/bench-skeleton.c (main): Add duration and
8598 iterations attributes.
8600 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
8602 regex: Gnulib unibyte RRI uses bytes not chars
8603 Adjust the non-glibc code to agree with what Gawk needs for
8604 rational range interpretation (RRI) for regular expression ranges.
8605 In unibyte locales, Gawk wants ranges to use the underlying byte
8606 rather than the character code point. This change does not affect
8608 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
8609 In unibyte locales, use the byte value rather than
8610 running it through btowc.
8612 2018-08-10 Joseph Myers <joseph@codesourcery.com>
8614 * sysdeps/generic/math-tests-snan.h: New file.
8615 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
8616 (SNAN_TESTS_float): Do not define here.
8617 (SNAN_TESTS_double): Likewise.
8618 (SNAN_TESTS_long_double): Likewise.
8619 (SNAN_TESTS_float128): Likewise.
8620 * sysdeps/i386/fpu/math-tests-snan.h: New file.
8621 * sysdeps/i386/fpu/math-tests.h: Remove file.
8622 * sysdeps/ia64/math-tests-snan.h: New file.
8623 * sysdeps/ia64/math-tests.h: Remove file.
8624 * sysdeps/x86/math-tests.h: Likewise.
8625 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
8627 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8628 Szabolcs Nagy <szabolcs.nagy@arm.com>
8630 * math/Makefile: Add s_sincosf_data.c.
8631 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
8632 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
8633 (sincosf_poly): Likewise.
8634 (reduce_small): Likewise.
8635 (reduce_large): Likewise.
8636 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
8637 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
8638 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
8639 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
8641 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8642 Szabolcs Nagy <szabolcs.nagy@arm.com>
8644 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
8645 (converttoint): Use lround.
8646 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
8647 document the semantics when TOINT_INTRINSICS is set.
8648 (converttoint): Likewise.
8649 (TOINT_RINT): Remove.
8650 (TOINT_SHIFT): Remove.
8651 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
8654 2018-08-10 Florian Weimer <fweimer@redhat.com>
8657 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
8659 (__old_getdents64): Use getdents64. Convert entries without
8661 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
8662 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
8663 tst-readdir64-compat.
8665 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8667 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
8670 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8672 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
8673 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
8674 code to s390x-mcount.h and #include it.
8675 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
8676 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
8679 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8681 * stdlib/Versions: Remove __fentry__.
8682 * sysdeps/i386/Versions: Add __fentry__.
8683 * sysdeps/x86_64/Versions: Add __fentry__.
8685 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8687 * sysdeps/s390/Makefile: Register the new tests.
8688 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
8689 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
8690 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
8691 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
8692 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
8693 * sysdeps/s390/tst-dl-runtime.c: New file.
8695 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8697 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8700 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8702 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8705 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8707 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8710 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8712 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8715 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8717 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8718 Use symbolic offsets for stack variables.
8720 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8722 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8723 Use symbolic offsets for stack variables.
8725 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8727 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8728 Use symbolic offsets for stack variables.
8730 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8732 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8733 Use symbolic offsets for stack variables.
8735 2018-08-09 Joseph Myers <joseph@codesourcery.com>
8737 * math/gen-libm-test.py: New file.
8738 * math/gen-libm-test.pl: Remove.
8739 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
8740 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
8742 ($(libm-test-c-noauto-obj)): Likewise.
8743 ($(libm-test-c-auto-obj)): Likewise.
8744 ($(libm-test-c-narrow-obj)): Likewise.
8745 (regen-ulps): Likewise.
8746 * math/README.libm-test: Update references to gen-libm-test.pl.
8747 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
8748 referencing gen-libm-test.pl.
8749 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
8750 * math/libm-test-support.c: Likewise.
8751 * math/libm-test-support.h: Likewise.
8752 * sysdeps/generic/libm-test-ulps: Likewise.
8754 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
8756 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
8759 2018-08-08 Joseph Myers <joseph@codesourcery.com>
8761 * math/libm-test-nextdown.inc (do_test): Move comment to ....
8762 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
8764 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8766 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
8768 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
8769 __pthread_setspecific): Add hidden proto.
8770 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
8771 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
8773 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
8775 * benchtests/bench-string.h (buf1_size, buf2_size): New
8777 (init_sizes): New function.
8778 (test_init): Use it.
8779 (alloc_buf, exit_error): New functions.
8780 (alloc_bufs): Use ALLOC_BUF.
8781 (realloc_bufs): Remove.
8782 * benchtests/bench-memcmp.c (do_test): Adjust.
8783 * benchtests/bench-memset-large.c (do_test): Likewise.
8784 * benchtests/bench-memset-walk.c (do_test): Likewise.
8785 * benchtests/bench-memset.c (do_test): Likewise.
8786 * benchtests/bench-strncmp.c (do_test): Likewise.
8788 2018-08-06 Andreas Schwab <schwab@suse.de>
8790 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
8791 of CONST_THREAD_AREA.
8793 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
8795 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
8796 (STATE_SAVE_MASK): Likewise.
8797 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
8798 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
8799 (STATE_SAVE_MASK): Likewise.
8800 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
8801 instead of <cpu-features.h>.
8803 2018-08-03 DJ Delorie <dj@redhat.com>
8805 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
8806 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
8808 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
8810 2018-08-03 Joseph Myers <joseph@codesourcery.com>
8812 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
8814 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
8815 * math/libm-test-logb.inc (logb_test_data): Likewise.
8817 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
8819 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
8820 * string/strstr.c (AVAILABLE): Likewise.
8822 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8824 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
8826 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
8827 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
8828 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
8830 2018-08-03 Carlos O'Donell <carlos@redhat.com>
8832 * po/be.po: Update translation.
8834 * po/be.po: Update translation.
8836 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8838 * sysdeps/x86/cpu-features-offsets.sym
8839 (rtld_global_ro_offsetof): Removed.
8840 (CPU_FEATURES_SIZE): Likewise.
8841 (CPUID_OFFSET): Likewise.
8842 (CPUID_SIZE): Likewise.
8843 (CPUID_EAX_OFFSET): Likewise.
8844 (CPUID_EBX_OFFSET): Likewise.
8845 (CPUID_ECX_OFFSET): Likewise.
8846 (CPUID_EDX_OFFSET): Likewise.
8847 (FAMILY_OFFSET): Likewise.
8848 (MODEL_OFFSET): Likewise.
8849 (FEATURE_OFFSET): Likewise.
8850 (FEATURE_SIZ): Likewise.
8851 (COMMON_CPUID_INDEX_1): Likewise.
8852 (COMMON_CPUID_INDEX_7): Likewise.
8853 (FEATURE_INDEX_1): Likewise.
8854 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
8856 2018-08-02 Carlos O'Donell <carlos@redhat.com>
8858 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
8859 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
8860 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
8861 (install-locales): Depend on install-locale-archive.
8862 (install-locale-archive): Define.
8863 (install-locale-files): Define.
8864 (build-one-locale): Define macro.
8865 * manual/install.texi (Running make install): Document.
8866 * manual/INSTALL: Regenerate.
8868 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
8870 * benchtests/scripts/compare_strings.py: Import traceback.
8871 (parse_file): Pretty-print error.
8873 * NEWS: Mention the change.
8874 * elf/dl-tunables.list: Rename tune namespace to cpu.
8875 * sysdeps/powerpc/dl-tunables.list: Likewise.
8876 * sysdeps/x86/dl-tunables.list: Likewise.
8877 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
8879 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
8880 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
8881 * manual/README.tunables: Likewise.
8882 * manual/tunables.texi: Likewise.
8883 * sysdeps/powerpc/cpu-features.c: Likewise.
8884 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
8885 (init_cpu_features): Likewise.
8886 * sysdeps/x86/cpu-features.c: Likewise.
8887 * sysdeps/x86/cpu-features.h: Likewise.
8888 * sysdeps/x86/cpu-tunables.c: Likewise.
8889 * sysdeps/x86_64/Makefile: Likewise.
8890 * sysdeps/x86/dl-cet.c: Likewise.
8892 2018-08-02 Joseph Myers <joseph@codesourcery.com>
8895 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
8896 [__mips_hard_float].
8897 (FE_UNDERFLOW): Likewise.
8898 (FE_OVERFLOW): Likewise.
8899 (FE_DIVBYZERO): Likewise.
8900 (FE_INVALID): Likewise.
8901 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
8902 (FE_TOWARDZERO): Define only if [__mips_hard_float].
8903 (FE_UPWARD): Likewise.
8904 (FE_DOWNWARD): Likewise.
8905 (__FE_UNDEFINED): Define if [!__mips_hard_float]
8906 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
8907 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
8908 [__mips_hard_float].
8909 (FP_ROUNDMODE): Likewise.
8910 (FP_RND_NEAREST): Likewise.
8911 (FP_RND_ZERO): Likewise.
8912 (FP_RND_PINF): Likewise.
8913 (FP_RND_MINF): Likewise.
8914 (FP_EX_INVALID): Likewise.
8915 (FP_EX_OVERFLOW): Likewise.
8916 (FP_EX_UNDERFLOW): Likewise.
8917 (FP_EX_DIVZERO): Likewise.
8918 (FP_EX_INEXACT): Likewise.
8919 (FP_INIT_ROUNDMODE): Likewise.
8920 * sysdeps/mips/nofpu/fesetenv.c: New file.
8921 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
8923 2018-08-01 Joseph Myers <joseph@codesourcery.com>
8925 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
8926 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
8927 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
8928 conditional on [FE_UPWARD].
8930 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
8932 regex: fix memory leak in Gnulib
8933 Problem and fix reported by Assaf Gordon in:
8934 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
8935 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
8936 range_ends members too, as they are defined in 'struct
8937 re_charset_t' even if not _LIBC. This affects only Gnulib.
8939 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
8941 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
8943 (get_common_indices): This.
8944 (init_cpu_features): Updated.
8946 2018-08-01 Joseph Myers <joseph@codesourcery.com>
8948 * sysdeps/generic/math-tests-snan-payload.h: New file.
8949 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
8950 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
8951 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
8952 * sysdeps/generic/math-tests.h: Include
8953 <math-tests-snan-payload.h>.
8954 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
8955 * sysdeps/hppa/math-tests.h: Remove file.
8956 * sysdeps/mips/math-tests.h [!__mips_nan2008]
8957 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
8958 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
8961 * sysdeps/generic/math-tests-snan-cast.h: New file.
8962 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
8963 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
8964 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
8965 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
8967 2018-08-01 Carlos O'Donel <carlos@redhat.com>
8969 * version.h (RELEASE): Set to "development".
8970 (VERSION): Set to "2.28.9000".
8971 * NEWS (2.29): New section.
8973 * version.h (RELEASE): Set to "stable".
8974 (VERSION): Set to "2.28".
8975 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
8976 * NEWS: Add the list of bugs fixed in 2.28.
8978 * po/ca.po: Update to latest version.
8979 * po/cs.po: Likewise
8980 * po/da.po: Likewise
8981 * po/el.po: Likewise
8982 * po/eo.po: Likewise
8983 * po/es.po: Likewise
8984 * po/fi.po: Likewise
8985 * po/fr.po: Likewise
8986 * po/gl.po: Likewise
8987 * po/hu.po: Likewise
8988 * po/ia.po: Likewise
8989 * po/id.po: Likewise
8990 * po/it.po: Likewise
8991 * po/ja.po: Likewise
8992 * po/ko.po: Likewise
8993 * po/lt.po: Likewise
8994 * po/nb.po: Likewise
8995 * po/nl.po: Likewise
8996 * po/pt_BR.po: Likewise
8997 * po/ru.po: Likewise
8998 * po/rw.po: Likewise
8999 * po/sk.po: Likewise
9000 * po/sl.po: Likewise
9001 * po/tr.po: Likewise
9002 * po/zh_CN.po: Likewise
9003 * po/zh_TW.po: Likewise
9005 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
9007 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
9009 (init): ... before initializing libpthread.
9011 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
9012 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
9013 (__mach_setup_tls): ... new function.
9014 (mach_setup_tls): New alias.
9015 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
9016 __mach_setup_thread.
9017 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
9018 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
9019 * mach/Versions [libc] (mach_setup_tls): Add symbol.
9020 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
9022 2018-07-31 Carlos O'Donell <carlos@redhat.com>
9024 * manual/install.texi: Update versions.
9025 * INSTALL: Regenerate.
9027 * manual/contrib.texi (Contributors): Update contributions.
9029 2018-07-31 Carlos O'Donell <carlos@redhat.com>
9031 * po/be.po: Update translations.
9033 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9035 * sysdeps/sh/libm-test-ulps: Update.
9037 2018-07-30 Carlos O'Donell <carlos@redhat.com>
9039 * po/bg.po: Update translations.
9040 * po/de.po: Likewise.
9041 * po/hr.po: Likewise.
9042 * po/pt_BR.po: Likewise.
9043 * po/sv.po: Likewise.
9044 * po/vi.po: Likewise.
9046 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
9049 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
9050 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
9051 (CFLAGS-tst-cet-property-1.o): New.
9052 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
9053 ($(objpfx)tst-cet-property-2): Likewise.
9054 ($(objpfx)tst-cet-property-2.out): Likewise.
9055 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
9056 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
9057 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
9058 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
9059 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
9061 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
9064 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
9066 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
9068 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
9069 __sbrk): Do not set attribute_hidden.
9070 * sysdeps/mach/hurd/not-errno.h: New file.
9071 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
9072 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
9074 2018-07-27 Carlos O'Donell <carlos@redhat.com>
9076 * po/uk.po: Update translations.
9077 * po/cs.po: Likewise.
9078 * po/pl.po: Likewise.
9080 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
9082 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
9083 parse beyond the note end.
9085 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9087 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
9088 kernel does not support OFD locks.
9089 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
9091 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9093 * sysdeps/mach/hurd/Versions (libc): Make __access and
9094 __access_noerrno external so they can override the ld symbols.
9095 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
9096 __writev, __open64, __access_noerrno extern so they can be overrided.
9097 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
9098 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
9100 2018-07-26 Carlos O'Donell <carlos@redhat.com>
9102 * po/libc.pot: Regenerate.
9104 2018-07-26 Joseph Myers <joseph@codesourcery.com>
9106 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
9108 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
9111 * sysdeps/x86/cpu-features.c (get_extended_indices): New
9113 (init_cpu_features): Call get_extended_indices for both Intel
9115 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
9116 Remove "for AMD" comment.
9118 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
9121 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
9122 COMMON_CPUID_INDEX_80000001.
9124 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
9126 * string/tst-xbzero-opt.c (use_test_buffer): New function.
9127 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
9129 2018-07-26 Florian Weimer <fweimer@redhat.com>
9131 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
9132 aliases for symbols not in the implementation namespace.
9134 2018-07-25 Carlos O'Donell <carlos@redhat.com>
9137 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
9138 lowercase in LATIN script.
9139 * localedata/Makefile (test-input): Add en_US.UTF-8.
9140 * localedata/en_US.UTF-8.in: New file.
9141 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
9142 and restore old tests.
9143 * posix/tst-regexloc.c (do_test): Add back range expression test.
9145 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9147 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
9149 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9151 * nptl/threads.h: Move to ...
9152 * sysdeps/nptl/threads.h: ... here.
9153 * sysdeps/hurd/stdc-predef.h: New file.
9155 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9157 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
9158 tst-cet-setcontext-1 if CET is enabled.
9159 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
9160 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
9162 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9164 * include/threads.h: Move to ...
9165 * sysdeps/nptl/threads.h: ... here.
9166 * sysdeps/htl/threads.h: New file.
9167 * conform/Makefile (linknamespace-libs-ISO11): Use
9168 static-thread-library instead of linking libpthread.
9169 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
9171 2018-07-25 Florian Weimer <fweimer@redhat.com>
9173 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
9174 nanoseconds into seconds.
9175 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
9176 (do_test): Likewise.
9177 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
9178 (do_test): Likewise. Avoid nanosecond overflow and spurious
9179 timeouts due to system load.
9180 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
9181 (child_wait): Increment it.
9182 (do_test): Wait as long as necessary until all expected threads
9185 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
9186 H.J. Lu <hongjiu.lu@intel.com>
9188 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
9190 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
9191 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
9192 (__push___start_context): New.
9193 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
9195 (__getcontext): Record the current shadow stack base. Save the
9196 caller's shadow stack pointer and base.
9197 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
9198 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
9199 (__push___start_context): New prototype.
9200 (__makecontext): Call __push___start_context to allocate a new
9201 shadow stack, push __start_context onto the new stack as well
9202 as the new shadow stack.
9203 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
9205 (__setcontext): Restore the target shadow stack.
9206 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
9208 (__swapcontext): Record the current shadow stack base. Save
9209 the caller's shadow stack pointer and base. Restore the target
9211 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9212 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
9213 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
9215 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9217 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
9218 tst-setcontext8 and tst-setcontext9.
9219 * stdlib/tst-setcontext6.c: New file.
9220 * stdlib/tst-setcontext7.c: Likewise.
9221 * stdlib/tst-setcontext8.c: Likewise.
9222 * stdlib/tst-setcontext9.c: Likewise.
9224 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9226 * stdlib/Makefile ((tests): Add tst-setcontext5.
9227 * stdlib/tst-setcontext5.c: New file.
9229 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9231 * stdlib/Makefile (tests): Add tst-setcontext4.
9232 * stdlib/tst-setcontext4.c: New file.
9234 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9236 * stdlib/Makefile (tests): Add tst-swapcontext1.
9237 * stdlib/tst-swapcontext1.c: New test.
9239 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9241 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
9242 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
9243 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
9244 and tst-cet-legacy-4c.
9245 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
9246 and tst-cet-legacy-mod-4.
9247 (CFLAGS-tst-cet-legacy-2.c): New.
9248 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
9249 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
9250 (CFLAGS-tst-cet-legacy-3.c): Likewise.
9251 (CFLAGS-tst-cet-legacy-4.c): Likewise.
9252 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
9253 ($(objpfx)tst-cet-legacy-1): Likewise.
9254 ($(objpfx)tst-cet-legacy-2): Likewise.
9255 ($(objpfx)tst-cet-legacy-2.out): Likewise.
9256 ($(objpfx)tst-cet-legacy-2a): Likewise.
9257 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
9258 ($(objpfx)tst-cet-legacy-4): Likewise.
9259 ($(objpfx)tst-cet-legacy-4.out): Likewise.
9260 ($(objpfx)tst-cet-legacy-4a): Likewise.
9261 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
9262 (tst-cet-legacy-4a-ENV): Likewise.
9263 ($(objpfx)tst-cet-legacy-4b): Likewise.
9264 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
9265 (tst-cet-legacy-4b-ENV): Likewise.
9266 ($(objpfx)tst-cet-legacy-4c): Likewise.
9267 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
9268 (tst-cet-legacy-4c-ENV): Likewise.
9269 * sysdeps/x86/tst-cet-legacy-1.c: New file.
9270 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
9271 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
9272 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
9273 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
9274 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
9275 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
9276 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
9277 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
9278 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
9279 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
9281 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9283 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
9284 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
9286 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
9287 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
9290 2018-07-25 Andreas Schwab <schwab@suse.de>
9293 * locale/weightwc.h (findidx): Handle the case where usrc is a
9294 prefix of cp but one character too short.
9296 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9298 * NEWS: Add ISO C threads addition.
9300 2018-07-24 Florian Weimer <fweimer@redhat.com>
9302 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9303 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
9304 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
9307 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9309 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
9310 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
9311 <sys/prctl.h> and <asm/prctl.h>.
9312 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
9313 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
9315 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
9316 ARCH_CET_LEGACY_BITMAP.
9317 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
9318 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
9319 * sysdeps/x86/libc-start.c: Include <startup.h>.
9321 2018-07-24 Florian Weimer <fweimer@redhat.com>
9323 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
9324 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
9326 2018-07-24 Rical Jasan <rj@2c3t.io>
9327 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9328 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
9331 * manual/debug.texi: Update adjacent chapter name.
9332 * manual/probes.texi: Likewise.
9333 * manual/threads.texi (ISO C Threads): New section.
9334 (POSIX Threads): Convert to a section.
9336 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9337 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
9340 * nptl/Makefile (tests): Add new test files.
9341 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
9342 * nptl/tst-cnd-basic.c: Likewise.
9343 * nptl/tst-cnd-broadcast.c: Likewise.
9344 * nptl/tst-cnd-timedwait.c: Likewise.
9345 * nptl/tst-mtx-basic.c: Likewise.
9346 * nptl/tst-mtx-recursive.c: Likewise.
9347 * nptl/tst-mtx-timedlock.c: Likewise.
9348 * nptl/tst-mtx-trylock.c: Likewise.
9349 * nptl/tst-thrd-basic.c: Likewise.
9350 * nptl/tst-thrd-detach.c: Likewise.
9351 * nptl/tst-thrd-sleep.c: Likewise.
9352 * nptl/tst-tss-basic.c: Likewise.
9354 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9357 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
9358 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
9360 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9361 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9362 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9363 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9364 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9365 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9366 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9367 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9368 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9369 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9370 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9371 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
9378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9379 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9380 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9381 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9382 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9383 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9384 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9385 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9386 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9387 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
9388 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
9389 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
9390 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
9391 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
9393 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
9394 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
9395 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
9396 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
9397 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
9398 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
9399 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
9400 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
9401 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
9402 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
9403 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
9404 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
9406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
9407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9411 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
9412 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
9413 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
9414 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
9415 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
9416 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
9417 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
9418 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
9421 * conform/data/threads.h-data (thread_local): New macro.
9422 (TSS_DTOR_ITERATIONS): Likewise.
9424 (tss_dtor_t): Likewise.
9425 (tss_create): New function.
9426 (tss_get): Likewise.
9427 (tss_set): Likewise.
9428 (tss_delete): Likewise.
9429 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
9430 tss_get, and tss_set objects.
9431 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
9432 * nptl/tss_create.c: New file.
9433 * nptl/tss_delete.c: Likewise.
9434 * nptl/tss_get.c: Likewise.
9435 * nptl/tss_set.c: Likewise.
9436 * sysdeps/nptl/threads.h (thread_local): New define.
9437 (TSS_DTOR_ITERATIONS): Likewise.
9438 (tss_t): New typedef.
9439 (tss_dtor_t): Likewise.
9440 (tss_create): New prototype.
9441 (tss_get): Likewise.
9442 (tss_set): Likewise.
9443 (tss_delete): Likewise.
9446 * conform/data/threads.h-data (cnd_t): New type.
9447 (cnd_init): New function.
9448 (cnd_signal): Likewise.
9449 (cnd_broadcast): Likewise.
9450 (cnd_wait): Likewise.
9451 (cnd_timedwait): Likewise.
9452 (cnd_destroy): Likewise.
9453 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
9454 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
9456 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
9457 * nptl/cnd_broadcast.c: New file.
9458 * nptl/cnd_destroy.c: Likewise.
9459 * nptl/cnd_init.c: Likewise.
9460 * nptl/cnd_signal.c: Likewise.
9461 * nptl/cnd_timedwait.c: Likewise.
9462 * nptl/cnd_wait.c: Likewise.
9463 * sysdeps/nptl/threads.h (cnd_t): New type.
9464 (cnd_init): New prototype.
9465 (cnd_signa): Likewise.
9466 (cnd_broadcast): Likewise.
9467 (cnd_wait): Likewise.
9468 (cnd_timedwait): Likewise.
9469 (cnd_destroy): Likewise.
9472 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
9473 (once_flag): New type.
9474 (call_once): New function.
9475 * nptl/Makefile (libpthread-routines): Add call_once object.
9476 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
9477 * nptl/call_once.c: New file.
9478 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
9479 (once_flag): New type.
9480 (call_once): New prototype.
9483 * conform/data/threads.h-data (mtx_plain): New constant.
9484 (mtx_recursive): Likewise.
9485 (mtx_timed): Likewise.
9487 (mtx_init): New function.
9488 (mtx_lock): Likewise.
9489 (mtx_timedlock): Likewise.
9490 (mtx_trylock): Likewise.
9491 (mtx_unlock): Likewise.
9492 (mtx_destroy): Likewise.
9493 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
9494 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
9495 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
9496 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
9497 * nptl/mtx_destroy.c: New file.
9498 * nptl/mtx_init.c: Likewise.
9499 * nptl/mtx_lock.c: Likewise.
9500 * nptl/mtx_timedlock.c: Likewise.
9501 * nptl/mtx_trylock.c: Likewise.
9502 * nptl/mtx_unlock.c: Likewise.
9503 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
9504 (mtx_recursive): Likewise.
9505 (mtx_timed): Likewise.
9507 (mtx_init): New prototype.
9508 (mtx_lock): Likewise.
9509 (mtx_timedlock): Likewise.
9510 (mtx_trylock): Likewise.
9511 (mtx_unlock): Likewise.
9512 (mtx_destroy): Likewise.
9515 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
9516 (linknamespace-libs-ISO11): Add libpthread.a.
9517 * conform/data/threads.h-data: New file: add C11 thrd_* types and
9519 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
9520 * nptl/Makefile (headers): Add threads.h.
9521 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
9522 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
9524 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
9525 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
9526 thrd_join, thrd_sleep, and thrd_yield symbols.
9527 * nptl/descr.h (struct pthread): Add c11 field.
9528 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
9529 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
9530 routine with expected function prototype.
9531 (__pthread_create_2_1): Add C11 threads check based on attribute
9533 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
9534 * nptl/thrd_create.c: New file.
9535 * nptl/thrd_current.c: Likewise.
9536 * nptl/thrd_detach.c: Likewise.
9537 * nptl/thrd_equal.c: Likewise.
9538 * nptl/thrd_exit.c: Likewise.
9539 * nptl/thrd_join.c: Likewise.
9540 * nptl/thrd_priv.h: Likewise.
9541 * nptl/thrd_sleep.c: Likewise.
9542 * nptl/thrd_yield.c: Likewise.
9543 * include/threads.h: Likewise.
9545 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9547 * bits/indirect-return.h: New file.
9548 * misc/sys/cdefs.h (__glibc_has_attribute): New.
9549 * sysdeps/x86/bits/indirect-return.h: Likewise.
9550 * stdlib/Makefile (headers): Add bits/indirect-return.h.
9551 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
9552 (swapcontext): Add __INDIRECT_RETURN.
9553 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
9554 (prepare_test_buffer): Use it.
9556 2018-07-24 Andreas Schwab <schwab@suse.de>
9559 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
9560 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
9562 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9564 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
9565 Redefine if shadow stack is enabled.
9566 (SYSCALL_ERROR_LABEL): Likewise.
9567 (__vfork): Pop shadow stack and jump back to to caller directly
9568 when shadow stack is in use.
9569 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
9570 Redefine if shadow stack is enabled.
9571 (SYSCALL_ERROR_LABEL): Likewise.
9572 (__vfork): Pop shadow stack and jump back to to caller directly
9573 when shadow stack is in use.
9575 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9577 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
9580 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
9583 2018-07-20 Joseph Myers <joseph@codesourcery.com>
9585 * scripts/build-many-glibcs.py (Context.checkout): Default
9586 binutils version to 2.31 branch.
9588 2018-07-20 Zong Li <zong@andestech.com>
9590 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
9591 URL of gcc's tarball.
9593 2018-07-20 Florian Weimer <fweimer@redhat.com>
9596 * posix/regcomp.c (build_equiv_class): When comparing weights, do
9597 not compare an extra byte after the end of the weights.
9599 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
9601 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
9603 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
9605 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
9606 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
9607 * scripts/check-execstack.awk: Consider `xfail' variable containing a
9608 list of libraries whose stack executability is expected.
9609 * elf/Makefile ($(objpfx)check-execstack.out): Pass
9610 $(check-execstack-xfail) to check-execstack.awk through `xfail'
9612 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
9613 libc.so libpthread.so.
9615 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
9617 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
9619 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
9621 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
9623 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
9625 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9627 * benchtests/scripts/compare_bench.py (__main__): use the argparse
9628 library to improve command line parsing.
9629 (__main__): make schema file as optional parameter (--schema),
9630 defaulting to benchtests/scripts/benchout.schema.json.
9631 (main): move out of the parsing stuff to __main_ and leave it
9632 only as caller of main comparison functions.
9634 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
9636 * NEWS: Add a note for Intel CET status.
9637 * manual/install.texi: Likewise.
9638 * INSTALL: Regenerated.
9640 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
9643 * localedata/locales/oc_FR (mon): Rename to...
9644 (alt_mon): This, then update October (typo fix).
9645 (mon): New content (genitive case, month names preceded by
9649 * localedata/locales/oc_FR (abday): Update all items.
9650 (day): Update Wednesday and Saturday (typo fixes).
9651 (abmon): Update all items, except May.
9652 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
9653 (LC_IDENTIFICATION): Bump the revision number and date.
9654 Keep the "category" entries in alphabetic order.
9655 (LC_ADDRESS): Remove no longer needed comment.
9656 (LC_COLLATE): Use “copy "ca_ES"”.
9657 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
9660 2018-07-18 Joseph Myers <joseph@codesourcery.com>
9662 * grp/tst_fgetgrent.c: Include <unistd.h>.
9663 (main): Use mkstemp instead of tmpnam.
9664 * io/test-utime.c (main): Likewise.
9665 * posix/annexc.c (macrofile): Change to modifiable array.
9666 (main): Remove macrofile here.
9667 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
9669 (check_header): Do not remove macrofile here.
9670 * posix/bug-getopt1.c: Include <stdlib.h>.
9671 (do_test): Use mkstemp instead of tmpnam.
9672 * posix/bug-getopt2.c: Include <stdlib.h>.
9673 (do_test): Use mkstemp instead of tmpnam.
9674 * posix/bug-getopt3.c: Include <stdlib.h>.
9675 (do_test): Use mkstemp instead of tmpnam.
9676 * posix/bug-getopt4.c: Include <stdlib.h>.
9677 (do_test): Use mkstemp instead of tmpnam.
9678 * posix/bug-getopt5.c: Include <stdlib.h>.
9679 (do_test): Use mkstemp instead of tmpnam.
9680 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
9681 (main): Use mkstemp instead of tmpnam.
9682 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
9683 (main): Use mkstemp instead of tmpnam.
9684 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
9685 (main): use mkstemp instead of tmpnam.
9686 * stdlib/isomac.c (macrofile): Change to modifiable array.
9687 (main): Remove macrofile here.
9688 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
9690 (check_header): Do not remove macrofile here.
9692 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9694 * manual/tunables.texi: Document glibc.tune.x86_ibt and
9695 glibc.tune.x86_shstk.
9697 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9699 * NEWS: Mention --enable-cet.
9700 * manual/install.texi: Document --enable-cet.
9701 * INSTALL: Regenerated.
9703 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9705 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
9706 Add _CET_NOTRACK before indirect jump to jump table.
9708 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9710 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
9711 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9714 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9716 * sysdeps/i386/i686/multiarch/strcat-sse2.S
9717 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9720 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9722 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
9723 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9726 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9728 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
9729 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9732 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9734 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
9735 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9737 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
9739 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9741 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
9742 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9745 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9747 * sysdeps/i386/i686/multiarch/memset-sse2.S
9748 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9751 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9753 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
9754 indirect jump to jump table.
9756 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9758 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
9759 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9763 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9765 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
9766 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9770 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9772 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9773 _CET_NOTRACK before indirect jump to jump table.
9775 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9777 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
9778 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9781 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9783 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
9784 indirect jump to jump table.
9786 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
9789 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
9790 (LOCALES): Likewise.
9791 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
9792 * localedata/locales/sah_RU: New file.
9793 * localedata/sah_RU.UTF-8.in: New file.
9795 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9797 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
9799 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9800 _CET_ENDBR to indirect jump targets and adjust jump destination
9802 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
9804 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9805 _CET_ENDBR to indirect jump targets and adjust jump destination
9807 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
9809 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
9810 _CET_ENDBR to indirect jump targets and adjust jump destination
9813 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9815 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9818 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9820 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
9822 (_dl_tlsdesc_undefweak): Likewise.
9823 (_dl_tlsdesc_dynamic): Likewise.
9824 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
9825 (_dl_tlsdesc_resolve_rel): Likewise.
9826 (_dl_tlsdesc_resolve_rela): Likewise.
9827 (_dl_tlsdesc_resolve_hold): Likewise.
9828 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
9829 (_dl_tlsdesc_undefweak): Likewise.
9830 (_dl_tlsdesc_dynamic): Likewise.
9831 (_dl_tlsdesc_resolve_rela): Likewise.
9832 (_dl_tlsdesc_resolve_hold): Likewise.
9834 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9836 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
9838 * sysdeps/x86_64/crti.S (_init): Likewise.
9841 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
9844 * localedata/locales/os_RU (mon): Rename to...
9846 (mon): Import from CLDR (genitive case).
9848 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9850 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
9851 cet-tunables.h> when CET is enabled.
9853 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
9856 * configure.ac: Add --enable-cet.
9857 * configure: Regenerated.
9858 * elf/Makefille (all-built-dso): Add a comment.
9859 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
9860 Include <dl-prop.h>.
9861 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
9863 * elf/dl-open.c: Include <dl-prop.h>.
9864 (dl_open_worker): Call _dl_open_check.
9865 * elf/rtld.c: Include <dl-prop.h>.
9866 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
9868 * sysdeps/generic/dl-prop.h: New file.
9869 * sysdeps/i386/dl-cet.c: Likewise.
9870 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
9871 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
9872 * sysdeps/x86/cet-tunables.h: Likewise.
9873 * sysdeps/x86/check-cet.awk: Likewise.
9874 * sysdeps/x86/configure: Likewise.
9875 * sysdeps/x86/configure.ac: Likewise.
9876 * sysdeps/x86/dl-cet.c: Likewise.
9877 * sysdeps/x86/dl-procruntime.c: Likewise.
9878 * sysdeps/x86/dl-prop.h: Likewise.
9879 * sysdeps/x86/libc-start.h: Likewise.
9880 * sysdeps/x86/link_map.h: Likewise.
9881 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
9883 (_dl_runtime_profile): Likewise.
9884 (_dl_runtime_resolve_shstk): New.
9885 (_dl_runtime_profile_shstk): Likewise.
9886 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
9888 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
9889 (CFLAGS-.os): Likewise.
9890 (CFLAGS-.op): Likewise.
9891 (CFLAGS-.oS): Likewise.
9892 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
9894 (tests-special): Add $(objpfx)check-cet.out.
9895 (cet-built-dso): New.
9896 (+$(cet-built-dso:=.note)): Likewise.
9897 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
9898 ($(objpfx)check-cet.out): New.
9899 (generated): Add check-cet.out.
9900 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
9902 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
9903 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
9904 (init_cpu_features): Call get_cet_status to check CET status
9905 and update dl_x86_feature_1 with CET status. Call
9906 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
9907 (set_x86_shstk). Disable and lock CET in libc.a.
9908 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
9909 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
9910 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
9911 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
9912 (_CET_ENDBR): Define if not defined.
9913 (ENTRY): Add _CET_ENDBR.
9914 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
9916 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
9918 (_dl_runtime_profile): Likewise.
9920 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
9923 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
9924 restore r2 on longjmp.
9925 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
9927 Added rules to build test tst-setjmp-bug21895-static.
9928 Added module setjmp-bug21895 and rules to build a shared object from it.
9929 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
9930 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
9932 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
9934 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
9935 * benchtests/bench-strstr.c: Likewise.
9936 * string/memmem.c (FASTSEARCH): Define.
9937 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
9938 Add support for FASTSEARCH.
9939 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
9940 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
9941 (FASTSEARCH): Define.
9942 * string/test-strcasestr.c: Rename __strnlen to strnlen.
9943 * string/test-strstr.c: Likewise.
9945 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
9947 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
9948 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
9950 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
9951 H.J. Lu <hongjiu.lu@intel.com>
9953 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
9954 (__longjmp): Restore shadow stack pointer if shadow stack is
9955 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
9956 isn't defined for __longjmp_cancel.
9957 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
9958 (_setjmp): Save shadow stack pointer if shadow stack is enabled
9959 and SHADOW_STACK_POINTER_OFFSET is defined.
9960 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
9961 (setjmp): Save shadow stack pointer if shadow stack is enabled
9962 and SHADOW_STACK_POINTER_OFFSET is defined.
9963 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
9964 (__sigsetjmp): Save shadow stack pointer if shadow stack is
9965 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9966 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
9968 (____longjmp_chk): Restore shadow stack pointer if shadow stack
9969 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9970 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
9971 Remove jmp_buf-ssp.sym.
9972 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9974 (____longjmp_chk): Restore shadow stack pointer if shadow stack
9975 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9976 * sysdeps/x86/Makefile (gen-as-const-headers): Add
9978 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
9979 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
9980 (__longjmp): Restore shadow stack pointer if shadow stack is
9981 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
9982 isn't defined for __longjmp_cancel.
9983 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
9984 (__sigsetjmp): Save shadow stack pointer if shadow stack is
9985 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9987 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
9990 * nptl/pthread_create.c: Include <tls-setup.h>.
9991 (__pthread_create_2_1): Call tls_setup_tcbhead.
9992 * sysdeps/generic/tls-setup.h: New file.
9993 * sysdeps/x86/nptl/tls-setup.h: Likewise.
9994 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
9995 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
9997 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
9999 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
10000 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
10001 (X86_FEATURE_1_SHSTK): Likewise.
10002 (CET_ENABLED): Likewise.
10003 (IBT_ENABLED): Likewise.
10004 (SHSTK_ENABLED): Likewise.
10006 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
10009 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
10010 (LOCALES): Likewise.
10011 * localedata/dsb_DE.UTF-8.in: New file.
10012 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
10014 2018-07-12 Florian Weimer <fweimer@redhat.com>
10016 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
10017 __mprotect, not mprotect.
10019 2018-07-11 Florian Weimer <fweimer@redhat.com>
10021 * io/Makefile (headers): Add bits/statx.h.
10023 2018-07-10 Mike FABIAN <mfabian@redhat.com>
10025 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
10026 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
10028 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
10029 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
10032 2018-07-10 Florian Weimer <fweimer@redhat.com>
10034 * io/Makefile (routines): Add statx.
10035 (tests-internal): Add tst-statx.
10036 * io/Versions (GLIBC_2.28): Export statx.
10037 * io/bits/statx.h: New file.
10038 * io/sys/stat.h [__USE_GNU]: Include it.
10039 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
10040 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
10042 * io/statx.c: New file.
10043 * io/statx_generic.: Likewise.
10044 * io/tst-statx.: Likewise.
10045 * include/bits/statx.h: Likewise.
10046 * sysdeps/unix/sysv/linux/kernel-features.h
10047 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
10048 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10049 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
10050 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
10052 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10053 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
10054 * sysdeps/unix/sysv/linux/statx.c: New file.
10055 * manual/filesys.texi: Note that statx is undocumented.
10056 * sysdeps/**/libc*.abilist: Update.
10058 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10060 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
10061 a kernel issue which lead to test failure in some cases.
10063 2018-07-10 Florian Weimer <fweimer@redhat.com>
10066 * posix/regexec.c (check_node_accept_bytes): When comparing
10067 weights, do not compare an extra byte after the end of the
10070 2018-07-10 Florian Weimer <fweimer@redhat.com>
10072 * libio/readline.c: Fix copyright year.
10073 * libio/tst-readline.c Likewise.
10074 * nss/tst-nss-files-hosts-getent.c: Likewise.
10076 2018-07-06 Florian Weimer <fweimer@redhat.com>
10079 * nss/nss_files/files-XXX.c (internal_getent): Use
10080 __libc_readline_unlocked. Seek back to the start of the line if
10081 parsing failes with ERANGE.
10082 (get_contents_ret, get_contents): Remove.
10083 * nss/tst-nss-files-hosts-getent.c: New file.
10084 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
10085 (tst-nss-files-hosts-getent): Link with -ldl.
10087 2018-07-06 Florian Weimer <fweimer@redhat.com>
10089 * include/stdio.h (__libc_readline_unlocked): Declare.
10090 (__ftello64, __fseeko64): Declare aliases.
10091 * libio/readline.c: New file.
10092 * libio/tst-readline.c: Likewise.
10093 (routines): Add readline.
10094 (tests-internal): Add tst-readlime.
10095 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
10096 __libc_readline_unlocked.
10097 * libio/fseeko.c (__fseeko): Rename from fseeko.
10098 (fseeko): Add alias.
10099 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
10100 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
10101 (fseeko64): Add alias.
10102 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
10103 * libio/ftello64.c (__ftello64): Rename from ftello64.
10104 (ftello64): Add alias.
10106 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
10108 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
10111 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
10113 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
10114 Use dl_hwcap without masking.
10115 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
10116 Remove HWCAP_CPUID.
10118 2018-07-06 Florian Weimer <fweimer@redhat.com>
10120 * conform/conformtest.pl (checknamespace): Escape literal braces
10121 in regular expressions.
10123 2018-07-06 Amit Pawar <amit.pawar@amd.com>
10125 * sysdeps/x86/cpu-features.c (get_common_indeces):
10126 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
10127 * sysdeps/x86/cpu-features.c (init_cpu_features):
10128 AVX_Fast_Unaligned_Load is disabled for Excavator core.
10130 2018-07-05 Florian Weimer <fweimer@redhat.com>
10132 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
10134 (CFLAGS-elf-init.oS): Likewise.
10136 2018-07-05 Florian Weimer <fweimer@redhat.com>
10137 Carlos O'Donell <carlos@redhat.com>
10139 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
10140 $(no-stack-protector). stack_chk_fail_local.c can be compiled
10141 with stack protector enabled because there is no risk of infinite
10144 2018-07-05 Maciej W. Rozycki <macro@mips.com>
10148 * libc-abis (ABSOLUTE): New ABI.
10149 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
10150 * NEWS: Mention the new ABI.
10152 2018-07-05 Florian Weimer <fweimer@redhat.com>
10155 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
10156 (RENAME_WHITEOUT): Define.
10157 [__USE_GNU] (renameat2): Declare.
10158 * stdio-common/Makefile (routines): Add renameat2.
10159 (tests): Add tst-renameat2.
10160 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
10161 * stdio-common/renameat2.c: New file.
10162 * stdio-common/tst-renameat2.c: Likewise.
10163 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
10164 * manual/filesys.texi (Temporary Files): Note that renameat2 is
10166 * sysdeps/unix/sysv/linux/kernel-features.h
10167 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
10168 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10169 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
10170 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10171 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
10172 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10173 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
10174 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10175 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
10176 * include/stdio.h (__renameat): Add alias for renameat.
10177 * stdio-common/renameat.c (__renameat): Rename from renameat.
10178 Add hidden definition and alias.
10179 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
10180 * sysdeps/mach/hurd/renameat.c: Likewise.
10181 * sysdeps/**/libc*.abilist: Add renameat2.
10183 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10185 * posix/bug-regex33.c: Fix build after regex sync.
10187 2018-07-04 Carlos O'Donell <carlos@redhat.com>
10190 * localedata/tst-langinfo-setlocale.c: New file.
10191 * localedata/tst-langinfo-setlocale-static.c: New file.
10192 * localedata/tst-langinfo-newlocale.c: New file.
10193 * localedata/tst-langinfo-newlocale-static.c: New file.
10194 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
10195 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
10196 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
10197 (tests-static): Remove tst-langinfo-static. Add
10198 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
10199 (tests-special): Remove $(objpfx)tst-langinfo.out,
10200 $(objpfx)tst-langinfo-static.out. Add
10201 $(objpfx)tst-langinfo-setlocale.out,
10202 $(objpfx)tst-langinfo-newlocale.out,
10203 $(objpfx)tst-langinfo-setlocale-static.out,
10204 $(objpfx)tst-langinfo-newlocale-static.out.
10205 ($(objpfx)tst-langinfo.out): Remove.
10206 ($(objpfx)tst-langinfo-static.out): Remove.
10207 ($(objpfx)tst-langinfo-newlocale.out): New target.
10208 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
10209 (test-xfail-tst-langinfo-newlocale-static): Add.
10210 ($(objpfx)tst-langinfo-setlocale.out): New target.
10211 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
10212 * localedata/tst-langinfo.c: Call test_locale.
10213 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
10216 2018-07-04 Florian Weimer <fweimer@redhat.com>
10218 testrun.sh: Implement --tool=strace, --tool=valgrind
10219 * Makefile (testrun-script): Define variable.
10220 (testrun.sh): Use variable.
10221 * manual/install.texi (Tools for Compilation): make 4.0 or later
10223 * configure.ac: Check for make 4.0 or later.
10224 * INSTALL: Regenerate.
10225 * configure: Likewise.
10227 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10233 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
10234 * posix/PCRE.tests: Remove invalid test.
10235 * posix/bug-regex28.c: Fix expected values for used syntax.
10236 * posix/bug-regex37.c: New file.
10237 * posix/bug-regex38.c: Likewise.
10238 * posix/regcomp.c: Sync with gnulib.
10239 * posix/regex.c: Likewise.
10240 * posix/regex.h: Likewise.
10241 * posix/regex_internal.c: Likewise.
10242 * posix/regex_internal.h: Likewise.
10243 * posix/regexec.c: Likewise.
10245 2018-06-26 Mike FABIAN <mfabian@redhat.com>
10248 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
10249 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
10250 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
10251 * localedata/unicode-gen/PropList.txt: likewise.
10252 * localedata/unicode-gen/UnicodeData.txt: likewise.
10253 * localedata/charmaps/UTF-8: Regenerate.
10254 * localedata/locales/i18n_ctype: likewise.
10255 * localedata/locales/tr_TR: likewise.
10256 * localedata/locales/translit_circle: likewise.
10257 * localedata/locales/translit_cjk_compat: likewise.
10258 * localedata/locales/translit_combining: likewise.
10259 * localedata/locales/translit_compat: likewise.
10260 * localedata/locales/translit_font: likewise.
10261 * localedata/locales/translit_fraction: likewise.
10263 2018-07-03 Florian Weimer <fweimer@redhat.com>
10266 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
10267 * stdio-common/tst-printf.sh: Adjust expected output.
10268 * LICENSES: Update.
10270 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10272 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
10275 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10277 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
10278 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
10279 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
10280 * stdio-common/tst-printfsz-islongdouble.c: New file.
10281 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
10282 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
10283 [subdir == stdio-common] (routines): Add ieee128-printf_size.
10284 [subdir == stdio-common] (tests-internal): Add
10285 test-printf-size-ieee128, and test-printf-size-ibm128.
10286 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
10287 (CFLAGS-test-printf-size-ibm128.c): New variables.
10288 [subdir == stdio-common] (tests-special): Add
10289 $(objpfx)test-printf-size-ieee128.out and
10290 $(objpfx)test-printf-size-ibm128.out.
10291 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
10292 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
10293 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
10294 __printf_sizeieee128.
10295 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
10297 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
10299 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
10302 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
10304 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
10305 (exp2f_inline): Likewise.
10306 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
10307 (__math_uflowf): Likewise.
10308 (__math_may_uflowf): Likewise.
10309 (__math_divzerof): Likewise.
10310 (__math_invalidf): Likewise.
10311 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
10312 (__math_oflowf): Likewise.
10313 (__math_uflowf): Likewise.
10314 (__math_may_uflowf): Likewise.
10315 (__math_divzerof): Likewise.
10316 (__math_invalidf): Likewise.
10318 2018-06-29 DJ Delorie <dj@redhat.com>
10319 Carlos O'Donell <carlos@redhat.com>
10322 * include/libc-symbols.h: Comment the freeres framework.
10323 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
10324 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
10325 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
10326 * dlfcn/dlerror.c: Include libc-symbols.h
10327 (__dlerror_main_freeres): New function.
10328 * dlfcn/dlfreeres.c: New file.
10329 * dlfcn/sdlfreeres.c: New file.
10330 * include/dlfcn.h: Declare __dlerror_main_freeres.
10331 * malloc/set-freeres.c: Declare __libdl_freeres, and
10332 __libpthread_freeres.
10333 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
10334 the releavant libraries are loaded.
10335 * malloc/thread-freeres.c: Add comments.
10336 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
10337 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
10338 * nptl/allocatestack.c (__nptl_free_stacks): New function.
10339 (__free_stacks): Rename to...
10340 (free_stacks): ...this. Mark static.
10341 (queue_stack): Call free_stacks.
10342 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
10343 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
10344 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
10345 ptr_freeres element from struct.
10346 (pthread_functions): Remove .ptr_freeres from struct initializer.
10347 [SHARED] (nptl_freeres): Remove.
10348 * nptl/nptlfreeres.c: New file.
10350 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
10351 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
10353 (__free_stacks): Rename to...
10354 (__nptl_stacks_freeres): ...this.
10355 (__shm_directory_freeres): Declare.
10356 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
10357 (__nptl_unwind_freeres): ...this.
10358 * resolv/res-close.c: Add comment.
10359 * resolv/resolv_conf.c: Include libc-symbols.h.
10360 * string/strerror_l.c: Include libc-symbols.h.
10361 * sunrpc/rpc_thread.c: Include libc-symbols.h.
10362 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
10363 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
10364 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
10366 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10368 * stdlib/tst-strfmon_l.c: Add tests for long double.
10370 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
10373 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
10374 * localedata/locales/dsb_DE: New file.
10376 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
10379 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
10381 (alt_mon): New entry, import from CLDR (nominative case).
10383 2018-06-29 Sylvain Lesage <severo@rednegra.net>
10386 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
10388 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
10390 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
10391 Use vector registers.
10393 * sysdeps/aarch64/multiarch/memmove_falkor.S
10394 (__memcpy_falkor): Use vector registers.
10396 2018-06-29 Martin Sebor <msebor@redhat.com>
10398 * manual/stdio.texi (Customizing Printf): Mention interaction
10399 with GCC built-ins.
10401 2018-06-29 Maciej W. Rozycki <macro@mips.com>
10404 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
10405 `st_value' is 0 if `st_shndx' is SHN_ABS.
10406 * elf/tst-absolute-zero.c: New file.
10407 * elf/tst-absolute-zero-lib.c: New file.
10408 * elf/tst-absolute-zero-lib.lds: New file.
10409 * elf/Makefile (tests): Add `tst-absolute-zero'.
10410 (modules-names): Add `tst-absolute-zero-lib'.
10411 (LDLIBS-tst-absolute-zero-lib.so): New variable.
10412 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
10413 ($(objpfx)tst-absolute-zero: New dependency.
10415 2018-06-29 Zack Weinberg <zackw@panix.com>
10417 * configure.ac: New command-line option --disable-crypt.
10418 Force --disable-nss-crypt when --disable-crypt is given, with a
10419 warning if it was explicitly enabled.
10420 * configure: Regenerate.
10421 * config.make.in: New boolean substitution variable $(build-crypt).
10422 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
10423 when $(build-crypt).
10424 * manual/install.texi: Document --disable-crypt.
10425 * INSTALL: Regenerate.
10427 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
10428 which is never set.
10429 * conform/Makefile: Only include libcrypt.a in
10430 linknamespace-libs-xsi and linknamespace-libs-XPG4
10431 when $(build-crypt).
10432 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
10433 USE_CRYPT to 1 when $(build-crypt).
10434 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
10435 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
10436 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
10438 2018-06-29 Zack Weinberg <zackw@panix.com>
10440 * crypt/crypt.h, posix/unistd.h: Update comments and
10441 prototypes for crypt and crypt_r.
10443 * manual/crypt.texi (Cryptographic Functions): New initial
10445 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
10446 (Unpredictable Bytes): Improve initial exposition. Clarify error
10447 behavior of getentropy and getrandom.
10448 * manual/examples/genpass.c: Generate a salt using getentropy
10449 instead of the current time. Use hash $5$ (SHA-2-256).
10450 * manual/examples/testpass.c: Demonstrate validation against
10451 hashes generated with three different one-way functions.
10453 * manual/intro.texi: crypt.texi does not need an overview
10456 * manual/nss.texi, manual/memory.texi, manual/socket.texi
10457 * manual/terminal.texi: Consistently refer to "passphrases"
10458 * instead of "passwords", and to the "user database" instead
10459 * of the "password database".
10460 * manual/users.texi: Similarly. Add notes about how actual
10461 passphrase hashes are now stored in the shadow database.
10462 Remove 20-year-old junk todo note.
10464 2018-06-29 Zack Weinberg <zackw@panix.com>
10466 * manual/crypt.texi: Use a normal top-level @node declaration.
10467 Move most of the introductory text to the 'crypt' section.
10468 Move the example programs below the @deftypefun for 'crypt_r'.
10469 Move the 'getpass' section...
10470 * manual/terminal.texi: ...here.
10472 2018-06-29 Zack Weinberg <zackw@panix.com>
10473 Florian Weimer <fweimer@redhat.com>
10475 * posix/unistd.h: Do not declare encrypt.
10476 (_XOPEN_CRYPT): Remove macro definition.
10477 (crypt): Declare only for _USE_MISC.
10478 * stdlib/stdlib.h: Do not declare setkey.
10479 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
10480 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
10482 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
10483 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
10484 into compat symbols. Don't define initial_perm if it's not
10486 * crypt/cert.c: Link explicitly with the expected versions for
10487 setkey and encrypt. If they are not available at all, mark
10488 the test as unsupported.
10490 * sunrpc/des_crypt.c: Unconditionally block linkage with
10491 cbc_crypt and ecb_crypt for new binaries.
10492 * sunrpc/des_soft.c: Unconditionally block linkage with
10493 des_setparity for new binaries.
10495 * manual/crypt.texi: Remove the entire "DES Encryption"
10496 section. Also remove the paragraph talking about FIPS 140-2
10497 from the introduction.
10498 * manual/string.texi (strfry, memfrob): Revise. Recommend use
10499 of libgcrypt for "real" encryption, not DES.
10500 * manual/conf.texi (Constants for Sysconf): Mention that
10501 _XOPEN_CRYPT is no longer impelemented.
10503 * conform/data/unistd.h-data: Remove crypt function declaration.
10505 2018-06-29 Florian Weimer <fweimer@redhat.com>
10508 * malloc/hooks.c: Update comments on restoring of dumped heaps.
10509 (disallow_malloc_check): Remove variable.
10510 (__malloc_check_init): Adjust.
10511 (malloc_set_state): Update comment.
10512 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
10515 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
10518 * localedata/locales/ast_ES (mon): Rename to...
10520 (mon): Import from CLDR (genitive case).
10522 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
10523 Jakub Sitnicki <jkbs@redhat.com>
10526 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
10527 on NLM_F_DUMP_INTR.
10529 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
10531 * manual/llio.texi: Remove spurious space.
10533 2018-06-28 Florian Weimer <fweimer@redhat.com>
10536 * time/bits/types/struct_timespec.h: Change header inclusion guard to
10539 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10541 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
10542 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
10543 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
10544 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
10545 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
10546 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
10547 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
10549 2018-06-27 Maciej W. Rozycki <macro@mips.com>
10552 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
10553 Copy and null-terminate entries that are not terminated, in
10554 addition to empty ones.
10556 2018-06-27 Florian Weimer <fweimer@redhat.com>
10559 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
10560 (extend_alloca_account): Remove.
10561 * manual/stdio.texi (Variable Arguments Output): Update comment.
10563 2018-06-27 Joseph Myers <joseph@codesourcery.com>
10565 * nptl/sockperf.c: Remove file.
10567 2018-06-27 Florian Weimer <fweimer@redhat.com>
10570 * elf/dl-deps.c (_dl_map_object_deps): Use struct
10571 scratch_buffer instead of extend_alloca.
10573 2018-06-27 Florian Weimer <fweimer@redhat.com>
10576 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
10577 scratch_buffer instead of extend_alloca. Update comments.
10579 2018-06-27 Florian Weimer <fweimer@redhat.com>
10582 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
10583 instead of extend_alloca.
10585 2018-06-26 Joseph Myers <joseph@codesourcery.com>
10588 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
10589 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
10591 * scripts/test-installation.pl: Put temporary files in build
10592 directory, not /tmp.
10593 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
10594 (CFLAGS-bug4.c): Likewise.
10595 (CFLAGS-bug5.c): Likewise.
10596 (CFLAGS-test-fseek.c): Likewise.
10597 (CFLAGS-test-popen.c): Likewise.
10598 (CFLAGS-test_rdwr.c): Likewise.
10599 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
10601 * stdio-common/bug4.c (main): Likewise.
10602 * stdio-common/bug5.c (main): Likewise.
10603 * stdio-common/test-fseek.c (TESTFILE): Likewise.
10604 * stdio-common/test-popen.c (do_test): Likewise.
10605 * stdio-common/test_rdwr.c (main): Likewise.
10607 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
10609 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
10610 (sem_open): Set sem.newsem.pad to zero for valgrind.
10612 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10615 * NEWS: Mention fcntl64 addition.
10616 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
10617 * login/utmp_file.c: Likewise.
10618 * sysdeps/posix/fdopendir.c: Likewise.
10619 * sysdeps/posix/opendir.c: Likewise.
10620 * sysdeps/unix/pt-fcntl.c: Likewise.
10621 * include/fcntl.h (__libc_fcntl64, __fcntl64,
10622 __fcntl64_nocancel_adjusted): New prototype.
10623 (__fcntl_nocancel_adjusted): Remove prototype.
10624 * io/Makefile (routines): Add fcntl64.
10625 (CFLAGS-fcntl64.c): New rule.
10626 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
10627 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
10628 * io/fcntl.h (fcntl64): Add prototype and redirect if
10629 __USE_FILE_OFFSET64 is defined.
10630 * io/fcntl64.c: New file.
10631 * manual/llio.text: Add a note for which commands fcntl acts a
10632 cancellation point.
10633 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
10634 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
10635 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
10637 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
10638 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
10640 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
10641 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
10642 to __fcntl64_nocancel.
10643 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
10644 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
10645 to __fcntl64_nocancel.
10646 * sysdeps/generic/not-cancel.h: Likewise.
10647 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
10648 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
10649 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
10650 (fcntl64): New symbol.
10651 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10652 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10653 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10656 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10657 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10658 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10659 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10660 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10661 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
10662 fcntl64): Likewise.
10663 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10664 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
10665 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10666 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10667 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10668 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10669 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10670 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10671 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10676 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10677 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10678 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10680 2018-06-26 Florian Weimer <fweimer@redhat.com>
10682 Run thread shutdown functions in an explicit order.
10683 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
10685 (__libc_thread_freeres): Call thread shutdown functions
10687 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
10688 * include/string.h (__strerror_thread_freeres): Declare.
10689 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
10690 arena_thread_freeres. No longer static. Remove thread shutdown
10692 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
10694 * resolv/res-close.c (__res_thread_freeres): Renamed from
10695 res_thread_freeres. No longer static. Remove thread shutdown
10697 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
10698 * resolv/resolv_conf.c (freeres): Remove incorrect section
10699 attribute and use libc_freeres_fn.
10700 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
10701 strerror_thread_freeres. No longer static. Remove thread
10702 shutdown hook registration.
10703 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
10704 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
10705 shutdown hook registration.
10706 * Makerules (shlib.lds): Do not provide section boundary symbols
10707 for __libc_thread_subfreeres.
10708 * manual/memory.texi (Basic Allocation): Update comment.
10710 2018-06-26 Florian Weimer <fweimer@redhat.com>
10712 Remove always-defined _RPC_THREAD_SAFE_ macro.
10713 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
10714 Do not define _RPC_THREAD_SAFE_.
10715 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
10717 * sunrpc/clnt_perr.c: Likewise.
10718 * sunrpc/clnt_raw.c: Likewise.
10719 * sunrpc/clnt_simp.c: Likewise.
10720 * sunrpc/key_call.c: Likewise.
10721 * sunrpc/rpc_common.c: Likewise.
10722 * sunrpc/rpc_main.c: Likewise.
10723 * sunrpc/rpc_thread.c: Likewise.
10724 * sunrpc/svc.c: Likewise.
10725 * sunrpc/svc_raw.c: Likewise.
10726 * sunrpc/svc_simple.c: Likewise.
10727 * sumrpc/svcauth_des.c: Likewise.
10729 2018-06-26 Florian Weimer <fweimer@redhat.com>
10731 * libio/Makefile (tests-internal): Add tst-vtables,
10732 tst-vtables-interposed.
10733 * libio/tst-vtables.c: New file.
10734 * libio/tst-vtables-common.c: Likewise.
10735 * libio/tst-vtables-interposed.c: Likewise.
10737 2018-06-26 Florian Weimer <fweimer@redhat.com>
10739 * support/support_test_main.c (support_test_main): Only call
10740 setvbuf if not disables.
10741 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
10742 * support/test-driver.h (struct test_config): Add no_setvbuf member.
10744 2018-06-26 Florian Weimer <fweimer@redhat.com>
10747 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
10749 2018-06-25 Florian Weimer <fweimer@redhat.com>
10752 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10753 Use struct scratch_buffer instead of extend_alloca.
10755 2018-06-25 Florian Weimer <fweimer@redhat.com>
10758 * nss/getent.c (initgroups_keys): Use dynarray instead of
10761 2018-06-25 Florian Weimer <fweimer@redhat.com>
10764 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
10765 Use struct scratch_buffer instead of extend_alloca.
10767 2018-06-25 Florian Weimer <fweimer@redhat.com>
10770 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
10771 back to malloc directly, without stack allocations.
10773 2018-06-25 Florian Weimer <fweimer@redhat.com>
10776 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
10779 2018-06-25 Florian Weimer <fweimer@redhat.com>
10782 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
10784 * nscd/hstcache.c (addhstbyX): Likewise.
10785 * nscd/pwdcache.c (addpwbyX): Likewise.
10786 * nscd/servicescache.c (addservbyX): Likewise.
10788 2018-06-25 Florian Weimer <fweimer@redhat.com>
10791 * nscd/connections.c (read_cmdline): New function.
10792 (restart): Use it. Update comment.
10794 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10797 * localedata/locales/csb_PL (mon): Rename to...
10799 (abmon): Rename to...
10800 (ab_alt_mon): This.
10801 (mon): Add with proper genitive forms, copy from Wikipedia.
10804 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10807 * localedata/locales/csb_PL (mon): Fix typos:
10808 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
10809 (yesstr): Add, value is "jo".
10810 (nostr): Add, value is "nié".
10812 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10814 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
10815 all log1p and significand functions on m680x0.
10816 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
10817 of s_significand.c..
10818 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
10819 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
10820 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
10821 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
10822 s_log1p.c and include it..
10824 2018-06-21 Vincent Chen <vincentc@andestech.com>
10826 * elf/elf.h (R_NDS32_NONE): New define.
10827 (R_NDS32_32_RELA): Likewise.
10828 (R_NDS32_COPY): Likewise.
10829 (R_NDS32_GLOB_DAT): Likewise.
10830 (R_NDS32_JUMP_SLOT): Likewise.
10831 (R_NDS32_RELATIVE): Likewise.
10832 (R_NDS32_TLS_TPOFF): Likewise.
10833 (R_NDS32_TLS_DESC): Likewise.
10835 2018-06-21 Mark Wielaard <mark@klomp.org>
10837 * elf/elf.h (R_BPF_MAP_FD): Removed.
10838 (R_BPF_64_64, R_BPF_64_32): New.
10840 2018-06-21 Florian Weimer <fweimer@redhat.com>
10843 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
10844 Renamed from libc_feholdsetround_ctx.
10845 (default_libc_feresetround_ctx): Renamed from
10846 libc_feresetround_ctx.
10847 (default_libc_feholdsetround_noex_ctx): Renamed from
10848 libc_feholdsetround_noex_ctx.
10849 (default_libc_feresetround_noex_ctx): Renamed from
10850 libc_feresetround_noex_ctx.
10851 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
10852 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
10853 forwardning to the old implementations under the new names.
10854 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
10855 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
10856 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
10857 (libc_feresetround_ctx): Forward to default implements for i386
10858 and MATH_SET_BOTH_ROUNDING_MODES.
10859 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
10860 Add -DMATH_SET_BOTH_ROUNDING_MODES.
10862 2018-06-20 Joseph Myers <joseph@codesourcery.com>
10864 * string/tst-cmp.c: Include <libc-diag.h>.
10865 (strncmp_max): Disable -Wstringop-overflow= around call to
10867 (strncasecmp_max): Disable -Wstringop-overflow= around call to
10870 * string/bug-strpbrk1.c: Include <libc-diag.h>.
10871 (main): Disable -Wunused-value around call to strpbrk.
10872 * string/bug-strspn1.c: Include <libc-diag.h>.
10873 (main): Disable -Wunused-value around call to strspn.
10875 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10876 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10878 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
10879 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
10881 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10883 * math/Makefile (libm-calls): Move s_significandF to...
10884 (gen-libm-calls): ... here.
10885 * math/s_significand_template.c: New file.
10886 * math/s_significand.c: Removed.
10887 * math/s_significandf.c: Removed.
10888 * math/s_significandl.c: Removed.
10889 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
10890 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
10892 * math/e_exp2_template.c (declare_mgen_finite_alias,
10893 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
10894 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
10895 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
10897 2018-06-20 Florian Weimer <fweimer@redhat.com>
10899 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
10901 2018-06-19 Joseph Myers <joseph@codesourcery.com>
10904 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
10905 floating-point number to strtod functions rather than possibly
10906 negating result of those functions.
10907 * stdio-common/tst-scanf-round.c: New file.
10908 * stdio-common/Makefile (tests): Add tst-scanf-round.
10909 ($(objpfx)tst-scanf-round): Depend on $(libm).
10911 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
10913 * sysdeps/mach/hurd/localplt.data: Move to...
10914 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
10915 R_386_GLOB_DAT like on Linux i386.
10917 2018-06-18 Joseph Myers <joseph@codesourcery.com>
10919 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
10920 (SHM_STAT_ANY): New macro.
10921 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
10922 (SHM_STAT_ANY): Likewise.
10923 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
10924 (SHM_STAT_ANY): Likewise.
10925 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
10926 (SHM_STAT_ANY): Likewise.
10927 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
10928 (SHM_STAT_ANY): Likewise.
10929 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
10930 (SHM_STAT_ANY): Likewise.
10931 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
10932 (SHM_STAT_ANY): Likewise.
10933 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
10934 (SHM_STAT_ANY): Likewise.
10935 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
10936 (SHM_STAT_ANY): Likewise.
10937 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
10938 (SHM_STAT_ANY): Likewise.
10939 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
10940 (SHM_STAT_ANY): Likewise.
10941 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
10942 (SHM_STAT_ANY): Likewise.
10944 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
10945 (SEM_STAT_ANY): New macro.
10946 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
10947 (SEM_STAT_ANY): Likewise.
10948 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
10949 (SEM_STAT_ANY): Likewise.
10950 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
10951 (SEM_STAT_ANY): Likewise.
10952 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
10953 (SEM_STAT_ANY): Likewise.
10954 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
10955 (SEM_STAT_ANY): Likewise.
10956 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
10957 (SEM_STAT_ANY): Likewise.
10958 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
10959 (SEM_STAT_ANY): Likewise.
10960 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
10961 (SEM_STAT_ANY): Likewise.
10962 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
10963 (SEM_STAT_ANY): Likewise.
10965 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
10966 (MSG_STAT_ANY): New macro.
10967 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
10968 (MSG_STAT_ANY): Likewise.
10969 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
10970 (MSG_STAT_ANY): Likewise.
10971 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
10972 (MSG_STAT_ANY): Likewise.
10973 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
10974 (MSG_STAT_ANY): Likewise.
10975 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
10976 (MSG_STAT_ANY): Likewise.
10977 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
10978 (MSG_STAT_ANY): Likewise.
10979 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
10980 (MSG_STAT_ANY): Likewise.
10981 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
10982 (MSG_STAT_ANY): Likewise.
10983 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
10984 (MSG_STAT_ANY): Likewise.
10986 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10987 (MAP_TYPE): Change value to 0x2b.
10989 2018-06-18 Florian Weimer <fweimer@redhat.com>
10992 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
10993 socket with SOCK_CLOEXEC.
10995 2018-06-18 Joseph Myers <joseph@codesourcery.com>
10998 * sysdeps/powerpc/powerpc64/le/Makefile
10999 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
11000 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
11001 (gnulib-tests): Also add $(f128-loader-link) for
11002 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
11004 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
11006 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
11007 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
11009 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
11010 (sendfile64): New strong alias.
11011 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
11012 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
11013 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
11014 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
11016 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
11017 ___pthread_get_cleanup_stack.
11018 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
11019 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
11020 * mach/shortcut.awk: Make syscall stubs include
11021 <mach-shortcuts-hidden.h> and add hidden definition.
11022 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
11023 (__mach_msg): Add hidden prototype.
11024 * mach/msg.c: Include <mach.h>.
11025 (__mach_msg): Add hidden definition.
11026 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
11027 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
11028 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
11029 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
11030 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
11031 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
11032 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
11033 prototype and definition.
11034 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
11035 hidden target for _hurd_self_sigstate.
11037 2018-06-15 Joseph Myers <joseph@codesourcery.com>
11040 * stdlib/tst-strtod-nan-sign-main.c: New file.
11041 * stdlib/tst-strtod-nan-sign.c: Likewise.
11042 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
11043 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
11044 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
11045 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
11046 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
11048 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
11051 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
11054 2018-06-14 Florian Weimer <fweimer@redhat.com>
11057 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
11058 that the result stays within the ISO-8859-1 range.
11059 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
11060 characters are defined in IBM273.
11062 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
11064 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
11065 __mach_task_self): Remove attribute_hidden.
11067 2018-06-14 Joseph Myers <joseph@codesourcery.com>
11069 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
11070 ignore -Wrestrict for one test.
11072 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
11073 Szabolcs Nagy <szabolcs.nagy@arm.com>
11075 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
11077 2018-06-14 Florian Weimer <fweimer@redhat.com>
11079 * scripts/update-abilist.sh: Accept empty list of files to patch.
11081 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
11083 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
11084 test-xfail-check-abi-libmachuser): Add.
11085 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
11086 __libc_read and __libc_write to __read and __write.
11087 * sysdeps/hurd/include/hurd/port.h: New file.
11088 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
11089 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
11090 __thread_switch, __evc_wait): Move declarations to...
11091 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
11093 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
11094 use PLT to call _hurd_self_sigstate.
11096 2018-06-13 Joseph Myers <joseph@codesourcery.com>
11099 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
11100 MAX_EXP as overflowing.
11101 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
11103 (round_str): Output also whether result overflows in each rounding
11105 * stdlib/tst-strtod-round-data: Add more tests.
11106 * stdlib/tst-strtod-round-data.h: Regenerated.
11107 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
11108 (TEST): Handle extra arguments for overflow flags.
11109 (struct test_overflow): New type.
11110 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
11111 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
11112 (test_in_one_mode): Take argument with overflow information.
11113 (do_test): Update calls to test_in_one_mode.
11115 2018-06-12 Carlos O'Donell <carlos@redhat.com>
11117 * elf/dl-load (_dl_dst_substitute): Correct comment.
11118 (_dl_dst_count): Likewise.
11120 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
11121 lll_futex_timed_wait.
11123 2018-06-12 Joseph Myers <joseph@codesourcery.com>
11126 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
11128 * math/test-nan-const.c: New file.
11129 * math/Makefile (tests): Add test-nan-const.
11130 (CFLAGS-test-nan-const.c): New variable.
11132 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
11134 * benchtests/scripts/compare_strings.py (process_results): Add
11135 funcs argument. Compare only functions which are selected.
11136 (main): Check if base function is among selected functions.
11137 Pass selected functions to process_results.
11138 (__main__): Add -f/--functions argument.
11140 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
11141 Hongbo Zhang <hongbo.zhang@linaro.org>
11143 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
11144 __memcpy_falkor for phecda core.
11145 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
11146 __memmove_falkor for phecda core.
11147 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
11148 __memset_falkor for phecda core.
11149 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
11151 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
11152 macro to identify phecda core.
11154 2018-06-12 Carlos O'Donell <carlos@redhat.com>
11155 Andreas Schwab <schwab@suse.de>
11156 Dmitry V. Levin <ldv@altlinux.org>
11157 Florian Weimer <fweimer@redhat.com>
11164 * elf/dl-dst.h: Remove DL_DST_COUNT.
11165 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
11166 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
11167 (is_dst): Comment. Support ELF gABI.
11168 (_dl_dst_count): Comment. Simplify and count DSTs.
11169 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
11170 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
11173 2018-06-12 Zack Weinberg <zackw@panix.com>
11175 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
11176 * sysdeps/unix/sysv/linux/dl-sysdep.c
11177 Include not-cancel.h. Use __close_nocancel instead of __close,
11178 __open64_nocancel instead of __open, __read_nocancel instead of
11179 __libc_read, and __write_nocancel instead of __libc_write.
11181 * csu/check_fds.c (check_one_fd)
11182 * sysdeps/posix/fdopendir.c (__fdopendir)
11183 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
11184 instead of __fcntl and/or __libc_fcntl.
11186 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
11187 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
11188 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
11189 Use __open64_nocancel instead of __open_nocancel.
11191 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
11192 hidden_proto declarations to the end and issue them if either
11193 IS_IN(libc) or IS_IN(rtld).
11194 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
11195 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
11196 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
11197 read_nocancel, waitpid_nocancel, write_nocancel.
11199 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
11200 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
11201 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
11203 * nptl/pt-fcntl.c: New file.
11204 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
11205 (libpthread-routines): Add pt-fcntl.
11206 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
11207 (__libc_fcntl): Remove attribute_hidden.
11208 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
11209 __fcntl_nocancel_adjusted, not fcntl_common.
11210 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
11211 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
11212 to fcntl_nocancel.c.
11213 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
11214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
11215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11216 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
11218 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
11219 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
11220 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
11221 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
11222 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
11223 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
11224 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
11225 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
11226 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
11227 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
11228 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
11229 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
11230 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
11231 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
11232 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
11233 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
11234 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
11235 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
11236 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
11237 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
11239 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
11240 libpthread-routines.
11241 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
11244 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
11245 __libc_read, and __write instead of __libc_write. Define
11246 __open64 in addition to __open.
11248 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
11252 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
11253 to _private_tm[3] and add __glibc_reserved2.
11254 Add _Static_assert of offset of __private_ss == 0x30.
11255 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
11256 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
11258 2018-06-12 Florian Weimer <fweimer@redhat.com>
11260 x86: Make strncmp usable from rtld.
11261 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
11262 __strncmp_ia32 if in libc (and not in rtld).
11263 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
11264 strncmp if not in libc (and not to __strncmp_sse2).
11266 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
11269 * localedata/locales/gd_GB (mon): Rename to...
11271 (mon): Import from CLDR (genitive case).
11272 * localedata/locales/hsb_DE (mon): Rename to...
11274 (mon): Import from CLDR (genitive case).
11275 * localedata/locales/wa_BE (mon): Rename to...
11277 (mon): Add, fill with the proper genitive forms, but CLDR data
11278 is incomplete; completed according to the comments in this file.
11279 (d_t_fmt): Do not use "di" before the month name, no longer needed.
11281 * localedata/locales/wa_BE (country_name): Reword
11282 "Beljike" -> "Beldjike".
11284 2018-06-11 Joseph Myers <joseph@codesourcery.com>
11287 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
11288 cases of non-finite arguments.
11289 * math/libm-test-fma.inc (fma_test_data): Add more tests.
11291 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
11294 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
11296 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11299 * include/unistd.h (__execvpex): New prototype.
11300 * posix/Makefile (tests): Add tst-spawn4.
11301 (tests-internal): Add tst-spawn4-compat.
11302 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
11303 * posix/tst-spawn4-compat.c: New file.
11304 * posix/tst-spawn4.c: Likewise.
11305 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
11306 binaries as shell scripts.
11307 * sysdeps/posix/spawni.c (__spawni): Likewise.
11309 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
11312 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
11313 ($(all-built-dso:=.dynsym): New target.
11314 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
11315 ($(objpfx)check-initfini.out): New target.
11316 (generated): Add check-initfini.out.
11317 * scripts/check-initfini.awk: New file.
11318 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
11320 * sysdeps/alpha/crti.S (_init): Mark as hidden.
11322 * sysdeps/arm/crti.S (_init): Mark as hidden.
11324 * sysdeps/hppa/crti.S (_init): Mark as hidden.
11326 * sysdeps/i386/crti.S (_init): Mark as hidden.
11328 * sysdeps/ia64/crti.S (_init): Mark as hidden.
11330 * sysdeps/m68k/crti.S (_init): Mark as hidden.
11332 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
11334 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
11336 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
11338 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
11340 * sysdeps/nios2/crti.S (_init): Mark as hidden.
11342 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
11344 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
11346 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
11348 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
11350 * sysdeps/sh/crti.S (_init): Mark as hidden.
11352 * sysdeps/sparc/crti.S (_init): Mark as hidden.
11354 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
11357 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11359 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
11360 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
11361 and TF redirection to KFtype and KF only when the default
11362 long double type is not the IEEE 128-bit floating point type.
11364 2018-06-05 Joseph Myers <joseph@codesourcery.com>
11366 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
11368 (HWCAP_USCAT): Likewise.
11369 (HWCAP_ILRCPC): Likewise.
11370 (HWCAP_FLAGM): Likewise.
11371 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
11373 (_dl_aarch64_cap_flags): Add new flag names.
11375 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
11376 (MAP_FIXED_NOREPLACE): New macro.
11377 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
11378 (MAP_FIXED_NOREPLACE): Likewise.
11379 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
11380 (MAP_FIXED_NOREPLACE): Likewise.
11381 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
11382 (MAP_FIXED_NOREPLACE): Likewise.
11383 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
11384 (MAP_FIXED_NOREPLACE): Likewise.
11385 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
11386 (MAP_FIXED_NOREPLACE): Likewise.
11387 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
11388 (MAP_FIXED_NOREPLACE): Likewise.
11389 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
11390 (MAP_FIXED_NOREPLACE): Likewise.
11391 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
11392 (MAP_FIXED_NOREPLACE): Likewise.
11393 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
11394 (MAP_FIXED_NOREPLACE): Likewise.
11395 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
11396 (MAP_FIXED_NOREPLACE): Likewise.
11397 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
11398 (MAP_FIXED_NOREPLACE): Likewise.
11399 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
11400 (MAP_FIXED_NOREPLACE): Likewise.
11401 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
11402 (MAP_FIXED_NOREPLACE): Likewise.
11403 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
11404 (MAP_FIXED_NOREPLACE): Likewise.
11406 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11409 2018-06-04 Joseph Myers <joseph@codesourcery.com>
11411 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11414 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11416 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
11418 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
11420 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11422 * benchtests/scripts/compare_string.py: (process_results) Catch
11423 exception in non-existent base_func and catch exception in
11424 non-existent attribute.
11425 (parse_file) Catch exception if input file does not exist.
11427 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11429 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
11430 options to avoid diff calculation and omit header, respectively.
11431 (main): process --no-diff and --no-header
11433 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11434 H.J. Lu <hongjiu.lu@intel.com>
11436 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11437 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
11439 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11440 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
11441 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
11442 and __wcsncmp_sse2.
11443 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
11444 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
11445 AVX unaligned load is fast and vzeroupper is preferred.
11446 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
11447 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
11448 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
11449 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
11450 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
11451 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
11452 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
11453 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
11454 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
11455 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
11458 2018-06-01 Florian Weimer <fweimer@redhat.com>
11460 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
11461 configuring with --disable-multi-arch, building with
11462 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
11465 2018-06-01 Florian Weimer <fweimer@redhat.com>
11467 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
11468 results from building with “-march=x86-64 -mtune=generic
11469 -mfpmath=sse” and running on a Haswell-era CPU.
11471 2018-06-01 Joseph Myers <joseph@codesourcery.com>
11474 * soft-fp/sqrttf2.c: Remove file.
11475 * soft-fp/sqrtdf2.c: Move to ....
11476 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
11478 (__sqrtdf2): Make conditional on
11479 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
11481 * soft-fp/sqrtsf2.c: Move to ....
11482 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
11484 (__sqrtsf2): Make conditional on
11485 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
11487 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
11488 (gcc-double-routines): Remove sqrtdf2.
11489 (gcc-quad-routines): Remove sqrttf2.
11490 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
11491 Do not filter out sqrtsf2 and sqrtdf2.
11492 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11493 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
11495 2018-06-01 Florian Weimer <fweimer@redhat.com>
11497 * sysdeps/generic/libcidn.abilist: Remove file.
11499 2018-06-01 Florian Weimer <fweimer@redhat.com>
11502 * libio/strfile.h (struct _IO_str_fields): Rename members to
11503 discourage their use and add comment.
11504 (_IO_STR_DYNAMIC): Remove unused macro.
11505 * libio/strops.c (_IO_str_init_static_internal): Do not use
11506 callback pointers. Call malloc and free.
11507 (_IO_str_overflow): Do not use callback pointers. Call malloc
11509 (enlarge_userbuf): Likewise.
11510 (_IO_str_finish): Call free.
11511 * libio/wstrops.c (_IO_wstr_init_static): Initialize
11512 _allocate_buffer_unused.
11513 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
11515 (enlarge_userbuf): Likewise.
11516 (_IO_wstr_finish): Call free.
11517 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
11518 _allocate_buffer_unused, _free_buffer_unused.
11519 * libio/memstream.c (__open_memstream): Likewise.
11520 * libio/vasprintf.c (_IO_vasprintf): Likewise.
11521 * libio/wmemstream.c (open_wmemstream): Likewise.
11523 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
11525 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
11528 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11530 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
11531 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
11532 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
11534 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
11536 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
11538 2018-05-29 Florian Weimer <fweimer@redhat.com>
11540 * support/Makefile (libsupport-routines): Add
11541 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
11542 xpthread_barrierattr_setpshared.
11543 * support/xpthread_barrierattr_destroy.c: New file.
11544 * support/xpthread_barrierattr_init.c: Likewise.
11545 * support/xpthread_barrierattr_setpshared.c: Likewise.
11547 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
11550 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
11551 _r_debug and update DT_DEBUG for debugger.
11553 2018-05-29 Florian Weimer <fweimer@redhat.com>
11555 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
11556 (tst-strtod5i.out): Likewise.
11558 2018-05-25 Joseph Myers <joseph@codesourcery.com>
11560 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
11561 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
11562 (sparc64-quad-routines): New variable. Moved from ....
11563 [$(subdir) = soft-fp] (sysdep_routines): Add
11564 $(sparc64-quad-routines). Moved from ....
11565 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
11566 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
11567 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
11569 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
11570 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
11571 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
11572 * sysdeps/sparc/sparc64/qp_add.c: ... here.
11573 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
11574 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
11575 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
11576 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
11577 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
11578 * sysdeps/sparc/sparc64/qp_div.c: ... here.
11579 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
11580 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
11581 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
11582 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
11583 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
11584 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
11585 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
11586 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
11587 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
11588 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
11589 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
11590 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
11591 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
11592 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
11593 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
11594 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
11595 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
11596 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
11597 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
11598 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
11599 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
11600 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
11601 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
11602 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
11603 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
11604 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
11605 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
11606 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
11607 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
11608 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
11609 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
11610 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
11611 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
11612 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
11613 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
11614 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
11615 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
11616 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
11617 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
11618 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
11619 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
11620 * sysdeps/sparc/sparc64/qp_util.c: ... here.
11621 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
11622 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
11623 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
11624 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
11625 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
11626 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
11628 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
11629 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
11630 (sparc32-quad-routines): New variable. Moved from ....
11631 [$(subdir) = soft-fp] (sysdep_routines): Add
11632 $(sparc32-quad-routines). Moved from ....
11633 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
11634 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
11636 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
11637 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
11638 * sysdeps/sparc/sparc32/q_add.c: ... here.
11639 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
11640 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
11641 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
11642 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
11643 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
11644 * sysdeps/sparc/sparc32/q_div.c: ... here.
11645 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
11646 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
11647 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
11648 * sysdeps/sparc/sparc32/q_feq.c: ... here.
11649 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
11650 * sysdeps/sparc/sparc32/q_fge.c: ... here.
11651 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
11652 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
11653 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
11654 * sysdeps/sparc/sparc32/q_fle.c: ... here.
11655 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
11656 * sysdeps/sparc/sparc32/q_flt.c: ... here.
11657 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
11658 * sysdeps/sparc/sparc32/q_fne.c: ... here.
11659 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
11660 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
11661 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
11662 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
11663 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
11664 * sysdeps/sparc/sparc32/q_mul.c: ... here.
11665 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
11666 * sysdeps/sparc/sparc32/q_neg.c: ... here.
11667 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
11668 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
11669 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
11670 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
11671 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
11672 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
11673 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
11674 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
11675 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
11676 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
11677 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
11678 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
11679 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
11680 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
11681 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
11682 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
11683 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
11684 * sysdeps/sparc/sparc32/q_sub.c: ... here.
11685 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
11686 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
11687 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
11688 * sysdeps/sparc/sparc32/q_util.c: ... here.
11689 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
11690 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
11691 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
11692 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
11694 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11695 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11697 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
11698 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
11699 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
11700 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
11702 2018-05-24 Joseph Myers <joseph@codesourcery.com>
11704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
11706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11708 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
11709 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
11711 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11714 * math/math.h [C++] (iseqsig): Fix parameter type for the long
11717 2018-05-23 Joseph Myers <joseph@codesourcery.com>
11719 * sysdeps/sh/Implies: Remove sh/soft-fp.
11720 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
11721 * sysdeps/sh/sfp-machine.h: ... here.
11723 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11725 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11726 (__mempcpy_erms): Skip zero length.
11727 (__memmove_erms): Likewise.
11728 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11729 (__memset_erms): Likewise.
11731 2018-05-23 Joseph Myers <joseph@codesourcery.com>
11733 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
11734 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
11735 Add functions moved from ....
11736 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
11737 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
11738 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
11740 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
11741 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
11742 * sysdeps/alpha/e_sqrtl.c: ... here.
11743 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
11744 * sysdeps/alpha/local-soft-fp.h: ... here.
11745 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
11746 * sysdeps/alpha/ots_add.c: ... here.
11747 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
11748 * sysdeps/alpha/ots_cmp.c: ... here.
11749 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
11750 * sysdeps/alpha/ots_cmpe.c: ... here.
11751 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
11752 * sysdeps/alpha/ots_cvtqux.c: ... here.
11753 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
11754 * sysdeps/alpha/ots_cvtqx.c: ... here.
11755 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
11756 * sysdeps/alpha/ots_cvttx.c: ... here.
11757 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
11758 * sysdeps/alpha/ots_cvtxq.c: ... here.
11759 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
11760 * sysdeps/alpha/ots_cvtxt.c: ... here.
11761 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
11762 * sysdeps/alpha/ots_div.c: ... here.
11763 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
11764 * sysdeps/alpha/ots_mul.c: ... here.
11765 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
11766 * sysdeps/alpha/ots_nintxq.c: ... here.
11767 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
11768 * sysdeps/alpha/ots_sub.c: ... here.
11769 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
11770 * sysdeps/alpha/sfp-machine.h: ... here.
11772 2018-05-23 Florian Weimer <fweimer@redhat.com>
11780 Switch to extern IDNA implementation (libidn2).
11781 * libidn: Remove subdirectory.
11782 * LICENSES: Do not mention licensing conditions for the removed
11784 * config.h.in (HAVE_LIBIDN): Remove.
11785 * include/dlfcn.h (__libc_dlopen): Update comment.
11786 * include/idna.h: Remove file.
11787 * inet/Makefile (routines): Add idna.
11788 (tests-static, tests-internal): Add tst-idna_name_classify.
11789 (LOCALES): Generate locales for tests.
11790 (tst-idna_name_classify.out): Depend on generated locales.
11791 * inet/idna_name_classify.c: New file.
11792 * inet/tst-idna_name_classify.c: Likewise.
11793 * inet/net-internal.h (__idna_to_dns_encoding)
11794 (__idna_from_dns_encoding): Declare.
11795 * inet/net-internal.h (enum idna_name_classification): Define.
11796 (__idna_name_classify): Declare.
11797 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
11798 __idna_from_dns_encoding.
11799 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
11800 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
11801 name as a fallback in case of encoding errors.
11802 (getnameinfo): Use DEPRECATED_NI_IDN.
11803 * inet/idna.c: New file.
11804 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
11805 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
11806 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
11807 (modules-names): Add tst-no-libidn2.
11808 (extra-test-objs): Add tst-no-libidn2.os.
11809 (LDFLAGS-tst-no-libidn2.so): Set soname.
11810 (LOCALES): Set, and generate locales.
11811 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
11812 (tst-resolv-ai_idn-latin1): Likewise.
11813 (tst-resolv-ai_idn-nolibidn2): Likewise.
11814 (tst-resolv-ai_idn.out): Depend on locales.
11815 (tst-resolv-ai_idn-latin1.out): Depend on locales.
11816 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
11818 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
11819 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
11820 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
11821 * resolv/tst-resolv-ai_idn.c: New file.
11822 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
11823 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
11824 * resolv/tst-no-libidn2.c: Likewise.
11825 * support/support_format_addrinfo.c (format_ai_flags): Do not
11826 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
11827 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
11828 (gaih_inet): Call __idna_to_dns_encoding and
11829 __idna_from_dns_encoding, and use the original (punycode) name if
11830 __idna_from_dns_encoding fails due to an encoding error.
11831 (getaddrinfo): Use DEPRECATED_AI_IDN.
11832 * sysdeps/unix/inet/Subdirs (libidn): Remove.
11833 * sysdeps/unix/inet/configure: Remove file.
11834 * sysdeps/unix/inet/configure.ac: Likewise.
11836 2018-05-23 Florian Weimer <fweimer@redhat.com>
11838 Implement allocate_once.
11839 * include/allocate_once.h: New file.
11840 * misc/allocate_once.c: Likewise.
11841 * misc/tst-allocate_once.c: Likewise.
11842 * misc/Makefile (routines): Add allocate_once.
11843 (tests-internal): Add tst-allocate_once.
11844 (generated): Add tst-allocate_once.mtrace,
11845 tst-allocate_once-mem.out.
11846 (tests-special): Add tst-allocate_once-mem.out.
11847 (tst-allocate_once-ENV): Set MALLOC_TRACE.
11848 (tst-allocate_once-mem.out): Call mtrace.
11849 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
11851 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11854 * string/test-memcpy.c (do_test1): New function.
11855 (test_main): Call it.
11857 2018-05-23 Andreas Schwab <schwab@suse.de>
11861 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
11862 (L(preloop_large)): Save initial destination pointer in %r11 and
11863 use it instead of %rax after the loop.
11864 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
11866 2018-05-22 Joseph Myers <joseph@codesourcery.com>
11868 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
11869 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
11870 -I../soft-fp. Moved from ....
11871 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
11872 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
11873 * sysdeps/aarch64/e_sqrtl.c: ... here.
11874 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
11875 * sysdeps/aarch64/sfp-machine.h: ... here.
11877 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
11878 -Wmaybe-uninitialized around access to fq[0].
11879 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11883 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
11884 aliases for non-libc case of versioned symbols.
11885 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
11886 (llseek): Define as compat symbol if
11887 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
11889 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
11890 Make into a compat symbol, disabled for minimum symbol version
11891 GLIBC_2.28 and later.
11892 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
11894 2018-05-22 Florian Weimer <fweimer@redhat.com>
11896 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
11897 not add -mpreferred-stack-boundary=4.
11898 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
11899 (stack-align-test-flags): Likewise.
11900 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
11902 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
11903 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
11904 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
11905 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
11906 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
11907 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
11908 (CFLAGS-tst-align2.c): Likewise.
11910 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
11912 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
11913 (index_arch_Prefer_FSRM): Likewise.
11914 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
11915 Also check Prefer_FSRM.
11916 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
11917 Also return OPTIMIZE (erms) for Prefer_FSRM.
11919 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
11921 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
11922 (index_cpu_FSRM): Likewise.
11923 (reg_FSRM): Likewise.
11925 2018-05-18 Joseph Myers <joseph@codesourcery.com>
11927 * math/gen-tgmath-tests.py: Import sys.
11928 (Tests.__init__): Initialize macros_seen.
11929 (Tests.add_tests): Add macro to macros_seen. Only generate tests
11930 if requested to do so for this macro.
11931 (Tests.add_all_tests): Take argument for macro for which to
11933 (Tests.check_macro_list): New function.
11934 (main): Handle check-list argument and argument specifying macro
11935 for which to generate tests.
11936 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
11937 [PYTHON] (tgmath3-macro-tests): Likewise.
11938 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
11939 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
11940 not test-tgmath3.c.
11941 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
11942 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
11944 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
11945 [PYTHON] ($(foreach
11946 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
11948 [PYTHON] (tests-special): Add
11949 $(objpfx)test-tgmath3-macro-list.out.
11950 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
11952 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
11953 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
11957 * time/tzset.c (SECSPERDAY): Cast to time_t.
11958 * time/tst-y2039.c: New file.
11959 * time/Makefile (tests): Add tst-y2039.
11961 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11963 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11964 (PREFETCH_ONE_SET): Remove duplicate line.
11966 2018-05-17 Florian Weimer <fweimer@redhat.com>
11968 * sysdeps/generic/math-type-macros-double.h: Include
11969 <math-nan-payload-double.h> after <libm-alias-double.h>.
11970 * sysdeps/generic/math-type-macros-float.h: Include
11971 <math-nan-payload-float.h> after <libm-alias-float.h>.
11972 * sysdeps/generic/math-type-macros-float128.h: Include
11973 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
11974 * sysdeps/generic/math-type-macros-ldouble.h: Include
11975 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
11977 2018-05-17 Andreas Schwab <schwab@suse.de>
11979 * resolv/res_send.c (__res_context_send): Don't set errno when
11980 returing error after malloc failure.
11982 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
11984 * nptl/allocatestack.c (allocate_stack): Remove the
11985 !__ASSUME_PRIVATE_FUTEX paths.
11986 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
11987 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11989 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
11990 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11991 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11992 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11993 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
11994 !__ASSUME_PRIVATE_FUTEX path.
11995 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
11996 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
11997 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11998 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
11999 !__ASSUME_PRIVATE_FUTEX macros.
12000 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12001 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
12002 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
12003 * sysdeps/unix/sysv/linux/kernel-features.h
12004 (__ASSUME_PRIVATE_FUTEX): Removed.
12006 2018-05-17 Joseph Myers <joseph@codesourcery.com>
12008 * math/Makefile (libm-narrow-fns): Add div.
12009 (libm-test-funcs-narrow): Likewise.
12010 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
12011 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
12012 * math/gen-auto-libm-tests.c (test_functions): Add div.
12013 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
12014 (NARROW_DIV_ROUND_TO_ODD): Likewise.
12015 (NARROW_DIV_TRIVIAL): Likewise.
12016 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
12018 (__ddivl): Likewise.
12019 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
12021 (CFLAGS-nldbl-ddiv.c): New variable.
12022 (CFLAGS-nldbl-fdiv.c): Likewise.
12023 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12025 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
12027 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
12028 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
12029 * math/auto-libm-test-in: Add tests of div.
12030 * math/auto-libm-test-out-narrow-div: New generated file.
12031 * math/libm-test-narrow-div.inc: New file.
12032 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
12033 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
12034 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
12035 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
12036 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
12037 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
12038 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
12039 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
12040 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
12041 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
12042 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
12043 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
12044 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
12045 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
12046 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
12047 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
12048 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
12049 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
12050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12051 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12052 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12053 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12054 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12055 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12056 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12057 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12058 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12059 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12060 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12061 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12062 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12063 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12068 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12069 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12070 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12071 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12072 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12073 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12074 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12075 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12077 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12080 * nscd/nscd-client.h (sendfileall): Remove prototype.
12081 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
12082 (handle_request): Use writeall instead of sendfileall.
12083 * nscd/aicache.c (addhstaiX): Likewise.
12084 * nscd/grpcache.c (cache_addgr): Likewise.
12085 * nscd/hstcache.c (cache_addhst): Likewise.
12086 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12087 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
12088 * nscd/pwdcache.c (cache_addpw): Likewise.
12089 * nscd/servicescache.c (cache_addserv): Likewise.
12090 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
12091 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
12092 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
12095 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
12097 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
12098 Include <string/strncat.c>.
12099 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
12101 (__GI___strncat): New hidden alias.
12103 2018-05-16 Joseph Myers <joseph@codesourcery.com>
12105 * sysdeps/mips/mips32/libm-test-ulps: Update.
12106 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12108 2018-05-16 Florian Weimer <fweimer@redhat.com>
12110 * support/Makefile (libsupport-routines): Add support_quote_blob,
12111 support_test_compare_blob.
12112 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
12113 * support/check.h (TEST_COMPARE_BLOB): Define.
12114 (support_test_compare_blob): Declare.
12115 * support/support.h (support_quote_blob): Declare.
12116 * support/support_quote_blob.c: New file.
12117 * support/support_test_compare_blob.c: Likewise.
12118 * support/tst-support_quote_blob.c: Likewise.
12119 * support/tst-test_compare_blob.c: Likewise.
12121 2018-05-16 Florian Weimer <fweimer@redhat.com>
12123 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
12124 of <strtod_nan_double.h>.
12125 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
12126 instead of SET_MANTISSA.
12127 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
12128 of include <strtod_nan_float.h>.
12129 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
12130 instead of <strtod_nan_ldouble.h>.
12131 * stdlib/strtod_nan_double.h: Move to ...
12132 * sysdeps/generic/math-nan-payload-double.h: ... here.
12133 (FLOAT): Remove definition.
12134 (SET_MANTISSA): Rename to ...
12135 (SET_NAN_PAYLOAD): ... this.
12136 * stdlib/strtod_nan_float.h: Move to ...
12137 * sysdeps/generic/math-nan-payload-float.h: ... here.
12138 (FLOAT): Remove definition.
12139 (SET_MANTISSA): Rename to ...
12140 (SET_NAN_PAYLOAD): ... this.
12141 * sysdeps/generic/math-type-macros-double.h: Include
12142 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
12143 instead of <math-svid-compat.h>.
12144 * sysdeps/generic/math-type-macros-float.h: Include
12145 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
12146 instead of <math-svid-compat.h>.
12147 * sysdeps/generic/math-type-macros-float128.h: Include
12148 <math-nan-payload-float128.h>.
12149 * sysdeps/generic/math-type-macros-ldouble.h: Include
12150 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
12151 instead of <math-svid-compat.h>.
12152 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
12153 check for definition.
12154 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
12155 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
12156 Include <ieee754_float128.h>.
12157 (FLOAT): Remove definition.
12158 (SET_MANTISSA): Rename to ...
12159 (SET_NAN_PAYLOAD): ... this.
12160 * sysdeps/ieee754/float128/strtof128_nan.c: Include
12161 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
12162 Do not include <float128_private.h>.
12163 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
12164 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
12165 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
12166 (FLOAT): Remove definition.
12167 (SET_MANTISSA): Rename to ...
12168 (SET_NAN_PAYLOAD): ... this.
12169 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
12170 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
12171 (FLOAT): Remove definition.
12172 (SET_MANTISSA): Rename to ...
12173 (SET_NAN_PAYLOAD): ... this.
12174 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
12175 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
12176 (FLOAT): Remove definition.
12177 (SET_MANTISSA): Rename to ...
12178 (SET_NAN_PAYLOAD): ... this.
12179 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
12180 of "../stdlib/strtod_nan_double.h".
12181 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
12182 of "../stdlib/strtod_nan_float.h".
12183 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
12184 instead of "../stdlib/strtod_nan_ldouble.h".
12185 * manual/arith.texi (Parsing of Floats): Adjust comment.
12187 2018-05-16 Joseph Myers <joseph@codesourcery.com>
12189 * math/Makefile (libm-narrow-fns): Add mul.
12190 (libm-test-funcs-narrow): Likewise.
12191 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
12192 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
12193 * math/gen-auto-libm-tests.c (test_functions): Add mul.
12194 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
12195 (NARROW_MUL_ROUND_TO_ODD): Likewise.
12196 (NARROW_MUL_TRIVIAL): Likewise.
12197 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
12198 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
12200 (__dmull): Likewise.
12201 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
12203 (CFLAGS-nldbl-dmul.c): New variable.
12204 (CFLAGS-nldbl-fmul.c): Likewise.
12205 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12207 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
12209 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
12210 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
12211 * math/auto-libm-test-in: Add tests of mul.
12212 * math/auto-libm-test-out-narrow-mul: New generated file.
12213 * math/libm-test-narrow-mul.inc: New file.
12214 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
12215 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
12216 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
12217 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
12218 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
12219 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
12220 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
12221 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
12222 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
12223 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
12224 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
12225 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
12226 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
12227 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
12228 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
12229 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
12230 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
12231 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
12232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12233 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12234 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12235 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12236 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12237 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12238 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12239 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12240 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12241 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12242 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12243 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12244 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12245 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12250 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12251 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12252 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12253 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12254 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12255 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12256 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12257 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12259 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12261 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
12262 with *%eax in call.
12264 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12266 * sysdeps/i386/ldsodefs.h: Removed.
12267 * sysdeps/x86_64/ldsodefs.h: Moved to ...
12268 * sysdeps/x86/ldsodefs.h: This.
12269 (La_i86_regs): New.
12270 (La_i86_retval): Likewise.
12271 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
12272 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
12274 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12276 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
12279 2018-05-13 Alan Modra <amodra@gmail.com>
12281 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
12282 R_PARISC_TLS_DTPOFF32 reloc addend.
12284 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12286 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
12287 * math/math.h: Restrict the prototype definition for the functions
12288 issignaling(_Float128) and iszero(_Float128); and template
12289 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
12290 __HAVE_FLOAT128_UNLIKE_LDBL.
12291 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
12292 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
12293 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
12294 __f128() constants; define the type _Float128 as long double;
12295 and reuse long double in __CFLOAT128.
12297 2018-05-11 Joseph Myers <joseph@codesourcery.com>
12299 * sysdeps/generic/math_private.h: Do not include
12301 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
12303 * math/fromfp.h: Include <math-barriers.h>.
12304 * math/math-narrow.h: Likewise.
12305 * math/s_nextafter.c: Likewise.
12306 * math/s_nexttowardf.c: Likewise.
12307 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
12308 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
12309 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
12310 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
12311 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12312 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12313 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12314 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12315 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12316 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12317 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12318 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12319 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12320 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12321 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12322 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12323 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12324 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12325 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12326 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12327 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12328 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12329 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12330 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12331 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12332 * sysdeps/ieee754/k_standardl.c: Likewise.
12333 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12334 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12335 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12336 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12337 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12338 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12339 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12340 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12341 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12342 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12343 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12344 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12345 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12346 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12347 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12348 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12349 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12350 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12351 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12352 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12353 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
12354 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
12356 2018-05-11 Florian Weimer <fweimer@redhat.com>
12358 Use 64-bit epoch values in the time zone file parser.
12359 * include/time.h (internal_time_t): Define.
12360 (__tzfile_compute): Use it.
12361 * time/tzfile.c (struct leap): Use internal_time_t for epoch
12363 (transitions): Switch to internal_time_t.
12364 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
12366 (__tzfile_compute): Use internal_time_t for timer argument. Check
12367 for truncation before calling __offtime.
12369 2018-05-11 Florian Weimer <fweimer@redhat.com>
12372 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
12373 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
12375 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
12376 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
12377 export without --enable-obsolete-rpc.
12378 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
12379 symbol. This should not have been exported, ever.
12381 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
12384 * localedata/locales/gd_GB (abmon): Fix typo in May:
12385 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
12387 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
12389 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
12390 Use multiple registers to copy data in loop tail.
12392 * sysdeps/aarch64/multiarch/memmove_falkor.S
12393 (__memmove_falkor): Use multiple registers to move data in
12396 2018-05-10 Joseph Myers <joseph@codesourcery.com>
12398 * math/math-underflow.h: New file.
12399 * sysdeps/generic/math_private.h: Do not include <float.h>.
12400 (fabs_tg): Remove macro. Moved to math-underflow.h.
12401 (min_of_type_f): Likewise.
12402 (min_of_type_): Likewise.
12403 (min_of_type_l): Likewise.
12404 (min_of_type_f128): Likewise.
12405 (min_of_type): Likewise.
12406 (math_check_force_underflow): Likewise.
12407 (math_check_force_underflow_nonneg): Likewise.
12408 (math_check_force_underflow_complex): Likewise.
12409 * math/e_exp2_template.c: Include <math-underflow.h>.
12410 * math/k_casinh_template.c: Likewise.
12411 * math/s_catan_template.c: Likewise.
12412 * math/s_catanh_template.c: Likewise.
12413 * math/s_ccosh_template.c: Likewise.
12414 * math/s_cexp_template.c: Likewise.
12415 * math/s_clog10_template.c: Likewise.
12416 * math/s_clog_template.c: Likewise.
12417 * math/s_csin_template.c: Likewise.
12418 * math/s_csinh_template.c: Likewise.
12419 * math/s_csqrt_template.c: Likewise.
12420 * math/s_ctan_template.c: Likewise.
12421 * math/s_ctanh_template.c: Likewise.
12422 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12423 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12424 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12425 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12426 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12427 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12428 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12429 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12430 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12431 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12432 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12433 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12434 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12435 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12436 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12437 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12438 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12439 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12440 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12441 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12442 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12443 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12444 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12445 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12446 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12447 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12448 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12449 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12450 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12451 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12452 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12453 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12454 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12455 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12456 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12457 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12458 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12459 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12460 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12461 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12462 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12463 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12464 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12465 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12466 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12467 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12468 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12469 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12470 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12471 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12472 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12473 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12474 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12475 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
12476 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12477 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12478 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12479 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12480 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12481 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12482 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12483 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
12484 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12485 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12486 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12487 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12488 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12489 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12490 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12491 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12492 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12493 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12494 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12495 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
12496 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12497 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12498 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12499 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12500 * sysdeps/x86/fpu/powl_helper.c: Likewise.
12501 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
12502 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
12503 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
12504 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
12505 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
12507 2018-05-09 Joseph Myers <joseph@codesourcery.com>
12509 * sysdeps/generic/math-barriers.h: New file.
12510 * sysdeps/generic/math_private.h [!math_opt_barrier]
12511 (math_opt_barrier): Move to math-barriers.h.
12512 [!math_opt_barrier] (math_force_eval): Likewise.
12513 * sysdeps/aarch64/fpu/math-barriers.h: New file.
12514 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
12516 (math_force_eval): Likewise.
12517 * sysdeps/alpha/fpu/math-barriers.h: New file.
12518 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
12520 (math_force_eval): Likewise.
12521 * sysdeps/x86/fpu/math-barriers.h: New file.
12522 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
12524 (math_force_eval): Likewise.
12525 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
12526 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
12527 multiple-include guard for rename.
12528 * sysdeps/powerpc/fpu/math-barriers.h: New file.
12529 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
12531 (math_force_eval): Likewise.
12533 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
12537 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
12539 * stdlib/Makefile (test-bz22786): New test.
12540 * stdlib/test-bz22786.c: New test.
12542 2018-05-09 Joseph Myers <joseph@codesourcery.com>
12544 * include/math-narrow-eval.h: New file. Contents moved from ....
12545 * sysdeps/generic/math_private.h: ... here.
12546 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
12547 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
12548 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
12549 * stdlib/strtod_l.c: Likewise.
12550 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
12551 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12552 * sysdeps/i386/fpu/s_fdim.c: Likewise.
12553 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12554 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12555 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12556 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12557 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12558 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12559 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
12560 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12561 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
12562 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12563 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12564 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12565 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12566 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12567 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12568 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12569 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12570 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12571 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12572 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12573 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12574 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12575 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12576 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12577 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12578 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
12580 2018-05-08 Andreas Schwab <schwab@suse.de>
12582 * sysdeps/nptl/internaltypes.h: Fix comment.
12584 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
12586 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12587 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
12590 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
12592 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
12593 of I into loop header.
12594 * benchtests/bench-memmove-walk.c
12595 (test_main): Likewise.
12597 2018-05-07 Alexandre Oliva <oliva@gnu.org>
12600 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
12601 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
12603 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12606 * elf/dl-load.c (open_verify): Fix stack overflow.
12607 * elf/Makefile (tst-big-note): New test.
12608 * elf/tst-big-note-lib.S: New.
12609 * elf/tst-big-note.c: New.
12611 2018-05-04 Joseph Myers <joseph@codesourcery.com>
12613 * scripts/abilist.awk: Ignore absolute symbols.
12614 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
12615 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
12616 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
12617 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
12618 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
12619 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
12620 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12621 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
12622 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
12623 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
12624 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
12625 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
12626 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
12627 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
12628 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
12629 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
12630 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
12631 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
12632 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12633 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
12634 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
12635 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
12636 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
12637 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
12638 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
12639 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
12640 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
12641 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
12642 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12643 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
12644 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
12645 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12646 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
12647 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
12648 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
12649 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
12650 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
12651 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
12652 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
12653 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
12654 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
12655 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12656 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
12657 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
12658 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12659 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
12660 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
12661 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
12662 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
12663 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
12664 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
12665 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
12666 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
12667 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
12668 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12669 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
12670 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
12671 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12672 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
12673 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
12674 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
12675 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
12676 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
12677 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
12678 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
12679 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
12680 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
12681 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12682 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
12683 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
12684 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12685 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
12686 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
12687 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
12688 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
12689 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
12690 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
12691 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
12692 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
12693 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
12694 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12695 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
12696 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
12697 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12698 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
12699 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
12700 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
12701 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
12702 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
12703 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
12704 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
12705 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
12707 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
12708 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12709 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
12710 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
12711 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12712 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
12713 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
12714 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
12715 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
12716 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
12717 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
12718 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
12719 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
12721 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
12722 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12723 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
12724 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
12725 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12726 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
12727 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
12728 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
12729 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
12730 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
12731 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
12732 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
12733 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
12734 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
12735 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12736 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
12737 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
12738 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12739 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
12740 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
12741 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
12742 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
12743 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
12744 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
12745 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12746 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
12747 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
12749 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
12750 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
12751 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
12752 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
12753 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12754 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
12755 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
12756 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
12757 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
12758 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
12759 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
12760 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
12761 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
12762 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
12763 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
12764 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
12765 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
12766 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
12767 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12768 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
12770 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
12771 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
12772 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
12773 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12774 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
12775 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
12776 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
12777 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
12778 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
12779 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
12780 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12781 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
12782 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
12783 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12784 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
12785 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
12786 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
12787 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
12788 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12789 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
12790 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
12791 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12792 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
12793 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
12794 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
12795 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
12796 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
12797 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
12798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
12799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
12801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
12803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
12804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
12805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
12806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
12807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
12809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
12811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
12812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
12814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
12815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
12820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
12821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
12823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
12825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
12827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
12828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
12832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
12833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
12834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
12835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
12839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
12840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
12846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
12848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
12849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
12850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
12852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
12854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
12856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
12857 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
12858 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
12860 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
12861 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12862 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
12863 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
12864 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12865 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
12866 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
12867 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
12868 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
12869 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
12870 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
12871 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
12872 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
12873 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
12875 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12876 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
12877 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
12878 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12879 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
12880 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
12881 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
12882 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
12883 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
12884 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
12885 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
12886 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
12888 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12889 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
12890 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
12891 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12892 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
12893 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
12894 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
12895 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
12896 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
12897 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
12898 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
12899 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
12900 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
12901 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12902 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
12903 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
12904 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12905 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
12906 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
12907 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
12908 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
12909 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
12910 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
12911 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
12912 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
12914 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
12915 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12916 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
12917 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
12918 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12919 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
12920 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
12921 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
12922 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
12923 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
12924 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
12925 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
12926 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
12928 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
12929 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12930 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
12931 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
12932 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12933 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
12934 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
12935 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
12936 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
12937 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
12938 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
12939 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
12940 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
12941 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
12942 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12943 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
12944 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
12945 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12946 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
12947 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
12948 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
12949 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
12950 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
12951 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
12952 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
12953 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
12954 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
12955 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
12956 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12957 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
12958 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
12959 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12960 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
12961 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
12962 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
12963 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
12964 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
12965 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
12967 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
12970 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
12971 Use atomic_load_acquire to load __tid.
12973 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12975 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
12976 Restore the pointer into %rdx, after syscall and use %rdx,
12977 instead of %rsi, to restore context.
12979 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12981 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
12982 Pop the pointer into %rdx after syscall and use %rdx, instead
12983 of %rsi, to restore context.
12985 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12987 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
12988 handlers after setjmp.
12989 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
12991 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
12992 <libc-pointer-arith.h>.
12993 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
12994 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
12995 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
12996 _JUMP_BUF_SIGSET_BITS_PER_WORD.
12997 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
12998 * sysdeps/x86/__longjmp_cancel.S: New file.
12999 * sysdeps/x86/longjmp.c: Likewise.
13000 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
13002 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13004 * NEWS: Add ustat.h deprecation entry.
13005 * bits/ustat.h: Remove file.
13006 * misc/sys/ustat.h: Likewise.
13007 * misc/ustat.h: Likewise.
13008 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
13009 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
13010 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
13011 compatibility mode.
13012 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
13013 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
13014 generic Linux implementation.
13016 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13018 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
13019 * math/w_expl_compat.c: Likewise.
13020 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
13022 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
13024 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
13026 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13028 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
13029 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
13030 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
13032 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
13033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13034 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13035 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
13036 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
13039 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13041 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
13043 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
13044 * math/w_asin_template.c: Likewise.
13045 * math/w_atanh_template.c: Likewise.
13047 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13049 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
13050 to powerpc/powerpc64/be for big-endian.
13051 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
13054 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
13055 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
13056 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
13057 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
13058 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
13059 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
13060 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
13061 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
13062 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
13063 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13064 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
13065 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
13066 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
13067 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
13068 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
13069 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
13070 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
13071 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
13072 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
13073 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
13074 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
13075 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13076 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
13077 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
13078 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
13079 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13080 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
13081 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
13082 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
13083 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
13084 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
13085 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
13087 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
13088 adjusted to imply powerpc64 and older processors on powerpc64/be.
13089 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
13090 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
13091 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
13092 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
13093 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
13094 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
13095 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
13096 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
13097 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
13098 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
13099 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
13100 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
13101 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
13102 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
13103 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
13104 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
13105 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
13106 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
13107 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
13108 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
13109 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
13110 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
13111 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
13112 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
13113 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
13114 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
13115 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
13116 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
13117 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
13118 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
13119 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
13121 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
13122 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
13123 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
13124 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
13126 * sysdeps/powerpc/powerpc64/be/Implies: New file.
13127 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
13128 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
13129 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
13131 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
13132 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
13133 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
13134 * sysdeps/powerpc/powerpc64le/configure: Likewise.
13135 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
13136 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
13137 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
13138 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
13139 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
13140 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
13141 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
13143 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
13144 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
13145 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
13146 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
13147 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
13148 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
13149 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
13150 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
13151 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
13152 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
13153 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
13155 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
13156 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
13157 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
13158 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
13159 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
13160 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
13161 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
13162 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
13163 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
13164 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
13165 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
13166 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
13168 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
13169 and adjusted to imply olders processors.
13170 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
13171 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
13172 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
13173 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
13174 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
13175 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
13176 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
13177 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
13178 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
13179 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
13180 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
13182 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
13184 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
13185 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
13187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
13189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
13190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
13192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
13194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
13196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
13198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
13199 powerpc64 and adjusted.
13200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
13201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
13202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
13205 2018-04-27 Joseph Myers <joseph@codesourcery.com>
13207 * sysdeps/tile: Remove.
13208 * sysdeps/unix/sysv/linux/tile: Likewise.
13209 * README (tilegx-*-linux-gnu): Remove from list of supported
13211 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
13212 contribution of support for generic Linux kernel syscall
13214 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
13215 tilegx configurations.
13216 (Config.install_linux_headers): Do not handle tile.
13217 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
13219 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
13220 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
13221 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
13222 conditional undefine and redefine.
13223 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
13225 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
13226 conditional undefine and redefine.
13228 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
13230 * signal/tst-sigaction.c: New file to test BZ #23069.
13231 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
13233 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13236 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
13237 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
13238 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
13239 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
13241 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13243 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
13244 _DIRENT_MATCHES_DIRENT64 is not defined.
13245 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
13246 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
13248 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
13249 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
13251 2018-04-25 Joseph Myers <joseph@codesourcery.com>
13253 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
13254 version to GCC 8 branch.
13256 2018-04-24 Joseph Myers <joseph@codesourcery.com>
13258 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
13259 (check_no_hidden): Use type of original function when declaring
13262 * sysdeps/unix/sysv/linux/sys/ptrace.h
13263 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
13264 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
13265 (struct __ptrace_seccomp_metadata): New type.
13266 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
13267 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13268 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
13269 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13270 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
13271 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13272 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
13273 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13274 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
13275 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13276 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
13277 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13278 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
13279 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13280 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
13281 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13283 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13285 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
13287 * dirent/versionsort.c (versionsort): Likewise.
13288 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
13289 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
13290 * dirent/versionsort64.c (versionsort64): Likewise.
13291 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
13292 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
13293 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
13294 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
13295 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
13296 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
13297 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
13298 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
13299 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
13300 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
13301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
13302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
13303 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
13304 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
13306 2018-04-23 Joseph Myers <joseph@codesourcery.com>
13308 * elf/elf.h (NT_PPC_PKEY): New macro.
13310 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
13313 * localedata/locales/hr_HR: fix thousands_sep and
13316 2018-04-20 Joseph Myers <joseph@codesourcery.com>
13318 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
13319 (XTABS): Define to TAB3.
13321 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13323 * sysdeps/hppa/fpu/libm-test-ulps: Update.
13325 * dirent/scandir-tail-common.c: New file.
13326 * dirent/scandir-tail.c: Use scandir-tail-common.c.
13327 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
13328 * dirent/scandir.c: Use scandir-tail-common.c.
13329 * dirent/scandirat.c: Likewise.
13330 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
13331 * dirent/scandir64.c (scandir64): Always build and alias to scandir
13332 if _DIRENT_MATCHES_DIRENT64 is defined.
13333 * dirent/scandirat64.c (scandirat64): Likewise.
13334 * include/dirent.h (__scandir_tail): Only define iff
13335 _DIRENT_MATCHES_DIRENT64 is not defined.
13336 (__scandir64_tail): Define regardless.
13337 (__scandirat, scandirat64): Remove libc_hidden_proto.
13338 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
13339 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
13340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
13341 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
13342 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13343 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
13344 * sysdeps/unix/sysv/linux/scandir64.c: New file.
13346 2018-04-20 Joseph Myers <joseph@codesourcery.com>
13348 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
13350 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
13352 (_dl_aarch64_cap_flags): Add asimdfhm.
13354 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
13356 * sysdeps/nios2/libm-test-ulps: Update.
13358 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13360 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
13361 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
13363 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
13365 (_DIRENT_MATCHES_DIRENT64): Undef
13366 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
13367 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
13368 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
13369 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
13370 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
13371 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
13372 use getdents64 syscalls as base.
13373 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
13374 symbol if required.
13375 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
13376 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
13377 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
13378 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
13379 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
13380 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
13381 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
13382 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
13383 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13384 (__get_clockfreq_via_proc_openprom): Use __getdents64.
13385 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
13387 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13389 * scripts/test_printers_common.py (init_test): Disable lock elision.
13391 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13393 * math/test-tgmath.c (count_double, count_float,
13394 count_ldouble, count_cdouble, count_cfloat,
13395 count_cldouble): Use volatile int.
13397 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
13399 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
13400 (conformtest-xfail-conds): Add i386-gnu.
13401 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
13403 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
13404 ipc_perm.cuid, ipc_perm.cgid): Likewise.
13405 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
13406 msqid_ds.msg_lrpid): Likewise.
13407 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
13409 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
13410 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
13411 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
13412 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
13414 (struct statvfs64): Likewise.
13415 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
13417 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
13418 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
13419 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
13420 instead of wait_queue.
13421 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
13422 instead of vm_area_struct.
13423 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
13424 struct sched_param definition to it.
13425 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13426 * bits/types/struct_sched_param.h: New file.
13427 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
13428 <bits/types/struct_sched_param.h> instead of <sched.h>.
13429 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
13430 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
13431 generic version but include <bits/pthreadtypes.h> to make struct
13432 sigevent's sigev_notify_attributes field a pthread_attr_t*.
13433 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
13435 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
13436 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
13437 [__USE_XOPEN] (OFDEL): New macro.
13438 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
13439 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
13440 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
13442 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
13443 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
13444 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
13446 * sysdeps/i386/sys/ucontext.h: Likewise.
13447 * sysdeps/m68k/sys/ucontext.h: Likewise.
13448 * sysdeps/mips/sys/ucontext.h: Likewise.
13449 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
13450 * sysdeps/mach/hurd/i386/Makefile
13451 (test-xfail-POSIX/fcntl.h/conform): Add.
13452 (test-xfail-POSIX/signal.h/conform): Add.
13453 (test-xfail-POSIX/semaphore.h/conform): Add.
13454 (test-xfail-POSIX/regex.h/conform): Add.
13455 (test-xfail-POSIX/aio.h/conform): Add.
13456 (test-xfail-POSIX/mqueue.h/conform): Add.
13457 (test-xfail-POSIX/sys/types.h/conform): Add.
13458 (test-xfail-UNIX98/fcntl.h/conform): Add.
13459 (test-xfail-UNIX98/netdb.h/conform): Add.
13460 (test-xfail-UNIX98/signal.h/conform): Add.
13461 (test-xfail-UNIX98/semaphore.h/conform): Add.
13462 (test-xfail-UNIX98/regex.h/conform): Add.
13463 (test-xfail-UNIX98/aio.h/conform): Add.
13464 (test-xfail-UNIX98/ftw.h/conform): Add.
13465 (test-xfail-UNIX98/mqueue.h/conform): Add.
13466 (test-xfail-UNIX98/netinet/in.h/conform): Add.
13467 (test-xfail-UNIX98/sys/wait.h/conform): Add.
13468 (test-xfail-UNIX98/sys/sem.h/conform): Add.
13469 (test-xfail-UNIX98/sys/uio.h/conform): Add.
13470 (test-xfail-UNIX98/sys/socket.h/conform): Add.
13471 (test-xfail-UNIX98/sys/types.h/conform): Add.
13472 (test-xfail-UNIX98/stdlib.h/conform): Add.
13473 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
13474 (test-xfail-POSIX2008/fcntl.h/conform): Add.
13475 (test-xfail-POSIX2008/netdb.h/conform): Add.
13476 (test-xfail-POSIX2008/signal.h/conform): Add.
13477 (test-xfail-POSIX2008/semaphore.h/conform): Add.
13478 (test-xfail-POSIX2008/regex.h/conform): Add.
13479 (test-xfail-POSIX2008/aio.h/conform): Add.
13480 (test-xfail-POSIX2008/mqueue.h/conform): Add.
13481 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
13482 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
13483 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
13484 (test-xfail-POSIX2008/sys/types.h/conform): Add.
13485 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
13486 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
13487 (test-xfail-XOPEN2K/netdb.h/conform): Add.
13488 (test-xfail-XOPEN2K/signal.h/conform): Add.
13489 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
13490 (test-xfail-XOPEN2K/regex.h/conform): Add.
13491 (test-xfail-XOPEN2K/aio.h/conform): Add.
13492 (test-xfail-XOPEN2K/ftw.h/conform): Add.
13493 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
13494 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
13495 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
13496 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
13497 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
13498 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
13499 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
13500 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
13501 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
13502 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
13503 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
13504 (test-xfail-XOPEN2K8/signal.h/conform): Add.
13505 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
13506 (test-xfail-XOPEN2K8/regex.h/conform): Add.
13507 (test-xfail-XOPEN2K8/aio.h/conform): Add.
13508 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
13509 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
13510 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
13511 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
13512 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
13513 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
13514 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
13515 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
13516 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
13517 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
13518 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
13520 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
13521 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
13523 2018-04-18 Joseph Myers <joseph@codesourcery.com>
13525 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
13526 --enable-obsolete for powerpc-linux-gnuspe.
13528 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13530 * conform/data/sys/un.h-data: Allow sun_ prefix.
13531 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
13533 * sysdeps/mach/include/mach.h: Likewise.
13534 * sysdeps/mach/include/mach/mig_support.h: Likewise.
13535 * sysdeps/mach/include/mach_error.h: Likewise.
13537 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13539 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
13540 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
13541 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
13542 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
13544 2018-04-16 Andreas Schwab <schwab@suse.de>
13547 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
13549 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
13551 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
13552 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
13554 2018-04-12 DJ Delorie <dj@redhat.com>
13556 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13559 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
13561 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
13562 (struct kernel_sigaction): Use the same definition on 31bit as is used
13565 2018-04-09 Florian Weimer <fweimer@redhat.com>
13568 * resolv/res_send.c (send_dg): Use designated initializers instead
13569 of assignment to zero-initialize other fields of struct mmsghdr.
13571 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13573 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
13574 __READDIR_ALIAS): Undefine after usage.
13575 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
13576 __READDIR_R_ALIAS): Likewise.
13577 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
13578 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
13579 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
13580 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
13581 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
13582 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
13583 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13584 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13585 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
13586 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
13587 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
13588 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
13589 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13590 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
13591 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
13592 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
13593 * sysdeps/unix/sysv/linux/readdir.c: New file.
13594 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
13595 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
13596 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
13598 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
13600 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
13602 * manual/charset.texi (Converting a Character): Fix typo.
13604 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13606 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13608 * sysdeps/arm/libm-test-ulps: Update.
13610 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
13611 as base implementation.
13612 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13613 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13614 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13615 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13616 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13617 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
13618 remove unrequired definitions and update comments.
13619 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
13620 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
13621 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
13622 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
13623 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
13624 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
13625 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
13626 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
13627 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
13628 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
13629 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
13630 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13631 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13632 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
13633 and RESET_SA_RESTORER hooks.
13635 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
13637 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13639 2018-04-05 Florian Weimer <fweimer@redhat.com>
13641 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
13642 integer overflow, memory leak on error, and indeterminate errno
13643 value. Add a null wide character to terminate the result string.
13644 * manual/charset.texi (Converting a Character): Mention embedded
13645 null bytes in the mbrtowc input string. Explain what happens in
13646 the -2 result case. Do not claim that mbrtowc is simple or
13647 obvious to use. Adjust the description of the code example. Use
13648 @code, not @var, for concrete variables.
13650 2018-04-05 Florian Weimer <fweimer@redhat.com>
13652 * manual/examples/mbstouwcs.c: New file.
13653 * manual/charset.texi (Converting a Character): Include it.
13655 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13657 * include/dirent.h (dirfd): Add hidden proto.
13658 * dirent/dirfd.c (dirfd): Add hidden def.
13659 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
13660 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
13662 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13664 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
13665 sin, cos and sincos to 1 ULP.
13667 2018-04-04 Maciej W. Rozycki <macro@mips.com>
13670 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
13672 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
13673 * elf/tst-absolute-sym.c: New file.
13674 * elf/tst-absolute-sym-lib.c: New file.
13675 * elf/tst-absolute-sym-lib.lds: New file.
13676 * elf/Makefile (tests): Add `tst-absolute-sym'.
13677 (modules-names): Add `tst-absolute-sym-lib'.
13678 (LDLIBS-tst-absolute-sym-lib.so): New variable.
13679 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
13680 ($(objpfx)tst-absolute-sym): New dependency.
13683 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
13685 (SYMBOL_ADDRESS): New macro.
13686 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
13687 SYMBOL_ADDRESS for symbol address calculation.
13688 * elf/dl-runtime.c (_dl_fixup): Likewise.
13689 (_dl_profile_fixup): Likewise.
13690 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
13691 * elf/rtld.c (dl_main): Likewise.
13692 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
13693 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
13694 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
13695 (elf_machine_rela): Likewise.
13696 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
13697 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
13698 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13699 (elf_machine_rela): Likewise.
13700 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13701 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
13702 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
13703 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
13705 (elf_machine_reloc): Likewise.
13706 (elf_machine_got_rel): Likewise.
13707 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
13708 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
13709 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13711 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13713 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
13714 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13716 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13718 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13719 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13721 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13723 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
13724 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13726 2018-04-04 Zack Weinberg <zackw@panix.com>
13728 * sysdeps/generic/internal-signals.h: Include signal.h,
13729 sigsetops.h, and stdbool.h.
13730 (__libc_signal_block_all): Actually block all signals.
13731 (__libc_signal_block_app): Likewise.
13732 (__libc_signal_restore_set): Actually restore the signal mask.
13734 2018-04-04 Florian Weimer <fweimer@redhat.com>
13736 inet: Actually build and run tst-deadline.
13737 * inet/Makefile (tests-internal): Add tst-deadline and do not
13738 overwrite the variable.
13739 (tests-static-internal): Remove variable.
13741 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
13744 * bits/uio-ext.h (RWF_APPEND): New.
13745 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
13746 * manual/llio.texi: Document RWF_APPEND.
13747 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
13748 (RWF_SUPPORTED): Add RWF_APPEND.
13750 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13753 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
13754 check for internal nptl signals.
13755 * nptl/sigaction.c (__sigaction): Likewise.
13756 * signal/sigaddset.c (sigaddset): Likewise.
13757 * signal/sigdelset.c (sigdelset): Likewise.
13758 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
13759 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
13761 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
13762 to filter out internal nptl signals.
13763 * signal/tst-sigset.c (do_test): Check ech signal indidually and
13764 also check realtime signals using standard macros.
13765 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
13766 __is_internal_signal, __libc_signal_block_all,
13767 __libc_signal_block_app, __libc_signal_restore_set): New functions.
13768 * sysdeps/nptl/sigfillset.c: Remove file.
13769 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
13770 Change return to bool.
13771 (__clear_internal_signals): Remove SIGTIMER clean since it is
13772 equal to SIGCANEL on Linux.
13773 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
13774 signal set was constructed using standard functions.
13776 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
13778 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
13779 ifname is too long.
13780 * hurd/hurdsig.c (interrupted_reply_port_location): Use
13781 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
13782 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
13784 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
13785 * signal/sigaddset.c: Include <sigsetopts.h>.
13786 * signal/sigdelset.c: Likewise.
13788 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13790 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
13792 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
13793 logic as sin and cos.
13795 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13797 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
13798 inputs. Return correct sign.
13799 (do_sincos): Remove small input check before do_sin, let do_sin set
13804 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13806 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
13807 (do_cos_slow): Likewise.
13808 (do_sin_slow): Likewise.
13809 (reduce_and_compute): Likewise.
13814 (sloww1): Likewise.
13815 (sloww2): Likewise.
13817 (bslow1): Likewise.
13818 (bslow2): Likewise.
13819 (cslow2): Likewise.
13821 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13823 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
13824 (do_cos): Remove corp parameter and calculations.
13825 (do_sin): Likewise.
13826 (do_sincos): Remove cor variable.
13827 (__sin): Use do_sincos for huge inputs.
13829 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13830 (reduce_and_compute_sincos): Remove unused function.
13832 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13834 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
13835 reduce_sincos, improve accuracy to 136 bits.
13836 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
13837 (__sin): Use improved reduction and simplified do_sincos calculation.
13839 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13841 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13843 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
13844 (do_sincos_2): Likewise.
13845 (__sin): Remove middle range reduction case.
13847 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
13850 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13852 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
13853 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
13856 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
13858 2018-04-03 Joseph Myers <joseph@codesourcery.com>
13860 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13863 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13865 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
13866 Remove definitions.
13867 (opendir_oflags): Use O_DIRECTORY regardless.
13868 (__opendir, __opendirat): Remove need_isdir_precheck usage.
13869 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
13871 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13873 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
13874 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
13876 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
13877 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
13878 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
13879 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
13880 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
13881 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
13883 * htl/Makefile: Bump licence to LGPL 2.1+.
13884 * htl/alloca_cutoff.c: Likewise.
13885 * htl/cthreads-compat.c: Likewise.
13886 * htl/lockfile.c: Likewise.
13887 * htl/pt-alloc.c: Likewise.
13888 * htl/pt-cancel.c: Likewise.
13889 * htl/pt-cleanup.c: Likewise.
13890 * htl/pt-create.c: Likewise.
13891 * htl/pt-dealloc.c: Likewise.
13892 * htl/pt-detach.c: Likewise.
13893 * htl/pt-exit.c: Likewise.
13894 * htl/pt-getattr.c: Likewise.
13895 * htl/pt-initialize.c: Likewise.
13896 * htl/pt-internal.h: Likewise.
13897 * htl/pt-join.c: Likewise.
13898 * htl/pt-self.c: Likewise.
13899 * htl/pt-setcancelstate.c: Likewise.
13900 * htl/pt-setcanceltype.c: Likewise.
13901 * htl/pt-sigmask.c: Likewise.
13902 * htl/pt-spin-inlines.c: Likewise.
13903 * htl/pt-testcancel.c: Likewise.
13904 * htl/pt-yield.c: Likewise.
13905 * htl/tests/test-1.c: Likewise.
13906 * htl/tests/test-10.c: Likewise.
13907 * htl/tests/test-11.c: Likewise.
13908 * htl/tests/test-12.c: Likewise.
13909 * htl/tests/test-13.c: Likewise.
13910 * htl/tests/test-14.c: Likewise.
13911 * htl/tests/test-15.c: Likewise.
13912 * htl/tests/test-16.c: Likewise.
13913 * htl/tests/test-17.c: Likewise.
13914 * htl/tests/test-2.c: Likewise.
13915 * htl/tests/test-3.c: Likewise.
13916 * htl/tests/test-4.c: Likewise.
13917 * htl/tests/test-5.c: Likewise.
13918 * htl/tests/test-6.c: Likewise.
13919 * htl/tests/test-7.c: Likewise.
13920 * htl/tests/test-8.c: Likewise.
13921 * htl/tests/test-9.c: Likewise.
13922 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
13923 * sysdeps/htl/bits/cancelation.h: Likewise.
13924 * sysdeps/htl/bits/pthread-np.h: Likewise.
13925 * sysdeps/htl/bits/pthread.h: Likewise.
13926 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
13927 * sysdeps/htl/bits/semaphore.h: Likewise.
13928 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
13929 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
13930 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
13931 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
13932 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
13933 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
13934 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
13935 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
13936 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
13937 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
13938 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
13939 * sysdeps/htl/old_pt-atfork.c: Likewise.
13940 * sysdeps/htl/pt-atfork.c: Likewise.
13941 * sysdeps/htl/pt-attr-destroy.c: Likewise.
13942 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
13943 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
13944 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
13945 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
13946 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
13947 * sysdeps/htl/pt-attr-getscope.c: Likewise.
13948 * sysdeps/htl/pt-attr-getstack.c: Likewise.
13949 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
13950 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
13951 * sysdeps/htl/pt-attr-init.c: Likewise.
13952 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
13953 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
13954 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
13955 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
13956 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
13957 * sysdeps/htl/pt-attr-setscope.c: Likewise.
13958 * sysdeps/htl/pt-attr-setstack.c: Likewise.
13959 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
13960 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
13961 * sysdeps/htl/pt-attr.c: Likewise.
13962 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
13963 * sysdeps/htl/pt-barrier-init.c: Likewise.
13964 * sysdeps/htl/pt-barrier-wait.c: Likewise.
13965 * sysdeps/htl/pt-barrier.c: Likewise.
13966 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
13967 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
13968 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
13969 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
13970 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
13971 * sysdeps/htl/pt-cond-destroy.c: Likewise.
13972 * sysdeps/htl/pt-cond-init.c: Likewise.
13973 * sysdeps/htl/pt-cond-signal.c: Likewise.
13974 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
13975 * sysdeps/htl/pt-cond-wait.c: Likewise.
13976 * sysdeps/htl/pt-cond.c: Likewise.
13977 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
13978 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
13979 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
13980 * sysdeps/htl/pt-condattr-init.c: Likewise.
13981 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
13982 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
13983 * sysdeps/htl/pt-destroy-specific.c: Likewise.
13984 * sysdeps/htl/pt-equal.c: Likewise.
13985 * sysdeps/htl/pt-getconcurrency.c: Likewise.
13986 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
13987 * sysdeps/htl/pt-getschedparam.c: Likewise.
13988 * sysdeps/htl/pt-getspecific.c: Likewise.
13989 * sysdeps/htl/pt-init-specific.c: Likewise.
13990 * sysdeps/htl/pt-key-create.c: Likewise.
13991 * sysdeps/htl/pt-key-delete.c: Likewise.
13992 * sysdeps/htl/pt-key.h: Likewise.
13993 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
13994 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
13995 * sysdeps/htl/pt-mutex-init.c: Likewise.
13996 * sysdeps/htl/pt-mutex-lock.c: Likewise.
13997 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
13998 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
13999 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
14000 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
14001 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
14002 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
14003 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
14004 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
14005 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
14006 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
14007 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
14008 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
14009 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
14010 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
14011 * sysdeps/htl/pt-mutexattr.c: Likewise.
14012 * sysdeps/htl/pt-once.c: Likewise.
14013 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
14014 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
14015 * sysdeps/htl/pt-rwlock-init.c: Likewise.
14016 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
14017 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
14018 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
14019 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
14020 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
14021 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
14022 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
14023 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
14024 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
14025 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
14026 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
14027 * sysdeps/htl/pt-setconcurrency.c: Likewise.
14028 * sysdeps/htl/pt-setschedparam.c: Likewise.
14029 * sysdeps/htl/pt-setschedprio.c: Likewise.
14030 * sysdeps/htl/pt-setspecific.c: Likewise.
14031 * sysdeps/htl/pt-spin.c: Likewise.
14032 * sysdeps/htl/pt-startup.c: Likewise.
14033 * sysdeps/htl/pthread.h: Likewise.
14034 * sysdeps/htl/sem-close.c: Likewise.
14035 * sysdeps/htl/sem-destroy.c: Likewise.
14036 * sysdeps/htl/sem-getvalue.c: Likewise.
14037 * sysdeps/htl/sem-init.c: Likewise.
14038 * sysdeps/htl/sem-open.c: Likewise.
14039 * sysdeps/htl/sem-post.c: Likewise.
14040 * sysdeps/htl/sem-timedwait.c: Likewise.
14041 * sysdeps/htl/sem-trywait.c: Likewise.
14042 * sysdeps/htl/sem-unlink.c: Likewise.
14043 * sysdeps/htl/sem-wait.c: Likewise.
14044 * sysdeps/hurd/htl/pt-kill.c: Likewise.
14045 * sysdeps/i386/htl/pt-machdep.h: Likewise.
14046 * sysdeps/mach/htl/pt-block.c: Likewise.
14047 * sysdeps/mach/htl/pt-spin.c: Likewise.
14048 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
14049 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
14050 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
14051 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
14052 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
14053 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
14054 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
14055 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
14056 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
14057 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
14058 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
14059 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
14060 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
14061 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
14062 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
14063 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
14064 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
14065 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
14066 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
14067 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
14068 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
14069 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
14070 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
14071 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
14072 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
14073 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
14074 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
14075 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
14076 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
14077 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
14078 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
14079 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
14080 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
14081 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
14082 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
14083 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
14084 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
14085 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
14086 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
14087 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
14088 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
14089 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
14090 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
14092 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
14093 * README: Remove the mention of out-of-tree patches needed for
14096 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
14097 (UTIME_NOW, UTIME_OMIT): Define macros.
14099 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
14100 instead of pthread_detach.
14101 (__cthread_fork): Call __pthread_create instead of pthread_create.
14102 (__cthread_keycreate): Call __pthread_key_create instead of
14103 pthread_key_create.
14104 (__cthread_getspecific): Call __pthread_getspecific instead of
14105 pthread_getspecific.
14106 (__cthread_setspecific): Call __pthread_setspecific instead of
14107 pthread_setspecific.
14108 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
14109 __pthread_mutex_unlock instead of pthread_mutex_lock and
14110 pthread_mutex_unlock.
14111 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
14112 ___pthread_get_cleanup_stack.
14113 (__pthread_get_cleanup_stack): New strong alias.
14114 * htl/pt-create.c: Include <pthreadP.h>.
14115 (entry_point): Call __pthread_exit instead of pthread_exit.
14116 (pthread_create): Rename to __pthread_create.
14117 (pthread_create): New strong alias.
14118 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
14119 (pthread_detach): New strong alias.
14120 (__pthread_detach): Call __pthread_cond_broadcast instead of
14121 pthread_cond_broadcast.
14122 * htl/pt-exit.c: Include <pthreadP.h>.
14123 (__pthread_exit): Call __pthread_setcancelstate and
14124 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
14125 __pthread_get_cleanup_stack.
14126 * htl/pt-testcancel.c: Include <pthreadP.h>.
14127 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
14128 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
14129 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
14130 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
14131 pthread_attr_getstacksize.
14132 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
14133 Rename to __pthread_attr_getstackaddr.
14134 (pthread_attr_getstackaddr): New strong alias.
14135 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
14136 Rename to __pthread_attr_getstacksize.
14137 (pthread_attr_getstacksize): New strong alias.
14138 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
14139 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
14140 (pthread_attr_setstack): New strong alias.
14141 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
14142 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
14143 pthread_attr_getstacksize, pthread_attr_setstacksize and
14144 pthread_attr_setstackaddr.
14145 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
14146 Rename to __pthread_attr_setstackaddr.
14147 (pthread_attr_setstackaddr): New strong alias.
14148 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
14149 Rename to __pthread_attr_setstacksize.
14150 (pthread_attr_setstacksize): New strong alias.
14151 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
14152 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
14154 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
14155 (__pthread_key_create): New hidden def.
14156 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
14157 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
14158 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
14159 __pthread_exit, __pthread_key_create, __pthread_getspecific,
14160 __pthread_setspecific, __pthread_setcancelstate,
14161 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
14162 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
14163 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
14165 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
14166 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
14167 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
14168 (pthread_attr_setstackaddr): New strong alias.
14169 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
14170 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
14171 (pthread_attr_setstacksize): New strong alias.
14172 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
14173 (call_exit): Call __pthread_exit instead of pthread_exit.
14174 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
14175 (_pthread_mutex_init): New hidden definition.
14176 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
14177 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
14178 instead of pthread_attr_init and pthread_attr_setstack.
14180 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
14181 __vm_deallocate instead of vm_allocate and vm_deallocate.
14182 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
14184 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
14186 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
14188 * hurd/siginfo.c: Include <libioP.h>.
14189 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
14190 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
14192 * mach/devstream.c: Include <libioP.h>.
14193 (dealloc_ref): Call __mach_port_deallocate instead of
14194 mach_port_deallocate.
14195 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
14196 Call __mach_port_deallocate instead of mach_port_deallocate.
14197 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
14199 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
14201 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
14202 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
14203 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
14205 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
14207 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
14208 instead of sysconf.
14209 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
14210 __clock_gettime instead of clock_gettime.
14211 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
14212 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
14213 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
14214 * sysdeps/unix/bsd/stty.c (stty): Likewise.
14215 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
14217 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
14218 __clock_gettime and __nanosleep instead of clock_gettime and
14220 * hurd/catch-signal.c (hurd_catch_signal): Rename to
14221 __hurd_catch_signal.
14222 (hurd_catch_signal): New strong alias.
14223 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
14224 __hurd_catch_signal instead of hurd_catch_signal.
14225 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
14226 * hurd/hurdexec.c (_hurd_init): Add hidden def.
14227 * hurd/hurdinit.c (_hurd_init): Add hidden def.
14228 * hurd/hurdsig.c: Include <mach/mig_support.h>.
14229 (_hurd_thread_sigstate): Add hidden def.
14230 (_hurd_internal_post_signal): Use __mutex_unlock instead of
14232 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
14233 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
14234 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
14235 __hurd_file_name_path_lookup.
14236 (hurd_file_name_path_lookup): New strong alias.
14237 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
14238 hurd_file_name_path_lookup.
14239 * mach/errstring.c (mach_error_type): Add hidden def.
14240 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
14241 * mach/mutex-init.c (__mutex_init): Add hidden def.
14242 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
14243 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
14244 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
14245 * sysdeps/mach/hurd/getcwd.c
14246 (_hurd_canonicalize_directory_name_internal): Rename to
14247 __hurd_canonicalize_directory_name_internal.
14248 (_hurd_canonicalize_directory_name_internal): New strong alias.
14249 (__canonicalize_directory_name_internal, __getcwd): Call
14250 __hurd_canonicalize_directory_name_internal instead of
14251 _hurd_canonicalize_directory_name_internal.
14252 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
14253 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
14255 * sysdeps/hurd/include/hurd.h: New file.
14256 * sysdeps/hurd/include/hurd/fd.h: New file.
14257 * sysdeps/hurd/include/hurd/signal.h: New file.
14258 * sysdeps/mach/include/lock-intern.h: New file.
14259 * sysdeps/mach/include/mach.h: New file.
14260 * sysdeps/mach/include/mach/mig_support.h: New file.
14261 * sysdeps/mach/include/mach_error.h: New file.
14262 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
14264 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
14265 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
14266 _HEADER_H_HIDDEN_DEF macro.
14267 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
14268 _hurd_fd_error_signal): Add hidden prototype.
14269 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
14271 * libio/iolibio.h (_IO_puts): New hidden prototype.
14272 * libio/ioputs.c (_IO_puts): New hidden def.
14273 * sysdeps/mach/hurd/localplt.data: New file.
14275 2018-04-02 Agustina Arzille <avarzille@riseup.net>
14276 Amos Jeffries <squid3@treenet.co.nz>
14277 David Michael <fedora.dm0@gmail.com>
14278 Marco Gerards <marco@gnu.org>
14279 Marcus Brinkmann <marcus@gnu.org>
14280 Neal H. Walfield <neal@gnu.org>
14281 Pino Toscano <toscano.pino@tiscali.it>
14282 Richard Braun <rbraun@sceen.net>
14283 Roland McGrath <roland@gnu.org>
14284 Samuel Thibault <samuel.thibault@ens-lyon.org>
14285 Thomas DiModica <ricinwich@yahoo.com>
14286 Thomas Schwinge <tschwinge@gnu.org>
14288 * htl: New directory.
14289 * sysdeps/htl: New directory.
14290 * sysdeps/hurd/htl: New directory.
14291 * sysdeps/i386/htl: New directory.
14292 * sysdeps/mach/htl: New directory.
14293 * sysdeps/mach/hurd/htl: New directory.
14294 * sysdeps/mach/hurd/i386/htl: New directory.
14295 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
14296 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
14297 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
14299 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14301 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
14302 signals in thread created for runing timers.
14304 2018-04-01 Florian Weimer <fweimer@redhat.com>
14306 * support/support_format_addrinfo.c (support_format_addrinfo):
14307 Include unknown error number in formatted result.
14309 2018-03-29 Florian Weimer <fweimer@redhat.com>
14311 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
14314 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14316 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
14317 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
14318 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14319 (__ASSUME_CLONE_BACKWARDS): Define.
14321 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
14324 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
14325 early when linux sentinel value is set.
14327 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14329 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
14331 2018-03-27 Andreas Schwab <schwab@suse.de>
14334 * resolv/res_send.c (__res_context_send): Return ENOMEM if
14335 allocation of private copy of nsaddr_list fails.
14337 2018-03-26 Joseph Myers <joseph@codesourcery.com>
14340 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
14341 * sysdeps/unix/sysv/linux/umount.c: ... here.
14342 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
14343 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
14344 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
14345 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
14346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
14347 * sysdeps/unix/sysv/linux/umount.S: Likewise.
14348 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
14350 2018-03-26 Andreas Schwab <schwab@suse.de>
14352 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
14353 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
14354 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
14355 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
14356 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
14357 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
14358 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
14359 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
14360 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
14361 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
14362 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
14363 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
14364 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
14365 (R_RISCV_NUM): Define.
14367 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
14369 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
14370 TLS declaration of errno.
14371 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
14373 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
14374 (ARCH_SETUP_TLS): Likewise.
14375 * sysdeps/mach/hurd/libc-start.h: New file copied from
14376 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
14377 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
14378 instead of __libc_setup_tls.
14379 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
14380 __libc_setup_tls before initializing libpthread and running _hurd_init
14381 which starts the signal thread.
14382 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
14384 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14386 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
14389 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
14390 after it is defined.
14392 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
14393 Max Horn <max@quendi.de>
14397 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
14399 * string/test-memmove.c (do_test2): New testcase.
14401 2018-03-22 Joseph Myers <joseph@codesourcery.com>
14403 * sysdeps/generic/frame.h: Remove file.
14404 * sysdeps/arm/frame.h: Likewise.
14405 * sysdeps/hppa/frame.h: Likewise.
14406 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
14408 (GET_FRAME): Likewise.
14409 (GET_STACK): Likewise.
14410 (CALL_SIGHANDLER): Likewise.
14411 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
14413 (GET_FRAME): Likewise.
14414 (GET_STACK): Likewise.
14415 (CALL_SIGHANDLER): Likewise.
14416 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
14417 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14418 (GET_FRAME): Likewise.
14419 (GET_STACK): Likewise.
14420 (CALL_SIGHANDLER): Likewise.
14421 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
14422 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14423 (GET_FRAME): Likewise.
14424 (GET_STACK): Likewise.
14425 (ADVANCE_STACK_FRAME): Likewise.
14426 (CALL_SIGHANDLER): Likewise.
14427 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
14428 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14429 (GET_FRAME): Likewise.
14430 (GET_STACK): Likewise.
14431 (CALL_SIGHANDLER): Likewise.
14432 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
14433 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14434 (GET_FRAME): Likewise.
14435 (GET_STACK): Likewise.
14436 (CALL_SIGHANDLER): Likewise.
14437 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
14438 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14439 (GET_FRAME): Likewise.
14440 (GET_STACK): Likewise.
14441 (CALL_SIGHANDLER): Likewise.
14442 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
14443 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14444 (GET_FRAME): Likewise.
14445 (GET_STACK): Likewise.
14446 (CALL_SIGHANDLER): Likewise.
14447 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
14448 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14449 (GET_FRAME): Likewise.
14450 (GET_STACK): Likewise.
14451 (CALL_SIGHANDLER): Likewise.
14452 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
14453 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14454 (GET_FRAME): Likewise.
14455 (GET_STACK): Likewise.
14456 (CALL_SIGHANDLER): Likewise.
14457 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
14458 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14459 (GET_FRAME): Likewise.
14460 (GET_STACK): Likewise.
14461 (CALL_SIGHANDLER): Likewise.
14462 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
14463 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14464 (GET_FRAME): Likewise.
14465 (GET_STACK): Likewise.
14466 (CALL_SIGHANDLER): Likewise.
14467 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
14468 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14469 (GET_FRAME): Likewise.
14470 (GET_STACK): Likewise.
14471 (CALL_SIGHANDLER): Likewise.
14472 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
14473 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14474 (FIRST_FRAME_POINTER): Likewise.
14475 (ADVANCE_STACK_FRAME): Likewise.
14476 (GET_STACK): Likewise.
14477 (GET_FRAME): Likewise.
14478 (CALL_SIGHANDLER): Likewise.
14479 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
14480 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14481 (ADVANCE_STACK_FRAME): Likewise.
14482 (GET_STACK): Likewise.
14483 (GET_FRAME): Likewise.
14484 (CALL_SIGHANDLER): Likewise.
14485 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
14486 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14487 (GET_FRAME): Likewise.
14488 (GET_STACK): Likewise.
14489 (CALL_SIGHANDLER): Likewise.
14490 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
14491 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14492 (GET_FRAME): Likewise.
14493 (GET_STACK): Likewise.
14494 (CALL_SIGHANDLER): Likewise.
14496 2018-03-21 Joseph Myers <joseph@codesourcery.com>
14498 * sysdeps/x86_64/backtrace.c: Move to ....
14499 * debug/backtrace.c: ... here.
14500 * sysdeps/aarch64/backtrace.c: Remove file.
14501 * sysdeps/alpha/backtrace.c: Likewise.
14502 * sysdeps/hppa/backtrace.c: Likewise.
14503 * sysdeps/ia64/backtrace.c: Likewise.
14504 * sysdeps/mips/backtrace.c: Likewise.
14505 * sysdeps/nios2/backtrace.c: Likewise.
14506 * sysdeps/riscv/backtrace.c: Likewise.
14507 * sysdeps/sh/backtrace.c: Likewise.
14508 * sysdeps/tile/backtrace.c: Likewise.
14510 2018-03-20 Joseph Myers <joseph@codesourcery.com>
14513 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
14516 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
14519 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
14520 possibly overflowing computations.
14522 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
14524 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
14525 values from Linux-specific section now that it is in the GNU section.
14526 * sysdeps/gnu/errlist.c: Regenerate.
14528 2018-03-20 Joseph Myers <joseph@codesourcery.com>
14530 * math/Makefile (libm-narrow-fns): Add sub.
14531 (libm-test-funcs-narrow): Likewise.
14532 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
14533 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
14534 * math/gen-auto-libm-tests.c (test_functions): Add sub.
14535 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
14536 (NARROW_SUB_ROUND_TO_ODD): Likewise.
14537 (NARROW_SUB_TRIVIAL): Likewise.
14538 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
14540 (__dsubl): Likewise.
14541 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
14543 (CFLAGS-nldbl-dsub.c): New variable.
14544 (CFLAGS-nldbl-fsub.c): Likewise.
14545 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14547 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
14549 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
14550 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
14551 * math/auto-libm-test-in: Add tests of sub.
14552 * math/auto-libm-test-out-narrow-sub: New generated file.
14553 * math/libm-test-narrow-sub.inc: New file.
14554 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14555 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
14556 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
14557 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
14558 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
14559 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
14560 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
14561 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
14562 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
14563 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
14564 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
14565 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
14566 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
14567 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
14568 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
14569 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
14570 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
14571 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
14572 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14573 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14574 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14575 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14576 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14577 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14578 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14579 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14580 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14581 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14582 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14583 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14584 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14585 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14590 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14591 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14592 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14593 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14594 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14595 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14596 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
14597 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
14598 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14599 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14601 2018-03-19 Joseph Myers <joseph@codesourcery.com>
14604 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
14606 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
14608 * benchtests/bench-timing.h (attribute_hidden): Undefine.
14610 2018-03-18 Richard Braun <rbraun@sceen.net>
14612 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
14615 2018-03-18 Agustina Arzille <avarzille@riseup.net>
14617 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
14618 (__libc_cleanup_fct): Define function.
14619 (__libc_cleanup_region_start, __libc_cleanup_region_end,
14620 __libc_cleanup_end): Rewrite implementation using
14621 __attribute__ ((__cleanup__)).
14622 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
14623 * hurd/Makefile (routines): Add hurdlock.
14624 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
14626 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
14627 * hurd/hurdpid.c: Include <lowlevellock.h>
14628 (_S_msg_proc_newids): Use lll_wait to synchronize.
14629 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
14630 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
14631 * mach/Makefile (lock-headers): Remove machine-lock.h.
14632 * mach/lock-intern.h: Include <lowlevellock.h> instead of
14634 (__spin_lock_t): New type.
14635 (__SPIN_LOCK_INITIALIZER): New macro.
14636 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
14637 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
14638 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
14639 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
14640 (__mutex_init): Initialize with lll.
14641 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
14642 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
14644 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14645 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
14646 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
14647 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
14648 (__setpgid): Use lll for synchronization.
14649 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
14650 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
14651 instead of <cthreads.h>.
14652 (_IO_lock_inexpensive): New macro
14653 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
14654 (__libc_lock_self0): New declaration.
14655 (__libc_lock_owner_self): New macro.
14656 (__libc_key_t): Remove type.
14657 (_LIBC_LOCK_INITIALIZER): New macro.
14658 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
14659 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
14660 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
14661 __libc_lock_define_initialized_recursive,
14662 __rtld_lock_define_initialized_recursive,
14663 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
14664 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
14665 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
14666 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
14667 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
14668 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
14669 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
14671 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
14672 * hurd/hurdlock.c: New file.
14673 * hurd/hurdlock.h: New file.
14674 * mach/lowlevellock.h: New file
14676 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14678 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
14679 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
14680 when opening a symlink with O_NOFOLLOW.
14681 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
14682 path when flags contains O_NOFOLLOW.
14683 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
14684 if flags contains O_DIRECTORY and the result is a directory.
14685 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
14686 oneself when the pointer given in D is nul (as set by ext2fs).
14687 * sysdeps/mach/hurd/mlockall.c: New file.
14688 * sysdeps/mach/hurd/munlockall.c: New file.
14690 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
14692 * hurd/hurdsig.c: Include <pthread.h>.
14693 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
14694 get the signal thread stack layout.
14695 * hurd/Makefile (headers): Remove threadvar.h.
14696 (inline-headers): Remove threadvar.h.
14697 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
14698 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
14699 __hurd_threadvar_max, __hurd_errno_location.
14700 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
14701 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
14702 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
14703 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
14704 unless TLS is not initialized yet, in which case we do not need a
14705 critical section yet anyway.
14706 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
14708 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
14710 (__hurd_threadvar_index): Remove enum.
14711 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
14712 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
14714 (__hurd_reply_port0): New variable declaration.
14715 (__hurd_local_reply_port): New macro.
14716 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
14717 (interrupted_reply_port_location): Add thread_t parameter. Use it
14718 with THREAD_TCB to access thread-local variables.
14719 (_hurdsig_abort_rpcs): Pass ss->thread to
14720 interrupted_reply_port_location.
14721 (_hurd_internal_post_signal): Likewise.
14722 (_hurdsig_init): Use presence of cthread_fork instead of
14723 __hurd_threadvar_stack_mask to start signal thread by hand.
14724 Remove signal thread threadvar initialization.
14725 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
14726 * hurd/sigunwind.c: Include <hurd/threadvar.h>
14727 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
14729 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
14731 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
14732 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
14733 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
14734 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
14735 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
14736 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
14737 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
14739 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
14740 <hurd/threadvar.h>.
14741 [IS_IN(rtld)] (rtld_errno): New variable.
14742 [IS_IN(rtld)] (__errno_location): New weak function.
14743 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
14744 * sysdeps/mach/hurd/errno.c: Remove file.
14745 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
14746 (__fork): Remove THREADVAR_SPACE macro and its use.
14747 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
14749 (init): Do not initialize threadvar.
14750 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
14752 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
14753 __hurd_local_reply_port instead of threadvar.
14754 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
14755 _hurd_sigstate fields.
14756 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
14757 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
14758 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
14759 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
14760 instead of threadvar.
14761 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
14762 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
14763 (use_threadvar, global_reply_port): Remove variables.
14764 (__hurd_reply_port0): New variable.
14765 (__mig_get_reply_port): Use __hurd_local_reply_port and
14766 __hurd_reply_port0 instead of threadvar.
14767 (__mig_dealloc_reply_port): Likewise.
14768 (__mig_init): Do not initialize threadvar.
14769 * sysdeps/mach/hurd/profil.c: Fix comment.
14770 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
14771 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
14772 cthread_keycreate, cthread_getspecific, cthread_setspecific to
14773 __cthread_fork, __cthread_detach, __pthread_getattr_np,
14774 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
14775 __cthread_setspecific.
14776 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
14777 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
14778 __cthread_t instead of cthread_fork, cthread_detach,
14779 pthread_getattr_np, pthread_attr_getstack.
14780 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
14781 __cthread_keycreate.
14782 (cthread_getspecific): Rename to __cthread_getspecific.
14783 (cthread_setspecific): Rename to __cthread_setspecific.
14784 (__libc_getspecific): Use __cthread_getspecific instead of
14785 cthread_getspecific.
14786 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
14787 __cthread_keycreate instead of cthread_keycreate.
14788 (__libc_setspecific): Use __cthread_setspecific instead of
14789 cthread_setspecific.
14790 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
14792 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
14793 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
14794 testing whether it is defined.
14796 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14798 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
14800 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
14801 * sysdeps/mach/i386/thread_state.h
14802 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
14804 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
14806 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
14808 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
14809 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
14811 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
14813 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
14814 descriptor instead of creating a new one.
14815 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
14817 * mach/setup-thread.c: Include <ldsodefs.h>.
14818 (__mach_setup_thread): Call _dl_allocate_tls, pass
14819 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
14820 MACHINE_THREAD_STATE_FLAVOR, before getting
14821 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
14822 MACHINE_THREAD_STATE_FLAVOR with the result.
14823 * hurd/hurdfault.c (_hurdsig_fault_init): Call
14824 MACHINE_THREAD_STATE_FIX_NEW.
14825 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
14826 too. Add original thread parameter.
14828 2018-03-16 Joseph Myers <joseph@codesourcery.com>
14830 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
14831 Remove inline function.
14833 * sysdeps/i386/fpu/libm-test-ulps: Update.
14834 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
14836 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
14838 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
14841 2018-03-15 Joseph Myers <joseph@codesourcery.com>
14843 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
14844 (__sincos_code): Remove define and undefine.
14845 [__FAST_MATH__] (__sincos): Remove inline function.
14846 [__FAST_MATH__] (__sincosf): Remove inline function.
14847 [__FAST_MATH__] (__sincosl): Remove inline function.
14848 (__atan2l): Remove inline functions.
14849 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
14850 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
14852 (floor): Remove inline function.
14854 [__FAST_MATH__] (__ldexp_code): Remove macro.
14855 [__FAST_MATH__] (ldexp): Remove inline function.
14856 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
14857 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
14858 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
14859 [__USE_ISOC99] (__lrint_code): Remove macro.
14860 [__USE_ISOC99] (__llrint_code): Likewise.
14861 [__USE_ISOC99] (lrintf): Remove inline function.
14862 [__USE_ISOC99] (lrint): Likewise.
14863 [__USE_ISOC99] (lrintl): Likewise.
14864 [__USE_ISOC99] (llrint): Likewise.
14865 [__USE_ISOC99] (llrintf): Likewise.
14866 [__USE_ISOC99] (llrintl): Likewise.
14868 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14870 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
14871 (__ieee754_sqrtf): Remove.
14872 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
14873 (__ieee754_sqrtf): Remove.
14874 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
14875 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14876 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
14877 (__ieee754_sqrtf): Remove.
14878 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
14879 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
14882 (__ieee754_sqrt): Remove.
14883 (__ieee754_sqrtf): Remove.
14884 (__ieee754_sqrtl): Remove.
14885 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14886 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
14887 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
14888 (__ieee754_sqrtf): Remove.
14889 (__ieee754_sqrtl): Remove.
14891 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14893 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
14894 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
14895 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
14896 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
14897 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
14898 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14899 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14900 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
14902 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
14903 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
14904 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
14905 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
14906 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
14907 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
14908 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
14909 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
14910 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
14911 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
14912 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
14913 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
14914 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
14915 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
14916 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
14917 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14918 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14919 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
14920 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
14921 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
14922 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14923 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14924 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
14925 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
14926 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
14927 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
14928 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14929 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14930 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
14931 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
14932 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
14933 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
14934 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14935 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
14936 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14937 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14938 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
14939 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
14940 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
14941 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
14943 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14945 * include/math.h (sqrt): Declare with asm redirect.
14948 (sqrtf128): Likewise.
14949 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
14950 nonlib and libnldbl with -fmath-errno.
14951 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
14952 * math/w_sqrt_template.c: Likewise.
14953 * math/w_sqrtf_compat.c: Likewise.
14954 * math/w_sqrtl_compat.c: Likewise.
14955 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
14956 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
14957 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
14960 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14962 * benchtests/Makefile: Define _ISOMAC.
14963 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
14964 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
14965 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
14966 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
14967 * benchtests/bench-timing.h: Define attribute_hidden.
14969 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
14971 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
14974 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14977 * localedata/locales/cs_CZ (mon): Rename to...
14979 (mon): Import from CLDR (genitive case).
14981 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14984 * localedata/locales/el_CY (abmon): Rename to...
14985 (ab_alt_mon): This.
14986 (abmon): Import from CLDR (abbreviated genitive case).
14987 * localedata/locales/el_GR (abmon): Rename to...
14988 (ab_alt_mon): This.
14989 (abmon): Import from CLDR (abbreviated genitive case).
14991 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14994 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
14996 2018-03-15 Robert Buj <robert.buj@gmail.com>
14999 * localedata/locales/ca_ES (abmon): Rename to...
15000 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
15001 (mon): Rename to...
15003 (abmon): Import from CLDR (genitive case, month names preceded by
15006 (abday): Synchronize with CLDR.
15007 (d_t_fmt): Likewise.
15011 (LC_TIME): Improve indentation.
15012 (LC_TELEPHONE): Likewise.
15013 (LC_NAME): Likewise.
15014 (LC_ADDRESS): Likewise.
15016 2018-03-14 Joseph Myers <joseph@codesourcery.com>
15018 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
15019 (lrintf): Remove definitions used only with old GCC.
15020 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
15021 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
15022 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
15023 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
15024 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
15025 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
15026 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
15027 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
15028 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
15029 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
15030 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
15031 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
15032 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
15033 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
15034 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
15035 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
15036 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
15037 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
15038 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
15039 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
15040 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
15041 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
15042 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
15043 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
15044 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
15045 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
15046 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
15047 [__FAST_MATH__] (__M_SQRT2): Remove macro.
15049 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
15051 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
15052 instruction to unbreak builds with binutils 2.26 and older.
15054 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
15056 * sysdeps/aarch64/strncmp.S (count): New macro.
15057 (strncmp): Store misaligned length in SRC1 in COUNT.
15058 (mutual_align): Adjust.
15059 (misaligned8): Load dword at a time when it is safe.
15061 2018-03-12 Zack Weinberg <zackw@panix.com>
15065 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
15066 if the _IO_EOF_SEEN bit is already set; update commentary.
15067 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
15068 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
15070 * support/support_openpty.c, support/tty.h: New files.
15071 * support/Makefile (libsupport-routines): Add support_openpty.
15073 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
15075 * libio/Makefile (tests): Add tst-fgetc-after-eof.
15076 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
15078 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
15080 * po/pt_BR.po: Update translations.
15082 2018-03-12 David Michael <fedora.dm0@gmail.com>
15084 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
15085 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
15086 get a port to the startup server.
15088 2018-03-11 Zack Weinberg <zackw@panix.com>
15090 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
15091 before nldbl-compat.h.
15093 2018-03-10 Zack Weinberg <zackw@panix.com>
15095 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
15096 math.h or math_private.h.
15098 * sysdeps/alpha/fpu/s_isnan.c
15099 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
15100 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
15101 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
15102 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
15103 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
15104 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
15105 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
15106 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
15107 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
15108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
15109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
15110 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
15111 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
15112 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
15113 Include math_private.h.
15115 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
15116 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
15117 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
15118 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
15119 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
15120 * sysdeps/powerpc/power7/fpu/s_logb.c:
15121 Include math.h and math_private.h.
15123 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
15124 uses of $at in .set noat / .set at.
15126 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
15128 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
15129 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
15130 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
15131 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
15134 2018-03-09 Florian Weimer <fweimer@redhat.com>
15136 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
15139 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
15142 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
15143 Add nop before __startcontext, add explaining comments.
15145 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15148 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
15150 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
15151 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
15152 Do not build hardware transactional code for __SPE__.
15153 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15154 (__lll_trylock_elision): Likewise.
15155 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
15156 (__lll_unlock_elision): Likewise.
15158 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
15159 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
15160 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
15161 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
15162 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
15163 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
15164 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
15165 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
15166 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
15167 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
15168 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
15169 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
15170 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
15171 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
15172 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
15173 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
15174 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
15175 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
15176 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
15177 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
15178 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
15179 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15180 (__ASSUME_CLONE_BACKWARDS): Define.
15181 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
15182 __clone2 if __NR_clone2 is defined.
15183 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15184 (__ASSUME_CLONE_BACKWARDS): Likewise.
15185 * sysdeps/unix/sysv/linux/i386/kernel-features.h
15186 (__ASSUME_CLONE_BACKWARDS): Likewise.
15187 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15188 (__ASSUME_CLONE2): Likewise.
15189 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15190 (__ASSUME_CLONE_BACKWARDS3): Likewise.
15191 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
15192 variants and the define architecture can use.
15193 (__ASSUME_CLONE_DEFAULT): Define as default.
15194 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15195 (__ASSUME_CLONE_BACKWARDS): Likewise.
15196 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15197 (__ASSUME_CLONE_BACKWARDS): Likewise.
15198 * sysdeps/unix/sysv/linux/s390/kernel-features.h
15199 (__ASSUME_CLONE_BACKWARDS2): Likewise.
15201 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
15203 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
15205 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
15208 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
15209 (do_test_limit): Likewise.
15211 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
15212 for every implementation.
15213 (do_test): Likewise.
15215 * benchtests/bench-strncmp.c: Convert output to json.
15217 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15219 * io/futimens.c: Add missing start-of-file descriptive comment.
15220 * io/utime.c: Likewise.
15221 * misc/futimesat.c: Likewise.
15222 * misc/utimes.c: Likewise.
15223 * sysdeps/mach/hurd/futimesat.c: Likewise.
15224 * sysdeps/mach/hurd/utimes.c: Likewise.
15225 * sysdeps/posix/utime.c: Likewise.
15226 * sysdeps/posix/utimes.c: Likewise.
15227 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
15228 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
15229 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
15230 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
15232 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15234 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
15236 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
15237 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
15238 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
15239 (__futimens): Move implementation to...
15240 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
15241 utime_tvalue_from_tspec): ... new helper functions.
15242 (hurd_futimens): New function.
15243 * sysdeps/mach/hurd/futimesat.c: New file.
15244 * sysdeps/mach/hurd/utimensat.c: New file.
15246 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
15248 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
15249 UTIME_OMIT): New macros.
15250 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
15251 before reverting to converting time spec to time value and calling
15253 * sysdeps/mach/hurd/utime-helper.c: New file.
15254 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
15255 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
15256 reverting to utime_tvalue_from_tval and __file_utimes.
15257 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
15258 (__lutimes): Just call hurd_futimens after lookup.
15259 * sysdeps/mach/hurd/utimes.c: Likewise.
15261 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15263 * bits/sigaction.h: Add include guard.
15264 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
15265 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
15266 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
15267 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
15268 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
15269 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
15270 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
15271 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
15272 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
15274 2018-03-05 Joseph Myers <joseph@codesourcery.com>
15276 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
15277 -Wmaybe-uninitialized for -Os.
15278 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
15281 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15283 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
15284 __INO_T_MATCHES_INO64_T is defined.
15285 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
15286 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
15288 * dirent/alphasort64.c: Likewise.
15289 * dirent/scandir.c: Likewise.
15290 * dirent/scandir64-tail.c: Likewise.
15291 * dirent/scandir64.c: Likewise.
15292 * dirent/scandirat.c: Likewise.
15293 * dirent/scandirat64.c: Likewise.
15294 * dirent/versionsort.c: Likewise.
15295 * dirent/versionsort64.c: Likewise.
15296 * include/dirent.h: Likewise.
15298 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
15299 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
15300 for socketpair endpoint.
15301 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
15302 WRITE_BUFFER_SIZE as buffer size for sending socket.
15303 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
15304 issue on system where send is implemented with sendto syscall.
15305 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
15306 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
15307 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
15308 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
15311 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
15312 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
15313 sa_restorer for vDSO case.
15314 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
15316 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15318 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
15319 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
15320 * hurd/hurd/ioctl.h: Include <mach/port.h>
15321 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
15322 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
15323 <mach/mach_types.h> and <mach/message.h>.
15324 (headers): Move mach/param.h to bits/mach/param.h.
15325 * sysdeps/mach/i386/mach/param.h: Move file to ...
15326 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
15327 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
15329 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
15330 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
15331 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
15332 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
15333 trivial, for C++ conformity.
15334 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
15335 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
15336 Process mig output through $(migheadersed).
15337 * hurd/Makefile (migheadersed): Define variable.
15338 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
15339 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
15341 * hurd/hurd.h: Include <bits/types/sigset_t.h>
15342 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
15343 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
15344 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
15345 <bits/types/sigset_t.h>.
15346 [!defined __USE_GNU]: Do not #error out.
15347 (struct hurd_sigstate): Use _NSIG instead of NSIG.
15348 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
15349 Include <stddef.h> and <bits/types/sigset_t.h>
15350 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
15351 instead of sighandler_t.
15352 * stdlib/errno.h (error_t): Move definition to...
15353 * bits/types/error_t.h: ... new header.
15354 * stdlib/Makefile (headers): Add bits/types/error_t.h.
15355 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
15356 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
15357 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
15358 * hurd/hurd.h: Include <bits/types/error_t.h>
15359 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
15360 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
15361 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
15362 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
15363 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
15364 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
15365 * sysdeps/mach/hurd/futimens.c: New file.
15367 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
15370 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
15371 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
15372 * nscd/gai.c (__nss_hosts_database): Readd definition.
15373 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
15374 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
15375 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
15377 2018-03-02 Joseph Myers <joseph@codesourcery.com>
15379 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
15380 (ifunc_one): Likewise.
15382 2018-03-01 DJ Delorie <dj@delorie.com>
15385 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
15388 2018-03-01 Maciej W. Rozycki <macro@mips.com>
15390 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
15391 `match_pid' parameter.
15392 (td_ta_thr_iter): Update accordingly.
15394 2018-03-01 Florian Weimer <fweimer@redhat.com>
15396 * nptl/Makefile (install-lib-ldscripts): Remove.
15397 (install): Remove rule.
15398 ($(inst_libdir)/libpthread.so): Likewise.
15400 2018-03-01 Mike FABIAN <mfabian@redhat.com>
15403 * localedata/locales/an_ES: update month and day names,
15404 improve d_fmt, improve postal_fmt, add country_post,
15407 2018-03-01 Mike FABIAN <mfabian@redhat.com>
15409 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
15410 Ukrainian instead of Bulgarian.
15412 2018-03-01 Florian Weimer <fweimer@redhat.com>
15414 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
15417 2018-03-01 Florian Weimer <fweimer@redhat.com>
15419 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
15420 * nptl/Makefile (routines): Add pthread_atfork.
15421 (static-only-routines): Set to pthread_atfork.
15422 (libpthread-routines): Remove pthread_atfork.
15423 (libpthread-static-only-routines): Remove.
15424 (install): Update comment.
15425 (libpthread.so): Do not install libpthread_nonshared.a.
15426 (tests): Do not link with libpthread_nonshared.a.
15427 (generated): Remove libpthread_nonshared.a.
15428 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
15429 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
15430 with libpthread_nonshared.a.
15432 2018-02-28 Joseph Myers <joseph@codesourcery.com>
15435 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
15436 (libc_feholdexcept_setroundf128): New macro.
15437 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
15440 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
15442 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
15443 * include/inttypes.h: New file.
15445 2018-02-27 Joseph Myers <joseph@codesourcery.com>
15447 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
15448 -Os in two more places.
15450 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15452 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
15453 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
15454 be sorted correctly at the moment because of a bug.
15456 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15458 [BZ #22550] - es_ES locale (and other es_* locales): collation should
15459 treat ñ as a primary different character, sync the collation
15460 for Spanish with CLDR.
15461 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
15462 * localedata/Makefile: Add new test files.
15463 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
15464 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
15466 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
15467 * localedata/am_ET.UTF-8.in: New test file.
15468 * localedata/az_AZ.UTF-8.in: Likewise.
15469 * localedata/be_BY.UTF-8.in: Likewise.
15470 * localedata/ber_DZ.UTF-8.in: Likewise.
15471 * localedata/ber_MA.UTF-8.in: Likewise.
15472 * localedata/bg_BG.UTF-8.in: Likewise.
15473 * localedata/br_FR.UTF-8.in: Likewise.
15474 * localedata/cmn_TW.UTF-8.in: Likewise.
15475 * localedata/crh_UA.UTF-8.in: Likewise.
15476 * localedata/csb_PL.UTF-8.in: Likewise.
15477 * localedata/cv_RU.UTF-8.in: Likewise.
15478 * localedata/cy_GB.UTF-8.in: Likewise.
15479 * localedata/dz_BT.UTF-8.in: Likewise.
15480 * localedata/eo.UTF-8.in: Likewise.
15481 * localedata/es_ES.UTF-8.in: Likewise.
15482 * localedata/fa_IR.UTF-8.in: Likewise.
15483 * localedata/fi_FI.UTF-8.in: Likewise.
15484 * localedata/fil_PH.UTF-8.in: Likewise.
15485 * localedata/fur_IT.UTF-8.in: Likewise.
15486 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
15487 * localedata/ha_NG.UTF-8.in: Likewise.
15488 * localedata/ig_NG.UTF-8.in: Likewise.
15489 * localedata/ik_CA.UTF-8.in: Likewise.
15490 * localedata/kk_KZ.UTF-8.in: Likewise.
15491 * localedata/ku_TR.UTF-8.in: Likewise.
15492 * localedata/ky_KG.UTF-8.in: Likewise.
15493 * localedata/ln_CD.UTF-8.in: Likewise.
15494 * localedata/mi_NZ.UTF-8.in: Likewise.
15495 * localedata/ml_IN.UTF-8.in: Likewise.
15496 * localedata/mn_MN.UTF-8.in: Likewise.
15497 * localedata/mr_IN.UTF-8.in: Likewise.
15498 * localedata/mt_MT.UTF-8.in: Likewise.
15499 * localedata/nb_NO.UTF-8.in: Likewise.
15500 * localedata/om_KE.UTF-8.in: Likewise.
15501 * localedata/os_RU.UTF-8.in: Likewise.
15502 * localedata/ps_AF.UTF-8.in: Likewise.
15503 * localedata/ro_RO.UTF-8.in: Likewise.
15504 * localedata/ru_RU.UTF-8.in: Likewise.
15505 * localedata/sc_IT.UTF-8.in: Likewise.
15506 * localedata/se_NO.UTF-8.in: Likewise.
15507 * localedata/sq_AL.UTF-8.in: Likewise.
15508 * localedata/sv_SE.UTF-8.in: Likewise.
15509 * localedata/szl_PL.UTF-8.in: Likewise.
15510 * localedata/tg_TJ.UTF-8.in: Likewise.
15511 * localedata/tk_TM.UTF-8.in: Likewise.
15512 * localedata/tt_RU.UTF-8.in: Likewise.
15513 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
15514 * localedata/ug_CN.UTF-8.in: Likewise.
15515 * localedata/uz_UZ.UTF-8.in: Likewise.
15516 * localedata/vi_VN.UTF-8.in: Likewise.
15517 * localedata/yi_US.UTF-8.in: Likewise.
15518 * localedata/yo_NG.UTF-8.in: Likewise.
15519 * localedata/zh_CN.UTF-8.in: Likewise.
15520 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
15521 file and fix bugs in the collation.
15522 * localedata/locales/az_AZ: Likewise.
15523 * localedata/locales/be_BY: Likewise.
15524 * localedata/locales/ber_DZ: Likewise.
15525 * localedata/locales/ber_MA: Likewise.
15526 * localedata/locales/bg_BG: Likewise.
15527 * localedata/locales/br_FR: Likewise.
15528 * localedata/locales/br_FR@euro: Likewise.
15529 * localedata/locales/ca_ES: Likewise.
15530 * localedata/locales/cns11643_stroke: Likewise.
15531 * localedata/locales/crh_UA: Likewise.
15532 * localedata/locales/cs_CZ: Likewise.
15533 * localedata/locales/csb_PL: Likewise.
15534 * localedata/locales/cv_RU: Likewise.
15535 * localedata/locales/cy_GB: Likewise.
15536 * localedata/locales/da_DK: Likewise.
15537 * localedata/locales/dz_BT: Likewise.
15538 * localedata/locales/en_CA: Likewise.
15539 * localedata/locales/eo: Likewise.
15540 * localedata/locales/es_CU: Likewise.
15541 * localedata/locales/es_EC: Likewise.
15542 * localedata/locales/es_ES: Likewise.
15543 * localedata/locales/es_US: Likewise.
15544 * localedata/locales/et_EE: Likewise.
15545 * localedata/locales/fa_IR: Likewise.
15546 * localedata/locales/fi_FI: Likewise.
15547 * localedata/locales/fil_PH: Likewise.
15548 * localedata/locales/fur_IT: Likewise.
15549 * localedata/locales/gez_ER@abegede: Likewise.
15550 * localedata/locales/ha_NG: Likewise.
15551 * localedata/locales/hr_HR: Likewise.
15552 * localedata/locales/hsb_DE: Likewise.
15553 * localedata/locales/hu_HU: Likewise.
15554 * localedata/locales/ig_NG: Likewise.
15555 * localedata/locales/ik_CA: Likewise.
15556 * localedata/locales/is_IS: Likewise.
15557 * localedata/locales/iso14651_t1_pinyin: Likewise.
15558 * localedata/locales/kk_KZ: Likewise.
15559 * localedata/locales/ku_TR: Likewise.
15560 * localedata/locales/ky_KG: Likewise.
15561 * localedata/locales/ln_CD: Likewise.
15562 * localedata/locales/lt_LT: Likewise.
15563 * localedata/locales/lv_LV: Likewise.
15564 * localedata/locales/mi_NZ: Likewise.
15565 * localedata/locales/ml_IN: Likewise.
15566 * localedata/locales/mn_MN: Likewise.
15567 * localedata/locales/mr_IN: Likewise.
15568 * localedata/locales/mt_MT: Likewise.
15569 * localedata/locales/nb_NO: Likewise.
15570 * localedata/locales/om_KE: Likewise.
15571 * localedata/locales/os_RU: Likewise.
15572 * localedata/locales/pl_PL: Likewise.
15573 * localedata/locales/ps_AF: Likewise.
15574 * localedata/locales/ro_RO: Likewise.
15575 * localedata/locales/ru_RU: Likewise.
15576 * localedata/locales/ru_UA: Likewise.
15577 * localedata/locales/sc_IT: Likewise.
15578 * localedata/locales/se_NO: Likewise.
15579 * localedata/locales/si_LK: Likewise.
15580 * localedata/locales/sq_AL: Likewise.
15581 * localedata/locales/sv_FI: Likewise.
15582 * localedata/locales/sv_FI@euro: Likewise.
15583 * localedata/locales/sv_SE: Likewise.
15584 * localedata/locales/szl_PL: Likewise.
15585 * localedata/locales/tg_TJ: Likewise.
15586 * localedata/locales/ti_ER: Likewise.
15587 * localedata/locales/tk_TM: Likewise.
15588 * localedata/locales/tl_PH: Likewise.
15589 * localedata/locales/tr_TR: Likewise.
15590 * localedata/locales/tt_RU: Likewise.
15591 * localedata/locales/tt_RU@iqtelif: Likewise.
15592 * localedata/locales/ug_CN: Likewise.
15593 * localedata/locales/uk_UA: Likewise.
15594 * localedata/locales/uz_UZ: Likewise.
15595 * localedata/locales/uz_UZ@cyrillic: Likewise.
15596 * localedata/locales/vi_VN: Likewise.
15597 * localedata/locales/yi_US: Likewise.
15598 * localedata/locales/yo_NG: Likewise.
15600 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15602 * gen-locales.mk: Make test files which contain @ modifiers in their
15604 * localedata/gen-locale.sh: Likewise.
15606 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15608 * posix/tst-fnmatch.input: Fix results for range expressions
15610 * posix/tst-regexloc.c: Do not use a range expression for
15611 de_DE.ISO-8859-1 locale.
15613 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15615 * posix/bug-regex5.c: Fix test case because with the new
15616 iso14651_t1_common file, the da_DK locale now has 6 collating elements
15617 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
15620 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15622 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
15623 downloaded from ISO, the collation order of @-. and space has changed.
15624 Therefore, this test file needed to be adapted.
15625 * localedata/fr_CA.UTF-8.in: Likewise.
15626 * localedata/fr_FR.UTF-8.in: Likewise.
15627 * localedata/uk_UA.UTF-8.in: Likewise.
15629 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15631 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
15632 order of ȥ in the new iso14651_t1_common file.
15633 * localedata/pl_PL.UTF-8.in: Likewise.
15635 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15637 * localedata/locales/iso14651_t1_common: Add sections for various
15638 scripts to the iso14651_t1_common file.
15640 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15642 * localedata/locales/iso14651_t1_common: Use the code point of a
15643 character in the fourth collation level instead of IGNORE for all
15644 entries which have IGNORE on all 4 levels.
15646 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15648 * localedata/locales/iso14651_t1_common: Add some convenient collation
15649 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
15650 rules similar to those in CLDR.
15652 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15654 * localedata/locales/iso14651_t1_common: The new version of this
15655 file downloaded from ISO contained several syntax errors which
15656 are fixed by this patch.
15658 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15660 * localedata/locales/iso14651_t1_common: replace all <U.....>
15661 with <U000.....> because glibc understands only 4 digit or 8 digit
15663 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15665 * localedata/locales/iso14651_t1_common: Necessary changes
15666 to make the file downloaded from ISO usable by glibc.
15668 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15671 * localedata/locales/iso14651_t1_common: Update file to
15672 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
15674 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15676 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
15677 of <nptl/pthreadP.h>
15678 (thread_attr_compare): Move function to...
15679 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
15680 * sysdeps/nptl/timer_routines.h: ... new header.
15681 * sysdeps/mach/hurd/gai_misc.h: New file.
15683 2018-02-26 Joseph Myers <joseph@codesourcery.com>
15685 * string/strcoll_l.c: Include <libc-diag.h>.
15686 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
15687 declarations of seq1 and seq2.
15690 * stdlib/atoi.c (atoi): Use libc_hidden_def.
15691 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
15693 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
15697 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
15698 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
15699 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
15700 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
15701 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
15702 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
15704 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15706 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
15707 macros used in __ptrace_request.
15709 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
15712 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
15714 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
15715 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
15716 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
15719 2018-02-23 Joseph Myers <joseph@codesourcery.com>
15722 * ctype/ctype.c (tolower): Use libc_hidden_def.
15723 (toupper): Likewise.
15724 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
15725 [!_ISOMAC] (toupper): Likewise.
15727 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15729 * localedata/Makefile: Remove --quiet argument when
15732 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15735 * localedata/locales/pt_BR (LC_TIME): use / instead of -
15737 * localedata/locales/pt_PT (LC_TIME): likewise
15739 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15742 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
15743 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
15744 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
15746 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15748 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15750 * nptl/Makefile (routines): Remove unregister-atfork.
15751 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
15752 (fork_handler_alloc): Remove function.
15753 (fork_handlers, fork_handler_init): New variables.
15754 (__fork_lock): Rename to atfork_lock.
15755 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
15756 to use a dynamic array to add/remove atfork handlers.
15757 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15758 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
15759 Remove declaration.
15760 (fork_handler): Remove next, refcntr, and need_signal member.
15761 (__run_fork_handler_type): New enum.
15762 (__run_fork_handlers): New prototype.
15763 * nptl/register-atfork.c: Remove file.
15764 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
15766 * sysdeps/nptl/nptl-signals.h: Move to ...
15767 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
15769 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
15770 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
15771 unnecessary check for SIGTIMER.
15772 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
15773 remove unnecessary removal of SIGTIMER.
15774 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
15775 include-signals.h rename.
15776 * nptl/pthreadP.h: Likewise.
15777 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
15778 __is_internal_signal instead of __nptl_is_internal_signal.
15780 2018-02-22 Andrew Waterman <andrew@sifive.com>
15783 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
15784 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
15785 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
15786 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
15788 2018-02-22 DJ Delorie <dj@delorie.com>
15790 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
15792 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
15794 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
15795 do_misaligned, not misaligned8.
15797 2018-02-22 Steve Ellcey <sellcey@cavium.com>
15799 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
15800 Add memcpy_thunderx2.
15801 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
15803 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
15804 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
15805 and IS_THUNDERX2PA checks.
15806 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
15807 Use macro to set name appropriately.
15808 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
15809 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
15810 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
15812 (IS_THUNDERX2): New macro.
15814 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
15816 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15818 2018-02-21 Zack Weinberg <zackw@panix.com>
15820 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
15821 Define here, unconditionally.
15822 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
15823 * libio/libioP.h: Remove #if 0 blocks.
15824 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
15825 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
15826 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
15828 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
15829 Assume weak_alias is always defined.
15831 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
15832 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
15833 Remove #if 0 and #ifdef TODO blocks.
15834 Assume text_set_element is always defined.
15836 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
15837 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
15838 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
15840 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
15841 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
15842 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
15843 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
15844 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
15845 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
15846 Reformat bit flags for _flags field to make occupancy clearer.
15848 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
15849 Keep definitions consistent with those in libio/libio.h.
15851 * libio/libio.h (_IO_file_flags): Remove macro.
15852 All uses changed to _flags.
15854 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
15855 (__HAVE_COLUMN, _IO_BE): Don't define.
15856 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
15857 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
15858 * libio/libioP.h (EOF): Don't define.
15859 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
15860 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
15861 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
15862 testing _IO_UNIFIED_JUMPTABLES.
15864 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
15865 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
15866 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
15867 (_IO_size_t): Delete; all uses changed to size_t.
15868 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
15869 (_IO_off_t): Delete; all uses changed to off_t.
15870 (_IO_off64_t): Delete; all uses changed to off64_t.
15871 (_IO_pid_t): Delete; all uses changed to pid_t.
15872 (_IO_uid_t): Delete; all uses changed to uid_t.
15873 (_IO_wint_t): Delete; all uses changed to wint_t.
15874 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
15875 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
15876 (_IO_cookie_io_functions_t): Delete; all uses changed to
15877 cookie_io_functions_t.
15878 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
15879 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
15880 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
15881 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
15883 * libio/iofopncook.c: Remove unnecessary forward declarations.
15884 * libio/iolibio.h: Correct outdated commentary.
15885 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
15886 * stdio-common/fxprintf.c (__fxprintf_nocancel):
15887 Remove unnecessary casts.
15888 * stdio-common/getline.c: Use _IO_getdelim directly.
15889 Don't redefine ssize_t.
15890 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
15891 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
15892 Remove outdated comments.
15893 * stdio-common/vfscanf.c: Don't redefine va_list.
15895 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
15896 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
15897 Remove preprocessor conditionals on _LIBC and __USE_GNU,
15898 which are always true, and __cplusplus, which is always false.
15900 2018-02-21 Joseph Myers <joseph@codesourcery.com>
15904 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
15905 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
15906 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
15907 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
15909 [!_ISOMAC] (putc_unlocked): Likewise.
15910 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
15911 define inline if [__USE_EXTERN_INLINES].
15912 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
15917 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
15918 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
15919 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
15920 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
15921 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
15923 * time/tzfile.c (__tzfile_read): Likewise.
15925 2018-02-21 Mike FABIAN <mfabian@redhat.com>
15928 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
15930 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
15932 * io/fcntl.h: Fix a typo in a comment.
15934 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
15937 * include/features.h: Add _ISOC11_SOURCE to test for whether to
15938 define _DEFAULT_SOURCE.
15939 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
15941 2018-02-21 Florian Weimer <fweimer@redhat.com>
15944 * elf/cache.c (save_cache): Call fsync on temporary file before
15946 (save_aux_cache): Call fdatasync on temporary file before renaming
15949 2018-02-21 Florian Weimer <fweimer@redhat.com>
15952 * include/caller.h: Remove file.
15953 * elf/dl-caller.c: Likewise.
15954 * elf/Makefile (dl-routines): Remove dl-caller.
15955 (shared-only-routines): Do not add dl-caller.
15956 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
15958 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
15960 (dl_open_worker): Do not call __check_caller.
15961 (_dl_open): Do not set caller_dl_open member.
15962 * elf/rtld.c (_rtld_global_ro): Do not initialize
15963 _dl_check_caller member.
15964 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
15965 _dl_check_caller member.
15966 (_dl_check_caller): Remove declaration.
15967 * sysdeps/unix/sysv/linux/dl-execstack.c
15968 (_dl_make_stack_executable): Do not call __check_caller.
15970 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
15972 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
15973 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
15975 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
15977 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
15980 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
15983 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
15984 of 199606L, 200112L, and 200809L.
15985 (_XOPEN_SOURCE): Document special values of 600 and 700.
15986 (_ISOC11_SOURCE): Document macro.
15987 (_ATFILE_SOURCE): Likewise.
15988 (_FORTIFY_SOURCE): Likewise.
15990 2018-02-19 Joseph Myers <joseph@codesourcery.com>
15994 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
15995 and define as weak alias of __ferror_unlocked. Use
15997 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
15999 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
16000 function if [__USE_EXTERN_INLINES].
16001 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
16004 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
16007 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
16009 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
16012 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
16013 the GLIBC_2.1 version.
16015 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
16018 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
16019 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
16020 intl/tst-gettext-de.po from po/de.po by removing the
16021 POT-Creation-Date line.
16022 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
16024 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
16027 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
16029 * mach/Makefile (headers): Add mach/param.h.
16030 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
16031 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
16032 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
16033 (__ptsname_r): Move implementation to...
16034 (__ptsname_internal): ... new function. Add filling the STP
16037 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
16039 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
16042 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
16044 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
16047 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
16049 * nptl/Makefile (tst-mutex8-ENV): Delete.
16050 * nptl/tst-mutex8.c (check_type):
16051 Add runtime check if mutex will be elided.
16053 2018-02-15 Joseph Myers <joseph@codesourcery.com>
16057 * manual/install.texi (Configuring and compiling): Describe
16058 passing CC and CFLAGS on configure command line, not as
16059 environment variables. Use @code markup on those variables.
16060 Specify what options go in CC and what go in CFLAGS. Note the
16061 requirement to compile with optimization.
16062 * INSTALL: Regenerated.
16065 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
16066 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
16067 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
16068 __sigprocmask instead of sigprocmask.
16069 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
16071 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
16072 __sigsetjmp and sigprocmask.
16075 * include/argz.h (argz_next): Use libc_hidden_proto.
16076 (__argz_next): Likewise.
16077 * string-argz-next.c (__argz_next): Use libc_hidden_def.
16078 (argz_next): Use libc_hidden_weak.
16081 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
16083 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
16087 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
16089 * libio/iofputs.c (fputs): Use libc_hidden_weak.
16093 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
16094 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
16095 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
16096 (__feof_unlocked): New declaration, and inline function if
16097 [__USE_EXTERN_INLINES].
16098 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
16099 instead of feof_unlocked.
16100 * intl/localealias.c [_LIBC] (FEOF): Likewise.
16101 * nss/nsswitch.c (nss_parse_file): Likewise.
16102 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
16104 * time/getdate.c (__getdate_r): Likewise.
16105 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
16106 Define as macro to call __feof_unlocked.
16108 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
16110 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
16112 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
16114 * math/Makefile: Remove mpexp.c and mplog.c
16115 * sysdeps/i386/fpu/mpexp.c: Delete file.
16116 * sysdeps/i386/fpu/mplog.c: Likewise.
16117 * sysdeps/ia64/fpu/mpexp.c: Likewise.
16118 * sysdeps/ia64/fpu/mplog.c: Likewise.
16119 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
16120 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
16121 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
16122 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16123 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
16124 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
16125 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
16126 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
16127 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
16128 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16129 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
16130 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
16131 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16132 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
16133 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
16134 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16136 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
16138 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16140 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16142 * sysdeps/sh/libm-test-ulps: Update.
16144 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16146 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
16149 2018-02-12 Zack Weinberg <zackw@panix.com>
16152 * posix/sys/types.h: Don't include sys/sysmacros.h.
16153 * misc/sys/sysmacros.h: Remove the conditional deprecation
16154 warnings for the macros defined by this header.
16156 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
16158 * manual/probes.texi: Remove slowexp probes.
16159 * math/Makefile: Remove slowexp.
16160 * sysdeps/generic/math_private.h (__slowexp): Remove.
16161 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
16162 document error bounds.
16163 * sysdeps/i386/fpu/slowexp.c: Remove.
16164 * sysdeps/ia64/fpu/slowexp.c: Remove.
16165 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
16166 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
16167 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
16168 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
16169 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
16170 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
16171 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
16172 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
16173 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
16174 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
16175 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
16177 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
16180 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
16181 * benchtests/pow-inputs: Update comment for slow path cases.
16182 * manual/probes.texi (slowpow_p10): Delete removed probe.
16183 (slowpow_p10): Likewise.
16184 * math/Makefile: Remove halfulp.c and slowpow.c.
16185 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
16186 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
16187 (__halfulp): Remove.
16188 (__slowpow): Remove.
16189 * sysdeps/i386/fpu/halfulp.c: Delete file.
16190 * sysdeps/i386/fpu/slowpow.c: Likewise.
16191 * sysdeps/ia64/fpu/halfulp.c: Likewise.
16192 * sysdeps/ia64/fpu/slowpow.c: Likewise.
16193 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
16194 improve comments and add error analysis.
16195 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
16196 (power1): Remove function:
16197 (log1): Remove error argument, add error analysis.
16198 (my_log2): Remove function.
16199 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
16200 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16201 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
16202 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
16203 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
16204 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
16205 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
16206 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
16207 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
16208 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
16209 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
16210 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16211 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
16212 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16214 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
16216 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
16217 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
16219 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
16222 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
16223 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
16224 and PTRACE_SETHBPREGS.
16226 2018-02-10 Zack Weinberg <zackw@panix.com>
16229 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
16231 * malloc/tst-malloc-stats-cancellation.c: New test case.
16232 * malloc/Makefile: Add new test case.
16234 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
16236 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
16238 2018-02-10 Joseph Myers <joseph@codesourcery.com>
16240 * math/Makefile (libm-narrow-fns): Add add.
16241 (libm-test-funcs-narrow): Likewise.
16242 * math/Versions (GLIBC_2.28): Add narrowing add functions.
16243 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
16244 * math/gen-auto-libm-tests.c (test_functions): Add add.
16245 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
16246 (NARROW_ADD_ROUND_TO_ODD): Likewise.
16247 (NARROW_ADD_TRIVIAL): Likewise.
16248 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
16250 (__daddl): Likewise.
16251 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
16253 (CFLAGS-nldbl-dadd.c): New variable.
16254 (CFLAGS-nldbl-fadd.c): Likewise.
16255 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16257 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
16259 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
16260 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
16261 * math/auto-libm-test-in: Add tests of add.
16262 * math/auto-libm-test-out-narrow-add: New generated file.
16263 * math/libm-test-narrow-add.inc: New file.
16264 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
16265 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
16266 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
16267 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
16268 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
16269 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
16270 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
16271 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
16272 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
16273 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
16274 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
16275 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
16276 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
16277 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
16278 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
16279 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
16280 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
16281 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
16282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16283 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16284 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16285 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16286 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16287 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16288 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16289 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16290 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16291 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16292 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16293 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16294 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16295 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16300 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16301 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16302 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16303 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16304 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16305 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16306 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
16307 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
16308 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16309 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16311 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
16312 (f128-pairs): New variable.
16313 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
16314 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
16316 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
16317 Also make tests add $(f128-loader-link) to gnulib-tests.
16319 2018-02-09 DJ Delorie <dj@redhat.com>
16322 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
16323 64-bit ELF type for 64-bit ELF objects.
16325 2018-02-09 Joseph Myers <joseph@codesourcery.com>
16327 * math/libm-test-driver.c (snan_tests_arg): New variable.
16328 * math/libm-test-support.h (snan_tests_arg): New declaration.
16329 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
16331 * math/Makefile (test-type-pairs): New variable.
16332 (test-type-pairs-f64xf128-yes): Likewise.
16333 (tests): Add test-narrow-macros.
16334 (libm-test-funcs-narrow): New variable.
16335 (libm-test-c-narrow): Likewise.
16336 (generated): Add $(libm-test-c-narrow).
16337 (libm-tests-base-narrow): New variable.
16338 (libm-tests-narrow): Likewise.
16339 (libm-tests): Add $(libm-tests-narrow).
16340 (libm-tests-for-type): Handle $(libm-tests-narrow).
16341 (libm-test-c-narrow-obj): New variable.
16342 ($(libm-test-c-narrow-obj)): New rule.
16343 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
16344 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
16345 $(o-iterator) to set dependencies and CFLAGS.
16346 * math/gen-auto-libm-tests.c: Document use for narrowing
16348 (output_for_one_input_case): Take argument NARROW.
16349 (generate_output): Likewise. Update call to
16350 output_for_one_input_case.
16351 (main): Take --narrow option. Update call to generate_output.
16352 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
16353 (apply_lit): Update call to _apply_lit.
16354 (apply_arglit): New function.
16355 (parse_args): Handle "a" arguments.
16356 (parse_auto_input): Handle format names using ":".
16357 * math/README.libm-test: Document "a" parameter type.
16358 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
16359 (ARG_TYPE_TRUE_MIN): Likewise.
16360 (ARG_TYPE_MAX): Likwise.
16361 (ARG_MIN_EXP): Likewise.
16362 (ARG_MAX_EXP): Likewise.
16363 (ARG_MANT_DIG): Likewise.
16364 (TEST_COND_arg_ibm128): Likewise.
16365 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
16366 (TEST_COND_arg_fmt): New macro.
16367 (init_max_error): Update prototype.
16368 * math/libm-test-support.c (test_ibm128): New variable.
16369 (init_max_error): Take argument testing_ibm128 and set test_ibm128
16370 instead of using [TEST_COND_ibm128] conditional.
16371 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
16372 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
16373 [TEST_NARROW] (TEST_MSG): New definition.
16374 (arg_plus_zero): New macro.
16375 (arg_minus_zero): Likewise.
16376 (arg_plus_infty): Likewise.
16377 (arg_minus_infty): Likewise.
16378 (arg_qnan_value_pl): Likewise.
16379 (arg_qnan_value): Likewise.
16380 (arg_snan_value_pl): Likewise.
16381 (arg_snan_value): Likewise.
16382 (arg_max_value): Likewise.
16383 (arg_min_value): Likewise.
16384 (arg_min_subnorm_value): Likewise.
16385 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
16386 (RUN_TEST_LOOP_aa_f): New macro.
16387 (TEST_SUFF): New macro.
16388 (TEST_SUFF_STR): Likewise.
16389 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
16390 (TEST_COND_any_ibm128): New macro.
16391 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
16392 this_func. Update call to init_max_error.
16393 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
16394 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
16395 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
16396 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
16397 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
16398 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
16399 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
16400 * math/test-math-scalar.h (TEST_NARROW): Likewise.
16401 * math/test-math-vector.h (TEST_NARROW): Likewise.
16402 * math/test-arg-double.h: New file.
16403 * math/test-arg-float128.h: Likewise.
16404 * math/test-arg-float32x.h: Likewise.
16405 * math/test-arg-float64.h: Likewise.
16406 * math/test-arg-float64x.h: Likewise.
16407 * math/test-arg-ldouble.h: Likewise.
16408 * math/test-math-narrow.h: Likewise.
16409 * math/test-narrow-macros.c: Likewise.
16410 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
16411 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
16412 test-narrow-macros-ldbl-64.
16413 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
16415 * math/bits/mathcalls-narrow.h: New file.
16416 * include/bits/mathcalls-narrow.h: Likewise.
16417 * math/math-narrow.h: Likewise.
16418 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
16419 (__MATHCALL_NARROW_ARGS_2): Likewise.
16420 (__MATHCALL_NARROW_ARGS_3): Likewise.
16421 (__MATHCALL_NARROW_NORMAL): Likewise.
16422 (__MATHCALL_NARROW_REDIR): Likewise.
16423 (__MATHCALL_NARROW): Likewise.
16424 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
16425 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
16427 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
16428 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
16429 (libm-narrow-fns): New variable.
16430 (libm-narrow-types-basic): Likewise.
16431 (libm-narrow-types-ldouble-yes): Likewise.
16432 (libm-narrow-types-float128-yes): Likewise.
16433 (libm-narrow-types-float128-alias-yes): Likewise.
16434 (libm-narrow-types): Likewise.
16435 (libm-routines): Add narrowing functions.
16436 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
16437 (libc_feholdexcept_setroundf128): New macro.
16438 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
16439 * sysdeps/ieee754/float128/float128_private.h: Include
16440 <math/math-narrow.h>.
16441 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
16442 Undefine and redefine.
16443 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
16444 (libm_alias_float_ldouble): Undefine and redefine.
16445 (libm_alias_double_ldouble): Likewise.
16447 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
16449 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
16451 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
16454 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
16456 * manual/creature.texi: Convert references to gcc.info to gcc.
16457 * manual/stdio.texi: Likewise.
16458 * manual/string.texi: Likewise.
16460 2018-02-07 Joseph Myers <joseph@codesourcery.com>
16463 * posix/bits/types.h (__int_least8_t): New typedef.
16464 (__uint_least8_t): Likewise.
16465 (__int_least16_t): Likewise.
16466 (__uint_least16_t): Likewise.
16467 (__int_least32_t): Likewise.
16468 (__uint_least32_t): Likewise.
16469 (__int_least64_t): Likewise.
16470 (__uint_least64_t): Likewise.
16471 * sysdeps/generic/stdint.h (int_least8_t): Define using
16473 (int_least16_t): Define using __int_least16_t.
16474 (int_least32_t): Define using __int_least32_t.
16475 (int_least64_t): Define using __int_least64_t.
16476 (uint_least8_t): Define using __uint_least8_t.
16477 (uint_least16_t): Define using __uint_least16_t.
16478 (uint_least32_t): Define using __uint_least32_t.
16479 (uint_least64_t): Define using __uint_least64_t.
16480 * wcsmbs/uchar.h: Include <bits/types.h>.
16481 (char16_t): Define using __uint_least16_t conditional only on
16483 (char32_t): Define using __uint_least32_t conditional only on
16485 * wcsmbs/test-char-types.c: New file.
16486 * wcsmbs/Makefile (tests): Add test-char-types.
16488 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
16491 2018-02-07 Zack Weinberg <zackw@panix.com>
16493 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
16494 Delete all contents except for definitions of _G_HAVE_MMAP and
16495 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
16496 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
16497 sysdeps/unix/sysv/linux/_G_config.h. Make same content
16500 * libio/libio.h: Don't include bits/_G_config.h here.
16501 Include stddef.h with __need_wchar_t defined. Include
16502 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
16503 Define _IO_iconv_t here, directly.
16504 Don't define _IO_HAVE_ST_BLKSIZE.
16505 * libio/libioP.h: Include _G_config.h here. Move include of
16506 shlib-compat.h up with rest of includes. Simplify conditionals
16507 controlling definition of _IO_JUMPS_OFFSET.
16509 * csu/init.c: Remove always-true #if around entire file.
16510 Don't include stdio.h. Set _IO_stdin_used to hardwired
16511 constant 0x20001, and update commentary.
16512 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
16513 Replace all uses of _G_va_list with __gnuc_va_list.
16514 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
16515 instead of #if _IO_HAVE_ST_BLKSIZE.
16516 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
16517 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
16520 * libio/bits/libio.h: Move back to libio/libio.h and adjust
16521 multiple-include guard to match.
16522 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
16524 Remove preprocessor conditionals that are always true and/or
16525 redundant to other preprocessor conditionals in the same nest.
16526 Include shlib-compat.h unconditionally.
16527 Error out if _LIBC is not defined, or if _ISOMAC is defined,
16528 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
16529 defined after including stdio.h.
16530 Use __BEGIN_DECLS/__END_DECLS.
16532 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
16533 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
16534 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
16536 2018-02-07 Zack Weinberg <zackw@panix.com>
16538 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
16539 New single-type headers split from _G_config.h.
16540 * libio/bits/types/cookie_io_functions_t.h
16541 * libio/bits/types/struct_FILE.h
16542 New single-type headers split from libio.h.
16544 * libio/Makefile: Install the above new headers. Don't install
16545 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
16547 * libio/_G_config.h, libio/libio.h: Delete file.
16549 * libio/bits/libio.h: Remove improper-inclusion guard.
16550 Include stdio.h and don't repeat anything that it does.
16551 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
16552 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
16553 __io_read_fn as cookie_read_function_t,
16554 __io_write_fn as cookie_write_function_t,
16555 __io_seek_fn as cookie_seek_function_t,
16556 __io_close_fn as cookie_close_function_t,
16557 and _IO_cookie_io_functions_t as cookie_io_functions_t.
16558 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
16559 here, in the "compatibility defines" section. Remove an #if 0
16560 block. Use the "body" macros from bits/types/struct_FILE.h to
16561 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
16562 and _IO_ferror_unlocked.
16563 Move prototypes of __uflow and __overflow...
16565 * libio/stdio.h: ...here. Don't include bits/libio.h.
16566 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
16567 directly from stdarg.h. Include bits/types/__fpos_t.h,
16568 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
16569 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
16570 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
16571 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
16572 cookie_io_functions_t, not _IO_cookie_io_functions_t;
16573 __ssize_t, not _IO_ssize_t. Unconditionally define
16574 BUFSIZ as 8192 and EOF as (-1).
16576 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
16577 macros from bits/types/struct_FILE.h instead of _IO_* macros
16578 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
16579 instead of _IO_ssize_t.
16580 * libio/bits/stdio2.h: Similarly.
16582 * libio/iolibio.h: Add multiple-include guard.
16583 Include bits/libio.h after stdio.h.
16584 * libio/libioP.h: Add multiple-include guard.
16585 Include stdio.h and bits/libio.h before iolibio.h.
16587 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
16588 * include/bits/types/cookie_io_functions_t.h
16589 * include/bits/types/struct_FILE.h: New wrappers.
16591 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
16592 Get definitions of _G_fpos_t and _G_fpos64_t from
16593 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
16594 respectively. Remove improper-inclusion guards.
16596 * conform/data/stdio.h-data: Update expectations of va_list.
16597 * scripts/check-installed-headers.sh: Remove special case for
16598 libio.h and _G_config.h.
16600 2018-02-07 Joseph Myers <joseph@codesourcery.com>
16604 * include/sys/sysmacros.h [!_ISOMAC]
16605 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
16606 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
16607 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
16608 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
16610 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
16611 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
16613 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
16614 Undefine and redefine to add use __gnu_dev_ prefix.
16615 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
16617 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
16618 and define as hidden inline function.
16619 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
16621 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
16623 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
16624 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
16625 (gnu_dev_minor): Likewise.
16626 (gnu_dev_makedev): Likewise.
16627 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
16629 * posix/wordexp.c (exec_comm_child): Likewise.
16630 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
16631 instead of minor and __gnu_dev_major instead of major.
16632 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
16633 __gnu_dev_major instead of major.
16634 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
16635 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
16636 instead of gnu_dev_minor.
16637 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
16638 (SLAVE_P): Likewise.
16639 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
16640 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
16644 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
16646 * locale/weightwc.h (findidx): Likewise.
16648 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
16650 * manual/probes.texi (slowlog): Delete documentation of removed probe.
16651 (slowlog_inexact): Likewise
16652 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
16653 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
16655 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
16658 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
16659 missing second underscore to parameter name.
16661 2018-02-06 Joseph Myers <joseph@codesourcery.com>
16667 * bits/byteswap.h: Update file comment. Do not include
16668 <bits/byteswap-16.h>.
16669 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
16671 (__bswap_16): Define as inline function.
16672 (__bswap_constant_32): Reformat definition.
16673 (__bswap_32): Always define as inline function, not macro, using
16674 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
16675 otherwise __bswap_constant_32.
16676 (__bswap_constant_64): Reformat definition. Do not use
16677 __extension__ here.
16678 (__bswap_64): Always define as inline function, not macro. Use
16679 __extension__ on function definition. Use __builtin_bswap64 if
16680 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
16681 * string/test-endian-file-scope.c: New file.
16682 * string/test-endian-sign-conversion.c: Likewise.
16683 * string/Makefile (headers): Remove bits/byteswap-16.h.
16684 (tests): Add test-endian-file-scope and
16685 test-endian-sign-conversion.
16686 (CFLAGS-test-endian-sign-conversion.c): New variable.
16687 * bits/byteswap-16.h: Remove file.
16688 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
16689 * sysdeps/ia64/bits/byteswap.h: Likewise.
16690 * sysdeps/m68k/bits/byteswap.h: Likewise.
16691 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16692 * sysdeps/s390/bits/byteswap.h: Likewise.
16693 * sysdeps/tile/bits/byteswap.h: Likewise.
16694 * sysdeps/x86/bits/byteswap-16.h: Likewise.
16695 * sysdeps/x86/bits/byteswap.h: Likewise.
16698 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
16699 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
16700 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
16701 199901L] (__restrict): Define to restrict.
16704 * string/testcopy.c: Include <support/support.h>. Do not include
16705 <malloc.h>. Use <support/test-driver.c>.
16706 (main): Rename to do_test. Make static. Use xmalloc instead of
16710 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
16711 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
16712 (SSIZE_MAX): Define to INT_MAX.
16713 * posix/test-ssize-max.c: New file.
16714 * posix/Makefile (tests): Add test-ssize-max.
16717 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
16718 <support/support.h>. Do not include <malloc.h>.
16719 (query_auxv): Use xmalloc instead of malloc.
16722 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
16723 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
16726 2018-02-06 Florian Weimer <fweimer@redhat.com>
16729 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16730 Use scratch_buffer instead of extend_alloca.
16732 2018-02-06 Zack Weinberg <zackw@panix.com>
16734 * libio/stdio.h: Don't define getc or putc as macros.
16735 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
16736 not _IO_getc and _IO_putc.
16738 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
16739 * stdio-common/tstgetln.c: Don't redefine ssize_t.
16741 2018-02-06 Joseph Myers <joseph@codesourcery.com>
16743 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
16744 (TCP_FASTOPEN_NO_COOKIE): Likewise.
16746 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
16749 * elf/elf.h (NT_PRFPREG): New macro.
16750 (NT_S390_VXRS_LOW): Likewise.
16751 (NT_S390_VXRS_HIGH): Likewise.
16752 (NT_S390_GS_CB): Likewise.
16753 (NT_S390_GS_BC): Likewise.
16754 (NT_S390_RI_CB): Likewise.
16756 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
16757 (MAP_SYNC): New macro.
16758 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
16760 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
16761 (MAP_SYNC): Likewise.
16762 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
16763 (MAP_SYNC): Likewise.
16764 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
16765 (MAP_SYNC): Likewise.
16766 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
16767 (MAP_SYNC): Likewise.
16768 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
16769 (MAP_SYNC): Likewise.
16770 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
16771 (MAP_SYNC): Likewise.
16772 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
16774 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
16777 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
16778 (MAP_SHARED_VALIDATE): New macro.
16779 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16780 (MAP_SHARED_VALIDATE): Likewise.
16782 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16784 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
16785 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
16786 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
16788 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16790 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
16791 (DT_NUM): Updated to 35.
16793 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16795 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
16796 __builtin_expect with __glibc_likely and __glibc_unlikely.
16797 (elf_machine_rela): Likewise.
16798 (elf_machine_lazy_rel): Likewise.
16800 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16802 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
16803 __builtin_expect with __glibc_likely and __glibc_unlikely.
16804 (elf_machine_lazy_rel): Likewise.
16806 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16809 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
16811 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
16813 2018-02-05 Andreas Schwab <schwab@suse.de>
16816 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
16819 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16821 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
16822 not check against PTHREAD_STACK_MIN.
16824 2018-02-02 Sean McKean <smckean83@gmail.com>
16827 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
16829 2018-02-02 Florian Weimer <fweimer@redhat.com>
16832 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
16833 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
16834 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
16835 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
16836 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
16837 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
16838 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
16839 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
16840 * manual/llio.texi (Scatter-Gather): Mention offset -1.
16841 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
16842 * misc/tst-preadvwritev2.c (do_test): Call it.
16843 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
16845 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
16847 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
16849 * benchtests/bench-memcmp.c: Print json instead of plain text.
16851 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
16854 2018-02-01 Joseph Myers <joseph@codesourcery.com>
16856 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16858 (s390_sthyi): New syscall.
16860 * sysdeps/generic/ldbl-classify-compat.h: New file.
16861 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
16862 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
16863 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
16864 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
16865 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
16866 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
16867 * sysdeps/ieee754/dbl-64/s_finite.c: Include
16868 <ldbl-classify-compat.h>.
16869 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16870 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
16871 <ldbl-classify-compat.h>.
16872 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16873 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
16874 <ldbl-classify-compat.h>.
16875 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16876 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
16877 <ldbl-classify-compat.h>.
16878 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16879 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
16880 <ldbl-classify-compat.h>.
16881 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16882 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
16883 <ldbl-classify-compat.h>.
16884 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16885 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
16886 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
16887 * sysdeps/m68k/coldfire/math_private.h: Remove file.
16888 * sysdeps/microblaze/math_private.h: Likewise.
16889 * sysdeps/nios2/math_private.h: Likewise.
16890 * sysdeps/sh/math_private.h: Likewise.
16892 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
16893 * sysdeps/m68k/coldfire/math_private.h: ... here.
16894 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
16895 * sysdeps/tile/math_private.h: Likewise.
16896 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
16898 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
16901 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
16903 (libc_fetestexcept): Likewise.
16904 (libc_feupdateenv_test): Likewise.
16905 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
16906 (libc_fetestexcept): Likewise.
16907 (libc_feupdateenv_test): Likewise.
16908 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
16909 (libc_fetestexcept): Likewise.
16910 (libc_feupdateenv_test): Likewise.
16911 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
16912 (libc_fetestexcept): Likewise.
16913 (libc_feupdateenv_test): Likewise.
16915 * sysdeps/generic/math_private.h
16916 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
16917 New inline function.
16918 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
16921 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
16922 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
16923 * sysdeps/generic/math_private.h
16924 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
16926 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
16928 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
16930 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
16932 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
16934 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
16936 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
16937 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
16938 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
16939 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
16940 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
16941 (__fegetenv): Likewise.
16942 (fesetenv): Likewise.
16943 (__fesetenv): Likewise.
16944 (feupdateenv): Likewise.
16945 (__feupdateenv): Likewise.
16946 (fegetround): Likewise.
16947 (__fegetround): Likewise.
16948 (fesetround): Likewise.
16949 (__fesetround): Likewise.
16951 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
16952 (feraiseexcept): New macro.
16953 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
16954 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
16956 (__feraiseexcept): Likewise.
16957 (feclearexcept): Likewise.
16958 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
16959 (__feraiseexcept): Likewise.
16960 (feclearexcept): Likewise.
16961 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
16962 (__feraiseexcept): Likewise.
16963 (feclearexcept): Likewise.
16964 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
16965 (__feraiseexcept): Likewise.
16966 (feclearexcept): Likewise.
16967 (fetestexcept): Likewise.
16969 * sysdeps/m68k/coldfire/math-tests.h: New file.
16971 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
16972 * sysdeps/m68k/bits/fenv.h: ... here.
16973 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
16975 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
16977 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
16979 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
16981 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
16983 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
16985 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
16986 (__FE_UNDEFINED): New enum constant.
16987 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
16989 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
16991 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
16993 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
16994 to match generic bits/fenv.h.
16995 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
16998 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
17000 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
17001 * soft-fp/half.h (union _FP_UNION_H): Likewise.
17002 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
17003 * soft-fp/single.h (union _FP_UNION_S): Likewise.
17005 2018-02-01 Carlos O'Donell <carlos@redhat.com>
17006 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
17007 Joseph Myers <joseph@codesourcery.com>
17010 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
17011 (__log1p): Disable -Wmaybe-uninitialized for -Os around
17012 computation using c.
17013 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
17014 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
17015 computation using c.
17017 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
17019 * version.h (RELEASE): Set to "development".
17020 (VERSION): Set to "2.27.9000".
17021 * NEWS (2.28): New section.
17023 * version.h (RELEASE): Set to "stable".
17024 (VERSION): Set to "2.27".
17025 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
17027 * NEWS: Add the list of bugs fixed in 2.27.
17029 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17031 * stdlib/test-atexit-race-common.c (do_test): Check stack size
17032 against PTHREAD_STACK_MIN.
17034 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
17036 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
17038 (Rafal Luzynski, Andreas Schwab): Update.
17040 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
17043 * NEWS: List the languages which actually use the alternative
17044 months feature in this release. Also explain that "alt_mon" and
17045 "ab_alt_mon" are optional.
17047 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
17050 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
17052 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
17054 * manual/install.texi (Tools for Compilation): Update the newest
17055 versions of gcc, binutils, texinfo, gawk, bison, and sed.
17056 * INSTALL: Regenerated.
17058 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17060 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
17061 instead of __builtin_expect.
17063 2018-01-30 Florian Weimer <fweimer@redhat.com>
17065 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
17067 * nss/tst-nss-getpwent.c (do_test): Likewise.
17069 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
17072 * localedata/locales/hr_HR (mon): Rename to...
17074 (mon): Import from CLDR (genitive case).
17075 (d_t_fmt): Update the comment.
17077 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
17079 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
17080 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
17081 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
17083 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17085 * mach/Versions: Fix version when __mach_host_self_ was added.
17086 * hurd/Versions: Fix version when _hurd_exec_paths was added.
17087 * sysdeps/mach/hurd/i386/ld.abilist: New file.
17088 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
17089 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
17090 * sysdeps/mach/hurd/i386/libc.abilist: New file.
17091 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
17092 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
17093 * sysdeps/mach/hurd/i386/libm.abilist: New file.
17094 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
17095 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
17096 * sysdeps/mach/hurd/i386/librt.abilist: New file.
17097 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
17098 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
17099 || to respect codestyle.
17100 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
17101 (do_test_bz20181): Rename accordingly.
17102 * malloc/malloc.c: Include <assert.h>.
17103 (assert): Do not define.
17104 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
17105 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
17106 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
17107 * sysdeps/mach/hurd/hp-timing.h: New file.
17108 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
17110 2018-01-29 Darius Rad <darius@bluespec.com>
17112 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
17114 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
17116 * sysdeps/init_array/crti.S (.section .init_array): Add
17117 PREINIT_FUNCTION when defined.
17118 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
17119 * config.h.in: Regenerate.
17120 * manual/platform.texi: Add RISC-V documenation for
17121 __riscv_flush_icache.
17122 * sysdeps/riscv/__longjmp.S: New file.
17123 * sysdeps/riscv/backtrace.c: Likewise.
17124 * sysdeps/riscv/bits/endian.h: Likewise.
17125 * sysdeps/riscv/bits/setjmp.h: Likewise.
17126 * sysdeps/riscv/bits/wordsize.h: Likewise.
17127 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
17128 * sysdeps/riscv/bsd-setjmp.c: Likewise.
17129 * sysdeps/riscv/dl-trampoline.S: Likewise.
17130 * sysdeps/riscv/gccframe.h: Likewise.
17131 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
17132 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
17133 * sysdeps/riscv/machine-gmon.h: Likewise.
17134 * sysdeps/riscv/memusage.h: Likewise.
17135 * sysdeps/riscv/setjmp.S: Likewise.
17136 * sysdeps/riscv/sys/asm.h: Likewise.
17137 * sysdeps/riscv/tls-macros.h: Likewise.
17138 * sysdeps/riscv/dl-tls.h: New file.
17139 * sysdeps/riscv/libc-tls.c: Likewise.
17140 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
17141 * sysdeps/riscv/nptl/tls.h: Likewise.
17142 * sysdeps/riscv/stackinfo.h: Likewise.
17143 * sysdeps/riscv/bits/fenv.h: New file.
17144 * sysdeps/riscv/e_sqrtl.c: Likewise.
17145 * sysdeps/riscv/fpu_control.h: Likewise.
17146 * sysdeps/riscv/math-tests.h: Likewise.
17147 * sysdeps/riscv/nofpu/Implies: Likewise.
17148 * sysdeps/riscv/sfp-machine.h: Likewise.
17149 * sysdeps/riscv/tininess.h: Likewise.
17150 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
17151 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
17152 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
17153 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
17154 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
17155 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
17156 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
17157 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
17158 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
17159 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
17160 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
17161 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
17162 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
17163 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
17164 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
17165 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
17166 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
17167 * sysdeps/riscv/rvd/s_finite.c: Likewise.
17168 * sysdeps/riscv/rvd/s_fma.c: Likewise.
17169 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
17170 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
17171 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
17172 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
17173 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
17174 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
17175 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
17176 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
17177 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
17178 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
17179 * sysdeps/riscv/rvf/fegetround.c: Likewise.
17180 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
17181 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
17182 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
17183 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
17184 * sysdeps/riscv/rvf/fesetround.c: Likewise.
17185 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
17186 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
17187 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
17188 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
17189 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
17190 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
17191 * sysdeps/riscv/rvf/math_private.h: Likewise.
17192 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
17193 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
17194 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
17195 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
17196 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
17197 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
17198 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
17199 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
17200 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
17201 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
17202 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
17203 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
17204 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
17205 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
17206 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
17207 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
17208 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
17209 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
17210 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
17211 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
17212 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
17213 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
17214 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
17215 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
17216 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
17217 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
17218 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
17219 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
17220 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
17221 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
17222 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
17223 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
17224 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
17225 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
17226 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
17227 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
17228 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
17229 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
17230 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
17231 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
17232 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
17233 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
17234 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
17235 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
17236 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
17237 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
17238 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
17239 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
17240 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
17241 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
17242 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
17243 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
17244 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
17245 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
17246 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
17247 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
17248 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
17249 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
17250 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
17251 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
17252 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
17253 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
17254 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
17255 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
17256 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17257 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
17258 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
17259 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
17260 * sysdeps/riscv/Implies: New file.
17261 * sysdeps/riscv/Makefile: Likewise.
17262 * sysdeps/riscv/configure: Likewise.
17263 * sysdeps/riscv/configure.ac: Likewise.
17264 * sysdeps/riscv/nptl/Makefile: Likewise.
17265 * sysdeps/riscv/preconfigure: Likewise.
17266 * sysdeps/riscv/rv64/Implies-after: Likewise.
17267 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
17268 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
17269 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
17270 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
17271 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
17272 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
17273 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
17274 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
17275 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
17276 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
17277 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
17278 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
17279 (Config): Likewise.
17281 2018-01-29 Florian Weimer <fweimer@redhat.com>
17284 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
17285 libnsl_hidden_proto.
17286 * include/rpcsvc/yp.h (yp_xdrall): Declare with
17287 libnsl_hidden_proto.
17288 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
17289 * nis/Makefile (libnsl-routines): Add nss-default only for
17290 build-obsolete-nsl.
17291 * nis/nis_defaults.c (__nis_default_ttl): Add
17292 libnsl_hidden_nolink_def.
17293 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
17295 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
17296 * nis/ypclnt.c (yp_maplist): Likewise.
17298 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
17300 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17301 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
17303 2018-01-29 Joseph Myers <joseph@codesourcery.com>
17305 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
17306 clean -dxfq for git updates when replacing sources.
17308 * scripts/build-many-glibcs.py (Config.build_gcc): Use
17309 --disable-libcilkrts unconditionally, not just for the final GCC
17312 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
17315 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17318 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
17321 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17324 * localedata/locales/be_BY (mon): Rename to...
17325 (alt_mon): This, then synchronize with CLDR (nominative case).
17326 (abmon): Rename to...
17327 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
17328 (mon): Import from CLDR (genitive case).
17330 * localedata/locales/be_BY@latin (mon): Rename to...
17332 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
17334 * localedata/locales/be_BY@latin (lang_name): Reworded to
17335 "biełaruskaja mova".
17337 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17340 * localedata/locales/el_CY (mon): Renamed to...
17342 (mon): Import from CLDR (genitive case).
17343 * localedata/locales/el_GR: Likewise.
17345 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17348 * localedata/locales/ru_RU (mon): Rename to...
17350 (abmon): Rename to...
17351 (ab_alt_mon): This.
17352 (mon): Import from CLDR (genitive case).
17353 (abmon): Copy from the old content except the 5th month which is
17354 now in the genitive case, even when abbreviated.
17355 * localedata/locales/ru_UA: Likewise.
17356 * time/tst-strptime.c (day_tests): Add an actual example of
17357 a difference between %b and %Ob in Russian.
17359 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17361 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
17362 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
17364 * resolv/res-close.c: Include <stdlib.h>.
17365 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
17366 <sys/wait.h>, <time.h>, <sys/uio.h>.
17367 (NOT_CANCEL_H): Add inclusion guard.
17368 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
17369 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
17370 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
17372 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
17373 vm_address_t * to ElfW(Addr) * for dl_main parameter.
17374 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
17376 * sysdeps/pthread/timer_create.c (timer_create): Do not use
17377 timer_ptr2id to cast struct timer_node * to void *.
17378 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
17379 --disable-libcilkrts to gcc configure.
17380 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
17381 and make them the default for now.
17382 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
17383 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
17384 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
17385 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
17386 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
17388 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
17389 __task_terminate would ever return successfully.
17390 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
17392 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
17393 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
17394 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
17395 critical section to make code simpler and avoid warning.
17396 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
17397 critical section to make code simpler and avoid warning.
17398 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
17399 const char * instead of char *.
17400 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
17401 __hurd_file_name_split, hurd_file_name_split,
17402 __hurd_directory_name_split, hurd_directory_name_split,
17403 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
17404 hurd_file_name_path_lookup): Make lookup function parameter take a
17405 const char *name instead of char *name.
17406 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
17407 __hurd_directory_name_split): Likewise.
17408 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
17409 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
17410 * sysdeps/mach/hurd/check_native.c: New file.
17411 * sysdeps/mach/hurd/check_pf.c: New file.
17412 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
17413 (__freeifaddrs): Define macro to freeifaddrs.
17414 * sysdeps/mach/hurd/libhurduser.abilist: New file.
17415 * sysdeps/mach/libmachuser.abilist: New file.
17416 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
17417 (do_test_bz20181): Rename accordingly.
17418 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
17419 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
17421 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
17422 version only if __USE_EXTERN_INLINES is defined.
17423 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
17424 __hurd_sockfail): Likewise.
17425 (_hurd_fd_get): Always declare functions, and provide inline versions
17426 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
17427 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
17428 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
17429 _hurd_port_set): Always declare functions, and provide inline versions
17430 only if __USE_EXTERN_INLINES and _LIBC are defined and
17432 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
17433 _hurd_critical_section_unlock): Likewise.
17434 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
17435 * __hurd_threadvar_location): Likewise.
17436 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
17437 _hurd_userlink_clear): Likewise.
17438 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
17439 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
17440 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
17441 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
17442 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
17443 __spin_lock_locked): Likewise.
17444 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
17445 __spin_lock_locked): Likewise.
17446 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
17447 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
17448 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
17449 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
17450 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
17451 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
17452 _POSIX_NO_TRUNC): Define to 0.
17453 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
17454 check size against PTHREAD_STACK_MIN.
17455 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
17456 IS_IN(libpthread)]: Include <sigsetops.h>.
17457 * mach/Makefile (user-interfaces): Add mach/gnumach.
17458 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
17459 * sysdeps/mach/configure (mach_interface_list): Regenerate.
17460 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
17461 instead of invalid -1.
17462 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
17463 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
17464 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
17467 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
17469 * hurd/fcntl-internal.h: New file.
17471 2018-01-27 James Clarke <jrtc27@jrtc27.com>
17473 * sysdeps/hppa/fpu/libm-test-ulps: Update.
17475 * sysdeps/alpha/fpu/libm-test-ulps: Update.
17477 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
17480 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
17481 Build only shared objects.
17483 2018-01-26 Carlos O'Donell <carlos@redhat.com>
17485 * README: Update for hppa.
17487 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17489 * sysdeps/sparc/fpu/libm-test-ulps: Update
17490 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
17492 2018-01-26 Carlos O'Donell <carlos@redhat.com>
17496 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17499 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17500 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
17501 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17502 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
17505 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17508 * bits/types/__cancel_jmp_buf_tag.h: New file.
17509 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
17510 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
17511 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
17512 * nptl/Makefile (headers): Add
17513 bits/types/__cancel_jmp_buf_tag.h.
17514 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
17515 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
17516 * sysdeps/nptl/pthread.h: Include
17517 <bits/types/__cancel_jmp_buf_tag.h>.
17518 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
17520 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
17522 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
17525 * localedata/locales/uk_UA (mon): Renamed to...
17527 (alt_digits): "0" removed and then renamed to...
17529 (date_fmt): Definition changed not to use the alternative
17532 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
17534 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
17535 FLAG_RISCV_FLOAT_ABI_DOUBLE.
17536 * elf/elf.h (EF_RISCV_RVC): New define.
17537 (EF_RISCV_FLOAT_ABI): Likewise.
17538 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
17539 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
17540 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17541 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
17542 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
17544 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17546 2018-01-25 Andreas Schwab <schwab@suse.de>
17548 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
17550 * sysdeps/gnu/configure: Regenerate.
17551 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
17552 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17554 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
17555 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
17556 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
17557 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
17558 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
17560 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
17562 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
17563 URL, and run autoconf, make it the default for now.
17565 2018-01-24 Joseph Myers <joseph@codesourcery.com>
17567 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17568 soft-float ColdFire configuration.
17570 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
17571 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
17572 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
17574 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
17577 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
17579 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
17581 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
17584 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
17585 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
17586 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
17589 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
17592 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
17593 Rename to __reserved and add comment.
17594 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
17595 Rename to __reserved.
17597 2018-01-24 Joseph Myers <joseph@codesourcery.com>
17599 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17600 i686-gnu configurations.
17601 (Context.run_builds): Include mig, gnumach and hurd in components
17603 (Context.checkout): Add mig, gnumach and hurd to components.
17604 (Context.checkout_tar): Add URL mappings for mig, gnumach and
17606 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
17607 (Config.build): Install gnumach headers, build mig and install
17608 hurd headers for 'gnu' OS.
17609 (Config.install_gnumach_headers): New function.
17610 (Config.install_hurd_headers): Likewise.
17611 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
17612 when building for 'gnu' OS.
17614 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
17616 * manual/tunables.texi (Hardware Capability Tunables): Fix
17619 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
17621 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
17622 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
17623 (ALTMON_11, ALTMON_12): Improve documentation.
17624 * manual/time.texi (strftime): Likewise.
17626 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17629 * localedata/locales/pl_PL: Alternative month names added,
17630 primary month names are genitive now.
17631 * time/tst-strptime.c (day_tests): Actually use a genitive case
17632 of a month name in Polish language.
17634 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17637 * manual/locale.texi: Document ALTMON_1..12 constants for
17638 nl_langinfo. Specify when to use ALTMON instead of MON.
17639 * manual/time.texi (strftime, strptime): Document GNU extension
17640 permitting O modifier with %B and %b. Specify when to use
17643 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17646 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
17647 names, define them as the same as abbreviated month names explicitly.
17648 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
17649 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
17650 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
17651 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
17652 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
17653 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
17654 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
17655 _NL_WABALTMON_12): New enum constants.
17656 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
17657 wab_alt_mon, and ab_alt_mon_defined members.
17658 (time_output): Output ab_alt_mon and wab_alt_mon members.
17659 (time_read): Read them, initialize them as copies of abmon and wabmon
17660 respectively if they are missing, initialize ab_alt_mon_defined.
17661 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
17662 * locale/programs/locfile-kw.h: Regenerate.
17663 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
17664 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
17666 * time/strftime_l.c (a_altmonth, aam_len): New macros.
17667 [!COMPILE_WIDE] (ABALTMON_1): New macro.
17668 (__strftime_internal): Handle %Ob and %Oh formats.
17669 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
17670 (__strptime_internal): Handle %Ob and %Oh formats.
17671 * time/tst-strptime.c (day_tests): Add more tests to parse different
17672 forms of month names including the new %Ob format specifier.
17674 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17677 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
17678 define them as the same as primary full month names explicitly.
17679 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
17680 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
17681 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
17682 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
17683 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
17684 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
17685 _NL_WALTMON_12): New enum constants.
17686 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
17687 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
17689 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
17690 walt_mon, and alt_mon_defined members.
17691 (time_output): Output alt_mon and walt_mon members.
17692 (time_read): Read them, initialize them as copies of mon and wmon
17693 respectively if they are missing, initialize alt_mon_defined.
17694 * locale/programs/locfile-kw.gperf (alt_mon): Define.
17695 * locale/programs/locfile-kw.h: Regenerate.
17696 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
17697 * localedata/tst-langinfo.c (map): Add tests for the new constants
17698 ALTMON_1 .. ALTMON_12.
17699 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
17701 * time/strftime_l.c (f_altmonth): New macro.
17702 (__strftime_internal): Handle %OB format.
17703 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
17704 (__strptime_internal): Handle %OB format.
17705 * time/tst-strptime.c (day_tests): Add tests to parse different forms
17706 of month names including the new %OB format specifier.
17708 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17711 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
17712 from ABORT_TRANSACTION.
17713 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
17714 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
17715 ABORT_TRANSACTION_IMPL): Likewise.
17716 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
17717 Linux code, but remove the code that aborts transactions.
17719 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
17721 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
17723 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
17725 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
17726 in date: "2004-14-09" should be "2004-09-14".
17727 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
17728 "2003-15-09" should be "2003-09-15".
17730 2018-01-18 Arjun Shankar <arjun@redhat.com>
17736 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
17738 (_int_memalign): check for integer overflow before calling
17740 * malloc/tst-malloc-too-large.c: New test.
17741 * malloc/Makefile: Add tst-malloc-too-large.
17743 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
17745 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
17746 in date: "2017-24-07" should be "2017-07-24".
17747 * localedata/locales/mai_IN: Likewise.
17748 * localedata/locales/mai_NP: Likewise.
17750 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
17752 * po/ru.po: Update translations.
17754 2018-01-17 Joseph Myers <joseph@codesourcery.com>
17757 * sysdeps/hppa/backtrace.c: New file.
17759 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
17762 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
17763 align La_x86_64_retval to VEC_SIZE.
17765 2018-01-16 Joseph Myers <joseph@codesourcery.com>
17767 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
17768 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
17770 2018-01-16 Florian Weimer <fweimer@redhat.com>
17772 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
17773 Move tst-thread-exit-clobber ...
17774 [$(CXX)] (tests-unsupported): ... to here.
17776 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17778 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
17779 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
17780 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17781 (_dl_aarch64_cap_flags): Update.
17782 (_DL_HWCAP_COUNT): Update.
17784 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17786 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
17787 (_DL_HWCAP_LAST): Remove.
17788 (_DL_HWCAP_COUNT): Move to ...
17789 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17790 (_DL_HWCAP_COUNT): ... here.
17792 2018-01-16 Florian Weimer <fweimer@redhat.com>
17794 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
17795 mode with GNU extensions.
17797 2018-01-15 Alan Hayward <alan.hayward@arm.com>
17799 * elf/elf.h (NT_ARM_SVE): Define.
17801 2018-01-15 Florian Weimer <fweimer@redhat.com>
17804 * nptl/tst-minstack-throw.cc: New file.
17805 * nptl/Makefile (tests): Add tst-minstack-throw.
17806 (LDLIBS-tst-minstack-throw): Link with libstdc++.
17807 [!CXX] (tests-unsupported): Add tst-minstack-throw.
17809 2018-01-15 Joseph Myers <joseph@codesourcery.com>
17811 * scripts/build-many-glibcs.py (Context.checkout): Default
17812 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
17815 2018-01-13 Carlos O'Donell <carlos@redhat.com>
17818 * elf/elf.h (DF_1_STUB): Define.
17819 (DF_1_PIE): Define.
17821 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17824 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
17825 Do not add 0.5 to integer or out-of-range arguments.
17827 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17829 * po/bg.po: Update translations.
17830 * po/cs.po: Likewise.
17831 * po/de.po: Likewise.
17832 * po/ko.po: Likewise.
17833 * po/pl.po: Likewise.
17834 * po/sv.po: Likewise.
17835 * po/uk.po: Likewise.
17836 * po/vi.po: Likewise.
17838 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17840 * aarch64/start.S (_start): Use __wrap_main.
17841 (__wrap_main): New local symbol.
17843 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17847 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
17848 generic_getcwd if the path returned by getcwd syscall is not absolute.
17849 * io/tst-getcwd-abspath.c: New test.
17850 * io/Makefile (tests): Add tst-getcwd-abspath.
17852 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
17854 * malloc/malloc.c (malloc_consolidate): Add size check.
17856 2018-01-12 Florian Weimer <fweimer@redhat.com>
17858 * support/write_message.c (write_message): Preserve errno.
17859 * support/check.c (print_failure): Likewise.
17860 * support/support_test_verify_impl.c (support_test_verify_impl):
17862 * support/support_test_compare_failure.c
17863 (support_test_compare_failure): Likewise.
17865 2018-01-12 Florian Weimer <fweimer@redhat.com>
17868 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
17869 Prevent installation of libnsl.so.
17870 (libnsl-inhibit-o): Do not build (or install) static libraries.
17872 2018-01-12 Egmont Koblinger <egmont@gmail.com>
17875 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
17876 before the day number which may produce a double space.
17877 (date_fmt): Likewise.
17879 2018-01-12 Joseph Myers <joseph@codesourcery.com>
17881 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
17882 instead of fegetenv.
17884 2018-01-11 Joseph Myers <joseph@codesourcery.com>
17887 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
17888 comment to say exceptions are discarded.
17889 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
17891 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
17894 2018-01-11 Florian Weimer <fweimer@redhat.com>
17896 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
17899 2018-01-11 Florian Weimer <fweimer@redhat.com>
17902 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
17903 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
17905 2018-01-10 Joseph Myers <joseph@codesourcery.com>
17908 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
17909 negative arguments in test for NaN or infinity argument.
17911 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
17913 * po/libc.pot: Regenerate.
17915 2018-01-10 Florian Weimer <fweimer@redhat.com>
17918 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
17919 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
17921 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17923 * hurd/hurd/fd.h: Include <fcntl.h>
17924 (__hurd_at_flags): New function.
17925 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
17926 with call to __hurd_at_flags.
17927 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
17928 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
17930 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
17931 (__access_noerrno): Use __faccessat_common instead of access_common.
17932 (__access): Likewise.
17933 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
17934 with a call to __faccessat.
17935 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
17936 (__faccessat_common): ... this. Move implementation of __access into it when
17937 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
17938 reauthenticate_cwdir_at helper to implement AT mechanism.
17939 (__faccessat_noerrno): New function, just calls __faccessat_common.
17940 (__faccessat): New function, just calls __faccessat_common.
17941 (faccessat): Define weak alias.
17943 2018-01-10 Joseph Myers <joseph@codesourcery.com>
17946 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17947 (CFLAGS-s_fmaxmagl.c): New variable.
17948 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
17951 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
17952 long int for arguments of possibly overflowing addition or
17954 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17956 2018-01-09 Joseph Myers <joseph@codesourcery.com>
17959 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17960 (CFLAGS-e_remainderl.c): New variable.
17963 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
17965 (CFLAGS-s_cacoshl.c): Likewise.
17966 (CFLAGS-s_casinhl.c): Likewise.
17967 (CFLAGS-s_catanl.c): Likewise.
17968 (CFLAGS-s_catanhl.c): Likewise.
17969 (CFLAGS-s_cexpl.c): Likewise.
17970 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
17971 (CFLAGS-s_csinhl.c): Likewise.
17972 (CFLAGS-s_clogl.c): Likewise.
17973 (CFLAGS-s_clog10l.c): Likewise.
17974 (CFLAGS-s_csinl.c): Likewise.
17975 (CFLAGS-s_csqrtl.c): Likewise.
17977 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
17978 2017-01-09 Svante Signell <svante.signell@gmail.com>
17980 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
17981 (_hurd_exec_paths): New function.
17982 * hurd/hurd.h (_hurd_exec): Deprecate function.
17983 (_hurd_exec_paths): Declare function.
17984 * hurd/Versions: Export _hurd_exec_paths.
17985 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
17986 (__execve): Use __getcwd to build absolute path, and use
17987 _hurd_exec_paths instead of _hurd_exec.
17988 * sysdeps/mach/hurd/spawni.c: Likewise.
17989 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
17992 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
17994 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
17995 test instead of failing in case of ENOENT returned by posix_openpt.
17997 2018-01-08 Florian Weimer <fweimer@redhat.com>
17999 resolv: Support binary labels in test framework.
18000 * support/resolv_test.c (struct to_be_freed): Remove.
18001 (struct compressed_name): New.
18002 (allocate_compressed_name, ascii_tolower)
18003 (compare_compressed_name): New functions.
18004 (struct resolv_response_builder): Update type of
18005 compression_offsets for use with tsearch. Rempve to_be_freed.
18006 (response_push_pointer_to_free): Remove function.
18007 (resolv_response_add_name): Rewrite using struct compressed_name
18008 and tsearch instead of hsearch_r.
18009 (response_builder_allocate): Remove initialization of
18010 compression_offsets.
18011 (response_builder_free): Update for removal of to_be_freed. Use
18012 tdestroy instead of hdestroy_r.
18013 * resolv/Makefile (tests): Add tst-resolv-binary.
18014 (tst-resolv-binary): Link with -lresolv -lpthread.
18016 2018-01-08 Florian Weimer <fweimer@redhat.com>
18018 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
18019 time. Pass positive flag instead of negative flag to
18020 support_test_compare_failure.
18021 (support_test_compare_failure): Change negative parameter to
18023 * support/support_test_compare_failure.c (report)
18024 (support_test_compare_failure): Likewise.
18025 * support/tst-test_compare.c (return_ssize_t, return_int): New.
18026 (do_test): Check int/size_t, ssize_t/size_t comparisons.
18028 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
18031 * nptl/descr.h (stackblock, stackblock_size): Update comments.
18032 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
18033 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
18035 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
18037 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
18039 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18040 Add s_sincosf-sse2 and s_sincosf-fma.
18041 (CFLAGS-s_sincosf-fma.c): New.
18042 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
18043 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
18044 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
18045 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
18046 __sincosf is defined.
18048 2018-01-08 Florian Weimer <fweimer@redhat.com>
18050 * nptl/tst-thread-exit-clobber.cc: New file.
18051 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
18053 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
18054 (tests): Add tst-thread-exit-clobber.
18055 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
18057 2018-01-08 Florian Weimer <fweimer@redhat.com>
18059 * support/check.h (support_static_assert): Define.
18060 (TEST_COMPARE): Use it.
18062 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
18064 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
18065 [!__RLIM_T_MATCHES_RLIM64_T]
18066 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
18067 __getrlimit64. Add libc_hidden_weak.
18069 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
18071 * elf/elf.h (R_RISCV_NONE): New define.
18072 (R_RISCV_32): Likewise.
18073 (R_RISCV_64): Likewise.
18074 (R_RISCV_RELATIVE): Likewise.
18075 (R_RISCV_COPY): Likewise.
18076 (R_RISCV_JUMP_SLOT): Likewise.
18077 (R_RISCV_TLS_DTPMOD32): Likewise.
18078 (R_RISCV_TLS_DTPMOD64): Likewise.
18079 (R_RISCV_TLS_DTPREL32): Likewise.
18080 (R_RISCV_TLS_DTPREL64): Likewise.
18081 (R_RISCV_TLS_TPREL32): Likewise.
18082 (R_RISCV_TLS_TPREL64): Likewise.
18083 * Makerules (make-link-multidir): Make directories before linking into
18085 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
18087 (VDSO_HASH_LINUX_4_15): Likewise.
18088 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
18089 in subdirectories of lib.
18090 * nptl/Makefile (/librt.so): Always depend on
18091 "$(shared-thread-library)".
18093 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18095 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
18096 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
18097 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
18099 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
18100 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
18102 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
18103 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
18104 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
18105 * sysdeps/gnu/glob-lstat-compat.c: New file.
18106 * sysdeps/gnu/glob64-lstat-compat.c: New file.
18107 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
18109 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18111 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
18112 Reserve 16 chars to reloc_addr before calling _itoa_word.
18114 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18117 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
18118 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
18120 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
18121 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
18123 * resource/tst-getrlimit.c: Add copyright header.
18125 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18126 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18128 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
18129 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
18130 Define __GI_getrlimit64 as weak alias of __getrlimit64.
18131 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
18133 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
18134 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
18135 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
18136 RLIM64_INFINITY): Fix values to match the kernel ones.
18137 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
18138 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
18139 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
18140 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
18141 getrlimit64@@GLIBC_2_27.
18142 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
18144 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
18145 getrlimit, setrlimit, getrlimit64 and setrlimit64.
18146 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
18147 setrlimit, getrlimit64 and setrlimit64.
18149 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18152 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
18153 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
18155 2018-01-04 Joseph Myers <joseph@codesourcery.com>
18157 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
18158 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
18159 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
18161 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18165 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
18166 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
18170 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
18171 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
18172 * sysdeps/alpha/fpu/s_floor.c: Likewise.
18173 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
18175 2018-01-04 Florian Weimer <fweimer@redhat.com>
18178 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
18179 Align the stack before calling exit.
18180 * stdlib/tst-makecontext-align.c: New file.
18181 * stdlib/Makefile (tests): Add tst-makecontext-align.
18183 2018-01-04 Florian Weimer <fweimer@redhat.com>
18185 Add support for calling dlvsym from libc.so.
18186 * include/dlfcn.h (__libc_dlvsym): Declare.
18187 * elf/Makefile (tests-static-internal): Add
18188 tst-libc_dlvsym-static.
18189 (tests-internal): Add tst-libc_dlvsym.
18190 (modules-names): Add tst-libc_dlvsym-dso.
18191 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
18192 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
18193 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
18194 object tst-libc_dlvsym-dso.so needs to be built before running
18196 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
18197 * elf/Versions: Export __libc_dlvsym.
18198 * elf/dl-libc.c (struct do_dlvsym_args): New.
18199 (do_dlvsym, __libc_dlvsym): New functions.
18200 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
18201 (_dl_open_hook2): New variable.
18202 (__libc_register_dl_open_hook): Set it.
18203 * elf/tst-libc_dlvsym-dso.c: New file.
18204 * elf/tst-libc_dlvsym-static.c: Likewise.
18205 * elf/tst-libc_dlvsym.c: Likewise.
18206 * elf/tst-libc_dlvsym.h: Likewise.
18208 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18210 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
18211 include <sys/mount.h>.
18213 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
18215 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
18216 Add __NO_MATH_ERRNO__ check.
18218 2018-01-02 Joseph Myers <joseph@codesourcery.com>
18220 * sysdeps/mips/mips32/libm-test-ulps: Update.
18221 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18223 2018-01-02 Florian Weimer <fweimer@redhat.com>
18225 * misc/tst-pselect.c: Add copyright header.
18227 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
18229 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
18231 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
18233 (settrlimit): Rename into setrlimit.
18234 (__sttrlimit): Rename into __setrlimit.
18236 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
18237 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
18238 never defined in that case.
18240 2018-01-02 Joseph Myers <joseph@codesourcery.com>
18242 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
18244 * sysdeps/arm/libm-test-ulps: Update.
18246 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
18247 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
18249 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18251 * NEWS: Add cosf and sincosf to list of optimized functions.
18253 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
18256 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
18257 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
18258 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
18259 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
18261 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
18264 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
18266 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
18267 making a copy of it.
18269 2018-01-01 Joseph Myers <joseph@codesourcery.com>
18271 * manual/texinfo.tex: Update to version 2017-12-26.21 with
18272 trailing whitespace removed.
18273 * scripts/config.guess: Update to version 2018-01-01.
18274 * scripts/config.sub: Update to version 2018-01-01.
18275 * scripts/move-if-change: Update from gnulib.
18277 * NEWS: Update copyright dates.
18278 * catgets/gencat.c (print_version): Likewise.
18279 * csu/version.c (banner): Likewise.
18280 * debug/catchsegv.sh: Likewise.
18281 * debug/pcprofiledump.c (print_version): Likewise.
18282 * debug/xtrace.sh (do_version): Likewise.
18283 * elf/ldconfig.c (print_version): Likewise.
18284 * elf/ldd.bash.in: Likewise.
18285 * elf/pldd.c (print_version): Likewise.
18286 * elf/sotruss.sh: Likewise.
18287 * elf/sprof.c (print_version): Likewise.
18288 * iconv/iconv_prog.c (print_version): Likewise.
18289 * iconv/iconvconfig.c (print_version): Likewise.
18290 * locale/programs/locale.c (print_version): Likewise.
18291 * locale/programs/localedef.c (print_version): Likewise.
18292 * login/programs/pt_chown.c (print_version): Likewise.
18293 * malloc/memusage.sh (do_version): Likewise.
18294 * malloc/memusagestat.c (print_version): Likewise.
18295 * malloc/mtrace.pl: Likewise.
18296 * manual/libc.texinfo: Likewise.
18297 * nptl/version.c (banner): Likewise.
18298 * nscd/nscd.c (print_version): Likewise.
18299 * nss/getent.c (print_version): Likewise.
18300 * nss/makedb.c (print_version): Likewise.
18301 * posix/getconf.c (main): Likewise.
18302 * scripts/test-installation.pl: Likewise.
18303 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
18305 * All files with FSF copyright notices: Update copyright dates
18306 using scripts/update-copyrights.
18307 * locale/programs/charmap-kw.h: Regenerated.
18308 * locale/programs/locfile-kw.h: Likewise.
18310 2017-12-31 Zack Weinberg <zackw@panix.com>
18312 * libio/bits/libio-ldbl.h: Correct check for improper
18313 inclusion. Add own multiple include guard.
18315 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
18316 Dmitry V. Levin <ldv@altlinux.org>
18320 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
18321 string token expansion. Check for NULL pointer or empty string possibly
18322 returned by expand_dynamic_string_token.
18323 (decompose_rpath): Check for empty path after dynamic string
18326 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
18329 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
18331 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
18332 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
18333 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
18334 and PTRACE_SYSCALL.
18335 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
18336 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18337 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18338 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18339 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18340 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
18342 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
18343 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
18344 __ptrace_peeksiginfo_flags, ptrace): Move to ...
18345 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
18346 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18347 bits/ptrace-shared.h.
18348 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
18349 <bits/ptrace-shared.h>.
18350 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
18351 __ptrace_peeksiginfo_flags, ptrace): Remove.
18352 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18353 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18354 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18355 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18356 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
18358 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
18361 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
18362 end of the loop. Improve comments.
18364 2017-12-29 Zack Weinberg <zackw@panix.com>
18367 * manual/errno.texi (Checking for Errors): Explicitly say that errno
18368 might be set on success.
18370 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
18373 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
18374 is unchanged on success.
18376 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
18378 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
18380 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
18381 expand_dynamic_string_token): Likewise.
18382 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
18385 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
18388 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
18389 is set and name contains ':', and all code depending on these checks.
18391 2017-12-24 Zack Weinberg <zackw@panix.com>
18393 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
18394 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
18396 * libio/libio.h: Rename the original version of this file to
18397 libio/bits/libio.h. Error out if not included by stdio.h or the
18399 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
18400 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
18401 if not included by bits/libio.h or the stub _G_config.h.
18402 * sysdeps/unix/sysv/linux/_G_config.h: Move to
18403 sysdeps/unix/sysv/linux/bits. Error out if not included by
18404 bits/libio.h or the stub _G_config.h.
18405 * libio/stdio.h: Include bits/libio.h, not libio.h.
18406 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
18407 well as libio.h and _G_config.h.
18409 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
18410 * libio/strfile.h, stdio-common/vfscanf.c
18411 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
18412 Include stdio.h, not _G_config.h nor libio.h.
18413 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
18414 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
18416 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
18418 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
18421 * stdlib/getrandom.c (getrandom): Fix comment.
18422 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
18424 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
18427 * manual/arith.texi (strtoul): Fix a typo.
18430 * manual/arith.texi (finite): Fix the description of the return
18433 2017-12-22 Eric Blake <ebb9@byu.net>
18435 Avoid gcc warnings on cygwin
18436 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
18437 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
18438 Avoid unused variable.
18440 2017-12-22 Florian Weimer <fweimer@redhat.com>
18442 * io/Makefile (routines): Add copy_file_range.
18443 (tests): Add tst-copy_file_range.
18444 (tests-static, tests-internal): Add tst-copy_file_range-compat.
18445 * io/Versions (GLIBC_2.27): Export copy_file_range.
18446 * io/copy_file_range-compat.c: New file.
18447 * io/copy_file_range.c: Likewise.
18448 * io/tst-copy_file_range-compat.c: Likewise.
18449 * io/tst-copy_file_range.c: Likewise.
18450 * manual/llio.texi (Copying File Data): New section.
18451 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
18452 * support/Makefile (libsupport-routines): Add support-xfstat,
18453 xftruncate, xlseek.
18454 * support/support-xfstat.c: New file.
18455 * support/xftruncate.c: Likewise.
18456 * support/xlseek.c: Likewise.
18457 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
18458 * sysdeps/unix/sysv/linux/**.abilist: Update.
18459 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
18461 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
18463 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18464 disable-multi-arch variant to aarch64-linux-gnu.
18466 2017-12-20 Joseph Myers <joseph@codesourcery.com>
18468 * manual/texinfo.tex: Update to version 2017-12-18.20 with
18469 trailing whitespace removed.
18470 * scripts/config.guess: Update to version 2017-12-17.
18471 * scripts/config.sub: Update to version 2017-11-23.
18472 * scripts/install-sh: Update to version 2017-09-23.17.
18473 * scripts/move-if-change: Update to version 2017-09-13 06:45.
18475 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18477 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
18478 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
18479 * sysdeps/tile/_mcount.S (__mcount): Likewise.
18480 * sysdeps/tile/crti.S (_init, _fini): Likewise.
18481 * sysdeps/tile/crtn.S: Likewise.
18482 * sysdeps/tile/dl-start.S (_start): Likewise.
18483 * sysdeps/tile/dl-trampoline.S: Likewise.
18484 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
18485 * sysdeps/tile/start.S (_start): Likewise.
18486 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
18487 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
18488 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
18489 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
18490 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
18491 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
18492 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
18494 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
18496 * sysdeps/tile/preconfigure: Remove tilegx folder.
18497 * sysdeps/tile/tilegx/Implies: Move definitions to ...
18498 * sysdeps/tile/Implies: ... here.
18499 * sysdeps/tile/tilegx/Makefile: Move rules to ...
18500 * sysdeps/tile/Makefile: ... here.
18501 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
18502 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
18503 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
18504 * sysdeps/tile/bits/wordsize.h: ... here.
18505 * sysdeps/tile/tilegx/*: Move to ...
18506 * sysdeps/tile/*: ... here.
18507 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
18508 * sysdeps/tile/tilegx32/Implies: ... here.
18509 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
18510 * sysdeps/tile/tilegx64/Implies: ... here.
18511 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
18513 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18514 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
18515 * sysdeps/unix/sysv/linux/tile/*: ... here.
18516 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
18517 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
18518 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
18519 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
18521 * README: Remove tilepro-*-linux-gnu from supported architecture.
18522 * scripts/build-many-glibcs.py: Likewise.
18523 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
18524 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
18525 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
18526 elf_machine_matches_host, elf_machine_dynamic,
18527 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
18528 howto, elf_machine_rela): Likewise.
18529 * sysdeps/tile/dl-start.S (_start): Likewise.
18530 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
18531 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
18532 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
18533 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
18534 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
18535 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
18537 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
18538 * sysdeps/tile/preconfigure: Likewise.
18539 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
18540 POINTER_CHK_GUARD): Likewise.
18541 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
18542 * sysdeps/tile/start.S (_start): Likewise.
18543 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
18545 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
18546 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
18548 * sysdeps/unix/sysv/linux/tile/bits/environments.h
18549 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
18550 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
18552 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
18553 * sysdeps/tile/tilepro/Implies: Remove file.
18554 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
18555 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
18556 * sysdeps/tile/tilepro/memchr.c: Likewise.
18557 * sysdeps/tile/tilepro/memcpy.S: Likewise.
18558 * sysdeps/tile/tilepro/memset.c: Likewise.
18559 * sysdeps/tile/tilepro/memusage.h: Likewise.
18560 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
18561 * sysdeps/tile/tilepro/strchr.c: Likewise.
18562 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
18563 * sysdeps/tile/tilepro/strlen.c: Likewise.
18564 * sysdeps/tile/tilepro/strrchr.c: Likewise.
18565 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
18566 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
18567 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
18568 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
18569 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
18570 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18572 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
18573 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18574 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
18575 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
18576 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18577 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
18578 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
18579 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
18580 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
18581 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
18582 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
18583 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
18584 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
18585 tilepro mention in comment.
18587 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
18588 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
18589 * nptl/pthread_join_common.c: New file: common function used on
18590 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
18591 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
18592 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
18593 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
18594 (cleanup): Move definition to pthread_join_common.c.
18595 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
18596 Remove superflous checks.
18597 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
18600 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
18602 * sysdeps/aarch64/libm-test-ulps: Update.
18604 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18606 * sysdeps/aarch64/memset.S (MEMSET): Define.
18608 2017-12-20 Florian Weimer <fweimer@redhat.com>
18611 nptl: Provide full implementation of pthread_self in libc.so.
18612 * nptl/Makefile (routines): Add pthread_self.
18613 (libpthread-routines): Replace pthread_self with
18614 compat-pthread_self.
18615 * nptl/forward.c (pthread_self): Remove.
18616 * nptl/nptl-init.c (pthread_functions): Do not initialize
18618 * nptl/pthread_self.c (pthread_self): Remove weak alias.
18619 * nptl/compat-pthread_self.c: New file.
18620 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
18621 Remove ptr_pthread_self.
18623 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
18625 * posix/regcomp.c: Fix spelling in comments.
18626 * posix/regex.h: Likewise.
18627 * posix/regex_internal.c: Likewise.
18628 * posix/regexec.c: Likewise.
18630 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18633 * math/Makefile [C++] (tests): Add test for iseqsig.
18634 * math/math.h [C++] (iseqsig): New implementation, which does
18635 not rely on __MATH_TG/__builtin_types_compatible_p.
18636 * math/test-math-iseqsig.cc: New file.
18637 * sysdeps/powerpc/powerpc64le/Makefile
18638 (CFLAGS-test-math-iseqsig.cc): New variable.
18640 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
18642 * elf/dl-load.c (is_trusted_path): Remove.
18643 (fillin_rpath): Remove check_trusted argument and its use,
18644 all callers changed.
18646 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18649 * Makeconfig (link-pie-before-libc): Replace -pie with
18650 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
18651 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
18652 (tst-dlopen-aout-no-pie): New.
18653 (LDFLAGS-tst-prelink): Removed.
18654 (tst-prelink-no-pie): New.
18655 (LDFLAGS-tst-main1): Removed.
18656 (tst-main1-no-pie): New.
18657 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
18658 (tst-gmon-no-pie): New.
18660 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18662 * manual/install.texi: Document that --enable-static-pie
18664 * INSTALL: Regenerated.
18666 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
18669 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
18672 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18676 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18678 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18680 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18682 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18683 <errno.h>. Include "eexp.tbl".
18684 (half): New constant.
18686 (__ieee754_exp): Rewrite.
18687 (__slowexp): Remove prototype.
18688 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18689 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18690 * sysdeps/i386/fpu/slowexp.c: Likewise.
18691 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18692 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18693 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18694 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18695 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18696 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18697 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18699 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18700 (CPPFLAGS-slowexp.c): Remove variable.
18701 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18702 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18703 (CFLAGS-slowexp-fma.c): Remove variable.
18704 (CFLAGS-slowexp-fma4.c): Likewise.
18705 (CFLAGS-slowexp-avx.c): Likewise.
18706 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18708 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18709 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18710 * math/Makefile (type-double-routines): Remove slowexp.
18711 * manual/probes.texi (slowexp_p6): Remove.
18712 (slowexp_p32): Likewise.
18714 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18716 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
18719 * lib/glob.c (glob): Do not pass NULL to mempcpy.
18721 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18723 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18725 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18727 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18728 <errno.h>. Include "eexp.tbl".
18729 (half): New constant.
18731 (__ieee754_exp): Rewrite.
18732 (__slowexp): Remove prototype.
18733 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18734 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18735 * sysdeps/i386/fpu/slowexp.c: Likewise.
18736 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18737 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18738 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18739 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18740 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18741 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18742 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18744 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18745 (CPPFLAGS-slowexp.c): Remove variable.
18746 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18747 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18748 (CFLAGS-slowexp-fma.c): Remove variable.
18749 (CFLAGS-slowexp-fma4.c): Likewise.
18750 (CFLAGS-slowexp-avx.c): Likewise.
18751 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18753 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18754 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18755 * math/Makefile (type-double-routines): Remove slowexp.
18756 * manual/probes.texi (slowexp_p6): Remove.
18757 (slowexp_p32): Likewise.
18759 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18760 James Clarke <jrtc27@jrtc27.com>
18763 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
18766 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18769 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
18772 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18775 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18776 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
18777 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18778 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
18781 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18784 * bits/types/__cancel_jmp_buf_tag.h: New file.
18785 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
18786 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
18787 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
18788 * nptl/Makefile (headers): Add
18789 bits/types/__cancel_jmp_buf_tag.h.
18790 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
18791 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
18792 * sysdeps/nptl/pthread.h: Include
18793 <bits/types/__cancel_jmp_buf_tag.h>.
18794 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
18796 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
18798 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18800 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18801 --enable-static-pie variants to x86_64, x32 and i686.
18803 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18806 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
18807 argument for attrubutes. All callers changed.
18808 (__inline_mathop1): Likewise. All callers changed.
18809 (__inline_mathop): Likewise. All callers changed.
18810 [__USE_MISC] (scalbn): Use __inline_forward instead of
18811 __inline_forward_c.
18812 [__USE_ISOC99] (scalbln): Likewise.
18813 [__USE_ISOC99] (nearbyint): Likewise.
18814 [__USE_ISOC99] (lrint): Likewise.
18815 [__USE_MISC] (scalbnf): Likewise.
18816 [__USE_ISOC99] (scalblnf): Likewise.
18817 [__USE_ISOC99] (nearbyintf): Likewise.
18818 [__USE_ISOC99] (lrintf): Likewise.
18819 [__USE_MISC] (scalbnl): Likewise.
18820 [__USE_ISOC99] (scalblnl): Likewise.
18821 [__USE_ISOC99] (nearbyintl): Likewise.
18822 [__USE_ISOC99] (lrintl): Likewise.
18823 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
18824 __inline_mathop and __m81_defun changed.
18826 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
18827 CPU or FPU for ARM hard-float configurations.
18829 2017-12-18 Joseph Myers <joseph@codesourcery.com>
18831 * nptl/tst-attr3.c: Include <libc-diag.h>.
18832 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
18834 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
18836 * string/tester.c (test_strncat): Also disable -Warray-bounds
18837 warnings for two tests.
18839 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18842 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
18843 $(cc-pie-default) == yes.
18844 * config.make.in (cc-pie-default): New.
18845 * configure.ac (libc_cv_pie_default): Renamed to ...
18846 (libc_cv_cc_pie_default): This.
18847 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
18848 * configure: Regenerated.
18850 2017-12-18 Florian Weimer <fweimer@redhat.com>
18853 ld.so: Harden dl-libc/libdl hooks.
18854 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
18855 (rtld_active): New function.
18856 * dlfcn/dladdr.c (__dladdr): Call it.
18857 * dlfcn/dladdr1.c (__dladdr1): Likewise.
18858 * dlfcn/dlclose.c (__dlcose): Likewise.
18859 * dlfcn/dlerror.c (__dlerror): Likewise.
18860 * dlfcn/dlinfo.c (__dlinfo): Likewise.
18861 * dlfcn/dlmopen.c (__dlmopen): Likewise.
18862 * dlfcn/dlopen.c (__dlopen): Likewise.
18863 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18864 * dlfcn/dlsym.c (__dlsym): Likewise.
18865 * dlfcn/dlvsym.c (__dlvsym): Likewise.
18866 * libio/vtables.c (_IO_vtable_check): Likewise.
18867 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
18868 (__libc_dlclose): Likewise.
18869 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
18872 2017-12-18 Joseph Myers <joseph@codesourcery.com>
18875 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
18876 buffers for readlink input and output.
18878 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
18881 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
18882 inhibit_stack_protector.
18885 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
18886 inhibit_stack_protector.
18888 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
18891 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
18892 code and invocation.
18894 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
18896 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
18898 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
18901 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
18903 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18905 * sysdeps/s390/fpu/libm-test-ulps: Update.
18907 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18909 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18911 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18913 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
18914 constants to s_sincosf.h file.
18915 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18916 * sysdeps/ieee754/flt-32/s_sincosf.c: New
18918 * sysdeps/ieee754/flt-32/s_sincosf.h:
18921 2017-12-12 Carlos O'Donell <carlos@redhat.com>
18924 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
18927 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
18930 * INSTALL: Regenerated.
18931 * Makeconfig (real-static-start-installed-name): New.
18932 (pic-default): Updated for --enable-static-pie.
18933 (pie-default): New for --enable-static-pie.
18934 (default-pie-ldflag): Likewise.
18935 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
18936 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
18937 Replace $(static-start-installed-name) with
18938 $(real-static-start-installed-name).
18939 (+prectorT): Updated for --enable-static-pie.
18940 (+postctorT): Likewise.
18941 (CFLAGS-.o): Add $(pie-default).
18942 (CFLAGS-.op): Likewise.
18943 * NEWS: Mention --enable-static-pie.
18944 * config.h.in (ENABLE_STATIC_PIE): New.
18945 * configure.ac (--enable-static-pie): New configure option.
18946 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
18947 (have-static-pie): Likewise.
18948 Enable static PIE if linker supports --no-dynamic-linker.
18949 (ENABLE_STATIC_PIE): New AC_DEFINE.
18950 (enable-static-pie): New LIBC_CONFIG_VAR.
18951 * configure: Regenerated.
18952 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
18953 gr$(start-installed-name) for --enable-static-pie.
18954 (extra-objs): Likewise.
18955 (install-lib): Likewise.
18956 (extra-objs): Add static-reloc.o and static-reloc.os
18957 ($(objpfx)$(start-installed-name)): Also depend on
18958 $(objpfx)static-reloc.o.
18959 ($(objpfx)r$(start-installed-name)): New.
18960 ($(objpfx)g$(start-installed-name)): Also depend on
18961 $(objpfx)static-reloc.os.
18962 ($(objpfx)gr$(start-installed-name)): New.
18963 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
18965 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
18967 * csu/static-reloc.c: New file.
18968 * elf/Makefile (routines): Add dl-reloc-static-pie.
18969 (elide-routines.os): Likewise.
18970 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
18971 (tst-tls1-static-non-pie-no-pie): New.
18972 * elf/dl-reloc-static-pie.c: New file.
18973 * elf/dl-support.c (_dl_get_dl_main_map): New function.
18974 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
18975 STATIC_PIE_BOOTSTRAP.
18976 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18977 * gmon/Makefile (tests): Add tst-gmon-static-pie.
18978 (tests-static): Likewise.
18979 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
18980 (tst-gmon-static-no-pie): New.
18981 (CFLAGS-tst-gmon-static-pie.c): Likewise.
18982 (CRT-tst-gmon-static-pie): Likewise.
18983 (tst-gmon-static-pie-ENV): Likewise.
18984 (tests-special): Likewise.
18985 ($(objpfx)tst-gmon-static-pie.out): Likewise.
18986 (clean-tst-gmon-static-pie-data): Likewise.
18987 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
18988 * gmon/tst-gmon-static-pie.c: New file.
18989 * manual/install.texi: Document --enable-static-pie.
18990 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
18991 (_dl_get_dl_main_map): Likewise.
18992 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
18993 * sysdeps/x86_64/configure.ac: Likewise.
18994 * sysdeps/i386/configure: Regenerated.
18995 * sysdeps/x86_64/configure: Likewise.
18996 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
18997 (ASFLAGS-.op): Likewise.
18999 2017-12-15 Joseph Myers <joseph@codesourcery.com>
19001 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
19002 * posix/tst-mmap-offset.c (fname): Use /tmp.
19003 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
19005 2017-12-15 Steve Ellcey <sellcey@cavium.com>
19007 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
19009 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
19011 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
19014 2017-12-15 Joseph Myers <joseph@codesourcery.com>
19016 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
19017 --with-float=hard for arm-linux-gnueabihf configurations.
19020 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
19021 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
19022 ($(mo-installed)): Use $(objpfx)%.mo.
19023 (realclean): Remove rule.
19025 * po/Makefile (linguas): Remove rule and dependencies.
19026 (linguas.mo): Likewise.
19027 (.PHONY): Do not depend on linguas and linguas.mo.
19028 (podir): Remove variable.
19029 (pofiles): Likewise.
19030 [$(pofiles)] (%.po): Remove rule.
19032 * sysdeps/sparc/sparc32/Makefile
19033 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
19034 start-of-line whitespace in argument of echo.
19035 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
19036 with whitespace. Generate __wrap_.udiv alias.
19037 * sysdeps/sparc/sparc32/rem.S: Regenerated.
19038 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19039 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19040 * sysdeps/sparc/sparc32/urem.S: Likewise.
19042 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19044 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
19045 for aligned inputs.
19047 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
19049 * benchtests/bench-strcmp.c: Print output in JSON format.
19051 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
19053 2017-12-14 Florian Weimer <fweimer@redhat.com>
19057 * elf/dl-load.c (_dl_init_paths): Compute number of components in
19058 the expanded path string.
19060 2017-12-14 Florian Weimer <fweimer@redhat.com>
19064 * elf/dl-load.c (system_dirs): Update comment.
19065 (nsystem_dirs_len): Use array_length.
19066 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
19068 2017-12-14 Florian Weimer <fweimer@redhat.com>
19070 Simplify compiling most of support/ outside of glibc.
19071 * support/check_addrinfo.c: Include <string.h>.
19072 * support/check_dns_packet.c: Likewise.
19073 * support/check_hostent.c: Likewise.
19074 * support/support_can_chroot.c: Include <support/xunistd.h>.
19075 * support/support_format_addrinfo.c: Include <stdlib.h>
19076 * support/support_format_dns_packet.c: Include <stdbool.h>.
19077 * support/support_format_hostent.c: Include <stdlib.h>.
19078 * support/support_format_netent.c: Likewise.
19079 * support/support_write_string.c: Include <support/xunistd.h>.
19080 * support/xdlfcn.c: Include <stddef.h>.
19082 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
19084 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
19086 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19087 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19089 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19090 (sysdeps_routines): Add memset-niagara7.
19091 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
19093 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
19095 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
19096 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
19097 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
19098 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
19099 Add niagara7 option.
19100 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
19103 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19104 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
19105 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
19107 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
19109 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
19110 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
19111 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
19112 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
19113 and __memmove_niagara7.
19114 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
19115 Add niagara7 option.
19116 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
19117 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
19118 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
19119 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
19120 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
19122 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
19124 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
19125 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
19126 * sysdeps/sparc/sparc64/memmove.S: Likewise.
19127 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
19129 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
19130 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
19131 _dl_sparc_cap_flags array.
19132 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
19134 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
19136 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
19137 time whenever possible.
19139 2017-12-12 Carlos O'Donell <carlos@redhat.com>
19141 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
19142 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
19144 2017-12-12 Joseph Myers <joseph@codesourcery.com>
19146 * soft-fp/fmadf4.c: Move to ....
19147 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
19148 * soft-fp/fmasf4.c: Move to ....
19149 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
19150 * soft-fp/fmatf4.c: Move to ....
19151 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
19152 * sysdeps/ieee754/soft-fp/Makefile: New file.
19153 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
19154 * sysdeps/arm/preconfigure: Regenerated.
19155 * sysdeps/arm/nofpu/Implies: New file.
19156 * sysdeps/arm/s_fma.c: Remove file.
19157 * sysdeps/arm/s_fmaf.c: Likewise.
19158 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
19159 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
19160 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
19161 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
19162 * sysdeps/microblaze/s_fma.c: Remove file.
19163 * sysdeps/microblaze/s_fmaf.c: Likewise.
19164 * sysdeps/mips/mips32/nofpu/Implies: New file.
19165 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
19166 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
19167 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
19168 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
19169 * sysdeps/mips/ieee754/s_fma.c: Remove file.
19170 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
19171 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
19173 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
19174 * sysdeps/nios2/s_fma.c: Remove file.
19175 * sysdeps/nios2/s_fmaf.c: Likewise.
19176 * sysdeps/sh/nofpu/Implies: New file.
19177 * sysdeps/sh/s_fma.c: Remove file.
19178 * sysdeps/sh/s_fmaf.c: Likewise.
19179 * sysdeps/tile/Implies: Add ieee754/soft-fp.
19180 * sysdeps/tile/s_fma.c: Remove file.
19181 * sysdeps/tile/s_fmaf.c: Likewise.
19183 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
19185 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19186 Add s_cosf-sse2 and s_cosf-fma.
19187 (CFLAGS-s_cosf-fma.c): New.
19188 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
19189 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
19190 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
19192 2017-12-12 Steve Ellcey <sellcey@cavium.com>
19194 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
19196 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19198 * libio/Makefile (tests): Add tst-bz22415.
19199 (tst-bz22415-ENV): New rule.
19200 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
19201 (tests-special): Add tst-bz22415-mem.out.
19202 ($(objpfx)tst-bz22415-mem.out): New rule.
19203 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
19204 in case of a successful seek operation.
19205 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19206 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
19207 buffer is required.
19208 * libio/tst-bz22415.c: New test.
19210 * sysdeps/ia64/fpu/libm-test-ulps: Update.
19212 2017-12-12 James Clarke <jrtc27@jrtc27.com>
19214 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
19215 __IPC_64 to 0 to avoid IPC_64 being set.
19217 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19220 * math/bits/mathcalls.h (nextafter): Remove const.
19221 (nexttoward): Likewise.
19223 2017-12-12 Joseph Myers <joseph@codesourcery.com>
19225 * configure.ac (--with-fp): Remove configure option.
19226 (with_fp_cond): New variable.
19227 (libc_cv_with_fp): New configure test. Use this variable instead
19229 * configure: Regenerated.
19230 * config.make.in (with-fp): Use @libc_cv_with_fp@.
19231 * manual/install.texi (Configuring and compiling): Remove
19233 * INSTALL: Regenerated.
19234 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
19235 * sysdeps/mips/preconfigure (with_fp_cond): Define.
19236 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
19237 * sysdeps/sh/preconfigure (with_fp_cond): Define.
19238 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
19239 use --without-fp to configure glibc.
19241 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
19243 * manual/locale.texi (nl_langinfo): Fix a typo.
19245 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
19248 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
19250 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
19252 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
19253 (CFLAGS-argp-parse.c): Likewise.
19254 (CFLAGS-argp-fmtstream.c): Likewise.
19255 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
19256 (CPPFLAGS-sha512-crypt.c): Likewise.
19257 (CPPFLAGS-md5-crypt.c): Likewise.
19258 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
19259 (CFLAGS-stack_chk_fail_local.c): Likewise.
19260 (CFLAGS-backtrace.c): Likewise.
19261 (CFLAGS-sprintf_chk.c): Likewise.
19262 (CFLAGS-snprintf_chk.c): Likewise.
19263 (CFLAGS-vsprintf_chk.c): Likewise.
19264 (CFLAGS-vsnprintf_chk.c): Likewise.
19265 (CFLAGS-asprintf_chk.c): Likewise.
19266 (CFLAGS-vasprintf_chk.c): Likewise.
19267 (CFLAGS-obprintf_chk.c): Likewise.
19268 (CFLAGS-dprintf_chk.c): Likewise.
19269 (CFLAGS-vdprintf_chk.c): Likewise.
19270 (CFLAGS-printf_chk.c): Likewise.
19271 (CFLAGS-fprintf_chk.c): Likewise.
19272 (CFLAGS-vprintf_chk.c): Likewise.
19273 (CFLAGS-vfprintf_chk.c): Likewise.
19274 (CFLAGS-gets_chk.c): Likewise.
19275 (CFLAGS-fgets_chk.c): Likewise.
19276 (CFLAGS-fgets_u_chk.c): Likewise.
19277 (CFLAGS-fread_chk.c): Likewise.
19278 (CFLAGS-fread_u_chk.c): Likewise.
19279 (CFLAGS-swprintf_chk.c): Likewise.
19280 (CFLAGS-vswprintf_chk.c): Likewise.
19281 (CFLAGS-wprintf_chk.c): Likewise.
19282 (CFLAGS-fwprintf_chk.c): Likewise.
19283 (CFLAGS-vwprintf_chk.c): Likewise.
19284 (CFLAGS-vfwprintf_chk.c): Likewise.
19285 (CFLAGS-fgetws_chk.c): Likewise.
19286 (CFLAGS-fgetws_u_chk.c): Likewise.
19287 (CFLAGS-read_chk.c): Likewise.
19288 (CFLAGS-pread_chk.c): Likewise.
19289 (CFLAGS-pread64_chk.c): Likewise.
19290 (CFLAGS-recv_chk.c): Likewise.
19291 (CFLAGS-recvfrom_chk.c): Likewise.
19292 (CFLAGS-tst-longjmp_chk.c): Likewise.
19293 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
19294 (CFLAGS-tst-longjmp_chk2.c): Likewise.
19295 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
19296 (CFLAGS-tst-longjmp_chk3.c): Likewise.
19297 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19298 (CFLAGS-tst-chk1.c): Likewise.
19299 (CFLAGS-tst-chk2.c): Likewise.
19300 (CFLAGS-tst-chk3.c): Likewise.
19301 (CFLAGS-tst-chk4.cc): Likewise.
19302 (CFLAGS-tst-chk5.cc): Likewise.
19303 (CFLAGS-tst-chk6.cc): Likewise.
19304 (CFLAGS-tst-lfschk1.c): Likewise.
19305 (CFLAGS-tst-lfschk2.c): Likewise.
19306 (CFLAGS-tst-lfschk3.c): Likewise.
19307 (CFLAGS-tst-lfschk4.cc): Likewise.
19308 (CFLAGS-tst-lfschk5.cc): Likewise.
19309 (CFLAGS-tst-lfschk6.cc): Likewise.
19310 (CFLAGS-tst-ssp-1.c): Likewise.
19311 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
19312 (CFLAGS-scandir64.c): Likewise.
19313 (CFLAGS-scandir-tail.c): Likewise.
19314 (CFLAGS-scandir64-tail.c): Likewise.
19315 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
19316 (CFLAGS-dl-tunables.c): Likewise.
19317 (CFLAGS-dl-runtime.c): Likewise.
19318 (CFLAGS-dl-lookup.c): Likewise.
19319 (CFLAGS-dl-iterate-phdr.c): Likewise.
19320 (CFLAGS-vismain.c): Likewise.
19321 (CFLAGS-tst-linkall-static.c): Likewise.
19322 (CFLAGS-tst-linkall-static.c): Likewise.
19323 (CPPFLAGS-dl-load.c): Likewise.
19324 (CFLAGS-ldconfig.c): Likewise.
19325 (CFLAGS-dl-cache.c): Likewise.
19326 (CFLAGS-cache.c): Likewise.
19327 (CFLAGS-rtld.c): Likewise.
19328 (CFLAGS-multiload.c): Likewise.
19329 (CFLAGS-filtmod1.c): Likewise.
19330 (CFLAGS-tst-align.c): Likewise.
19331 (CFLAGS-tst-align2.c): Likewise.
19332 (CFLAGS-tst-alignmod.c): Likewise.
19333 (CFLAGS-tst-alignmod2.c): Likewise.
19334 (CPPFLAGS-tst-execstack.c): Likewise.
19335 (CFLAGS-tst-ptrguard1-static.c): Likewise.
19336 (CFLAGS-tst-latepthreadmod.c): Likewise.
19337 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
19338 (CFLAGS-getgrnam_r.c): Likewise.
19339 (CFLAGS-getgrent_r.c): Likewise.
19340 (CFLAGS-getgrent.c): Likewise.
19341 (CFLAGS-fgetgrent.c): Likewise.
19342 (CFLAGS-fgetgrent_r.c): Likewise.
19343 (CFLAGS-putgrent.c): Likewise.
19344 (CFLAGS-initgroups.c): Likewise.
19345 (CFLAGS-getgrgid.c): Likewise.
19346 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
19347 (CFLAGS-getsgent.c): Likewise.
19348 (CFLAGS-fgetsgent.c): Likewise.
19349 (CFLAGS-fgetsgent_r.c): Likewise.
19350 (CFLAGS-putsgent.c): Likewise.
19351 (CFLAGS-getsgnam.c): Likewise.
19352 (CFLAGS-getsgnam_r.c): Likewise.
19353 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
19354 (CFLAGS-iconv_charmap.c): Likewise.
19355 (CFLAGS-dummy-repertoire.c): Likewise.
19356 (CFLAGS-charmap.c): Likewise.
19357 (CFLAGS-linereader.c): Likewise.
19358 (CFLAGS-simple-hash.c): Likewise.
19359 (CFLAGS-gconv_conf.c): Likewise.
19360 (CFLAGS-iconvconfig.c): Likewise.
19361 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19362 (CFLAGS-gethstbyad.c): Likewise.
19363 (CFLAGS-gethstbynm_r.c): Likewise.
19364 (CFLAGS-gethstbynm.c): Likewise.
19365 (CFLAGS-gethstbynm2_r.c): Likewise.
19366 (CFLAGS-gethstbynm2.c): Likewise.
19367 (CFLAGS-gethstent_r.c): Likewise.
19368 (CFLAGS-gethstent.c): Likewise.
19369 (CFLAGS-rcmd.c): Likewise.
19370 (CFLAGS-getnetbynm_r.c): Likewise.
19371 (CFLAGS-getnetbynm.c): Likewise.
19372 (CFLAGS-getnetbyad_r.c): Likewise.
19373 (CFLAGS-getnetbyad.c): Likewise.
19374 (CFLAGS-getnetent_r.c): Likewise.
19375 (CFLAGS-getnetent.c): Likewise.
19376 (CFLAGS-getaliasent_r.c): Likewise.
19377 (CFLAGS-getaliasent.c): Likewise.
19378 (CFLAGS-getrpcent_r.c): Likewise.
19379 (CFLAGS-getrpcent.c): Likewise.
19380 (CFLAGS-getservent_r.c): Likewise.
19381 (CFLAGS-getservent.c): Likewise.
19382 (CFLAGS-getprtent_r.c): Likewise.
19383 (CFLAGS-getprtent.c): Likewise.
19384 (CFLAGS-either_ntoh.c): Likewise.
19385 (CFLAGS-either_hton.c): Likewise.
19386 (CFLAGS-getnetgrent.c): Likewise.
19387 (CFLAGS-getnetgrent_r.c): Likewise.
19388 (CFLAGS-tst-checks-posix.c): Likewise.
19389 (CFLAGS-tst-sockaddr.c): Likewise.
19390 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
19391 (CFLAGS-tst-translit.c): Likewise.
19392 (CFLAGS-tst-gettext2.c): Likewise.
19393 (CFLAGS-tst-codeset.c): Likewise.
19394 (CFLAGS-tst-gettext3.c): Likewise.
19395 (CFLAGS-tst-gettext4.c): Likewise.
19396 (CFLAGS-tst-gettext5.c): Likewise.
19397 (CFLAGS-tst-gettext6.c): Likewise.
19398 * io/Makefile (CFLAGS-open.c): Likewise.
19399 (CFLAGS-open64.c): Likewise.
19400 (CFLAGS-creat.c): Likewise.
19401 (CFLAGS-creat64.c): Likewise.
19402 (CFLAGS-fcntl.c): Likewise.
19403 (CFLAGS-poll.c): Likewise.
19404 (CFLAGS-ppoll.c): Likewise.
19405 (CFLAGS-lockf.c): Likewise.
19406 (CFLAGS-statfs.c): Likewise.
19407 (CFLAGS-fstatfs.c): Likewise.
19408 (CFLAGS-statvfs.c): Likewise.
19409 (CFLAGS-fstatvfs.c): Likewise.
19410 (CFLAGS-fts.c): Likewise.
19411 (CFLAGS-fts64.c): Likewise.
19412 (CFLAGS-ftw.c): Likewise.
19413 (CFLAGS-ftw64.c): Likewise.
19414 (CFLAGS-lockf.c): Likewise.
19415 (CFLAGS-posix_fallocate.c): Likewise.
19416 (CFLAGS-posix_fallocate64.c): Likewise.
19417 (CFLAGS-fallocate.c): Likewise.
19418 (CFLAGS-fallocate64.c): Likewise.
19419 (CFLAGS-read.c): Likewise.
19420 (CFLAGS-write.c): Likewise.
19421 (CFLAGS-test-stat.c): Likewise.
19422 (CFLAGS-test-lfs.c): Likewise.
19423 * libio/Makefile (CFLAGS-fileops.c): Likewise.
19424 (CFLAGS-fputc.c): Likewise.
19425 (CFLAGS-fputwc.c): Likewise.
19426 (CFLAGS-freopen64.c): Likewise.
19427 (CFLAGS-freopen.c): Likewise.
19428 (CFLAGS-fseek.c): Likewise.
19429 (CFLAGS-fseeko64.c): Likewise.
19430 (CFLAGS-fseeko.c): Likewise.
19431 (CFLAGS-ftello64.c): Likewise.
19432 (CFLAGS-ftello.c): Likewise.
19433 (CFLAGS-fwide.c): Likewise.
19434 (CFLAGS-genops.c): Likewise.
19435 (CFLAGS-getc.c): Likewise.
19436 (CFLAGS-getchar.c): Likewise.
19437 (CFLAGS-getwc.c): Likewise.
19438 (CFLAGS-getwchar.c): Likewise.
19439 (CFLAGS-iofclose.c): Likewise.
19440 (CFLAGS-iofflush.c): Likewise.
19441 (CFLAGS-iofgetpos64.c): Likewise.
19442 (CFLAGS-iofgetpos.c): Likewise.
19443 (CFLAGS-iofgets.c): Likewise.
19444 (CFLAGS-iofgetws.c): Likewise.
19445 (CFLAGS-iofputs.c): Likewise.
19446 (CFLAGS-iofputws.c): Likewise.
19447 (CFLAGS-iofread.c): Likewise.
19448 (CFLAGS-iofsetpos64.c): Likewise.
19449 (CFLAGS-iofsetpos.c): Likewise.
19450 (CFLAGS-ioftell.c): Likewise.
19451 (CFLAGS-iofwrite.c): Likewise.
19452 (CFLAGS-iogetdelim.c): Likewise.
19453 (CFLAGS-iogetline.c): Likewise.
19454 (CFLAGS-iogets.c): Likewise.
19455 (CFLAGS-iogetwline.c): Likewise.
19456 (CFLAGS-ioputs.c): Likewise.
19457 (CFLAGS-ioseekoff.c): Likewise.
19458 (CFLAGS-ioseekpos.c): Likewise.
19459 (CFLAGS-iosetbuffer.c): Likewise.
19460 (CFLAGS-iosetvbuf.c): Likewise.
19461 (CFLAGS-ioungetc.c): Likewise.
19462 (CFLAGS-ioungetwc.c): Likewise.
19463 (CFLAGS-oldfileops.c): Likewise.
19464 (CFLAGS-oldiofclose.c): Likewise.
19465 (CFLAGS-oldiofgetpos64.c): Likewise.
19466 (CFLAGS-oldiofgetpos.c): Likewise.
19467 (CFLAGS-oldiofsetpos64.c): Likewise.
19468 (CFLAGS-oldiofsetpos.c): Likewise.
19469 (CFLAGS-peekc.c): Likewise.
19470 (CFLAGS-putc.c): Likewise.
19471 (CFLAGS-putchar.c): Likewise.
19472 (CFLAGS-putwc.c): Likewise.
19473 (CFLAGS-putwchar.c): Likewise.
19474 (CFLAGS-rewind.c): Likewise.
19475 (CFLAGS-wfileops.c): Likewise.
19476 (CFLAGS-wgenops.c): Likewise.
19477 (CFLAGS-oldiofopen.c): Likewise.
19478 (CFLAGS-iofopen.c): Likewise.
19479 (CFLAGS-iofopen64.c): Likewise.
19480 (CFLAGS-oldtmpfile.c): Likewise.
19481 (CFLAGS-tst_putwc.c): Likewise.
19482 * locale/Makefile (CFLAGS-md5.c): Likewise.
19483 (CFLAGS-charmap.c): Likewise.
19484 (CFLAGS-locfile.c): Likewise.
19485 (CFLAGS-charmap-dir.c): Likewise.
19486 * login/Makefile (CFLAGS-grantpt.c): Likewise.
19487 (CFLAGS-getpt.c): Likewise.
19488 (CFLAGS-pt_chown.c): Likewise.
19489 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
19490 (CFLAGS-obstack.c): Likewise.
19491 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
19492 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
19493 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
19494 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
19495 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
19496 (CFLAGS-test-tgmath.c): Likewise.
19497 (CFLAGS-test-tgmath2.c): Likewise.
19498 (CFLAGS-test-tgmath-ret.c): Likewise.
19499 (CFLAGS-test-powl.c): Likewise.
19500 (CFLAGS-test-snan.c): Likewise.
19501 (CFLAGS-test-signgam-finite.c): Likewise.
19502 (CFLAGS-test-signgam-finite-c99.c): Likewise.
19503 (CFLAGS-test-signgam-finite-c11.c): Likewise.
19504 (CFLAGS-test-signgam-uchar.c): Likewise.
19505 (CFLAGS-test-signgam-uchar-init.c): Likewise.
19506 (CFLAGS-test-signgam-uchar-static.c): Likewise.
19507 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
19508 (CFLAGS-test-signgam-uint.c): Likewise.
19509 (CFLAGS-test-signgam-uint-init.c): Likewise.
19510 (CFLAGS-test-signgam-uint-static.c): Likewise.
19511 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
19512 (CFLAGS-test-signgam-ullong.c): Likewise.
19513 (CFLAGS-test-signgam-ullong-init.c): Likewise.
19514 (CFLAGS-test-signgam-ullong-static.c): Likewise.
19515 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
19516 (CFLAGS-test-math-cxx11.cc): Likewise.
19517 (CFLAGS-test-math-isinff.cc): Likewise.
19518 (CFLAGS-test-math-iszero.cc): Likewise.
19519 (CFLAGS-test-math-issignaling.cc): Likewise.
19520 (CFLAGS-test-math-iscanonical.cc): Likewise.
19521 (CFLAGS-test-iszero-excess-precision.c): Likewise.
19522 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
19523 (CFLAGS-test-flt-eval-method.c): Likewise.
19524 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
19525 (CFLAGS-test-finite-macros.c): Likewise.
19526 * misc/Makefile (CFLAGS-select.c): Likewise.
19527 (CFLAGS-tsearch.c): Likewise.
19528 (CFLAGS-lsearch.c): Likewise.
19529 (CFLAGS-pselect.c): Likewise.
19530 (CFLAGS-readv.c): Likewise.
19531 (CFLAGS-writev.c): Likewise.
19532 (CFLAGS-preadv.c): Likewise.
19533 (CFLAGS-preadv64.c): Likewise.
19534 (CFLAGS-pwritev.c): Likewise.
19535 (CFLAGS-pwritev64.c): Likewise.
19536 (CFLAGS-preadv2.c): Likewise.
19537 (CFLAGS-preadv64v2.c): Likewise.
19538 (CFLAGS-pwritev2.c): Likewise.
19539 (CFLAGS-pwritev64v2.c): Likewise.
19540 (CFLAGS-usleep.c): Likewise.
19541 (CFLAGS-syslog.c): Likewise.
19542 (CFLAGS-error.c): Likewise.
19543 (CFLAGS-getpass.c): Likewise.
19544 (CFLAGS-mkstemp.c): Likewise.
19545 (CFLAGS-mkstemp64.c): Likewise.
19546 (CFLAGS-getsysstats.c): Likewise.
19547 (CFLAGS-getusershell.c): Likewise.
19548 (CFLAGS-err.c): Likewise.
19549 (CFLAGS-tst-tsearch.c): Likewise.
19550 (CFLAGS-msync.c): Likewise.
19551 (CFLAGS-fdatasync.c): Likewise.
19552 (CFLAGS-fsync.c): Likewise.
19553 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
19554 (CFLAGS-unwind.c): Likewise.
19555 (CFLAGS-unwind-forcedunwind.c): Likewise.
19556 (CFLAGS-pthread_cancel.c): Likewise.
19557 (CFLAGS-pthread_setcancelstate.c): Likewise.
19558 (CFLAGS-pthread_setcanceltype.c): Likewise.
19559 (CFLAGS-cancellation.c): Likewise.
19560 (CFLAGS-libc-cancellation.c): Likewise.
19561 (CFLAGS-pthread_exit.c): Likewise.
19562 (CFLAGS-forward.c): Likewise.
19563 (CFLAGS-pthread_testcancel.c): Likewise.
19564 (CFLAGS-pthread_join.c): Likewise.
19565 (CFLAGS-pthread_timedjoin.c): Likewise.
19566 (CFLAGS-pthread_once.c): Likewise.
19567 (CFLAGS-pthread_cond_wait.c): Likewise.
19568 (CFLAGS-sem_wait.c): Likewise.
19569 (CFLAGS-sem_timedwait.c): Likewise.
19570 (CFLAGS-fcntl.c): Likewise.
19571 (CFLAGS-lockf.c): Likewise.
19572 (CFLAGS-pread.c): Likewise.
19573 (CFLAGS-pread64.c): Likewise.
19574 (CFLAGS-pwrite.c): Likewise.
19575 (CFLAGS-pwrite64.c): Likewise.
19576 (CFLAGS-wait.c): Likewise.
19577 (CFLAGS-waitpid.c): Likewise.
19578 (CFLAGS-sigwait.c): Likewise.
19579 (CFLAGS-msgrcv.c): Likewise.
19580 (CFLAGS-msgsnd.c): Likewise.
19581 (CFLAGS-tcdrain.c): Likewise.
19582 (CFLAGS-open.c): Likewise.
19583 (CFLAGS-open64.c): Likewise.
19584 (CFLAGS-pause.c): Likewise.
19585 (CFLAGS-recv.c): Likewise.
19586 (CFLAGS-send.c): Likewise.
19587 (CFLAGS-accept.c): Likewise.
19588 (CFLAGS-sendto.c): Likewise.
19589 (CFLAGS-connect.c): Likewise.
19590 (CFLAGS-recvfrom.c): Likewise.
19591 (CFLAGS-recvmsg.c): Likewise.
19592 (CFLAGS-sendmsg.c): Likewise.
19593 (CFLAGS-close.c): Likewise.
19594 (CFLAGS-read.c): Likewise.
19595 (CFLAGS-write.c): Likewise.
19596 (CFLAGS-nanosleep.c): Likewise.
19597 (CFLAGS-sigsuspend.c): Likewise.
19598 (CFLAGS-msync.c): Likewise.
19599 (CFLAGS-fdatasync.c): Likewise.
19600 (CFLAGS-fsync.c): Likewise.
19601 (CFLAGS-pt-system.c): Likewise.
19602 (CFLAGS-tst-cleanup2.c): Likewise.
19603 (CFLAGS-tst-cleanupx2.c): Likewise.
19604 (CFLAGS-flockfile.c): Likewise.
19605 (CFLAGS-ftrylockfile.c): Likewise.
19606 (CFLAGS-funlockfile.c): Likewise.
19607 (CFLAGS-tst-initializers1.c): Likewise.
19608 (CFLAGS-tst-initializers1-c89.c): Likewise.
19609 (CFLAGS-tst-initializers1-c99.c): Likewise.
19610 (CFLAGS-tst-initializers1-c11.c): Likewise.
19611 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
19612 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
19613 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
19614 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
19615 (CFLAGS-nscd_getgr_r.c): Likewise.
19616 (CFLAGS-nscd_gethst_r.c): Likewise.
19617 (CFLAGS-nscd_getai.c): Likewise.
19618 (CFLAGS-nscd_initgroups.c): Likewise.
19619 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
19620 (CFLAGS-pause.c): Likewise.
19621 (CFLAGS-pread.c): Likewise.
19622 (CFLAGS-pread64.c): Likewise.
19623 (CFLAGS-pwrite.c): Likewise.
19624 (CFLAGS-pwrite64.c): Likewise.
19625 (CFLAGS-sleep.c): Likewise.
19626 (CFLAGS-wait.c): Likewise.
19627 (CFLAGS-waitid.c): Likewise.
19628 (CFLAGS-waitpid.c): Likewise.
19629 (CFLAGS-getopt.c): Likewise.
19630 (CFLAGS-wordexp.c): Likewise.
19631 (CFLAGS-sysconf.c): Likewise.
19632 (CFLAGS-pathconf.c): Likewise.
19633 (CFLAGS-fpathconf.c): Likewise.
19634 (CFLAGS-spawn.c): Likewise.
19635 (CFLAGS-spawnp.c): Likewise.
19636 (CFLAGS-spawni.c): Likewise.
19637 (CFLAGS-glob.c): Likewise.
19638 (CFLAGS-glob64.c): Likewise.
19639 (CFLAGS-getconf.c): Likewise.
19640 (CFLAGS-nanosleep.c): Likewise.
19641 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
19642 (CFLAGS-getpwent.c): Likewise.
19643 (CFLAGS-getpw.c): Likewise.
19644 (CFLAGS-fgetpwent_r.c): Likewise.
19645 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
19646 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
19647 (CFLAGS-mq_timedreceive.c): Likewise.
19648 (CFLAGS-mq_timedsend.c): Likewise.
19649 (CFLAGS-clock_nanosleep.c): Likewise.
19650 (CFLAGS-librt-cancellation.c): Likewise.
19651 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
19652 (CFLAGS-getspent.c): Likewise.
19653 (CFLAGS-fgetspent.c): Likewise.
19654 (CFLAGS-fgetspent_r.c): Likewise.
19655 (CFLAGS-putspent.c): Likewise.
19656 (CFLAGS-getspnam.c): Likewise.
19657 (CFLAGS-getspnam_r.c): Likewise.
19658 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
19659 (CFLAGS-sigsuspend.c): Likewise.
19660 (CFLAGS-sigtimedwait.c): Likewise.
19661 (CFLAGS-sigwait.c): Likewise.
19662 (CFLAGS-sigwaitinfo.c): Likewise.
19663 (CFLAGS-sigreturn.c): Likewise.
19664 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
19665 (CFLAGS-vfwprintf.c): Likewise.
19666 (CFLAGS-tmpfile.c): Likewise.
19667 (CFLAGS-tmpfile64.c): Likewise.
19668 (CFLAGS-tempname.c): Likewise.
19669 (CFLAGS-psignal.c): Likewise.
19670 (CFLAGS-vprintf.c): Likewise.
19671 (CFLAGS-cuserid.c): Likewise.
19672 (CFLAGS-errlist.c): Likewise.
19673 (CFLAGS-siglist.c): Likewise.
19674 (CFLAGS-scanf15.c): Likewise.
19675 (CFLAGS-scanf17.c): Likewise.
19676 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
19677 (CFLAGS-msort.c): Likewise.
19678 (CFLAGS-qsort.c): Likewise.
19679 (CFLAGS-system.c): Likewise.
19680 (CFLAGS-fmtmsg.c): Likewise.
19681 (CFLAGS-strfmon.c): Likewise.
19682 (CFLAGS-strfmon_l.c): Likewise.
19683 (CFLAGS-strfromd.c): Likewise.
19684 (CFLAGS-strfromf.c): Likewise.
19685 (CFLAGS-strfroml.c): Likewise.
19686 (CFLAGS-tst-bsearch.c): Likewise.
19687 (CFLAGS-tst-qsort.c): Likewise.
19688 (CFLAGS-tst-makecontext2.c): Likewise.
19689 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
19690 (CFLAGS-xnlm_prot.c): Likewise.
19691 (CFLAGS-xrstat.c): Likewise.
19692 (CFLAGS-xyppasswd.c): Likewise.
19693 (CFLAGS-xklm_prot.c): Likewise.
19694 (CFLAGS-xrex.c): Likewise.
19695 (CFLAGS-xsm_inter.c): Likewise.
19696 (CFLAGS-xmount.c): Likewise.
19697 (CFLAGS-xrusers.c): Likewise.
19698 (CFLAGS-xspray.c): Likewise.
19699 (CFLAGS-xnfs_prot.c): Likewise.
19700 (CFLAGS-xrquota.c): Likewise.
19701 (CFLAGS-xkey_prot.c): Likewise.
19702 (CFLAGS-auth_unix.c): Likewise.
19703 (CFLAGS-key_call.c): Likewise.
19704 (CFLAGS-pmap_rmt.c): Likewise.
19705 (CFLAGS-clnt_perr.c): Likewise.
19706 (CFLAGS-openchild.c): Likewise.
19707 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
19708 (CFLAGS-msgsnd.c): Likewise.
19709 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
19710 * time/Makefile (CFLAGS-tzfile.c): Likewise.
19711 (CFLAGS-tzset.c): Likewise.
19712 (CFLAGS-getdate.c): Likewise.
19713 (CFLAGS-test_time.c): Likewise.
19714 (CPPFLAGS-tst-tzname.c): Likewise.
19715 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
19716 (CFLAGS-zic.c): Likewise.
19717 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
19718 (CFLAGS-wcswidth.c): Likewise.
19719 (CFLAGS-wcstol.c): Likewise.
19720 (CFLAGS-wcstoul.c): Likewise.
19721 (CFLAGS-wcstoll.c): Likewise.
19722 (CFLAGS-wcstoull.c): Likewise.
19723 (CFLAGS-wcstod.c): Likewise.
19724 (CFLAGS-wcstold.c): Likewise.
19725 (CFLAGS-wcstof128.c): Likewise.
19726 (CFLAGS-wcstof.c): Likewise.
19727 (CFLAGS-wcstol_l.c): Likewise.
19728 (CFLAGS-wcstoul_l.c): Likewise.
19729 (CFLAGS-wcstoll_l.c): Likewise.
19730 (CFLAGS-wcstoull_l.c): Likewise.
19731 (CFLAGS-wcstod_l.c): Likewise.
19732 (CFLAGS-wcstold_l.c): Likewise.
19733 (CFLAGS-wcstof128_l.c): Likewise.
19734 (CFLAGS-wcstof_l.c): Likewise.
19735 (CPPFLAGS-tst-wchar-h.c): Likewise.
19736 (CPPFLAGS-wcstold_l.c): Likewise.
19738 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
19740 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
19742 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19743 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19745 * manual/tunables.texi (Hardware Capability Tunables): Document
19746 glibc.tune.cached_memopt.
19747 * sysdeps/powerpc/cpu-features.c: New file.
19748 * sysdeps/powerpc/cpu-features.h: New file.
19749 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
19750 _dl_powerpc_cpu_features.
19751 * sysdeps/powerpc/dl-tunables.list: New file.
19752 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
19753 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
19754 (INIT_ARCH): Initialize use_aligned_memopt.
19755 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
19756 IS_IN(rtld))]: Restrict dl_platform_init availability and
19757 initialize CPU features used by tunables.
19758 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
19759 Add memcpy-power8-cached.
19760 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
19761 __memcpy_power8_cached.
19762 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
19763 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
19766 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
19768 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
19769 (CFLAGS-noinl-tester.c): Likewise.
19770 (CFLAGS-tst-strlen.c): Likewise.
19771 (CFLAGS-stratcliff.c): Likewise.
19772 (CFLAGS-test-ffs.c): Likewise.
19773 (CFLAGS-tst-inlcall.c): Likewise.
19774 (CFLAGS-tst-xbzero-opt.c): Likewise.
19775 (CFLAGS-memcpy.c): Likewise.
19776 (CFLAGS-wordcopy.c): Likewise.
19778 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19780 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
19781 Store r15 on stack and add cfi rule.
19782 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
19785 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
19788 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
19791 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19793 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19794 Add s_sinf-sse2 and s_sinf-fma.
19795 (CFLAGS-s_sinf-fma.c): New.
19796 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
19797 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
19798 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
19800 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19802 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
19804 2017-12-07 Joseph Myers <joseph@codesourcery.com>
19807 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
19808 part of result to imaginary part of argument if it is zero and the
19809 real part of the argument is not finite.
19810 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
19811 of result to real part of argument if it is zero and the imaginary
19812 part of the argument is not finite.
19814 2017-12-07 Mike FABIAN <mfabian@redhat.com>
19817 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
19818 and to the list of locales to be built for testing.
19819 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
19820 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
19821 and build the collation rules upon that.
19823 2017-12-07 Joseph Myers <joseph@codesourcery.com>
19825 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
19826 * manual/math.texi (Mathematics): Document support for _Float32.
19827 * math/Makefile (test-types): Add float32.
19828 * math/Versions (GLIBC_2.27): Add _Float32 functions.
19829 * stdlib/Versions (GLIBC_2.27): Likewise.
19830 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19831 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19832 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19833 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19834 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19835 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19836 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19837 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19838 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19839 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19840 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19841 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19842 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19843 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19844 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19845 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19846 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19847 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19848 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19849 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19850 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19851 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
19853 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19854 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19855 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19856 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19857 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
19871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19875 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19876 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19877 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19878 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19879 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19880 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19881 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19882 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19883 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19884 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19885 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19887 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19889 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19891 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19893 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19894 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19895 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19896 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19897 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19898 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19899 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19900 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19902 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19904 * stdlib/strtof.c: Include <bits/floatn.h>
19905 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
19906 and later undefine as macro. Define as weak alias if
19908 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
19909 and later undefine as macro. Define as weak alias if
19911 * stdlib/strtof_l.c: Include <bits/floatn.h>
19912 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
19913 and later undefine as macro. Define as weak alias if
19915 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
19916 and later undefine as macro. Define as weak alias if
19919 * stdlib/strfromf.c: Include <bits/floatn.h>.
19920 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
19921 and later undefine as macro and define as weak alias.
19923 * math/test-float32.h: New file.
19925 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
19926 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
19927 (libm_alias_float_other_r): Create f32 alias.
19928 (libm_alias_float_r): Use semicolon before call to
19929 libm_alias_float_other_r.
19931 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
19932 second argument to libm_alias_float_other.
19933 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
19934 second argument to libm_alias_float_other.
19935 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
19936 argument to libm_alias_float_other.
19939 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
19940 real part of result for argument 0 + i * NaN.
19941 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
19942 results for tests of 0 + i * NaN.
19944 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19946 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19948 2017-12-06 David S. Miller <davem@davemloft.net>
19950 * sysdeps/sparc/fpu/libm-test-ulps: Update
19951 exp_{downward,towardzero,upward} ulps.
19953 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19955 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
19958 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
19960 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
19962 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
19964 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
19967 2017-12-06 Mike FABIAN <mfabian@redhat.com>
19970 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
19971 and to the list of locales to be built for testing.
19972 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
19973 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
19974 and build the collation rules upon that.
19976 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19978 * NEWS: Add sinf to list of optimized functions.
19980 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19982 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
19983 (__HAVE_FLOAT32X): Likewise.
19984 * manual/math.texi (Mathematics): Document support for _Float64
19986 * math/Makefile (test-types): Add float64 and float32x.
19987 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
19989 * stdlib/Versions (GLIBC_2.27): Likewise.
19990 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19991 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19992 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19993 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19994 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19995 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19996 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19997 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19998 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19999 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20000 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20001 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20002 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20003 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20004 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20005 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20006 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20007 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20008 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20009 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20010 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20011 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
20013 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20014 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20015 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20016 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20017 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
20030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20034 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20035 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20036 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20037 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20038 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20039 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20040 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20041 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20042 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20043 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20044 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
20046 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20048 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20050 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20052 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20053 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20054 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20055 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20056 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20057 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20058 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20059 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20061 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20063 * bits/floatn-common.h: Include <bits/long-double.h>.
20064 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20065 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
20066 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20067 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
20068 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20069 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
20070 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20071 (__builtin_huge_valf64): Use __builtin_huge_vall.
20072 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20073 (__builtin_inff64): Use __builtin_infl.
20074 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20075 (__builtin_nanf64): Use __builtin_nanl.
20076 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20077 (__builtin_nansf64): Use __builtin_nansl.
20079 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
20080 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20081 Carlos O'Donnell <carlos@redhat.com>
20083 * elf/dl-tunables.list: Add elision parameters.
20084 * manual/tunables.texi: Add entries about elision tunable.
20085 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
20086 Add callback functions to dynamically enable/disable elision.
20087 Add multiple callbacks functions to set elision parameters.
20088 Deleted __libc_enable_secure check.
20089 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
20090 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
20091 * configure: Regenerated.
20092 * configure.ac: Option enable_lock_elision was deleted.
20093 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
20094 * config.make.in: Remove references to enable_lock_elision.
20095 * manual/install.texi: Elision configure option was removed.
20096 * INSTALL: Regenerated to remove enable_lock_elision.
20098 Disable elision so it can verify error case for destroying a mutex.
20099 * sysdeps/powerpc/nptl/elide.h:
20100 Cleanup ENABLE_LOCK_ELISION check.
20101 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
20102 * sysdeps/s390/configure: Regenerated.
20103 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
20104 * nptl/tst-mutex8.c:
20105 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
20106 * sysdeps/powerpc/powerpc32/sysdep.h:
20107 Deleted all ENABLE_LOCK_ELISION checks.
20108 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20109 * sysdeps/powerpc/sysdep.h: Likewise.
20110 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
20111 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
20112 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20113 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20114 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20115 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
20116 enable-lock-elision.
20118 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20120 * stdlib/strtod.c: Include <bits/floatn.h>.
20121 (BUILD_DOUBLE): New macro.
20122 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20123 (strtof64): Define and later undefine as macro. Define as weak
20124 alias if [!USE_WIDE_CHAR].
20125 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20126 (wcstof64): Define and later undefine as macro. Define as weak
20127 alias if [USE_WIDE_CHAR].
20128 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20129 (strtof32x): Define and later undefine as macro. Define as weak
20130 alias if [!USE_WIDE_CHAR].
20131 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20132 (wcstof32x): Define and later undefine as macro. Define as weak
20133 alias if [USE_WIDE_CHAR].
20134 * stdlib/strtod_l.c: Include <bits/floatn.h>.
20135 (BUILD_DOUBLE): New macro.
20136 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20137 (strtof64_l): Define and later undefine as macro. Define as weak
20138 alias if [!USE_WIDE_CHAR].
20139 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20140 (wcstof64_l): Define and later undefine as macro. Define as weak
20141 alias if [USE_WIDE_CHAR].
20142 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20143 (strtof32x_l): Define and later undefine as macro. Define as weak
20144 alias if [!USE_WIDE_CHAR].
20145 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20146 (wcstof32x_l): Define and later undefine as macro. Define as weak
20147 alias if [USE_WIDE_CHAR].
20149 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20151 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
20152 (reduced): Use ones as double instead of integer.
20154 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
20156 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
20158 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20160 * stdlib/strfromd.c: Include <bits/floatn.h>.
20161 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
20162 and later undefine as macro and define as weak alias.
20163 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
20166 * math/test-float32x.h: New file.
20167 * math/test-float64.h: Likewise.
20169 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
20170 (libm_alias_double_other_r_f64): New macro.
20171 (libm_alias_double_other_r_f32x): Likewise.
20172 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
20173 libm_alias_double_other_r_f32x.
20174 (libm_alias_double_r): Use semicolon before call to
20175 libm_alias_double_other_r.
20176 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
20178 (libm_alias_double_other_r_f64): New macro.
20179 (libm_alias_double_other_r_f32x): Likewise.
20180 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
20181 libm_alias_double_other_r_f32x.
20183 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
20185 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
20187 (SINF_FUNC): Likewise. Replace floor with simple casts.
20189 2017-12-05 Mike FABIAN <mfabian@redhat.com>
20192 * localedata/Makefile: Add et_EE.UTF-8 to test-input
20193 and to the list of locales to be built for testing.
20194 * localedata/et_EE.UTF-8.in: New file for testing the collation.
20195 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
20196 and build the collation rules upon that.
20198 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
20200 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
20201 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
20202 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
20203 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
20204 instead of __insn__xxx.
20205 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
20206 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
20207 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
20208 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
20209 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
20210 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
20212 2017-12-05 Florian Weimer <fweimer@redhat.com>
20214 Linux: Implement interfaces for memory protection keys
20215 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
20217 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
20218 * support/xunistd.h (xsysconf): Declare.
20219 * support/xraise.c: New file.
20220 * support/xsigaction.c: Likewise.
20221 * support/xsignal.c: Likewise.
20222 * support/xsysconf.c: Likewise.
20223 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
20224 pkey_set, pkey_get, pkey_mprotect.
20225 [misc] (tests): Add tst-pkey.
20226 (tst-pkey): Link with -lpthread.
20227 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
20228 pkey_free, pkey_set, pkey_get, pkey_mprotect.
20229 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
20230 (PKEY_DISABLE_WRITE): Define.
20231 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
20233 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
20234 (SEGV_PKUERR): Add.
20235 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
20236 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
20237 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
20238 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
20240 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
20241 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
20242 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
20243 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
20244 * sysdeps/unix/sysv/linux/**.abilist: Update.
20246 2017-12-05 Florian Weimer <fweimer@redhat.com>
20248 * support/tst-test_compare.c (subprocess): Use long long instead
20249 of long argument for consistent type width across 32-bit and
20250 64-bit architectures.
20251 (do_test): Adjust expected output.
20253 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20255 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
20256 (cosf): Define using libm_alias_float.
20257 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
20258 (fabsf): Define using libm_alias_float.
20259 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
20260 (fmaf): Define using libm_alias_float.
20261 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
20262 (rintf): Define using libm_alias_float.
20263 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
20264 (sinf): Define using libm_alias_float.
20265 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
20266 <libm-alias-float.h>.
20267 (modff): Define using libm_alias_float.
20268 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
20269 <libm-alias-float.h>.
20270 (logbf): Define using libm_alias_float.
20271 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
20272 <libm-alias-float.h>.
20273 (ceilf): Define using libm_alias_float.
20274 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
20275 <libm-alias-float.h>.
20276 (copysignf): Define using libm_alias_float.
20277 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
20278 <libm-alias-float.h>.
20279 (floorf): Define using libm_alias_float.
20280 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
20281 <libm-alias-float.h>.
20282 (llrintf): Define using libm_alias_float.
20283 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
20284 <libm-alias-float.h>.
20285 (llroundf): Define using libm_alias_float.
20286 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
20287 <libm-alias-float.h>.
20288 (lrintf): Define using libm_alias_float.
20289 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
20290 <libm-alias-float.h>.
20291 (lroundf): Define using libm_alias_float.
20292 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
20293 <libm-alias-float.h>.
20294 (nearbyintf): Define using libm_alias_float.
20295 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
20296 <libm-alias-float.h>.
20297 (rintf): Define using libm_alias_float.
20298 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
20299 <libm-alias-float.h>.
20300 (roundf): Define using libm_alias_float.
20301 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
20302 <libm-alias-float.h>.
20303 (truncf): Define using libm_alias_float.
20304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
20305 Include <libm-alias-float.h>.
20306 (ceilf): Define using libm_alias_float.
20307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
20308 Include <libm-alias-float.h>.
20309 (copysignf): Define using libm_alias_float.
20310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
20311 Include <libm-alias-float.h>.
20312 (floorf): Define using libm_alias_float.
20313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
20314 Include <libm-alias-float.h>.
20315 (llrintf): Define using libm_alias_float.
20316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
20317 Include <libm-alias-float.h>.
20318 (llroundf): Define using libm_alias_float.
20319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
20320 Include <libm-alias-float.h>.
20321 (logbf): Define using libm_alias_float.
20322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
20323 Include <libm-alias-float.h>.
20324 (lrintf): Define using libm_alias_float.
20325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
20326 Include <libm-alias-float.h>.
20327 (lroundf): Define using libm_alias_float.
20328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
20329 Include <libm-alias-float.h>.
20330 (modff): Define using libm_alias_float.
20331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
20332 Include <libm-alias-float.h>.
20333 (roundf): Define using libm_alias_float.
20334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
20335 Include <libm-alias-float.h>.
20336 (truncf): Define using libm_alias_float.
20337 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
20338 <libm-alias-float.h>.
20339 (llrintf): Define using libm_alias_float.
20340 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20341 <libm-alias-float.h>.
20342 (llroundf): Define using libm_alias_float.
20343 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
20344 <libm-alias-float.h>.
20345 (ceilf): Define using libm_alias_float.
20346 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
20347 <libm-alias-float.h>.
20348 (floorf): Define using libm_alias_float.
20349 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20350 <libm-alias-float.h>.
20351 (llroundf): Define using libm_alias_float.
20352 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20353 <libm-alias-float.h>.
20354 (lroundf): Define using libm_alias_float.
20355 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
20356 <libm-alias-float.h>.
20357 (roundf): Define using libm_alias_float.
20358 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
20359 <libm-alias-float.h>.
20360 (truncf): Define using libm_alias_float.
20361 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20362 <libm-alias-float.h>.
20363 (copysignf): Define using libm_alias_float.
20364 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
20365 <libm-alias-float.h>.
20366 (llrintf): Define using libm_alias_float.
20367 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20368 <libm-alias-float.h>.
20369 (llroundf): Define using libm_alias_float.
20370 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
20371 <libm-alias-float.h>.
20372 (lrintf): Define using libm_alias_float.
20373 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
20374 <libm-alias-float.h>.
20375 (lroundf): Define using libm_alias_float.
20376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
20377 <libm-alias-float.h>.
20378 (ceilf): Define using libm_alias_float.
20379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
20380 <libm-alias-float.h>.
20381 (copysignf): Define using libm_alias_float.
20382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
20383 <libm-alias-float.h>.
20384 (cosf): Define using libm_alias_float.
20385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
20386 <libm-alias-float.h>.
20387 (floorf): Define using libm_alias_float.
20388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
20389 <libm-alias-float.h>.
20390 (llrintf): Define using libm_alias_float.
20391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
20392 <libm-alias-float.h>.
20393 (llroundf): Define using libm_alias_float.
20394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
20395 <libm-alias-float.h>.
20396 (logbf): Define using libm_alias_float.
20397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
20398 <libm-alias-float.h>.
20399 (modff): Define using libm_alias_float.
20400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
20401 <libm-alias-float.h>.
20402 (roundf): Define using libm_alias_float.
20403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
20404 <libm-alias-float.h>.
20405 (sinf): Define using libm_alias_float.
20406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
20407 <libm-alias-float.h>.
20408 (truncf): Define using libm_alias_float.
20409 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
20410 <libm-alias-float.h>.
20411 (ceilf): Define using libm_alias_float.
20412 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
20413 <libm-alias-float.h>.
20414 (copysignf): Define using libm_alias_float.
20415 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
20416 <libm-alias-float.h>.
20417 (floorf): Define using libm_alias_float.
20418 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
20419 <libm-alias-float.h>.
20420 (llrintf): Define using libm_alias_float.
20421 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
20422 <libm-alias-float.h>.
20423 (llroundf): Define using libm_alias_float.
20424 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
20425 <libm-alias-float.h>.
20426 (nearbyintf): Define using libm_alias_float.
20427 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
20428 <libm-alias-float.h>.
20429 (rintf): Define using libm_alias_float.
20430 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
20431 <libm-alias-float.h>.
20432 (roundf): Define using libm_alias_float.
20433 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
20434 <libm-alias-float.h>.
20435 (truncf): Define using libm_alias_float.
20436 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
20437 <libm-alias-float.h>.
20438 (ceilf): Define using libm_alias_float.
20439 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
20440 <libm-alias-float.h>.
20441 (floorf): Define using libm_alias_float.
20442 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
20443 <libm-alias-float.h>.
20444 (llroundf): Define using libm_alias_float.
20445 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
20446 <libm-alias-float.h>.
20447 (roundf): Define using libm_alias_float.
20448 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
20449 <libm-alias-float.h>.
20450 (truncf): Define using libm_alias_float.
20451 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
20452 <libm-alias-float.h>.
20453 (copysignf): Define using libm_alias_float.
20454 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
20455 <libm-alias-float.h>.
20456 (llrintf): Define using libm_alias_float.
20457 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
20458 <libm-alias-float.h>.
20459 (llroundf): Define using libm_alias_float.
20460 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
20461 <libm-alias-float.h>.
20462 (cosf): Define using libm_alias_float.
20463 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
20464 <libm-alias-float.h>.
20465 (llrintf): Define using libm_alias_float.
20466 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
20467 <libm-alias-float.h>.
20468 (llroundf): Define using libm_alias_float.
20469 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
20470 <libm-alias-float.h>.
20471 (sinf): Define using libm_alias_float.
20473 2017-12-04 Florian Weimer <fweimer@redhat.com>
20475 * support/check.h (TEST_COMPARE): Define.
20476 (support_test_compare_failure): Declare.
20477 * support/Makefile (libsupport-routines): Add
20478 support_test_compare_failure.
20479 (tests): Add tst-test_compare.
20480 * support /support_test_compare_failure.c: New file.
20481 * support/tst-test_compare.c: Likewise.
20483 2017-12-04 Mike FABIAN <mfabian@redhat.com>
20486 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
20487 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
20488 available, this rewrite of the collation rules does reproduce
20489 the test file in the same order.
20491 2017-12-04 Mike FABIAN <mfabian@redhat.com>
20494 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
20495 digraphs in the month and day names. Using single code points for
20496 digraphs is deprecated. While there are dedicated Unicode
20497 codepoints, for the digraphs, these are included for backwards
20498 compatibility and modern texts use a sequence of Basic Latin
20499 characters. See: https://www.unicode.org/faq/ligature_digraph.html
20500 This makes the month and day names agree exactly with CLDR now,
20501 CLDR does not use the single code points for the digraphs either.
20503 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
20505 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
20507 2017-12-04 Joseph Myers <joseph@codesourcery.com>
20509 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
20512 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
20514 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
20515 Define only for libc.so.
20517 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
20519 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20520 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
20521 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
20522 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
20523 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20525 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20528 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
20530 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
20533 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
20534 PREINIT_FUNCTION_WEAK is nonzero.
20535 (gmon_initializer): New function. Put procedure label for it in
20536 .init_array section.
20537 (_init): Don't call PREINIT_FUNCTION.
20538 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
20539 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
20540 value when map argument is null.
20542 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
20543 depi instruction from PIC pc-relative sequence.
20544 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
20545 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
20546 (elf_machine_load_address): Likewise.
20547 (elf_machine_runtime_setup): Likewise.
20549 2017-12-02 Joseph Myers <joseph@codesourcery.com>
20551 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
20552 <libm-alias-double.h>.
20553 (logb): Define using libm_alias_double.
20554 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
20555 <libm-alias-double.h>.
20556 (copysign): Define using libm_alias_double.
20557 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
20558 <libm-alias-double.h>.
20559 (llrint): Define using libm_alias_double.
20560 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
20561 <libm-alias-double.h>.
20562 (llround): Define using libm_alias_double.
20563 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
20564 <libm-alias-double.h>.
20565 (lrint): Define using libm_alias_double.
20566 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
20567 <libm-alias-double.h>.
20568 (lround): Define using libm_alias_double.
20569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
20570 Include <libm-alias-double.h>.
20571 (copysign): Define using libm_alias_double.
20572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
20573 Include <libm-alias-double.h>.
20574 (llrint): Define using libm_alias_double.
20575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
20576 Include <libm-alias-double.h>.
20577 (llround): Define using libm_alias_double.
20578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
20579 <libm-alias-double.h>.
20580 (logb): Define using libm_alias_double.
20581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
20582 Include <libm-alias-double.h>.
20583 (lrint): Define using libm_alias_double.
20584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
20585 Include <libm-alias-double.h>.
20586 (lround): Define using libm_alias_double.
20587 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
20588 <libm-alias-double.h>.
20589 (llrint): Define using libm_alias_double.
20590 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20591 <libm-alias-double.h>.
20592 (llround): Define using libm_alias_double.
20593 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20594 <libm-alias-double.h>.
20595 (llround): Define using libm_alias_double.
20596 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20597 <libm-alias-double.h>.
20598 (lround): Define using libm_alias_double.
20599 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20600 <libm-alias-double.h>.
20601 (copysign): Define using libm_alias_double.
20602 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
20603 <libm-alias-double.h>.
20604 (llrint): Define using libm_alias_double.
20605 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20606 <libm-alias-double.h>.
20607 (llround): Define using libm_alias_double.
20608 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
20609 <libm-alias-double.h>.
20610 (lrint): Define using libm_alias_double.
20611 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
20612 <libm-alias-double.h>.
20613 (lround): Define using libm_alias_double.
20614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
20615 <libm-alias-double.h>.
20616 (copysign): Define using libm_alias_double.
20617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
20618 <libm-alias-double.h>.
20619 (llrint): Define using libm_alias_double.
20621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
20622 <libm-alias-double.h>.
20623 (llround): Define using libm_alias_double.
20624 (lround): Likewise.
20625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
20626 <libm-alias-double.h>.
20627 (logb): Define using libm_alias_double.
20628 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
20629 <libm-alias-double.h>.
20630 (copysign): Define using libm_alias_double.
20631 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
20632 <libm-alias-double.h>.
20633 (llrint): Define using libm_alias_double.
20635 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
20636 <libm-alias-double.h>.
20637 (llround): Define using libm_alias_double.
20638 (lround): Likewise.
20639 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
20640 <libm-alias-double.h>.
20641 (llround): Define using libm_alias_double.
20642 (lround): Likewise.
20643 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
20644 <libm-alias-double.h>.
20645 (copysign): Define using libm_alias_double.
20646 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
20647 <libm-alias-double.h>.
20648 (llrint): Define using libm_alias_double.
20650 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
20651 <libm-alias-double.h>.
20652 (llround): Define using libm_alias_double.
20653 (lround): Likewise.
20654 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
20655 <libm-alias-double.h>.
20656 (llrint): Define using libm_alias_double.
20658 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
20659 <libm-alias-double.h>.
20660 (llround): Define using libm_alias_double.
20661 (lround): Likewise.
20663 2017-12-01 Joseph Myers <joseph@codesourcery.com>
20665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
20666 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
20667 compat symbol based on llround.
20669 * sysdeps/powerpc/power7/fpu/s_logb.c
20670 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
20671 symbol based on __logb, not on logb.
20672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
20673 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
20674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
20675 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
20677 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
20678 (rint): Define using libm_alias_double.
20679 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
20680 <libm-alias-double.h>.
20681 (modf): Define using libm_alias_double.
20682 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
20683 <libm-alias-double.h>.
20684 (ceil): Define using libm_alias_double.
20685 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
20686 <libm-alias-double.h>.
20687 (floor): Define using libm_alias_double.
20688 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
20689 <libm-alias-double.h>.
20690 (nearbyint): Define using libm_alias_double.
20691 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
20692 <libm-alias-double.h>.
20693 (rint): Define using libm_alias_double.
20694 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
20695 <libm-alias-double.h>.
20696 (round): Define using libm_alias_double.
20697 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
20698 <libm-alias-double.h>.
20699 (trunc): Define using libm_alias_double.
20700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
20701 <libm-alias-double.h>.
20702 (ceil): Define using libm_alias_double.
20703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
20704 Include <libm-alias-double.h>.
20705 (floor): Define using libm_alias_double.
20706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
20707 <libm-alias-double.h>.
20708 (modf): Define using libm_alias_double.
20709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
20710 Include <libm-alias-double.h>.
20711 (round): Define using libm_alias_double.
20712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
20713 Include <libm-alias-double.h>.
20714 (trunc): Define using libm_alias_double.
20715 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
20716 <libm-alias-double.h>.
20717 (ceil): Define using libm_alias_double.
20718 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
20719 <libm-alias-double.h>.
20720 (floor): Define using libm_alias_double.
20721 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
20722 <libm-alias-double.h>.
20723 (round): Define using libm_alias_double.
20724 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
20725 <libm-alias-double.h>.
20726 (trunc): Define using libm_alias_double.
20727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
20728 <libm-alias-double.h>.
20729 (ceil): Define using libm_alias_double.
20730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
20731 <libm-alias-double.h>.
20732 (floor): Define using libm_alias_double.
20733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
20734 <libm-alias-double.h>.
20735 (modf): Define using libm_alias_double.
20736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
20737 <libm-alias-double.h>.
20738 (round): Define using libm_alias_double.
20739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
20740 <libm-alias-double.h>.
20741 (trunc): Define using libm_alias_double.
20742 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
20743 <libm-alias-double.h>.
20744 (ceil): Define using libm_alias_double.
20745 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
20746 <libm-alias-double.h>.
20747 (floor): Define using libm_alias_double.
20748 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
20749 <libm-alias-double.h>.
20750 (nearbyint): Define using libm_alias_double.
20751 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
20752 <libm-alias-double.h>.
20753 (rint): Define using libm_alias_double.
20754 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
20755 <libm-alias-double.h>.
20756 (round): Define using libm_alias_double.
20757 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
20758 <libm-alias-double.h>.
20759 (trunc): Define using libm_alias_double.
20760 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
20761 <libm-alias-double.h>.
20762 (ceil): Define using libm_alias_double.
20763 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
20764 <libm-alias-double.h>.
20765 (floor): Define using libm_alias_double.
20766 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
20767 <libm-alias-double.h>.
20768 (round): Define using libm_alias_double.
20769 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
20770 <libm-alias-double.h>.
20771 (trunc): Define using libm_alias_double.
20773 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
20774 (fabs): Define using libm_alias_double.
20775 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
20776 (fma): Define using libm_alias_double.
20777 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
20778 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
20779 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
20780 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
20782 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20784 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
20786 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
20787 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
20788 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
20790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
20791 due redirect macro.
20793 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
20795 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
20797 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20799 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
20800 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
20801 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
20802 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
20804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20805 (libm-sysdep_routines): Add s_nearbyintf-generic and
20806 s_nearbyint-generic.
20807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
20809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
20810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
20812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
20814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
20816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
20819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20820 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
20821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
20823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
20824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
20826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
20827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
20828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
20830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20831 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
20832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
20834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
20835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
20837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
20838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
20839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
20841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20842 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
20843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
20845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
20846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
20848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
20849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
20850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
20852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20853 (sysdep_calls): New rule.
20854 (sysdep_routines): Use sysdep_calls as base.
20855 (libm-sysdep_routines): Add generic rule for symbols shared with
20856 libc. Add s_copysign-generic and s_copysign-generic objects.
20857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
20859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
20860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
20862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
20863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
20864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
20866 2017-12-01 Mike FABIAN <mfabian@redhat.com>
20869 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
20870 the list of locales to be built for testing.
20871 * localedata/is_IS.UTF-8.in: New file.
20872 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
20875 2017-12-01 Joseph Myers <joseph@codesourcery.com>
20877 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
20878 <libm-alias-float.h>.
20879 (fabsf): Define using libm_alias_float.
20881 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
20883 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
20885 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20887 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
20888 <libm-alias-float.h>.
20889 (fabsf): Define using libm_alias_float.
20890 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
20891 <libm-alias-float.h>.
20892 (lrintf): Define using libm_alias_float.
20893 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
20894 <libm-alias-float.h>.
20895 (rintf): Define using libm_alias_float.
20897 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
20898 <libm-alias-double.h>.
20899 (fabs): Define using libm_alias_double.
20900 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
20901 <libm-alias-double.h>.
20902 (lrint): Define using libm_alias_double.
20903 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
20904 <libm-alias-double.h>.
20905 (rint): Define using libm_alias_double.
20907 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
20908 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
20909 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
20910 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
20911 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
20912 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
20913 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
20914 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
20915 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
20916 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
20917 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
20918 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
20919 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
20920 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
20921 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
20922 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
20923 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
20924 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
20926 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
20927 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
20928 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
20930 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
20931 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
20932 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
20934 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
20935 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
20936 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
20937 s_expm1_template.c.
20938 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
20939 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
20940 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
20942 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
20943 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
20944 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
20945 s_floor_template.c.
20946 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
20947 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
20948 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
20949 s_frexp_template.c.
20950 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
20951 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
20952 s_lrint_template.c.
20953 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
20954 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
20955 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
20957 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
20958 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
20959 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
20960 s_nearbyint_template.c.
20961 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
20962 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
20963 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
20964 s_remquo_template.c.
20965 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
20966 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
20967 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
20969 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
20970 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
20971 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
20973 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
20974 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
20975 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
20976 s_sincos_template.c.
20977 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
20978 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
20979 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
20981 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
20982 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
20983 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
20985 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
20986 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
20987 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
20988 s_trunc_template.c.
20989 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
20990 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
20991 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
20992 s_atan.c instead of including s_atan.c.
20993 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
20994 s_atanf.c instead of including s_atanf.c.
20995 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
20996 s_atanl.c instead of including s_atanl.c.
20997 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
20998 instead of s_atan.c.
20999 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
21000 instead of s_atanf.c.
21001 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
21002 instead of s_atanl.c.
21004 * scripts/update-copyrights: Do not handle intl/plural.c
21007 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
21010 * configure.ac (BISON): Require to be present.
21011 * configure: Regenerated.
21012 * intl/Makefile (generated): Add plural.c.
21013 [$(BISON) != no]: Make code unconditional.
21014 (plural.c): Change rule to $(objpfx)plural.c.
21015 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
21016 * intl/plural.c: Remove.
21017 * manual/install.texi (Tools for Compilation): Document bison as
21019 * INSTALL: Regenerated.
21021 2017-11-30 Joseph Myers <joseph@codesourcery.com>
21023 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
21024 <libm-alias-double.h>.
21025 (llrint): Define using libm_alias_double.
21026 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
21027 <libm-alias-float.h>.
21028 (llrintf): Define using libm_alias_float.
21029 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
21030 <libm-alias-ldouble.h>.
21031 (llrintl): Define using libm_alias_ldouble.
21033 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
21034 declare_mgen_alias instead of weak_alias.
21035 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
21036 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
21037 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
21039 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21041 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21043 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
21044 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
21045 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
21047 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21048 Add submul_1-generic.
21049 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
21050 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
21051 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
21053 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21054 Add addmul_1-generic.
21055 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
21056 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
21057 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
21059 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21061 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
21062 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
21063 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
21065 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21067 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
21068 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
21069 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
21071 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21073 According to CLDR, collation rules for Serbian and Bosnian
21074 should be the same as for Croatian.
21077 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
21078 and to the list of locales to be built for testing.
21079 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
21080 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
21081 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
21082 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
21084 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21086 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
21087 to make test case pass.
21088 * localedata/hr_HR.UTF-8.in: Add more test strings.
21090 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21092 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
21094 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
21096 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
21097 the list of locales to built for testing.
21098 * localedata/hr_HR.UTF-8.in: New file.
21100 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
21103 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
21105 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
21106 CLDR (except use ligatures for the digraphs, CLDR does not use
21107 the ligatures), add first_workday, some fixes in the date and time
21109 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
21111 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
21112 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
21113 Add int_p_cs_precedes and int_n_cs_precedes.
21114 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
21115 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
21117 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
21118 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
21120 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
21121 and lang_lib. Change postal_fmt.
21123 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
21125 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
21127 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
21128 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
21129 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
21130 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
21131 * sysdeps/generic/setjmpP.h: New file.
21132 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
21133 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
21134 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
21135 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
21136 Add jmp_buf-ssp.sym.
21137 (tests): Add tst-saved_mask-1.
21139 2017-11-30 Arjun Shankar <arjun@redhat.com>
21143 * malloc/malloc.c (__libc_malloc): Use checked_request2size
21144 instead of request2size.
21146 2017-11-30 Joseph Myers <joseph@codesourcery.com>
21148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
21149 (__lllrint): Remove alias.
21150 (lllrint): Likewise.
21151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
21152 (__lllrintf): Likewise.
21153 (lllrintf): Likewise.
21155 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
21156 <libm-alias-float.h>.
21157 (copysignf): Define using libm_alias_float.
21158 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
21159 <libm-alias-float.h>.
21160 (fabsf): Define using libm_alias_float.
21161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21162 Include <libm-alias-float.h>.
21163 (copysignf): Define using libm_alias_float.
21164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
21165 <libm-alias-float.h>.
21166 (fabsf): Define using libm_alias_float.
21167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
21168 <libm-alias-float.h>.
21169 (fdimf): Define using libm_alias_float.
21170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
21171 <libm-alias-float.h>.
21172 (fmaf): Define using libm_alias_float.
21173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
21174 <libm-alias-float.h>.
21175 (llrintf): Define using libm_alias_float.
21176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
21177 Include <libm-alias-float.h>.
21178 (nearbyintf): Define using libm_alias_float.
21179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
21180 <libm-alias-float.h>.
21181 (rintf): Define using libm_alias_float.
21182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
21183 <libm-alias-float.h>.
21184 (llrintf): Define using libm_alias_float.
21185 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
21186 <libm-alias-float.h>.
21187 (lrintf): Define using libm_alias_float.
21188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
21189 <libm-alias-float.h>.
21190 (nearbyintf): Define using libm_alias_float.
21191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
21192 <libm-alias-float.h>.
21193 (rintf): Define using libm_alias_float.
21194 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
21195 <libm-alias-float.h>.
21196 (ceilf): Define using libm_alias_float.
21197 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
21198 <libm-alias-float.h>.
21199 (floorf): Define using libm_alias_float.
21200 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
21201 <libm-alias-float.h>.
21202 (fmaf): Define using libm_alias_float.
21203 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
21204 <libm-alias-float.h>.
21205 (lrintf): Define using libm_alias_float.
21206 (llrintf): Likewise.
21207 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
21208 <libm-alias-float.h>.
21209 (nearbyintf): Define using libm_alias_float.
21210 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
21211 <libm-alias-float.h>.
21212 (rintf): Define using libm_alias_float.
21213 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
21214 <libm-alias-float.h>.
21215 (truncf): Define using libm_alias_float.
21216 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
21217 <libm-alias-float.h>.
21218 (copysignf): Define using libm_alias_float.
21219 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
21220 <libm-alias-float.h>.
21221 (fabsf): Define using libm_alias_float.
21222 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
21223 <libm-alias-float.h>.
21224 (lrintf): Define using libm_alias_float.
21225 (llrintf): Likewise.
21226 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
21227 <libm-alias-float.h>.
21228 (nearbyintf): Define using libm_alias_float.
21229 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
21230 <libm-alias-float.h>.
21231 (rintf): Define using libm_alias_float.
21233 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21235 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
21236 <libm-alias-double.h>.
21237 (copysign): Define using libm_alias_double.
21238 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
21239 <libm-alias-double.h>.
21240 (fabs): Define using libm_alias_double.
21241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21242 Include <libm-alias-double.h>.
21243 (copysign): Define using libm_alias_double.
21244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
21245 <libm-alias-double.h>.
21246 (fabs): Define using libm_alias_double.
21247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
21248 <libm-alias-double.h>.
21249 (fdim): Define using libm_alias_double.
21250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
21251 <libm-alias-double.h>.
21252 (fma): Define using libm_alias_double.
21253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
21254 <libm-alias-double.h>.
21255 (llrint): Define using libm_alias_double.
21256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
21257 Include <libm-alias-double.h>.
21258 (nearbyint): Define using libm_alias_double.
21259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
21260 <libm-alias-double.h>.
21261 (rint): Define using libm_alias_double.
21262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
21263 <libm-alias-double.h>.
21264 (fabs): Define using libm_alias_double.
21265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
21266 <libm-alias-double.h>.
21267 (llrint): Define using libm_alias_double.
21268 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
21269 <libm-alias-double.h>.
21270 (nearbyint): Define using libm_alias_double.
21271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
21272 <libm-alias-double.h>.
21273 (rint): Define using libm_alias_double.
21274 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
21275 <libm-alias-double.h>.
21276 (ceil): Define using libm_alias_double.
21277 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
21278 <libm-alias-double.h>.
21279 (floor): Define using libm_alias_double.
21280 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
21281 <libm-alias-double.h>.
21282 (fma): Define using libm_alias_double.
21283 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
21284 <libm-alias-double.h>.
21285 (lrint): Define using libm_alias_double.
21286 (llrint): Likewise.
21287 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
21288 <libm-alias-double.h>.
21289 (nearbyint): Define using libm_alias_double.
21290 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
21291 <libm-alias-double.h>.
21292 (rint): Define using libm_alias_double.
21293 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
21294 <libm-alias-double.h>.
21295 (trunc): Define using libm_alias_double.
21296 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
21297 <libm-alias-double.h>.
21298 (copysign): Define using libm_alias_double.
21299 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
21300 <libm-alias-double.h>.
21301 (fabs): Define using libm_alias_double.
21302 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
21303 <libm-alias-double.h>.
21304 (lrint): Define using libm_alias_double.
21305 (llrint): Likewise.
21306 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
21307 <libm-alias-double.h>.
21308 (nearbyint): Define using libm_alias_double.
21309 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
21310 <libm-alias-double.h>.
21311 (rint): Define using libm_alias_double.
21314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
21316 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
21318 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21319 SPARC --disable-multi-arch glibc variants.
21321 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
21322 <libm-alias-float.h>.
21323 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21325 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
21326 <libm-alias-float.h>.
21327 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21329 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
21330 <libm-alias-float.h>.
21331 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21333 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
21334 <libm-alias-float.h>.
21335 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21337 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
21338 <libm-alias-float.h>.
21339 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21341 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
21342 <libm-alias-float.h>.
21343 (ceilf): Define using libm_alias_float.
21344 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
21345 <libm-alias-float.h>.
21346 (floorf): Define using libm_alias_float.
21347 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
21348 <libm-alias-float.h>.
21349 (fmaf): Define using libm_alias_float.
21350 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
21351 <libm-alias-float.h>.
21352 (nearbyintf): Define using libm_alias_float.
21353 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
21354 <libm-alias-float.h>.
21355 (rintf): Define using libm_alias_float.
21356 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
21357 <libm-alias-float.h>.
21358 (truncf): Define using libm_alias_float.
21359 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
21360 (copysignf): Define using libm_alias_float.
21361 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
21362 (cosf): Define using libm_alias_float.
21363 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
21364 (fabsf): Define using libm_alias_float.
21365 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21366 (fmaxf): Define using libm_alias_float.
21367 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
21368 (fminf): Define using libm_alias_float.
21369 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
21370 (llrintf): Define using libm_alias_float.
21371 [!__ILP32__] (lrintf): Likewise.
21372 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
21373 (sincosf): Define using libm_alias_float.
21374 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
21375 (sinf): Define using libm_alias_float.
21376 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
21377 (lrintf): Define using libm_alias_float.
21379 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
21380 <libm-alias-double.h>.
21381 (atan): Define using libm_alias_double.
21382 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
21383 <libm-alias-double.h>.
21384 (ceil): Define using libm_alias_double.
21385 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
21386 <libm-alias-double.h>.
21387 (floor): Define using libm_alias_double.
21388 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
21389 <libm-alias-double.h>.
21390 (fma): Define using libm_alias_double.
21391 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
21392 <libm-alias-double.h>.
21393 (nearbyint): Define using libm_alias_double.
21394 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
21395 <libm-alias-double.h>.
21396 (rint): Define using libm_alias_double.
21397 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
21398 <libm-alias-double.h>.
21399 (sin): Define using libm_alias_double.
21401 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
21402 <libm-alias-double.h>.
21403 (tan): Define using libm_alias_double.
21404 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
21405 <libm-alias-double.h>.
21406 (trunc): Define using libm_alias_double.
21407 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
21408 (copysign): Define using libm_alias_double.
21409 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
21410 (fabs): Define using libm_alias_double.
21411 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
21412 (fmax): Define using libm_alias_double.
21413 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
21414 (fmin): Define using libm_alias_double.
21415 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
21416 (llrint): Define using libm_alias_double.
21417 [!__ILP32__] (lrint): Likewise.
21418 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
21419 (lrint): Define using libm_alias_double.
21421 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21423 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21424 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
21426 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
21427 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
21428 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
21429 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
21430 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
21431 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21433 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21434 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
21436 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
21437 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
21438 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
21439 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
21440 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
21441 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21443 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21444 (libm-sysdep_routines): Add s_nearbyint-generic and
21445 s_nearbyintf-generic objects.
21446 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
21447 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
21448 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
21449 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
21450 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
21451 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
21453 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21454 Add s_finitef-generic and s_finite-generic objects.
21455 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
21456 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
21457 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
21458 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
21459 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
21460 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
21462 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21463 Add s_isinff-generic and s_isinf-generic objects.
21464 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
21465 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
21466 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
21467 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
21468 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
21469 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21471 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21472 Add s_isnanf-generic and s_isnan-generic objects.
21473 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
21474 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
21475 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
21476 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
21477 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
21478 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21480 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
21482 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
21484 (sysdep_routines): Use sysdep_calls as base.
21485 (libm-sysdep_routines): Add generic rule for symbols shared with
21486 libc. Add s_signbit-generic and s_signbitf-generic objects.
21487 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
21488 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
21489 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
21490 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
21491 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
21492 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21494 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21496 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
21497 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
21498 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
21499 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
21500 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
21501 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
21502 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
21503 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
21504 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
21505 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
21506 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
21507 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
21508 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
21509 libm_alias_float_r.
21510 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
21511 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
21513 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
21514 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
21515 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
21516 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
21517 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
21518 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
21519 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
21520 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
21521 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
21522 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
21524 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
21526 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
21527 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
21528 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
21529 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
21530 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
21531 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
21532 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
21533 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
21534 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
21535 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
21536 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
21537 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
21538 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
21539 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
21540 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
21541 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
21542 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
21543 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
21544 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
21546 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
21547 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
21548 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
21549 * sysdeps/ia64/fpu/w_lgammaf_main.c
21550 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
21551 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
21553 2017-11-28 Mike FABIAN <mfabian@redhat.com>
21554 Alexandre Oliva <aoliva@redhat.com>
21557 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
21558 * localedata/fr_CA.UTF-8.in: New file with test data for backward
21560 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
21562 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
21563 * localedata/locales/de_DE (LC_COLLATE): Likewise.
21564 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
21565 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
21566 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
21567 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
21568 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
21569 instead of “ifdef DIACRIT_BACKWARD”.
21571 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21573 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
21574 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
21575 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
21576 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
21577 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
21578 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
21579 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
21580 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
21581 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
21582 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
21583 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
21584 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
21585 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
21586 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
21587 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
21588 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
21589 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
21590 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
21591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21592 ($(have-as-vis3) == yes): Remove conditional.
21593 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
21595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
21597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
21599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
21601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
21603 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
21604 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
21605 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
21606 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
21607 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
21608 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
21609 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
21610 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
21612 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21614 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
21615 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
21616 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
21617 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
21618 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
21619 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
21620 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
21621 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
21622 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
21623 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
21624 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
21625 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
21626 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
21627 libm_alias_double_r.
21628 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
21630 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
21631 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
21632 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
21633 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
21634 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
21635 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
21636 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
21637 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
21638 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
21639 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
21640 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
21642 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
21644 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
21645 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
21646 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
21647 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
21648 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
21649 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
21650 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
21651 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
21652 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
21653 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
21654 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
21655 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
21656 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
21657 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
21658 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
21659 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
21660 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
21661 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
21663 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
21664 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
21665 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
21666 * sysdeps/ia64/fpu/w_lgamma_main.c
21667 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
21668 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
21670 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
21672 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
21673 address of $global$ into %dp register earlier. Use pc-relative
21674 instruction sequence for PIC case.
21676 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21678 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
21679 (asinhf): Define using libm_alias_float.
21680 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
21681 (atanf): Define using libm_alias_float.
21682 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
21683 (cbrtf): Define using libm_alias_float.
21684 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
21685 (ceilf): Define using libm_alias_float.
21686 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
21687 (copysignf): Define using libm_alias_float.
21688 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
21689 (expm1f): Define using libm_alias_float.
21690 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
21691 (fabsf): Define using libm_alias_float.
21692 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
21693 (floorf): Define using libm_alias_float.
21694 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21695 (fmaxf): Define using libm_alias_float.
21696 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
21697 (fminf): Define using libm_alias_float.
21698 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
21699 (frexpf): Define using libm_alias_float.
21700 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
21701 (llrintf): Define using libm_alias_float.
21702 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
21703 (logbf): Define using libm_alias_float.
21704 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
21705 (lrintf): Define using libm_alias_float.
21706 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
21707 (nearbyintf): Define using libm_alias_float.
21708 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
21709 (remquof): Define using libm_alias_float.
21710 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
21711 (rintf): Define using libm_alias_float.
21712 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
21713 (truncf): Define using libm_alias_float.
21714 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
21715 <libm-alias-float.h>.
21716 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21718 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
21719 <libm-alias-float.h>.
21720 (expf): Define using libm_alias_float, or libm_alias_float_other
21722 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
21723 <libm-alias-float.h>.
21724 (log2f): Define using libm_alias_float, or libm_alias_float_other
21726 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
21727 <libm-alias-float.h>.
21728 (logf): Define using libm_alias_float, or libm_alias_float_other
21730 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
21731 <libm-alias-float.h>.
21732 (powf): Define using libm_alias_float, or libm_alias_float_other
21734 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
21735 <libm-alias-float.h>.
21736 (cosf): Define using libm_alias_float.
21737 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
21738 <libm-alias-float.h>.
21739 (sincosf): Define using libm_alias_float.
21740 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
21741 <libm-alias-float.h>.
21742 (sinf): Define using libm_alias_float.
21743 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21744 (fmaxf): Define using libm_alias_float.
21745 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
21746 (fminf): Define using libm_alias_float.
21747 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21748 <libm-alias-float.h>.
21749 (fmaf): Define using libm_alias_float.
21751 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
21752 (asinh): Define using libm_alias_double.
21753 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
21754 (atan): Define using libm_alias_double.
21755 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
21756 (cbrt): Define using libm_alias_double.
21757 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
21758 (ceil): Define using libm_alias_double.
21759 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
21760 (copysign): Define using libm_alias_double.
21761 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
21762 (expm1): Define using libm_alias_double.
21763 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
21764 (fabs): Define using libm_alias_double.
21765 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
21766 (fdim): Define using libm_alias_double.
21767 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
21768 (floor): Define using libm_alias_double.
21769 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
21770 (fmax): Define using libm_alias_double.
21771 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
21772 (fmin): Define using libm_alias_double.
21773 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
21774 (frexp): Define using libm_alias_double.
21775 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
21776 (llrint): Define using libm_alias_double.
21777 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
21778 (logb): Define using libm_alias_double.
21779 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
21780 (lrint): Define using libm_alias_double.
21781 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
21782 (nearbyint): Define using libm_alias_double.
21783 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
21784 (remquo): Define using libm_alias_double.
21785 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
21786 (rint): Define using libm_alias_double.
21787 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
21788 (trunc): Define using libm_alias_double.
21789 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
21790 (fmax): Define using libm_alias_double.
21791 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
21792 (fmin): Define using libm_alias_double.
21793 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
21794 (fma): Define using libm_alias_double.
21796 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
21799 * elf/dl-hwcaps.c (ROUND): Removed.
21800 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
21801 and ELF_NOTE_NEXT_OFFSET.
21802 * elf/dl-load.c (ROUND): Removed.
21803 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21804 * elf/readelflib.c (ROUND): Removed.
21805 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21806 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
21807 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
21808 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
21810 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21812 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21813 [!__fmaf] (fmaf): Define using libm_alias_float.
21815 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
21816 [!__fma] (fma): Define using libm_alias_double.
21817 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
21819 2017-11-28 Mike FABIAN <mfabian@redhat.com>
21822 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
21823 and implement the collation rules for cs from CLDR on top of that.
21824 * Makefile: Add cs_CZ.UTF-8 to test-input.
21825 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
21827 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
21829 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
21831 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21832 Icarus Sparry <icarus.w.sparry@intel.com>
21834 * benchtests/Makefile:Add BENCHSET to allow subsets of
21835 benchmarks to be run.
21836 * benchtests/README: Add documentation for: Running subsets of
21839 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21841 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
21842 range of tests names.
21844 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
21845 result from property and remove "max", min" and "mean" from
21846 required properties based on benchtests/bench-skeleton.c.
21848 2017-11-28 Florian Weimer <fweimer@redhat.com>
21851 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
21852 due to Internet requirement.
21853 * posix/Makefile (tests): Remove tst-getaddrinfo4,
21855 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
21857 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21859 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21860 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
21861 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21862 (sysdep_routines): Add memset-ultra1.
21863 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
21865 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
21866 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
21867 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
21868 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
21869 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
21870 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
21871 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
21872 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21874 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
21876 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
21877 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
21878 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
21879 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
21880 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
21881 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
21882 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
21884 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21885 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
21886 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21887 (sysdep_routines): Add memcpy-ultra1.
21888 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
21889 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
21891 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21893 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
21894 (cfloat_versions): Take function argument without trailing 'f'.
21895 Call libm_alias_float_other.
21896 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
21897 * sysdeps/alpha/fpu/cargf.c: Likewise.
21898 * sysdeps/alpha/fpu/cimagf.c: Likewise.
21899 * sysdeps/alpha/fpu/conjf.c: Likewise.
21900 * sysdeps/alpha/fpu/crealf.c: Likewise.
21901 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
21902 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
21903 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
21904 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
21905 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
21906 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
21907 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
21908 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
21909 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
21910 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
21911 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
21912 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
21913 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
21914 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
21915 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
21916 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
21917 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
21918 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
21919 (clog10f): Use libm_alias_float_other.
21920 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
21921 (ceilf): Define using libm_alias_float.
21922 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
21923 (copysignf): Define using libm_alias_float.
21924 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
21925 (fabsf): Define using libm_alias_float.
21926 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
21927 (floorf): Define using libm_alias_float.
21928 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
21929 (fmaxf): Define using libm_alias_float.
21930 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
21931 (fminf): Define using libm_alias_float.
21932 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
21933 (lrintf): Define using libm_alias_float.
21934 (llrintf): Likewise.
21935 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
21936 (lroundf): Define using libm_alias_float.
21937 (llroundf): Likewise.
21938 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
21939 (rintf): Define using libm_alias_float.
21940 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
21941 (truncf): Define using libm_alias_float.
21943 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
21944 (ceilf): Define using libm_alias_float.
21945 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
21946 (floorf): Define using libm_alias_float.
21947 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21948 (fmaf): Define using libm_alias_float.
21949 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
21950 (fmaxf): Define using libm_alias_float.
21951 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
21952 (fminf): Define using libm_alias_float.
21953 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
21954 (llrintf): Define using libm_alias_float.
21955 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
21956 (llroundf): Define using libm_alias_float.
21957 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
21958 (lrintf): Define using libm_alias_float.
21959 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
21960 (lroundf): Define using libm_alias_float.
21961 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
21962 <libm-alias-float.h>.
21963 (nearbyintf): Define using libm_alias_float.
21964 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
21965 (rintf): Define using libm_alias_float.
21966 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
21967 (roundf): Define using libm_alias_float.
21968 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
21969 (truncf): Define using libm_alias_float.
21971 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
21972 (ceil): Define using libm_alias_double.
21973 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
21974 (copysign): Define using libm_alias_double.
21975 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
21976 (fabs): Define using libm_alias_double.
21977 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
21978 (floor): Define using libm_alias_double.
21979 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
21980 (fmax): Define using libm_alias_double.
21981 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
21982 (fmin): Define using libm_alias_double.
21983 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
21984 (lrint): Define using libm_alias_double.
21985 (llrint): Likewise.
21986 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
21987 (lround): Define using libm_alias_double.
21988 (llround): Likewise.
21989 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
21990 (rint): Define using libm_alias_double.
21991 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
21992 (trunc): Define using libm_alias_double.
21994 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
21995 (libm_alias_double_r): Add semicolon after weak_alias call.
21997 2017-11-27 Joseph Myers <joseph@codesourcery.com>
21999 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
22000 (ceil): Define using libm_alias_double.
22001 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
22002 (floor): Define using libm_alias_double.
22003 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
22004 (fma): Define using libm_alias_double.
22005 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
22006 (fmax): Define using libm_alias_double.
22007 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
22008 (fmin): Define using libm_alias_double.
22009 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
22010 (llrint): Define using libm_alias_double.
22011 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
22012 (llround): Define using libm_alias_double.
22013 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
22014 (lrint): Define using libm_alias_double.
22015 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
22016 (lround): Define using libm_alias_double.
22017 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
22018 (nearbyint): Define using libm_alias_double.
22019 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
22020 (rint): Define using libm_alias_double.
22021 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
22022 (round): Define using libm_alias_double.
22023 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
22024 (trunc): Define using libm_alias_double.
22026 2017-11-27 Florian Weimer <fweimer@redhat.com>
22028 * sysdeps/unix/sysv/linux/mlock2.c: New file.
22029 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
22030 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
22031 (tests): Add tst-mlock2.
22032 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
22033 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
22034 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
22035 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
22036 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
22037 for mlock. Document mlock2.
22039 2017-11-27 Joseph Myers <joseph@codesourcery.com>
22041 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
22042 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
22044 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
22046 * sysdeps/x86/Makeconfig: New file.
22047 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
22048 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22049 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
22050 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22051 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22052 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22053 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
22055 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22056 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22057 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22058 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22059 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22060 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22061 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22062 * manual/math.texi (Mathematics): Document support for _Float64x.
22063 * math/Versions (GLIBC_2.27): Add _Float64x functions.
22064 * stdlib/Versions (GLIBC_2.27): Likewise.
22065 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22066 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22067 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22068 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22069 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22070 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22071 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22072 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22073 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22074 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22075 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22076 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22081 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22082 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22083 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22084 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22085 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22086 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22087 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22088 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22089 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22090 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22091 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22092 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22093 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22094 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22096 2017-11-27 Andreas Schwab <schwab@suse.de>
22098 * elf/Makefile (dl-routines): Add dl-sort-maps.
22099 * elf/dl-sort-maps.c: New file.
22100 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
22101 (_dl_sort_maps): Declare.
22102 * elf/dl-fini.c (_dl_sort_fini): Remove.
22103 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
22104 * elf/dl-close.c (_dl_close_worker): Likewise.
22105 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
22107 * elf/dl-open.c (dl_open_worker): Likewise.
22109 2017-11-24 Joseph Myers <joseph@codesourcery.com>
22111 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
22112 using libm_alias_float128.
22113 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
22115 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
22117 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
22118 (setpayloadsigf128): Likewise.
22119 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
22121 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
22124 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
22125 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
22126 -mfloat128 to CFLAGS.
22128 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
22130 (CFLAGS-libm-test-support-float64x.c): New variable.
22131 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
22132 $(f128-loader-link) to gnulib-tests.
22134 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
22135 (libm_alias_float128_other_r): If
22136 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
22138 (libm_alias_float128_r): Add semicolon after weak_alias call.
22139 * sysdeps/generic/libm-alias-ldouble.h
22140 (libm_alias_ldouble_other_r_f128): New macro.
22141 (libm_alias_ldouble_other_r_f64x): Likewise.
22142 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
22143 and libm_alias_ldouble_other_r_f64x.
22144 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
22145 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
22146 (libm_alias_ldouble_other_r_f128): New macro.
22147 (libm_alias_ldouble_other_r_f64x): Likewise.
22148 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
22149 and libm_alias_ldouble_other_r_f64x.
22151 * stdlib/strfroml.c: Always include <stdlib.h>.
22152 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
22153 undefine as macro and define as weak alias.
22154 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
22155 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
22157 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
22158 Define and later undefine as macro and define as weak alias.
22160 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
22161 Define and later undefine as macro. Define as weak alias if
22163 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
22164 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22165 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
22166 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
22167 Define and later undefine as macro. Define as weak alias if
22169 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
22170 Define and later undefine as macro. Define as weak alias if
22172 * sysdeps/ieee754/float128/strtof128_l.c
22173 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
22174 Define and later undefine as macro. Define as weak alias if
22176 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
22177 Define and later undefine as macro. Define as weak alias if
22179 * sysdeps/ieee754/ldbl-128/strtold_l.c
22180 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22181 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22182 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22183 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22184 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
22185 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22186 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22187 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22188 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22189 * sysdeps/ieee754/ldbl-96/strtold_l.c
22190 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22191 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22192 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22193 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22195 * math/test-float64x.h: New file.
22196 * math/Makefile (type-float64x-yes): New variable.
22197 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
22199 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
22200 function-like macro.
22201 (min_of_type_): Likewise.
22202 (min_of_type_l): Likewise.
22203 (min_of_type_f128): Likewise.
22204 (min_of_type): Pass () as last argument of __MATH_TG.
22206 * stdlib/tst-strtod-round-skeleton.c
22207 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
22210 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
22211 for combinations of long double with _Float64 and _Float64x.
22213 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
22214 (__DECL_SIMD_cosf32): Likewise.
22215 (__DECL_SIMD_cosf64): Likewise.
22216 (__DECL_SIMD_cosf32x): Likewise.
22217 (__DECL_SIMD_cosf64x): Likewise.
22218 (__DECL_SIMD_cosf128x): Likewise.
22219 (__DECL_SIMD_sinf16): Likewise.
22220 (__DECL_SIMD_sinf32): Likewise.
22221 (__DECL_SIMD_sinf64): Likewise.
22222 (__DECL_SIMD_sinf32x): Likewise.
22223 (__DECL_SIMD_sinf64x): Likewise.
22224 (__DECL_SIMD_sinf128x): Likewise.
22225 (__DECL_SIMD_sincosf16): Likewise.
22226 (__DECL_SIMD_sincosf32): Likewise.
22227 (__DECL_SIMD_sincosf64): Likewise.
22228 (__DECL_SIMD_sincosf32x): Likewise.
22229 (__DECL_SIMD_sincosf64x): Likewise.
22230 (__DECL_SIMD_sincosf128x): Likewise.
22231 (__DECL_SIMD_logf16): Likewise.
22232 (__DECL_SIMD_logf32): Likewise.
22233 (__DECL_SIMD_logf64): Likewise.
22234 (__DECL_SIMD_logf32x): Likewise.
22235 (__DECL_SIMD_logf64x): Likewise.
22236 (__DECL_SIMD_logf128x): Likewise.
22237 (__DECL_SIMD_expf16): Likewise.
22238 (__DECL_SIMD_expf32): Likewise.
22239 (__DECL_SIMD_expf64): Likewise.
22240 (__DECL_SIMD_expf32x): Likewise.
22241 (__DECL_SIMD_expf64x): Likewise.
22242 (__DECL_SIMD_expf128x): Likewise.
22243 (__DECL_SIMD_powf16): Likewise.
22244 (__DECL_SIMD_powf32): Likewise.
22245 (__DECL_SIMD_powf64): Likewise.
22246 (__DECL_SIMD_powf32x): Likewise.
22247 (__DECL_SIMD_powf64x): Likewise.
22248 (__DECL_SIMD_powf128x): Likewise.
22250 * stdlib/Versions (libc): Move entries for wcstof128 and
22251 wcstof128_l to ....
22252 * wcsmbs/Versions (libc): ... here.
22253 Include <float128-abi.h>.
22255 2017-11-24 Florian Weimer <fweimer@redhat.com>
22257 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22258 bits/mman-shared.h.
22259 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
22260 <bits/mman-shared.h>.
22261 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
22263 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
22264 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
22265 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
22266 <bits/mman-shared.h>.
22268 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22271 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
22272 posix_memalign/free.
22273 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
22275 2017-11-22 Mike FABIAN <mfabian@redhat.com>
22278 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
22279 and implement the collation rules for pl from CLDR on top of that.
22280 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
22281 of locales to be built for testing.
22282 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
22284 2017-11-23 Joseph Myers <joseph@codesourcery.com>
22286 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
22287 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
22288 libm_alias_ldouble_other.
22289 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
22290 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
22291 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
22292 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
22293 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
22294 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
22295 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
22296 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
22297 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
22298 libm_alias_ldouble_r.
22299 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
22300 libm_alias_ldouble_other.
22301 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
22302 (log10l): Likewise.
22303 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
22304 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
22305 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
22306 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
22307 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
22308 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
22309 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
22310 (atan2l): Likewise.
22311 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
22312 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
22313 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
22314 libm_alias_ldouble.
22315 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
22317 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
22318 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
22319 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
22321 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
22322 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
22323 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
22324 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
22325 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
22326 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
22327 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
22328 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
22329 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
22330 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
22331 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
22332 libm_alias_ldouble.
22333 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
22334 libm_alias_ldouble_other.
22335 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
22336 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
22337 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
22338 libm_alias_ldouble.
22339 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
22340 libm_alias_ldouble_other.
22341 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
22342 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
22343 * sysdeps/ia64/fpu/w_lgammal_main.c
22344 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
22345 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
22347 2017-11-23 Florian Weimer <fweimer@redhat.com>
22349 * malloc/malloc.c (tcache_thread_shutdown): Rename from
22350 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
22351 alike. Remove freeres marker.
22352 * malloc/arena.c (arena_thread_freeres): Call
22353 tcache_thread_shutdown.
22355 2017-11-23 Florian Weimer <fweimer@redhat.com>
22358 Export nscd hash function as __nss_hash.
22359 * include/nss.h (__nss_hash): Declare.
22360 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
22362 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
22363 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
22365 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
22366 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
22367 * nss/Makefiles (routines): Add nss_hash.
22368 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
22369 * nss/nss_hash.c: Rename from nis/nis_hash.c.
22370 (__nss_hash): Rename from __nis_hash. Define hidden alias.
22371 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
22373 2017-11-23 Florian Weimer <fweimer@redhat.com>
22376 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
22377 Return error code, not -1.
22378 * signal/tst-sigwait-eintr.c: New file.
22379 * signal/Makefile (tests): Add tst-sigwait-eintr.
22381 2017-11-23 Florian Weimer <fweimer@redhat.com>
22383 Linux: Add memfd_create system call wrapper
22384 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
22386 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
22387 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
22388 [__USE_GNU] (memfd_create): Declare.
22389 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
22390 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
22391 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
22392 * sysdeps/unix/sysv/linux/**.abilist: Update.
22393 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
22395 2017-11-22 Joseph Myers <joseph@codesourcery.com>
22397 * localedata/gen-locale.sh: Fix typo in variable name.
22399 * resolv/res_debug.c (p_secstodate): Condition definition on
22400 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
22401 directly as __p_secstodate, and as a compat symbol. Do not use
22402 libresolv_hidden_def.
22403 * resolv/resolv.h (p_secstodate): Remove macro and function
22405 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
22406 using p_secstodate.
22407 * include/resolv.h (__p_secstodate): Do not use
22408 libresolv_hidden_proto.
22409 * resolv/Makefile (tests): Move tst-p_secstodate to ....
22410 (tests-internal): ... here.
22411 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
22412 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
22413 and declare and use __p_secstodate and use compat_symbol_reference
22415 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
22416 implementation returning 77.
22419 * resolv/res_debug.c: Include <libc-diag.h>.
22420 (p_secstodate): Assert time_t at least as wide as u_long. On
22421 overflow, use integer seconds since the epoch as output, or use
22422 "<overflow>" as output and set errno to EOVERFLOW if integer
22423 seconds since the epoch would be 14 or more characters.
22424 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
22426 * resolv/tst-p_secstodate.c: New file.
22427 * resolv/Makefile (tests): Add tst-p_secstodate.
22428 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
22430 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
22431 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
22432 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
22434 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
22436 * posix/regcomp.c (init_word_char): Add comments.
22438 2017-11-22 Joseph Myers <joseph@codesourcery.com>
22441 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
22442 strlen to compute length of ut_user and set trailing NUL byte of
22445 2017-11-21 Mike FABIAN <mfabian@redhat.com>
22448 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
22449 using “copy "iso14651_t1"” and then implementing the
22450 collation rules for lv from CLDR on top of that.
22451 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
22452 of locales to be built for testing.
22453 * lv_LV.UTF-8.in: New file with test data to test the Latvian
22456 2017-11-21 Joseph Myers <joseph@codesourcery.com>
22458 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
22459 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
22460 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
22461 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
22462 [__USE_MISC] (MADV_HWPOISON): New macro.
22463 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
22465 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22467 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
22468 -Wmissing-braces on GCC 4.9.
22470 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
22472 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
22473 * sysdeps/s390/s390-32/start.S (_start): Likewise
22474 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
22475 (thread_start): Likewise.
22476 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
22477 (thread_start): Likewise.
22478 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
22479 (__makecontext_ret): Likewise.
22480 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
22481 (__makecontext_ret): Likewise.
22483 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
22485 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
22486 __wcschrnul): Remove attribute_hidden.
22488 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
22490 regex: don't assume uint64_t or uint32_t
22491 This avoids -Werror=overflow errors for 32-bit systems in
22492 the 64-bit case. Problem reported by Joseph Myers in:
22493 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
22494 Also, when this code is used in Gnulib it ports to platforms
22495 that lack uint64_t and uint32_t. The C standard doesn't guarantee
22496 them, and on some 32-bit compilers there is no uint64_t.
22497 Problem reported by Gianluigi Tiesi in:
22498 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
22499 * posix/regcomp.c (init_word_char): Don't assume that the types
22500 uint64_t and uint32_t exist. Adapted from Gnulib patch
22501 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
22502 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
22504 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
22506 * sysdeps/aarch64/memset-reg.h: New file.
22507 * sysdeps/aarch64/memset.S: Use it.
22508 (__memset): Rename to MEMSET macro.
22509 [ZVA_MACRO]: Use zva_macro.
22510 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
22511 Add memset_generic and memset_falkor.
22512 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
22513 (__libc_ifunc_impl_list): Add memset ifuncs.
22514 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
22515 local variable zva_size.
22516 * sysdeps/aarch64/multiarch/memset.c: New file.
22517 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
22518 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
22519 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
22520 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
22521 (DCZID_DZP_MASK): New macro.
22522 (DCZID_BS_MASK): Likewise.
22523 (init_cpu_features): Read and set zva_size.
22524 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
22525 (struct cpu_features): New member zva_size.
22527 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
22528 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
22529 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
22531 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
22532 backwards. Fix timing computation.
22533 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
22534 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
22535 on memset by N at a time. Fix timing computation.
22537 2017-11-20 Florian Weimer <fweimer@redhat.com>
22539 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
22540 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
22542 2017-11-19 Florian Weimer <fweimer@redhat.com>
22544 manual: Document mprotect
22545 * manual/memory.texi (Memory Protection): New section.
22546 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
22547 documentation of PROT_* flags and reference the Memory Protection
22550 2017-11-19 Florian Weimer <fweimer@redhat.com>
22552 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
22553 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
22554 (Scatter-Gather): ... to here. Remove misleading comment.
22556 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
22558 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
22561 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
22562 when /proc/<pid>/setgroups does not exist.
22564 2017-11-18 Florian Weimer <fweimer@redhat.com>
22566 * sysdeps/unix/sysv/linux/tst-ttyname.c
22567 (become_root_in_mount_ns): Remove.
22568 (do_in_chroot_1): Call support_enter_mount_namespace.
22569 (do_in_chroot_2): Likewise.
22570 (do_test): Call support_become_root early.
22572 2017-11-18 Florian Weimer <fweimer@redhat.com>
22574 * support/namespace.h (support_enter_mount_namespace): Declare.
22575 * support/support_enter_mount_namespace.c: New file.
22576 * support/Makefile (libsupport-routines): Add
22577 support_enter_mount_namespace.
22579 2017-11-18 Florian Weimer <fweimer@redhat.com>
22581 * support/temp_file.c (support_create_temp_directory): Use
22582 test_dir and do not rely on the presence of the XXXXXX suffix.
22583 * support/temp_file.h (support_create_temp_directory): Update
22585 * support/tst-xreadlink.c (do_test): Adjust.
22586 * support/support_chroot.c (support_chroot_create): Likewise.
22588 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22590 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
22592 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
22595 2017-11-17 Joseph Myers <joseph@codesourcery.com>
22597 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22598 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22599 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22600 (ceill): Define using libm_alias_ldouble.
22601 * sysdeps/x86_64/fpu/s_copysignl.S: Include
22602 <libm-alias-ldouble.h>.
22603 (copysignl): Define using libm_alias_ldouble.
22604 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22605 (fabsl): Define using libm_alias_ldouble.
22606 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22607 (floorl): Define using libm_alias_ldouble.
22608 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22609 (fmaxl): Define using libm_alias_ldouble.
22610 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22611 (fminl): Define using libm_alias_ldouble.
22612 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
22613 (llrintl): Define using libm_alias_ldouble.
22614 (lrintl): Likewise.
22615 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
22616 <libm-alias-ldouble.h>.
22617 (nearbyintl): Define using libm_alias_ldouble.
22618 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
22619 (truncl): Define using libm_alias_ldouble.
22620 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
22621 <libm-alias-ldouble.h>.
22622 (lrintl): Define using libm_alias_ldouble.
22624 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22625 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22626 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
22627 (asinhl): Define using libm_alias_ldouble.
22628 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
22629 (atanl): Define using libm_alias_ldouble.
22630 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
22631 (cbrtl): Define using libm_alias_ldouble.
22632 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22633 (ceill): Define using libm_alias_ldouble.
22634 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
22635 (copysignl): Define using libm_alias_ldouble.
22636 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22637 (fabsl): Define using libm_alias_ldouble.
22638 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22639 (floorl): Define using libm_alias_ldouble.
22640 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22641 (fmaxl): Define using libm_alias_ldouble.
22642 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22643 (fminl): Define using libm_alias_ldouble.
22644 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
22645 (frexpl): Define using libm_alias_ldouble.
22646 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
22647 (llrintl): Define using libm_alias_ldouble.
22648 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
22649 (logbl): Define using libm_alias_ldouble.
22650 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
22651 (lrintl): Define using libm_alias_ldouble.
22652 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
22653 (nearbyintl): Define using libm_alias_ldouble.
22654 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
22655 (nextafterl): Define using libm_alias_ldouble.
22656 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
22657 (remquol): Define using libm_alias_ldouble.
22658 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
22659 (rintl): Define using libm_alias_ldouble.
22660 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
22661 (truncl): Define using libm_alias_ldouble.
22662 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22663 (fmaxl): Define using libm_alias_ldouble.
22664 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22665 (fminl): Define using libm_alias_ldouble.
22667 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
22668 to C syntax instead of availability and properties of types.
22669 * bits/floatn.h [!__ASSEMBLER]: Likewise.
22670 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
22671 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
22672 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
22673 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
22674 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
22676 2017-11-17 Florian Weimer <fweimer@redhat.com>
22678 support_become_root: Enable file creation in namespaces.
22679 * support/support_become_root.c (setup_mapping): New function.
22680 (support_become_root): Call it.
22682 2017-11-17 Joseph Myers <joseph@codesourcery.com>
22684 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
22687 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22689 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
22690 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
22692 2017-11-16 Joseph Myers <joseph@codesourcery.com>
22694 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
22696 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
22699 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
22701 * INSTALL: Fix botched up regeneration.
22703 * NEWS: Update sourceare link to https.
22704 * configure.ac: Likewise.
22705 * crypt/md5test-giant.c: Likewise.
22706 * dlfcn/bug-atexit1.c: Likewise.
22707 * dlfcn/bug-atexit2.c: Likewise.
22708 * localedata/README: Likewise.
22709 * malloc/tst-mallocfork.c: Likewise.
22710 * manual/install.texi: Likewise.
22711 * nptl/tst-pthread-getattr.c: Likewise.
22712 * stdio-common/tst-fgets.c: Likewise.
22713 * stdio-common/tst-fwrite.c: Likewise.
22714 * sunrpc/Makefile: Likewise.
22715 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
22716 * wcsmbs/tst-mbrtowc2.c: Likewise.
22717 * configure: Regenerate.
22718 * INSTALL: Regenerate.
22720 2017-11-15 Martin Sebor <msebor@redhat.com>
22722 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
22723 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
22724 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
22726 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22729 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
22730 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
22733 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
22734 Defer is_pty check until end of the function.
22735 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22738 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
22739 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
22740 (ttyname): Likewise.
22741 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
22742 (__ttyname_r): Likewise.
22744 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
22747 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
22749 * manual/terminal.texi (Is It a Terminal):
22750 Mention ENODEV for ttyname and ttyname_r.
22752 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22754 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
22755 constant and macro.
22757 * sysdeps/unix/sysv/linux/bits/mman-linux.h
22758 [__USE_MISC] (MADV_WIPEONFORK): New macro.
22759 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22760 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
22761 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
22762 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22764 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22766 * signal/sigrelse.c (sigrelse): Optimize implementation.
22768 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
22769 (__sigpause): Rely on __sigsuspend to implement single thread
22770 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
22772 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22774 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
22775 kernel version to 4.14.
22777 2017-11-15 Steve Ellcey <sellcey@cavium.com>
22780 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
22781 Check if ifname is too long.
22783 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22785 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
22787 2017-11-15 Mike FABIAN <mfabian@redhat.com>
22789 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
22790 was accidentally lost.
22792 2017-11-15 Mike FABIAN <mfabian@redhat.com>
22794 * localedata/locales/az_IR: Add standard copyright header.
22796 2017-11-15 Florian Weimer <fweimer@redhat.com>
22799 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
22800 not just the top one. Output a new "subheaps" statistic.
22802 2017-11-15 Florian Weimer <fweimer@redhat.com>
22805 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
22806 under the per-arena lock.
22807 * malloc/Makefile (tests): Add tst-malloc_info.
22808 (tst-malloc_info): Link with libpthread.
22809 * malloc/tst-malloc_info.c: New file.
22811 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22814 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
22815 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
22816 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
22817 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
22818 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
22819 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
22820 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
22821 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
22822 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
22823 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
22824 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
22825 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
22826 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
22827 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
22828 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
22829 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
22830 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
22831 (__floating_type): Likewise.
22832 (__real_integer_type): Likewise.
22833 (__complex_integer_type): Likewise.
22834 (__expr_is_real): Likewise.
22835 (__tgmath_real_type_sub): Likewise.
22836 (__tgmath_real_type): Likewise.
22837 (__tgmath_complex_type_sub): Likewise.
22838 (__tgmath_complex_type): Likewise.
22839 (__TGMATH_F128): Likewise.
22840 (__TGMATH_CF128): Likewise.
22841 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
22843 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
22844 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
22846 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
22848 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
22849 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
22850 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
22851 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
22853 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
22854 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
22856 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
22857 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
22858 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
22860 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
22861 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
22862 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
22866 2017-11-14 Joseph Myers <joseph@codesourcery.com>
22868 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
22869 for stpncpy calls for GCC 8.
22870 (test_strncat): Disable -Wstringop-truncation warning for strncat
22871 calls for GCC 8. Disable -Wstringop-overflow= warning for one
22872 strncat call for GCC 7.
22873 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
22875 (test_memcmp): Use memcpy instead of strncpy for calls not copying
22878 * string/bug-strncat1.c: Include <libc-diag.h>.
22879 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
22881 2017-11-13 Claude Paroz <claude@2xlibre.net>
22884 * localedata/locales/aa_DJ: Improved readibility by replacing
22885 <Uxxxx> sequences in the ASCII printable range by their ASCII
22886 character equivalents.
22887 * localedata/locales/aa_ER: Likewise.
22888 * localedata/locales/aa_ER@saaho: Likewise.
22889 * localedata/locales/aa_ET: Likewise.
22890 * localedata/locales/af_ZA: Likewise.
22891 * localedata/locales/agr_PE: Likewise.
22892 * localedata/locales/ak_GH: Likewise.
22893 * localedata/locales/am_ET: Likewise.
22894 * localedata/locales/anp_IN: Likewise.
22895 * localedata/locales/ar_AE: Likewise.
22896 * localedata/locales/ar_BH: Likewise.
22897 * localedata/locales/ar_DZ: Likewise.
22898 * localedata/locales/ar_EG: Likewise.
22899 * localedata/locales/ar_IN: Likewise.
22900 * localedata/locales/ar_IQ: Likewise.
22901 * localedata/locales/ar_JO: Likewise.
22902 * localedata/locales/ar_KW: Likewise.
22903 * localedata/locales/ar_LB: Likewise.
22904 * localedata/locales/ar_LY: Likewise.
22905 * localedata/locales/ar_MA: Likewise.
22906 * localedata/locales/ar_OM: Likewise.
22907 * localedata/locales/ar_QA: Likewise.
22908 * localedata/locales/ar_SA: Likewise.
22909 * localedata/locales/ar_SD: Likewise.
22910 * localedata/locales/ar_SS: Likewise.
22911 * localedata/locales/ar_SY: Likewise.
22912 * localedata/locales/ar_TN: Likewise.
22913 * localedata/locales/ar_YE: Likewise.
22914 * localedata/locales/as_IN: Likewise.
22915 * localedata/locales/ast_ES: Likewise.
22916 * localedata/locales/ayc_PE: Likewise.
22917 * localedata/locales/az_AZ: Likewise.
22918 * localedata/locales/az_IR: Likewise.
22919 * localedata/locales/be_BY: Likewise.
22920 * localedata/locales/be_BY@latin: Likewise.
22921 * localedata/locales/bem_ZM: Likewise.
22922 * localedata/locales/ber_DZ: Likewise.
22923 * localedata/locales/ber_MA: Likewise.
22924 * localedata/locales/bg_BG: Likewise.
22925 * localedata/locales/bhb_IN: Likewise.
22926 * localedata/locales/bho_IN: Likewise.
22927 * localedata/locales/bi_VU: Likewise.
22928 * localedata/locales/bn_BD: Likewise.
22929 * localedata/locales/bn_IN: Likewise.
22930 * localedata/locales/bo_CN: Likewise.
22931 * localedata/locales/bo_IN: Likewise.
22932 * localedata/locales/br_FR: Likewise.
22933 * localedata/locales/brx_IN: Likewise.
22934 * localedata/locales/bs_BA: Likewise.
22935 * localedata/locales/byn_ER: Likewise.
22936 * localedata/locales/ca_AD: Likewise.
22937 * localedata/locales/ca_ES: Likewise.
22938 * localedata/locales/ca_FR: Likewise.
22939 * localedata/locales/ca_IT: Likewise.
22940 * localedata/locales/ce_RU: Likewise.
22941 * localedata/locales/chr_US: Likewise.
22942 * localedata/locales/cmn_TW: Likewise.
22943 * localedata/locales/crh_UA: Likewise.
22944 * localedata/locales/cs_CZ: Likewise.
22945 * localedata/locales/csb_PL: Likewise.
22946 * localedata/locales/cv_RU: Likewise.
22947 * localedata/locales/cy_GB: Likewise.
22948 * localedata/locales/da_DK: Likewise.
22949 * localedata/locales/de_AT: Likewise.
22950 * localedata/locales/de_BE: Likewise.
22951 * localedata/locales/de_CH: Likewise.
22952 * localedata/locales/de_DE: Likewise.
22953 * localedata/locales/de_IT: Likewise.
22954 * localedata/locales/de_LI: Likewise.
22955 * localedata/locales/de_LU: Likewise.
22956 * localedata/locales/doi_IN: Likewise.
22957 * localedata/locales/dv_MV: Likewise.
22958 * localedata/locales/dz_BT: Likewise.
22959 * localedata/locales/el_CY: Likewise.
22960 * localedata/locales/el_GR: Likewise.
22961 * localedata/locales/en_AG: Likewise.
22962 * localedata/locales/en_AU: Likewise.
22963 * localedata/locales/en_BW: Likewise.
22964 * localedata/locales/en_CA: Likewise.
22965 * localedata/locales/en_DK: Likewise.
22966 * localedata/locales/en_GB: Likewise.
22967 * localedata/locales/en_HK: Likewise.
22968 * localedata/locales/en_IE: Likewise.
22969 * localedata/locales/en_IL: Likewise.
22970 * localedata/locales/en_IN: Likewise.
22971 * localedata/locales/en_NG: Likewise.
22972 * localedata/locales/en_NZ: Likewise.
22973 * localedata/locales/en_PH: Likewise.
22974 * localedata/locales/en_SG: Likewise.
22975 * localedata/locales/en_US: Likewise.
22976 * localedata/locales/en_ZA: Likewise.
22977 * localedata/locales/en_ZM: Likewise.
22978 * localedata/locales/en_ZW: Likewise.
22979 * localedata/locales/eo: Likewise.
22980 * localedata/locales/es_AR: Likewise.
22981 * localedata/locales/es_BO: Likewise.
22982 * localedata/locales/es_CL: Likewise.
22983 * localedata/locales/es_CO: Likewise.
22984 * localedata/locales/es_CR: Likewise.
22985 * localedata/locales/es_CU: Likewise.
22986 * localedata/locales/es_DO: Likewise.
22987 * localedata/locales/es_EC: Likewise.
22988 * localedata/locales/es_ES: Likewise.
22989 * localedata/locales/es_GT: Likewise.
22990 * localedata/locales/es_HN: Likewise.
22991 * localedata/locales/es_MX: Likewise.
22992 * localedata/locales/es_NI: Likewise.
22993 * localedata/locales/es_PA: Likewise.
22994 * localedata/locales/es_PE: Likewise.
22995 * localedata/locales/es_PR: Likewise.
22996 * localedata/locales/es_PY: Likewise.
22997 * localedata/locales/es_SV: Likewise.
22998 * localedata/locales/es_US: Likewise.
22999 * localedata/locales/es_UY: Likewise.
23000 * localedata/locales/es_VE: Likewise.
23001 * localedata/locales/et_EE: Likewise.
23002 * localedata/locales/eu_ES: Likewise.
23003 * localedata/locales/eu_ES@euro: Likewise.
23004 * localedata/locales/fa_IR: Likewise.
23005 * localedata/locales/ff_SN: Likewise.
23006 * localedata/locales/fi_FI: Likewise.
23007 * localedata/locales/fil_PH: Likewise.
23008 * localedata/locales/fo_FO: Likewise.
23009 * localedata/locales/fr_BE: Likewise.
23010 * localedata/locales/fr_CA: Likewise.
23011 * localedata/locales/fr_CH: Likewise.
23012 * localedata/locales/fr_FR: Likewise.
23013 * localedata/locales/fr_LU: Likewise.
23014 * localedata/locales/fur_IT: Likewise.
23015 * localedata/locales/fy_DE: Likewise.
23016 * localedata/locales/fy_NL: Likewise.
23017 * localedata/locales/ga_IE: Likewise.
23018 * localedata/locales/gd_GB: Likewise.
23019 * localedata/locales/gez_ER: Likewise.
23020 * localedata/locales/gez_ET: Likewise.
23021 * localedata/locales/gl_ES: Likewise.
23022 * localedata/locales/gu_IN: Likewise.
23023 * localedata/locales/gv_GB: Likewise.
23024 * localedata/locales/ha_NG: Likewise.
23025 * localedata/locales/hak_TW: Likewise.
23026 * localedata/locales/he_IL: Likewise.
23027 * localedata/locales/hi_IN: Likewise.
23028 * localedata/locales/hif_FJ: Likewise.
23029 * localedata/locales/hne_IN: Likewise.
23030 * localedata/locales/hr_HR: Likewise.
23031 * localedata/locales/hsb_DE: Likewise.
23032 * localedata/locales/ht_HT: Likewise.
23033 * localedata/locales/hu_HU: Likewise.
23034 * localedata/locales/hy_AM: Likewise.
23035 * localedata/locales/i18n: Likewise.
23036 * localedata/locales/ia_FR: Likewise.
23037 * localedata/locales/id_ID: Likewise.
23038 * localedata/locales/ig_NG: Likewise.
23039 * localedata/locales/ik_CA: Likewise.
23040 * localedata/locales/is_IS: Likewise.
23041 * localedata/locales/it_CH: Likewise.
23042 * localedata/locales/it_IT: Likewise.
23043 * localedata/locales/iu_CA: Likewise.
23044 * localedata/locales/ja_JP: Likewise.
23045 * localedata/locales/ka_GE: Likewise.
23046 * localedata/locales/kk_KZ: Likewise.
23047 * localedata/locales/kl_GL: Likewise.
23048 * localedata/locales/kn_IN: Likewise.
23049 * localedata/locales/ko_KR: Likewise.
23050 * localedata/locales/kok_IN: Likewise.
23051 * localedata/locales/ks_IN: Likewise.
23052 * localedata/locales/ks_IN@devanagari: Likewise.
23053 * localedata/locales/ku_TR: Likewise.
23054 * localedata/locales/kw_GB: Likewise.
23055 * localedata/locales/ky_KG: Likewise.
23056 * localedata/locales/lb_LU: Likewise.
23057 * localedata/locales/lg_UG: Likewise.
23058 * localedata/locales/li_BE: Likewise.
23059 * localedata/locales/li_NL: Likewise.
23060 * localedata/locales/lij_IT: Likewise.
23061 * localedata/locales/ln_CD: Likewise.
23062 * localedata/locales/lo_LA: Likewise.
23063 * localedata/locales/lt_LT: Likewise.
23064 * localedata/locales/lv_LV: Likewise.
23065 * localedata/locales/lzh_TW: Likewise.
23066 * localedata/locales/mag_IN: Likewise.
23067 * localedata/locales/mai_IN: Likewise.
23068 * localedata/locales/mg_MG: Likewise.
23069 * localedata/locales/mhr_RU: Likewise.
23070 * localedata/locales/mi_NZ: Likewise.
23071 * localedata/locales/mk_MK: Likewise.
23072 * localedata/locales/ml_IN: Likewise.
23073 * localedata/locales/mn_MN: Likewise.
23074 * localedata/locales/mni_IN: Likewise.
23075 * localedata/locales/mr_IN: Likewise.
23076 * localedata/locales/ms_MY: Likewise.
23077 * localedata/locales/mt_MT: Likewise.
23078 * localedata/locales/my_MM: Likewise.
23079 * localedata/locales/nan_TW: Likewise.
23080 * localedata/locales/nan_TW@latin: Likewise.
23081 * localedata/locales/nb_NO: Likewise.
23082 * localedata/locales/nds_DE: Likewise.
23083 * localedata/locales/nds_NL: Likewise.
23084 * localedata/locales/ne_NP: Likewise.
23085 * localedata/locales/nhn_MX: Likewise.
23086 * localedata/locales/niu_NU: Likewise.
23087 * localedata/locales/niu_NZ: Likewise.
23088 * localedata/locales/nl_AW: Likewise.
23089 * localedata/locales/nl_BE: Likewise.
23090 * localedata/locales/nl_NL: Likewise.
23091 * localedata/locales/nn_NO: Likewise.
23092 * localedata/locales/nr_ZA: Likewise.
23093 * localedata/locales/nso_ZA: Likewise.
23094 * localedata/locales/oc_FR: Likewise.
23095 * localedata/locales/om_ET: Likewise.
23096 * localedata/locales/om_KE: Likewise.
23097 * localedata/locales/or_IN: Likewise.
23098 * localedata/locales/os_RU: Likewise.
23099 * localedata/locales/pa_IN: Likewise.
23100 * localedata/locales/pa_PK: Likewise.
23101 * localedata/locales/pap_AW: Likewise.
23102 * localedata/locales/pap_CW: Likewise.
23103 * localedata/locales/pl_PL: Likewise.
23104 * localedata/locales/ps_AF: Likewise.
23105 * localedata/locales/pt_BR: Likewise.
23106 * localedata/locales/pt_PT: Likewise.
23107 * localedata/locales/quz_PE: Likewise.
23108 * localedata/locales/raj_IN: Likewise.
23109 * localedata/locales/ro_RO: Likewise.
23110 * localedata/locales/ru_RU: Likewise.
23111 * localedata/locales/ru_UA: Likewise.
23112 * localedata/locales/rw_RW: Likewise.
23113 * localedata/locales/sa_IN: Likewise.
23114 * localedata/locales/sat_IN: Likewise.
23115 * localedata/locales/sc_IT: Likewise.
23116 * localedata/locales/sd_IN: Likewise.
23117 * localedata/locales/sd_IN@devanagari: Likewise.
23118 * localedata/locales/se_NO: Likewise.
23119 * localedata/locales/sgs_LT: Likewise.
23120 * localedata/locales/shs_CA: Likewise.
23121 * localedata/locales/si_LK: Likewise.
23122 * localedata/locales/sid_ET: Likewise.
23123 * localedata/locales/sk_SK: Likewise.
23124 * localedata/locales/sl_SI: Likewise.
23125 * localedata/locales/sm_WS: Likewise.
23126 * localedata/locales/so_DJ: Likewise.
23127 * localedata/locales/so_ET: Likewise.
23128 * localedata/locales/so_KE: Likewise.
23129 * localedata/locales/so_SO: Likewise.
23130 * localedata/locales/sq_AL: Likewise.
23131 * localedata/locales/sq_MK: Likewise.
23132 * localedata/locales/sr_ME: Likewise.
23133 * localedata/locales/sr_RS: Likewise.
23134 * localedata/locales/sr_RS@latin: Likewise.
23135 * localedata/locales/ss_ZA: Likewise.
23136 * localedata/locales/st_ZA: Likewise.
23137 * localedata/locales/sv_FI: Likewise.
23138 * localedata/locales/sv_SE: Likewise.
23139 * localedata/locales/sw_KE: Likewise.
23140 * localedata/locales/sw_TZ: Likewise.
23141 * localedata/locales/szl_PL: Likewise.
23142 * localedata/locales/ta_IN: Likewise.
23143 * localedata/locales/ta_LK: Likewise.
23144 * localedata/locales/tcy_IN: Likewise.
23145 * localedata/locales/te_IN: Likewise.
23146 * localedata/locales/tg_TJ: Likewise.
23147 * localedata/locales/th_TH: Likewise.
23148 * localedata/locales/the_NP: Likewise.
23149 * localedata/locales/ti_ER: Likewise.
23150 * localedata/locales/ti_ET: Likewise.
23151 * localedata/locales/tig_ER: Likewise.
23152 * localedata/locales/tk_TM: Likewise.
23153 * localedata/locales/tl_PH: Likewise.
23154 * localedata/locales/tn_ZA: Likewise.
23155 * localedata/locales/to_TO: Likewise.
23156 * localedata/locales/tpi_PG: Likewise.
23157 * localedata/locales/tr_CY: Likewise.
23158 * localedata/locales/tr_TR: Likewise.
23159 * localedata/locales/ts_ZA: Likewise.
23160 * localedata/locales/tt_RU: Likewise.
23161 * localedata/locales/tt_RU@iqtelif: Likewise.
23162 * localedata/locales/ug_CN: Likewise.
23163 * localedata/locales/uk_UA: Likewise.
23164 * localedata/locales/unm_US: Likewise.
23165 * localedata/locales/ur_IN: Likewise.
23166 * localedata/locales/ur_PK: Likewise.
23167 * localedata/locales/uz_UZ: Likewise.
23168 * localedata/locales/uz_UZ@cyrillic: Likewise.
23169 * localedata/locales/ve_ZA: Likewise.
23170 * localedata/locales/vi_VN: Likewise.
23171 * localedata/locales/wa_BE: Likewise.
23172 * localedata/locales/wae_CH: Likewise.
23173 * localedata/locales/wal_ET: Likewise.
23174 * localedata/locales/wo_SN: Likewise.
23175 * localedata/locales/xh_ZA: Likewise.
23176 * localedata/locales/yi_US: Likewise.
23177 * localedata/locales/yo_NG: Likewise.
23178 * localedata/locales/yue_HK: Likewise.
23179 * localedata/locales/yuw_PG: Likewise.
23180 * localedata/locales/zh_CN: Likewise.
23181 * localedata/locales/zh_HK: Likewise.
23182 * localedata/locales/zh_SG: Likewise.
23183 * localedata/locales/zh_TW: Likewise.
23184 * localedata/locales/zu_ZA: Likewise.
23186 2017-11-13 Florian Weimer <fweimer@redhat.com>
23188 * support/next_to_fault.h, support/next_to_fault.c: New files.
23189 * support/Makefile (libsupport-routines): Add next_to_fault.
23190 * resolv/tst-inet_pton.c (struct next_to_fault)
23191 (next_to_fault_allocate, next_to_fault_free): Remove.
23192 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
23194 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
23196 * elf/dl-support.c: Include <dl-procruntime.c>.
23197 * include/link.h: Include <link_map.h>.
23198 * sysdeps/generic/dl-procruntime.c: New file.
23199 * sysdeps/generic/link_map.h: Likewise.
23200 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
23201 the writable ld.so namespace.
23203 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
23205 timezone: pacify GCC -Wstringop-truncation
23206 Problem reported by Martin Sebor in:
23207 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
23208 * timezone/zic.c (writezone): Use memcpy, not strncpy.
23210 2017-11-12 Florian Weimer <fweimer@redhat.com>
23212 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
23214 (tests): Add tst-xreadlink.
23215 * support/support.h (xstrndup): Declare.
23216 * support/xunistd.h (xunlink, xreadlink): Declare.
23217 * support/temp_file.h (support_create_temp_directory): Declare.
23218 * support/temp_file.c (support_create_temp_directory): New function.
23219 * support/support_chroot.c (support_chroot_create): Use it.
23220 * support/xreadlink.c: New file.
23221 * support/xstrndup.c: Likewise.
23222 * support/xunlink.c: Likewise.
23223 * support/tst-xreadlink.c: Likewise.
23225 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
23227 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
23229 2017-11-11 Florian Weimer <fweimer@redhat.com>
23233 * resolv/res_comp.c (printable_string, binary_hnok)
23234 (binary_leading_dash): New functions.
23235 (res_hnok): Reimplement using these functions and ns_name_pton.
23236 (res_ownok): Likewise.
23237 (res_mailok): Reimplement using printable_string, ns_name_pton and
23239 (res_dnok): Reimplement using printable_string and ns_name_pton.
23240 * resolv/tst-res_hnok.c (tests): Add additional tests.
23241 (LETTERDIGITS, PRINTABLE): Define.
23242 (do_test): Adjust one_char results.
23244 2017-11-11 Florian Weimer <fweimer@redhat.com>
23247 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
23248 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
23250 2017-11-11 Florian Weimer <fweimer@redhat.com>
23252 * resolv/tst-ns_name_pton.c: New file.
23253 * resolv/Makefile (tests): Add tst-ns_name_pton.
23254 (tst-ns_name_pton): Link against libresolv.
23256 2017-11-11 Florian Weimer <fweimer@redhat.com>
23258 * resolv/tst-res_hnok.c: New file.
23259 * resolv/Makefile (tests): Add tst-res_hnok.
23260 (tst-res_hnok): Link against libresolv.
23262 2017-11-11 Florian Weimer <fweimer@redhat.com>
23264 * resolv/tst-resolv-network.c: Use test framework instead explicit
23267 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
23269 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
23270 <jmp_buf-macros.h>.
23271 [!_ISOMAC] (STR_HELPER): New.
23272 [!_ISOMAC] (STR): Likewise.
23273 [!_ISOMAC] (TEST_SIZE): Likewise.
23274 [!_ISOMAC] (TEST_ALIGN): Likewise.
23275 [!_ISOMAC] (TEST_OFFSET): Likewise.
23276 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
23277 field offsets of jmp_buf as well as sigjmp_buf.
23278 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
23279 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
23280 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
23281 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
23282 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
23283 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
23284 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
23285 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
23286 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
23287 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
23289 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
23291 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
23292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
23294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
23296 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
23297 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
23298 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
23299 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
23300 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
23301 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
23303 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
23305 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
23306 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
23307 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
23309 2017-11-07 Joseph Myers <joseph@codesourcery.com>
23312 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23313 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
23314 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23315 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
23316 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23317 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
23318 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23319 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
23320 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23321 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
23322 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23323 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
23324 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23325 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
23326 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23327 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
23328 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23329 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
23330 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23331 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
23332 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23333 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
23334 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23335 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
23336 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23337 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
23338 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23339 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
23340 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23341 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
23342 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23343 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
23344 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23345 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
23346 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23347 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
23348 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23349 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
23350 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23351 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
23352 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23353 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
23354 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23355 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
23356 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23357 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
23358 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23359 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
23360 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23361 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
23362 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23363 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
23364 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23365 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
23366 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23367 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
23368 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23369 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
23370 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23371 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
23372 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23373 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
23374 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23375 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
23376 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23377 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
23378 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23379 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
23380 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23381 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
23382 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23383 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
23384 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23385 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
23386 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23387 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
23388 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23389 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
23390 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23391 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
23392 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23393 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
23394 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23395 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
23396 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23397 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
23398 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23399 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
23401 * stdlib/tst-strtod.h (F16): New macro.
23407 (IF_FLOAT16): Likewise.
23408 (IF_FLOAT32): Likewise.
23409 (IF_FLOAT64): Likewise.
23410 (IF_FLOAT32X): Likewise.
23411 (IF_FLOAT64X): Likewise.
23412 (IF_FLOAT128X): Likewise.
23413 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
23414 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
23415 (STRTOD_TEST_FOREACH): Likewise.
23416 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
23417 (CHOOSE_f64): Likewise.
23418 (CHOOSE_f32x): Likewise.
23419 (CHOOSE_f64x): Likewise.
23421 2017-11-07 Andreas Schwab <schwab@suse.de>
23423 * nptl/Makefile (tests-internal): Remove tst-typesizes.
23425 2017-11-07 Mike FABIAN <mfabian@redhat.com>
23428 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
23430 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
23433 2017-11-07 Claude Paroz <claude@2xlibre.net>
23436 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
23438 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
23440 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
23443 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23446 * nptl/allocatestack.c (allocate_stack): Check if
23447 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
23448 __PTHREAD_MUTEX_HAVE_PREV is defined.
23449 * nptl/descr.h (pthread): Likewise.
23450 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
23452 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
23453 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
23454 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
23455 * sysdeps/nptl/bits/thread-shared-types.h
23456 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
23458 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
23459 of __WORDSIZE for internal layout.
23460 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
23461 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
23462 instead of __WORDSIZE whether to use an union for __spins and __list
23464 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
23466 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
23467 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
23469 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
23470 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23472 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
23473 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23475 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
23476 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23478 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
23479 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23481 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
23482 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23484 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
23485 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23487 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
23488 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23490 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
23491 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23493 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
23494 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23496 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
23497 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23499 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
23500 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23502 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
23503 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23505 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
23506 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23508 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
23509 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23512 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
23514 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
23515 checks for expected input type size.
23516 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
23517 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
23519 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
23520 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
23521 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
23522 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
23523 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
23524 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
23525 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
23526 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
23527 superflous runtime assert check.
23528 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
23530 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
23532 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
23534 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
23536 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
23538 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
23540 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
23541 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
23542 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
23544 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
23546 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
23548 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
23550 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
23552 * nptl/pthread_attr_setinheritsched.c
23553 (__pthread_attr_setinheritsched): Likewise.
23554 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
23556 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
23558 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
23559 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
23560 __old_pthread_attr_setstack): Likewise.
23561 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
23563 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
23565 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
23567 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
23568 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
23570 * nptl/tst-typesizes.c: Remove file.
23572 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
23573 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
23574 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
23575 checks for internal pthread_mutex_t offsets.
23576 * sysdeps/aarch64/nptl/pthread-offsets.h
23577 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
23578 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
23579 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
23580 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
23581 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
23582 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
23583 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
23584 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
23585 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
23586 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
23587 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
23588 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
23589 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
23590 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
23591 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
23592 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
23593 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
23594 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
23596 2017-11-07 Florian Weimer <fweimer@redhat.com>
23598 * bits/mman-linux.h: Move ...
23599 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
23601 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
23604 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23606 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
23607 Redefine STRNLEN as __strnlen_power8.
23609 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23611 * signal/sighold.c (sighold): Optimize implementation.
23613 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
23614 __NR_rt_sigqueueinfo.
23616 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
23618 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
23619 assume __NR_rt_sigtimedwait.
23620 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
23621 and add LIBC_CANCEL_HANDLED for cancellation marking.
23622 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23624 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
23625 (sysdeps_routines): Add memchr_noneon.
23626 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
23627 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
23628 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
23629 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
23630 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
23631 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
23632 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
23634 * sysdeps/arm/arm-ifunc.h: New file.
23635 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
23636 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
23637 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
23638 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
23639 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
23640 (__memcpy_neon): Avoid create hidden alias.
23641 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
23642 (__memcpy_vfp): Likewise.
23643 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
23644 (sysdep_routines): Add memcpy_arm.
23645 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
23647 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
23650 * Makerules (make-link-multidir): New.
23651 * config.make.in (multidir): New.
23652 * configure.ac (libc_cv_multidir): New. AC_SUBST.
23653 * configure: Regenerated.
23654 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
23655 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
23656 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
23659 2017-11-06 Joseph Myers <joseph@codesourcery.com>
23662 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
23663 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
23665 2017-11-04 Mike FABIAN <mfabian@redhat.com>
23667 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
23670 2017-11-04 Florian Weimer <fweimer@redhat.com>
23672 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
23674 2017-11-03 Joseph Myers <joseph@codesourcery.com>
23676 * math/math.h [__HAVE_DISTINCT_FLOAT16
23677 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
23678 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23679 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23680 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
23681 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
23682 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
23683 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23684 (__MATH_TG_F32): New macro.
23685 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23686 (__MATH_TG_F64X): Likewise.
23687 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23688 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
23690 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
23692 * po/de.po: Update translations.
23693 * po/ru.po: Likewise.
23695 2017-11-03 Florian Weimer <fweimer@redhat.com>
23697 * manual/filesys.texi (Hard Links): Document linkat.
23699 2017-11-03 Joseph Myers <joseph@codesourcery.com>
23701 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
23702 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
23703 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23704 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23705 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23706 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23707 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
23708 the same as _Float128.
23709 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23710 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23711 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
23714 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
23716 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
23718 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
23720 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23721 (strtof32x): Likewise.
23722 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23723 (strtof64x): Likewise.
23724 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23725 (strtof128x): Likewise.
23726 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23727 (strfromf16): Likewise.
23728 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23729 (strfromf32): Likewise.
23730 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23731 (strfromf64): Likewise.
23732 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23733 (strfromf32x): Likewise.
23734 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23735 (strfromf64x): Likewise.
23736 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23737 (strfromf128x): Likewise.
23738 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
23739 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
23740 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
23741 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
23742 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
23743 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
23745 2017-11-03 Richard Henderson <rth@twiddle.net>
23747 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
23749 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23751 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
23753 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23755 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
23756 DT_TLSDESC_GOT initialization.
23757 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
23758 (_dl_tlsdesc_resolve_hold): Likewise.
23759 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
23760 (_dl_tlsdesc_resolve_hold): Likewise.
23761 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
23762 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23764 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23766 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
23768 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23771 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
23772 non-lazily for R_ARM_TLS_DESC.
23774 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23777 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
23778 R_ARM_TLS_DESC case.
23779 (elf_machine_lazy_rel): Remove the prelink check.
23781 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23783 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
23784 DT_TLSDESC_GOT initialization.
23785 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
23786 (_dl_tlsdesc_resolve_rela): Likewise.
23787 (_dl_tlsdesc_resolve_hold): Likewise.
23788 (_dl_tlsdesc_undefweak): Remove ldar.
23789 (_dl_tlsdesc_dynamic): Likewise.
23790 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
23791 (_dl_tlsdesc_resolve_rela): Likewise.
23792 (_dl_tlsdesc_resolve_hold): Likewise.
23793 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
23794 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23795 (_dl_tlsdesc_resolve_rela): Likewise.
23796 (_dl_tlsdesc_resolve_hold): Likewise.
23798 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23800 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
23801 binding and initialization non-lazily for R_AARCH64_TLSDESC.
23803 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23805 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
23806 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23808 2017-11-02 Joseph Myers <joseph@codesourcery.com>
23810 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
23812 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
23813 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
23814 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
23815 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
23816 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
23817 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
23818 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
23819 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
23820 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
23821 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
23822 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
23824 2017-11-02 Mike FABIAN <mfabian@redhat.com>
23827 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
23828 * localedata/locales/tpi_PG: Add standard header.
23830 2017-11-02 Florian Weimer <fweimer@redhat.com>
23832 test-errno-linux: quotactl can fail with EPERM in containers.
23833 * sysdeps/unix/sysv/linux/test-errno-linux.c
23834 (LIST, LIST_FORWARD): New macros.
23835 (check_error_in_list): New function.
23836 (test_wrp_rv): Accept list of permitted error codes.
23837 (test_wrp_rv2): Remove.
23838 (test_wrp): Call test_wrp_rv with list of error codes.
23839 (test_wrp2): Accept list of error codes.
23840 (do_test): Adjust. Allow EPERM for quotactl.
23842 2017-11-02 Florian Weimer <fweimer@redhat.com>
23844 * stdio-common/bug16.c (do_test): Use array_length.
23845 * stdio-common/errlist.c (_sys_nerr): Likewise.
23846 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
23847 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
23848 * stdio-common/psiginfo.c (psiginfo): Use array_length.
23849 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
23850 (do_test): Use array_length.
23851 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
23852 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
23853 * stdio-common/tst-printf-round.c (do_test): Likewise.
23854 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
23855 (CHECK): Use array_length.
23856 * stdio-common/tstdiomisc.c (t3, F): Likewise.
23857 * stdio-common/tstscanf.c (main): Likewise.
23858 * stdio-common/vfprintf.c (process_string_arg): Likewise.
23860 2017-11-02 Florian Weimer <fweimer@redhat.com>
23862 Add array_length and array_end macros.
23863 * include/array_length.h: New file.
23865 2017-11-02 Florian Weimer <fweimer@redhat.com>
23868 * posix/tst-glob-tilde.c (do_noescape): New variable.
23869 (one_test): Process it.
23870 (do_test): Set do_noescape. Add unescaping test case.
23872 2017-11-01 Joseph Myers <joseph@codesourcery.com>
23875 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
23876 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
23877 with appropriate macros defined and undefined.
23878 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
23879 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23880 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
23881 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23882 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
23883 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23884 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
23885 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23886 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
23887 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23890 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
23891 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
23892 that for long double. Do not condition define and undefine of
23893 _Mdouble_complex_ on [__CFLOAT128].
23895 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
23897 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
23898 of <sysdeps/generic/sysdep.h>.
23899 (ALIGNARG): Removed.
23900 (ASM_SIZE_DIRECTIVE): Likewise.
23903 (ENTRY_CHK): Likewise.
23904 (END_CHK): Likewise.
23905 (syscall_error): Likewise.
23906 (mcount): Likewise.
23907 (PSEUDO_END): Likewise.
23909 (atom_text_section): Likewise.
23910 * sysdeps/x86/sysdep.h: New file.
23911 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
23912 of <sysdeps/generic/sysdep.h>.
23913 (ALIGNARG): Removed.
23914 (ASM_SIZE_DIRECTIVE): Likewise.
23917 (ENTRY_CHK): Likewise.
23918 (END_CHK): Likewise.
23919 (syscall_error): Likewise.
23920 (mcount): Likewise.
23921 (PSEUDO_END): Likewise.
23923 (atom_text_section): Likewise.
23925 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
23927 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
23928 category of LC_CTYPE set to "i18n:2012".
23929 * localedata/locales/i18n_ctype: Regenerate.
23931 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
23933 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
23934 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
23935 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
23936 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
23938 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
23939 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
23940 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
23941 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
23943 2017-10-31 Joseph Myers <joseph@codesourcery.com>
23946 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
23948 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
23950 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
23952 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23953 (CMPLXF32X): Likewise.
23954 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23955 (CMPLXF64X): Likewise.
23956 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23957 (CMPLXF128X): Likewise.
23960 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
23961 (__MATH_EVAL_FMT2): Define to add 0.0f.
23963 2017-10-31 Alan Modra <amodra@gmail.com>
23965 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
23967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
23968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
23969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
23970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
23971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
23972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
23973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
23974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
23975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
23976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
23977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
23978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
23979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
23980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
23981 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
23982 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
23983 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
23984 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
23985 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
23986 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
23987 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
23988 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
23989 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
23990 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
23991 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
23992 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
23993 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
23994 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
23995 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
23996 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
23997 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
23998 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
23999 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
24000 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
24001 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
24002 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
24003 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
24004 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
24005 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
24006 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
24007 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
24008 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
24009 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
24010 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
24011 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
24012 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
24013 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
24014 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
24015 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
24016 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
24017 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
24018 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
24019 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
24020 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
24021 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
24022 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
24023 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
24024 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
24025 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
24026 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
24027 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
24028 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
24029 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
24030 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
24031 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
24032 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
24033 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
24034 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
24035 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
24037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
24038 include sysdep.h and math_ldbl_opt.h.
24040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
24041 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
24042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
24043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
24044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
24045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
24046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
24047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
24048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
24049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
24050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
24051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
24052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
24053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
24054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
24055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
24056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
24057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
24058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
24059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
24060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
24061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
24062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
24063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
24064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
24065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
24067 2017-10-31 Alan Modra <amodra@gmail.com>
24069 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
24070 string/strncase_l.c, not string/strncase.c.
24071 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
24072 (libc_hidden_def): Redefine.
24074 2017-10-31 Alan Modra <amodra@gmail.com>
24076 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
24077 (__STRCMP, STRCMP, __strcasecmp_l): Define.
24078 (__strcasecmp): Don't define.
24080 2017-10-31 Alan Modra <amodra@gmail.com>
24082 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
24084 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
24085 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
24086 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
24088 2017-10-31 Alan Modra <amodra@gmail.com>
24090 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
24093 2017-10-31 Alan Modra <amodra@gmail.com>
24095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
24096 Redefine only when SHARED.
24098 2017-10-30 Joseph Myers <joseph@codesourcery.com>
24100 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
24101 Include <bits/math-finite.h> with appropriate macros defined and
24103 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
24104 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
24105 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
24106 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
24107 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
24109 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
24110 [!_Mlong_double_] (_Mlong_double_): Likewise.
24111 [!_Mfloat16_] (_Mfloat16_): Likewise.
24112 [!_Mfloat32_] (_Mfloat32_): Likewise.
24113 [!_Mfloat64_] (_Mfloat64_): Likewise.
24114 [!_Mfloat128_] (_Mfloat128_): Likewise.
24115 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
24116 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
24117 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
24118 (_Mdouble_): Define without indirection through those macros.
24119 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
24120 [!_Mfloat128_] (_Mfloat128_): Likewise.
24121 [_Mlong_double_] (_Mlong_double_): Likewise.
24122 (_Mdouble_): Define without indirection through those macros.
24123 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
24124 not add -D_Mlong_double_=double.
24125 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
24126 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
24128 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24130 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
24132 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24134 * sysdeps/x86/libc-start.c: Reformat.
24136 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24139 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
24140 (1): Renamed to ...
24143 (L(Src2)): Likewise.
24144 (L(1)): Renamed to ...
24147 2017-10-30 Joseph Myers <joseph@codesourcery.com>
24149 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
24150 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
24151 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
24152 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
24153 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
24154 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
24155 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
24156 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
24157 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
24158 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
24159 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
24160 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
24161 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
24162 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
24163 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
24164 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
24165 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
24166 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
24167 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
24168 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
24169 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
24170 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
24171 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
24172 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
24173 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
24174 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
24175 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
24176 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
24177 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
24178 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
24179 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
24180 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
24181 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
24182 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
24183 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
24184 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
24185 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
24186 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
24187 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
24188 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
24189 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
24190 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
24191 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
24192 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
24193 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
24194 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
24195 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
24196 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
24197 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
24198 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
24199 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
24200 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
24201 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
24202 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
24203 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
24204 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
24205 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
24206 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
24207 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
24208 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
24209 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
24210 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
24211 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
24212 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
24213 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
24214 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
24216 2017-10-30 Florian Weimer <fweimer@redhat.com>
24218 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
24220 * io/tst-mkdirat.c (do_test): Likewise.
24221 * io/tst-mkfifoat.c (do_test): Likewise.
24222 * io/tst-mknodat.c (do_test): Likewise.
24223 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
24224 * locale/programs/locale.c (select_dirs): Likewise.
24225 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
24226 * posix/bug-glob2.c (my_readdir): Likewise.
24227 * posix/tst-dir.c (main): Likewise.
24228 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
24229 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
24231 2017-10-30 Florian Weimer <fweimer@redhat.com>
24233 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
24236 2017-10-30 Florian Weimer <fweimer@redhat.com>
24238 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
24239 Convert to support/test-driver.c.
24240 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
24241 New macro parameters.
24242 (PRINTF): Remove macro. Use test_verbose conditionals instead.
24243 * posix/tst-gnuglob.c: New file.
24244 * posix/tst-gnuglob64.c: Likewise.
24245 * posix/Makefile (tests): Add tst-gnuglob64.
24247 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
24250 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
24251 and use a better translation for March in “mon”.
24252 * localedata/locales/csb_PL: Use more ASCII to improve the
24253 readability of the source.
24255 2017-10-30 Mike FABIAN <mfabian@redhat.com>
24258 * localedata/locales/km_KH: Use ASCII as much
24259 as possible for better readability of the source and
24260 remove useless comments.
24261 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
24262 was commented out and apparently wrong anyway because it was
24263 using Lao characters. If Buddhist era should be used
24264 for km_KH, a native speaker should write the correct formaat
24266 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
24267 (According to CLDR, the first weekday for Cambodia is Sunday).
24268 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
24269 (These were using Lao characters which must be wrong. If we get
24270 the correct data from a native speaker, we could add it back, until
24271 then it is better not to have name_mr and name_mrs at all than
24274 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
24276 * locale/loadlocale.c: Correct size of
24277 _nl_value_type_LC_<category> arrays.
24279 2017-10-27 Joseph Myers <joseph@codesourcery.com>
24281 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
24282 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
24283 with appropriate macros defined and undefined.
24284 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
24285 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
24286 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
24287 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
24288 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
24290 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
24292 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
24295 2017-10-27 Mike FABIAN <mfabian@redhat.com>
24297 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
24298 with lowercase letters to make it agree with CLDR.
24300 2017-10-27 Mike FABIAN <mfabian@redhat.com>
24303 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
24304 first letters of yesstr and nostr in yesexpr and noexpr,
24305 not for the full words.
24306 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
24307 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
24308 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
24309 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
24310 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
24311 first letters of yesstr and nostr in yesexpr and noexpr,
24312 until now only English was matched in yesexpr and noexpr.
24313 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
24314 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
24315 fil but not for tl. As tl and fil are very similar, using fil
24316 is probably better than using English.
24318 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
24321 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
24322 in yesstr and nostr.
24324 2017-10-26 Joseph Myers <joseph@codesourcery.com>
24326 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
24327 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
24328 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
24330 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
24332 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
24334 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
24336 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24337 (SNANF128X): Likewise.
24339 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
24340 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
24341 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24342 (HUGE_VAL_F32): Likewise.
24343 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24344 (HUGE_VAL_F64): Likewise.
24345 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24346 (HUGE_VAL_F32X): Likewise.
24347 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24348 (HUGE_VAL_F64X): Likewise.
24349 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24350 (HUGE_VAL_F128X): Likewise.
24352 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
24354 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
24355 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
24356 for the br_FR locale.
24358 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
24361 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
24363 2017-10-25 Carlos O'Donell <carlos@redhat.com>
24365 * locale/programs/record-status.h: Define globals, and function
24366 prototypes. Move function bodies...
24367 * locale/programs/record-status.c: ... to here. New file.
24368 * iconv/Makefile (iconv_prog-modules): Add record-status.
24369 * locale/Makefile (lib-modules): Likewise.
24370 * iconv/iconv_prog.c: Remove verbose.
24371 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
24372 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
24373 record a warning about ASCII compatibility.
24374 * locale/programs/ld-monetary.c (monetary_finish): If
24375 warn_int_curr_symbol is true then record a warning about the symbol
24376 not being in our ISO 4217 list.
24377 * locale/programs/locale.c: Include record-status.h. Remove verbose.
24378 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
24379 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
24380 (OPT_NO_WARN): Define.
24381 (OPT_WARN): Define.
24382 (options): Add entry for --no-warnings, and --warnings.
24383 (set_warnings): New function to enable/disable warnings.
24384 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
24385 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
24386 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
24387 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
24388 Pass flags to generate_locale.
24389 (generate_locale): Accept new flag argument and pass it to localedef
24391 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
24392 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
24394 * localedata/Makefile (test-input-data): Use full file name.
24395 * localedata/da_DK.in: Rename to...
24396 * localedata/da_DK.ISO-8859-1.in: ...this.
24397 * localedata/de_DE.in: Rename to...
24398 * localedata/de_DE.ISO-8859-1.in: ...this.
24399 * localedata/en_US.in: Rename to...
24400 * localedata/en_US.ISO-8859-1.in: ...this.
24401 * localedata/fr_FR.in: Rename to...
24402 * localedata/fr_FR.UTF-8.in: ... this.
24403 * localedata/hr_HR.in: Rename to...
24404 * localedata/hr_HR.ISO-8859-2.in: ...this.
24405 * localedata/hu_HU.in: Rename to...
24406 * localedata/hu_HU.UTF-8.in: ...this.
24407 * localedata/si_LK.in: Rename to...
24408 * localedata/si_LK.UTF-8.in: ...this.
24409 * localedata/sv_SE.in: Rename to...
24410 * localedata/sv_SE.ISO-8859-1.in: ...this.
24411 * localedata/tr_TR.in: Rename to...
24412 * localedata/tr_TR.UTF-8.in: ...this.
24413 * localedata/uk_UA.in: Rename to...
24414 * localedata/uk_UA.UTF-8.in: ...this.
24415 * localedata/sort-test.sh: Test file is locale name with the
24418 * localedata/unicode-gen/Makefile (check_i18n): Rename to
24419 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
24421 * localedata/locales/i18n_ctype: Regenerate.
24422 * localedata/locales/tr_TR: Likewise.
24423 * localedata/locales/translit_circle: Likewise.
24424 * localedata/locales/translit_cjk_compat: Likewise.
24425 * localedata/locales/translit_combining: Likewise.
24426 * localedata/locales/translit_compat: Likewise.
24427 * localedata/locales/translit_font: Likewise.
24428 * localedata/locales/translit_fraction: Likewise.
24430 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24432 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
24433 lxvd2x/stxvd2x with lvx/stvx.
24434 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
24436 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
24438 * include/alloc_buffer.h: Replace "if if " with "if " in
24440 * sysdeps/mips/memcpy.S: Likkewise.
24441 * sysdeps/mips/memset.S: Likewise.
24442 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
24444 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
24446 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
24449 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24452 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
24453 yesexpr and noexpr.
24454 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
24455 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
24456 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
24457 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24458 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
24459 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
24460 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
24462 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24464 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
24465 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
24466 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
24467 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
24468 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
24469 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
24470 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
24471 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
24472 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
24473 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
24474 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
24475 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
24477 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24479 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
24480 as possible for better readability of the source.
24481 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
24482 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
24483 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
24484 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
24485 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
24486 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
24487 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
24488 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
24489 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
24490 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
24491 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
24492 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
24493 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
24494 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
24495 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
24496 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
24497 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
24498 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
24499 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
24500 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
24501 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
24502 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
24503 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
24504 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
24505 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
24506 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
24507 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
24508 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
24509 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
24510 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
24511 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
24512 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
24513 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
24514 * localedata/locales/en_US (LC_MESSAGES): Likewise.
24515 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
24516 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
24517 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
24518 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
24519 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
24520 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
24521 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
24522 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
24523 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
24524 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
24525 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
24526 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
24527 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
24528 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
24529 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
24530 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
24531 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
24532 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
24533 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
24534 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
24535 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
24536 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
24537 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
24538 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
24539 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
24540 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
24541 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
24542 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
24543 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
24544 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
24545 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
24546 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
24547 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
24548 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
24549 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
24550 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
24551 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
24552 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
24553 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
24554 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
24555 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
24556 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
24557 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
24558 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
24559 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
24560 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
24561 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
24562 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
24563 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
24564 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
24565 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
24566 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
24567 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
24568 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
24569 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
24570 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
24571 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
24572 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
24573 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
24574 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
24575 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
24576 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
24577 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
24578 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24579 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
24580 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
24581 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
24582 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
24583 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
24584 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
24585 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
24586 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
24587 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
24588 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
24589 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
24590 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
24591 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
24592 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
24593 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
24594 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
24595 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
24596 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
24597 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
24598 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
24599 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
24600 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
24601 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
24602 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
24603 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
24604 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
24605 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
24606 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
24607 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
24608 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
24609 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
24610 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
24611 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
24612 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
24613 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
24614 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
24615 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
24616 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
24617 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
24618 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
24619 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
24620 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
24621 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
24622 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
24623 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
24624 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
24625 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
24626 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
24627 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
24628 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
24629 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
24630 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
24631 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
24632 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
24633 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
24634 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
24635 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
24636 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
24637 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
24638 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
24639 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
24640 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
24641 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
24642 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
24643 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
24644 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
24645 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
24646 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
24647 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
24648 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
24649 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
24650 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
24651 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
24652 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
24653 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
24654 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
24656 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24658 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
24659 (Use first letters of yesstr and nostr correctly instead of using
24662 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24664 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
24665 (Use first letters of yesstr and nostr correctly).
24667 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24669 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
24670 also check for the first characters of yesstr and nostr.
24671 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
24672 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
24674 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24676 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
24677 also check for Chinese characters.
24679 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24681 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
24682 match also for the contents of yesstr and nostr. As the first letter
24683 of yesstr and nostr is equal, checking only for the first letter
24686 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24688 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
24689 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
24691 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24693 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
24694 of main contributor.
24696 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24698 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
24699 instead of using English.
24701 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24703 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
24704 by including the first letters of nostr and yesexpr in the regexp.
24705 Also make it more readable by using ASCII where possible.
24707 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24709 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
24710 the first letter of nostr in the regexp. It agrees with CLDR now.
24711 Also make it more readable by using ASCII where possible.
24713 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24715 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
24716 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
24717 these strings contain a U+17D6 (which somewhat looks like a colon)
24718 instead of a real colon to separate the full words for “yes”
24719 and “no” from the single letter responses.
24721 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24723 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
24724 it agree with CLDR (include the first letter of yesstr).
24725 Also make it more readable by using ASCII where possible.
24727 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24729 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
24730 and improve yesexpr and noexpr. The yesstr and nostr apparently
24731 came from CLDR. And CLDR has a bug there: these strings contain
24732 a U+0903 (which looks like a colon) instead of a real colon
24733 to separate the full words for “yes” and “no” from the single
24736 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24738 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
24739 letters of the full yesstr and nostr in yesexpr and noexpr.
24741 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24743 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
24744 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
24745 * localedata/locales/an_ES: Make source more readable by using ASCII
24748 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24751 * localedata/locales/yuw_PG: New file.
24752 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
24753 * locale/iso-639.def: Add Yau (Uruwa).
24755 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24757 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
24759 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24761 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
24762 (__libc_realloc): Likewise.
24763 (_mid_memalign): Likewise.
24764 (__libc_calloc): Likewise.
24766 2017-10-23 Mike FABIAN <mfabian@redhat.com>
24768 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
24769 by adding the generic +1 and -0 as in all other locales.
24770 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
24771 day names and make it more readable by using ASCII where possible.
24773 2017-10-24 Joseph Myers <joseph@codesourcery.com>
24775 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
24776 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
24778 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24780 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
24781 WNOHANG in waitpid call.
24783 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
24785 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
24786 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
24788 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
24789 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
24790 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
24791 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
24792 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
24793 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
24794 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
24795 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
24798 2017-10-23 Michael Collison <michael.collison@arm.com>
24800 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
24801 with __builtin_sqrt.
24802 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
24803 with __builtin_sqrtf.
24804 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
24805 with __builtin_ceil.
24806 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
24807 with __builtin_ceilf.
24808 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
24809 with __builtin_floor.
24810 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
24811 with __builtin_floorf.
24812 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
24813 with __builtin_fma.
24814 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
24815 with __builtin_fmaf.
24816 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
24817 with __builtin_fmax.
24818 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
24819 with __builtin_fmaxf.
24820 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
24821 with __builtin_fmin.
24822 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
24823 with __builtin_fminf.
24824 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
24825 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
24826 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
24827 with builtin_rint and conversion to int.
24828 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
24829 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
24830 with builtin_llround.
24831 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
24832 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
24833 with builtin_rint and conversion to long int.
24834 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
24835 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
24836 with builtin_lround.
24837 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
24838 with builtin_lroundf.
24839 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
24840 statements with __builtin_nearbyint.
24841 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
24842 statements with __builtin_nearbyintf.
24843 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
24844 with __builtin_rint.
24845 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
24846 with __builtin_rintf.
24847 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
24848 with __builtin_round.
24849 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
24850 with __builtin_roundf.
24851 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
24852 with __builtin_trunc.
24853 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
24854 with __builtin_truncf.
24855 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
24856 and s_l[l]round[f].c too.
24858 2017-10-23 Alan Modra <amodra@gmail.com>
24860 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
24861 Adjust stack after restoring regs. Add missing LR cfi_restore.
24863 2017-10-23 Alan Modra <amodra@gmail.com>
24865 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
24866 Move LR save and frame setup/teardown and LR restore to
24867 immediately around memset call. Provide cfi.
24869 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24871 * sysdeps/i386/fpu/e_powf.S: Removed.
24872 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
24873 * sysdeps/i386/fpu/w_powf.c: Likewise.
24874 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
24875 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24876 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24878 (CFLAGS-e_powf-sse2.c): New.
24879 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
24880 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
24882 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24884 * sysdeps/i386/fpu/e_log2f.S: Removed.
24885 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
24886 * sysdeps/i386/fpu/w_log2f.c: Likewise.
24887 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
24888 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24889 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24891 (CFLAGS-e_log2f-sse2.c): New.
24892 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
24893 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
24895 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24897 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24899 (CFLAGS-e_powf-fma.c): New.
24900 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
24901 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
24903 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24905 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24907 (CFLAGS-e_log2f-fma.c): New.
24908 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
24909 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
24911 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24913 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24915 (CFLAGS-e_logf-fma.c): New.
24916 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
24917 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
24919 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24921 * sysdeps/i386/fpu/e_logf.S: Removed.
24922 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
24923 * sysdeps/i386/fpu/w_logf.c: Likewise.
24924 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
24925 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
24926 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24927 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24929 (CFLAGS-e_logf-sse2.c): New.
24930 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
24931 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
24933 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24935 * sysdeps/i386/fpu/e_exp2f.S: Removed.
24936 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
24937 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
24938 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24939 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24941 (CFLAGS-e_exp2f-sse2.c): New.
24942 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
24943 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
24945 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24947 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24949 (CFLAGS-e_exp2f-fma.c): New.
24950 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
24951 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
24953 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24955 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
24956 * sysdeps/i386/fpu/e_expf.S: Likewise.
24957 * sysdeps/i386/fpu/math_errf.c: Likewise.
24958 * sysdeps/i386/fpu/w_expf.c: Likewise.
24959 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
24960 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24961 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
24962 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
24963 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24964 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24965 Remove e_expf-ia32.
24966 (CFLAGS-e_expf-sse2.c): New.
24967 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
24968 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
24970 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24972 * sysdeps/x86_64/fpu/e_expf.S: Removed.
24973 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
24974 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
24975 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
24977 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
24979 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
24980 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
24982 (__redirect_expf): This.
24983 (SYMBOL_NAME): Changed to expf.
24984 (__ieee754_expf): Renamed to ...
24986 (__GI___expf): This.
24987 (__ieee754_expf): Add strong_alias.
24988 (__expf_finite): Likewise.
24990 Include <sysdeps/ieee754/flt-32/e_expf.c>.
24992 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
24995 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
24998 2017-10-21 Florian Weimer <fweimer@redhat.com>
25000 * posix/Makefile (tests): Add tst-glob-tilde.
25001 (tests-special): Add tst-glob-tilde-mem.out
25002 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
25003 (tst-glob-tilde-mem.out): Add mtrace check.
25004 * posix/tst-glob-tilde.c: New file.
25006 2017-10-20 Joseph Myers <joseph@codesourcery.com>
25008 * bits/floatn-common.h: New file.
25009 * math/Makefile (headers): Add bits/floatn-common.h.
25010 * bits/floatn.h: Include <bits/floatn-common.h>.
25011 * sysdeps/ia64/bits/floatn.h: Likewise.
25012 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
25013 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
25014 * sysdeps/powerpc/bits/floatn.h: Likewise.
25015 * sysdeps/x86/bits/floatn.h: Likewise.
25017 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25019 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
25020 indicates whether compiler emits an warning for alias for
25021 functions with incompatible types.
25024 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
25025 the auxiliary process is terminated by a signal before calling _exit
25028 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25031 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
25033 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
25034 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
25035 and bit_arch_XSAVEC_Usable if needed.
25036 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
25037 and bit_arch_Use_dl_runtime_resolve_opt.
25038 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
25040 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
25041 (bit_arch_Prefer_No_AVX512): Updated.
25042 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
25043 (bit_arch_XSAVEC_Usable): New.
25044 (STATE_SAVE_OFFSET): Likewise.
25045 (STATE_SAVE_MASK): Likewise.
25046 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
25047 (cpu_features): Add xsave_state_size and xsave_state_full_size.
25048 (index_arch_Use_dl_runtime_resolve_opt): Removed.
25049 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
25050 (index_arch_XSAVEC_Usable): New.
25051 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
25052 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
25053 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
25055 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
25056 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
25057 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
25058 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
25059 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
25060 _dl_runtime_resolve_xsavec.
25061 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
25063 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
25064 instead of VEC_SIZE.
25065 (REGISTER_SAVE_BND0): Removed.
25066 (REGISTER_SAVE_BND1): Likewise.
25067 (REGISTER_SAVE_BND3): Likewise.
25068 (REGISTER_SAVE_RAX): Always defined to 0.
25070 (_dl_runtime_resolve_avx): Likewise.
25071 (_dl_runtime_resolve_avx_slow): Likewise.
25072 (_dl_runtime_resolve_avx_opt): Likewise.
25073 (_dl_runtime_resolve_avx512): Likewise.
25074 (_dl_runtime_resolve_avx512_opt): Likewise.
25075 (_dl_runtime_resolve_sse): Likewise.
25076 (_dl_runtime_resolve_sse_vex): Likewise.
25078 (_dl_runtime_resolve_fxsave): Likewise.
25079 (USE_XSAVE): Likewise.
25080 (_dl_runtime_resolve_xsave): Likewise.
25081 (USE_XSAVEC): Likewise.
25082 (_dl_runtime_resolve_xsavec): Likewise.
25083 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
25085 (_dl_runtime_resolve_avx512_opt): Likewise.
25086 (_dl_runtime_resolve_avx): Likewise.
25087 (_dl_runtime_resolve_avx_opt): Likewise.
25088 (_dl_runtime_resolve_sse): Likewise.
25089 (_dl_runtime_resolve_sse_vex): Likewise.
25090 (_dl_runtime_resolve_fxsave): New.
25091 (_dl_runtime_resolve_xsave): Likewise.
25092 (_dl_runtime_resolve_xsavec): Likewise.
25094 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
25098 * posix/glob.c (__glob): Fix one-byte overflow.
25100 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
25102 * malloc/malloc.c (sysdep-cancel.h): Add include.
25104 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
25106 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
25108 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
25110 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
25111 (tests): Remove $(objpfx)ga_test depdendency.
25112 * resolv/ga_test.c: Remove file.
25114 2017-10-20 Mike FABIAN <mfabian@redhat.com>
25117 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
25118 * localedata/locales/kab_DZ: New file.
25120 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25122 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
25123 _dl_relocate_static_pie instead of _dl_start to compute load
25124 address in static PIE.
25126 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25128 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
25130 2017-10-20 Mike FABIAN <mfabian@redhat.com>
25133 * localedata/SUPPORTED: Add shn_MM/UTF-8.
25134 * localedata/locales/shn_MM: New file.
25136 2017-10-20 Florian Weimer <fweimer@redhat.com>
25139 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
25140 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
25141 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
25142 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
25143 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
25144 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
25146 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
25148 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25150 2017-10-19 Joseph Myers <joseph@codesourcery.com>
25152 * sysdeps/mips/ieee754/bits/floatn.h: New file.
25155 * sysdeps/mips/bits/long-double.h: Move to ....
25156 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
25158 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
25160 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
25162 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
25163 H.J. Lu <hongjiu.lu@intel.com>
25166 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
25167 GLRO(dl_platform) to NULL.
25168 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
25169 (modules-names): Add tst-platformmod-1 and
25170 x86_64/tst-platformmod-2.
25171 (CFLAGS-tst-platform-1.c): New.
25172 (CFLAGS-tst-platformmod-1.c): Likewise.
25173 (CFLAGS-tst-platformmod-2.c): Likewise.
25174 (LDFLAGS-tst-platformmod-2.so): Likewise.
25175 ($(objpfx)tst-platform-1): Likewise.
25176 ($(objpfx)tst-platform-1.out): Likewise.
25177 (tst-platform-1-ENV): Likewise.
25178 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
25179 * sysdeps/x86_64/tst-platform-1.c: New file.
25180 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
25181 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
25183 2017-10-19 Mike FABIAN <mfabian@redhat.com>
25186 * locale/iso-639.def: Add Karbi.
25187 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
25188 * localedata/locales/mjw_IN: New file.
25190 2017-10-18 Joseph Myers <joseph@codesourcery.com>
25192 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
25193 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
25194 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
25195 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
25196 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
25197 (libm_alias_ldouble_other_r): Also create _Float128 alias.
25198 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
25200 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
25201 (libm_alias_ldouble_other_r): Also create _Float128 alias.
25202 * manual/math.texi (Mathematics): Document additional architecture
25203 support for _Float128.
25204 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25205 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25206 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25207 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25208 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25209 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25210 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25211 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25212 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25213 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25214 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25215 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25216 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25217 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25218 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25220 2017-10-18 Renlin Li <renlin.li@arm.com>
25222 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
25223 _DYNAMIC symbol to calculate load address.
25225 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
25227 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
25228 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
25230 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
25231 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
25233 2017-10-18 Mike FABIAN <mfabian@redhat.com>
25236 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
25237 and improve readability by using more ASCII.
25238 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
25239 and improve readability by using more ASCII.
25241 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
25243 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
25244 not all targets support atomics on bool.
25246 2017-10-17 Joseph Myers <joseph@codesourcery.com>
25248 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
25249 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
25251 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25252 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
25253 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25254 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
25255 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25256 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
25258 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25260 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
25263 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25266 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
25267 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
25268 (do_check_remalloced_chunk): Fix build bug.
25269 (do_check_malloc_state): Add assert that checks arena->top.
25270 (malloc_consolidate): Remove initialization.
25271 (int_mallinfo): Remove call to malloc_consolidate.
25272 (__libc_mallopt): Clarify why malloc_consolidate is needed.
25274 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25276 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
25277 (have_fastchunks): Remove.
25278 (clear_fastchunks): Remove.
25279 (set_fastchunks): Remove.
25280 (malloc_state): Add have_fastchunks.
25281 (malloc_init_state): Use have_fastchunks.
25282 (do_check_malloc_state): Remove incorrect invariant checks.
25283 (_int_malloc): Use have_fastchunks.
25284 (_int_free): Likewise.
25285 (malloc_consolidate): Likewise.
25287 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25289 * malloc/malloc.c (tcache_put): Inline.
25290 (tcache_get): Inline.
25292 2017-10-17 Jordi Mallach <jordi@gnu.org>
25294 Aurelien Jarno <aurelien@aurel32.net>
25296 * localedata/locales/ca_ES@valencia: New file.
25297 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
25299 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
25302 * math/math.h: Let signbit use the builtin in C++ mode with gcc
25305 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25307 * scripts/build-many-glibcs.py (Context.add_all_configs):
25308 Add arm-linux-gnueabihf multiarch extra_glibcs.
25310 * sysdeps/generic/ifunc-init.h: New file.
25311 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
25313 2017-10-17 Mike FABIAN <mfabian@redhat.com>
25316 * localedata/locales/el_GR: Set n_cs_precedes to 0.
25317 * localedata/locales/el_CY: copy "el_GR" because it is identical.
25318 * stdlib/tst-strfmon_l.c: adapt test case.
25320 2017-10-16 Joseph Myers <joseph@codesourcery.com>
25322 * sysdeps/generic/float128-abi.h: New file.
25323 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
25324 non-__prefixed symbols to ....
25325 * math/Versions: ... here. Include <float128-abi.h>.
25326 * stdlib/Versions ... and here. Include <float128-abi.h>
25328 2017-10-16 Florian Weimer <fweimer@redhat.com>
25330 * version.h (VERSION): Switch to ".9000" as the development
25333 2017-10-16 Florian Weimer <fweimer@redhat.com>
25336 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
25337 compat_symbol_reference to access non-default version.
25339 2017-10-16 Florian Weimer <fweimer@redhat.com>
25341 * malloc/Makefile (others-extras): Set to mcheck-init.o.
25343 2017-10-16 Carlos O'Donell <carlos@redhat.com>
25345 * include/shlib-compat.h (compat_symbol_reference): Update
25348 2017-10-16 Joseph Myers <joseph@codesourcery.com>
25350 * math/Makefile (test-types): Add
25351 $(type-float128-$(float128-alias-fcts)).
25352 * math/test-float128.h (TYPE_STR): Define conditional on
25353 [FLT128_MANT_DIG == LDBL_MANT_DIG].
25354 (ULP_IDX): Likewise.
25355 (ULP_I_IDX): Likewise.
25357 * stdlib/strtold.c: Include <bits/floatn.h>
25358 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
25359 and later undefine as macro. Define as weak alias if
25361 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
25362 and later undefine as macro. Define as weak alias if
25364 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
25365 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
25366 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25367 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
25368 Define and later undefine as macro. Define as weak alias if
25370 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
25372 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
25373 Define and later undefine as macro. Define as weak alias if
25375 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
25376 Define and later undefine as macro. Define as weak alias if
25379 2017-10-15 Carlos O'Donell <carlos@redhat.com>
25381 * localedata/collate-test.c (allocate_arrays): Don't use \n in
25382 record_verbose messages.
25384 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
25387 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
25388 to silence -O3 -Wall warning with GCC 7.
25390 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
25392 * Makeconfig (+link-static-before-libc): Use the first of
25393 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
25394 * gmon/Makefile (tests): Add tst-gmon-static.
25395 (tests-static): Likewise.
25396 (CFLAGS-tst-gmon-static.c): New.
25397 (CRT-tst-gmon-static): Likewise.
25398 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
25399 (tst-gmon-static-ENV): Likewise.
25400 (tests-special): Likewise.
25401 ($(objpfx)tst-gmon-static.out): Likewise.
25402 (clean-tst-gmon-static-data): Likewise.
25403 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
25404 * gmon/tst-gmon-static-gprof.sh: New file.
25405 * gmon/tst-gmon-static.c: Likewise.
25407 2017-10-13 Carlos O'Donell <carlos@redhat.com>
25410 * locale/programs/linereader.c (get_string): Don't warn on
25411 non-symbolic character.
25414 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
25418 * locale/programs/record-status.h: New file
25419 * locale/programs/locale.c: Add comment.
25420 * locale/programs/charmap-dir.c: Don't include error.h.
25421 (charmap_opendir): Use record_error.
25422 * locale/programs/charmap.c: Don't include error.h.
25423 (charmap_read): Use record_error, and record_warning.
25424 (parse_charmap): Likewise.
25425 * locale/programs/ld-address.c: Don't include error.h.
25426 (address_finish): Use record_error, and record_warning.
25427 * locale/programs/ld-collate.c: Don't include error.h.
25428 (collate_finish): Use record_error, and record_error_at_line.
25429 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
25430 (ctype_class_new): Likewise.
25431 (ctype_map_new): Likewise.
25432 (set_one_default): Likewise.
25433 (set_class_defaults): Likewise.
25434 (translit_flatten): Likewise.
25435 (allocate_arrays): Use record_error, and record_verbose.
25436 * locale/programs/ld-identification.c: Don't include error.h.
25437 (indentation_finish): Use record_error and record_warning.
25438 * locale/programs/ld-measurement.c: Don't include error.h.
25439 (measurement_finish): Use record_error.
25440 * locale/programs/ld-messages.c
25441 (message_finish): Likewise.
25442 * locale/programs/ld-monetary.c
25443 (monetary_finish): Likewise.
25444 * locale/programs/ld-name.c (name_finish): Use record_error
25445 and record_warning.
25446 * locale/programs/ld-numeric.c
25447 (numeric_finish): Use record_error.
25448 * locale/programs/ld-paper.c: Don't include error.h.
25449 (paper_finish): Use record_error.
25450 * locale/programs/ld-telephone.c: Don't include error.h.
25451 (telephone_finish): Use record_error.
25452 * locale/programs/ld-time.c (time_finish): Likewise.
25453 * locale/programs/linereader.h (lr_error): Make inline func.
25454 * locale/programs/localedef.c: Define recorded_warning_count,
25455 and recorded_error_count.
25456 (main): Use record_error. Use recorded_error_count and
25457 recorded_warning_count to issue correct error returns.
25458 (add_to_readlist): Use record_error.
25459 (find_locale): Likewise.
25460 (load_locale): Likewise.
25461 * locale/programs/localedef.h: Remove be_quiet
25462 and WITH_CUR_LOCALE.
25463 * locale/programs/locarchive.c (compare_from_file): Use
25465 * locale/programs/locfile.c (write_locale_data): Use
25467 * locale/programs/repertoire.c: Dont include error.h.
25468 (repertoire_complain): Use record_error.
25469 * localedata/tst-fmon.sh: Expect failures from localedef.
25470 * localedata/tst-locale.sh: Likewise.
25471 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
25473 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
25474 (REPORTS): Likewise.
25476 (i18n): Rename to...
25477 (i18n_ctype): ...this.
25478 (i18n-report): Rename to...
25479 (i18n_ctype-report): ...this.
25480 * localedata/locales/i18n_ctype: Regenerate.
25481 * localedata/locales/i18n: copy i18n_ctype.
25483 2017-10-13 Joseph Myers <joseph@codesourcery.com>
25485 * stdlib/strfroml.c: Include <bits/floatn.h>.
25486 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
25487 Define before include of <stdlib.h> and undefine afterwards, then
25488 define as weak alias.
25490 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
25491 Undefine and restore default definition. Use
25492 libm_alias_ldouble_other.
25494 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
25497 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
25500 2017-10-13 James Clarke <jrtc27@jrtc27.com>
25502 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
25503 Assign sym_map to be map for local symbols, as TLS relocations
25504 use sym_map to determine whether the symbol is defined and to
25505 extract the TLS information.
25506 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
25507 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
25509 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25512 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
25513 (math_force_eval): Add powerpc version.
25516 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
25518 (do_test): Likewise.
25519 * stdio-common/tst-printf.sh: Likewise.
25520 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
25521 ifdef clause in order to set the carry bit right. Replace r0 by
25522 0 without changing the behavior.
25524 2017-10-13 Joseph Myers <joseph@codesourcery.com>
25526 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
25527 <libm-alias-ldouble.h>.
25528 (fabsl): Define using libm_alias_ldouble.
25529 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
25530 <libm-alias-ldouble.h>.
25531 (fabsl): Define using libm_alias_ldouble.
25533 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
25534 Remove conditional code.
25536 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
25537 Rename to __clog10_internal_l.
25538 (__clog10_internal_l): Define aliases using
25539 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
25542 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25544 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
25545 * benchtests/sincosf-inputs: New file.
25546 * benchtests/cosf-inputs: New file.
25547 * benchtests/sinf-inputs: New file.
25549 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
25551 * posix/tst-spawn.c (do_test): Wait for both children.
25553 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
25556 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
25557 tests-pie): Add tst-gmon-pie.
25558 (CFLAGS-tst-gmon-pie.c): New.
25559 (CRT-tst-gmon-pie): Likewise.
25560 (tst-gmon-pie-ENV): Likewise.
25561 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
25562 ($(objpfx)tst-gmon-pie.out): Likewise.
25563 (clean-tst-gmon-pie-data): Likewise.
25564 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
25565 * gmon/gmon.c [PIC]: Include <link.h>.
25566 [PIC] (callback): New function.
25567 (write_hist): Add an argument for load address. Subtract load
25569 (write_call_graph): Likewise.
25570 (write_gmon): Call __dl_iterate_phdr to get load address, pass
25571 it to write_hist and write_call_graph.
25572 * gmon/tst-gmon-pie.c: New file.
25574 2017-10-11 Joseph Myers <joseph@codesourcery.com>
25576 * math/Makefile (test-types-basic): New variable.
25577 (test-types): Likewise.
25578 (libm-test-support): Use $(test-types) instead of $(types).
25579 (libm-tests-base-normal): Likewise.
25580 (libm-tests-base-finite): Likewise.
25581 (libm-tests-base-inline): Likewise.
25582 (generated): Likewise.
25583 ($(objpfx)libm-test-support-$(t).c): Likewise.
25584 (libm-tests-for-type iterator): Likewise.
25585 (libm-test-support iterator): Likewise.
25586 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
25587 (ulp_idx): Use ULP_IDX.
25588 * math/test-ldouble.h: Include <float.h>.
25589 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
25590 (ULP_IDX): New macro.
25591 (ULP_I_IDX): Likewise.
25592 * math/test-double.h (ULP_IDX): Likewise.
25593 (ULP_I_IDX): Likewise.
25594 * math/test-float.h (ULP_IDX): Likewise.
25595 (ULP_I_IDX): Likewise.
25596 * math/test-float128.h (ULP_IDX): Likewise.
25597 (ULP_I_IDX): Likewise.
25599 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25601 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
25602 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25603 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25604 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
25605 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25606 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
25607 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
25608 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25609 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25610 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25611 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
25612 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25613 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25614 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25615 (SINGLE_THREAD_BY_GLOBAL): Define.
25616 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25618 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25620 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25622 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25624 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
25625 (SINGLE_THREAD_BY_GLOBAL): Likewise.
25626 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25629 2017-10-11 Andreas Schwab <schwab@suse.de>
25631 * nis/Makefile (aux): Remove.
25632 * nscd/Makefile (aux): Add nscd_hash.
25633 (nscd-modules): Likewise.
25634 ($(objpfx)nscd): Don't depend on libnsl.
25635 * nscd/nscd_hash.c: New file.
25636 * nscd/nscd_hash.h: Likewise.
25637 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
25638 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
25639 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
25640 instead of <nis/rpcsvc/nis.h>.
25641 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
25643 2017-10-11 Florian Weimer <fweimer@redhat.com>
25646 Avoid large NSS buffers with many addresses, aliases.
25647 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
25648 using dynarrays and struct alloc_buffer.
25649 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
25650 (tst-nss-files-hosts-multi): Link with -ldl.
25651 * nss/tst-nss-files-hosts-multi.c: New file.
25653 2017-10-11 Florian Weimer <fweimer@redhat.com>
25656 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
25657 scratch_buffer. Eliminate gotos.
25659 2017-10-11 Joseph Myers <joseph@codesourcery.com>
25661 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
25662 libm_alias_ldouble_other.
25663 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
25664 undefine and redefine.
25665 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
25666 (exp10l): Do not define here.
25667 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
25668 (weak_alias): Undefine and redefine.
25669 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
25670 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
25671 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
25672 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
25674 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
25675 [!__fma] (fma): Define using libm_alias_double.
25676 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
25677 [!__fmaf] (fmaf): Define using libm_alias_float.
25678 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
25679 (fmal): Define using libm_alias_ldouble.
25681 2017-10-10 Joseph Myers <joseph@codesourcery.com>
25683 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
25685 (libm_alias_double_other): Likewise.
25686 (libm_alias_double_r): Use libm_alias_double_other_r.
25687 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
25689 (libm_alias_float_other): Likewise.
25690 (libm_alias_float_r): Use libm_alias_float_other_r.
25691 * sysdeps/generic/libm-alias-float128.h
25692 (libm_alias_float128_other_r): New macro.
25693 (libm_alias_float128_other): Likewise.
25694 (libm_alias_float128_r): Use libm_alias_float128_other_r.
25695 * sysdeps/generic/libm-alias-ldouble.h
25696 (libm_alias_ldouble_other_r): New macro.
25697 (libm_alias_ldouble_other): Likewise.
25698 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25699 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
25700 (libm_alias_double_other_r): New macro.
25701 (libm_alias_double_other): Likewise.
25702 (libm_alias_double_r): Use libm_alias_double_other_r.
25703 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
25704 (libm_alias_ldouble_other_r): New macro.
25705 (libm_alias_ldouble_other): Likewise.
25706 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25707 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
25708 [!USE_AS_COMPAT]: Use libm_alias_double_other.
25709 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
25710 [!USE_AS_COMPAT]: Use libm_alias_float_other.
25711 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
25712 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
25713 * math/w_exp2f.c: Use libm_alias_float_other.
25714 * math/w_expf.c: Likewise.
25715 * math/w_log2f.c: Likewise.
25716 * math/w_logf.c: Likewise.
25717 * math/w_powf.c: Likewise.
25718 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
25719 [!__exp2f]: Use libm_alias_float_other.
25720 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
25721 [!__expf]: Use libm_alias_float_other.
25722 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
25723 [!__log2f]: Use libm_alias_float_other.
25724 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
25725 [!__logf]: Use libm_alias_float_other.
25726 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
25727 [!__powf]: Use libm_alias_float_other.
25729 2017-10-10 Florian Weimer <fweimer@redhat.com>
25731 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
25733 (_nss_files_gethostbyname3_r): Call it.
25735 2017-10-09 Joseph Myers <joseph@codesourcery.com>
25737 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
25738 error. Remove default definition of declare_mgen_alias.
25739 [!declare_mgen_alias_r]: Likewise.
25740 * sysdeps/generic/math-type-macros-double.h
25741 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
25742 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
25743 (declare_mgen_alias_r): Likewise.
25744 * sysdeps/generic/math-type-macros-float128.h
25745 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25746 * sysdeps/generic/math-type-macros-ldouble.h
25747 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25748 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
25750 (declare_mgen_alias_r_s): Likewise.
25751 (declare_mgen_alias_r): Likewise.
25752 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
25753 (lgamma_r): Define using libm_alias_double_r.
25754 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
25755 (lgammaf_r): Define using libm_alias_float_r.
25756 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
25757 (lgammal_r): Define using libm_alias_ldouble_r.
25758 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
25759 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
25761 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25763 * lib/glob.c (__glob_pattern_type): Remove now-spurious
25764 extern declaration.
25766 2017-10-09 Joseph Myers <joseph@codesourcery.com>
25768 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
25770 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
25773 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
25774 [__cplusplus >= 201103] (__USE_ISOC99): Define.
25775 * math/Makefile (test-math-cxx11): New test.
25776 * math/test-math-cxx11.cc: New file.
25778 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
25780 * login/openpty.c (openpty): Close slave pty file descriptor on error.
25782 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
25783 call to allocate the slave pty file descriptor.
25785 2017-10-06 Joseph Myers <joseph@codesourcery.com>
25787 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
25788 [!__fma] (fma): Define using libm_alias_double.
25789 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
25790 [!__fma] (fma): Define using libm_alias_double.
25792 * sysdeps/ieee754/float128/float128_private.h: Include
25793 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
25794 (libm_alias_ldouble_r): Undefine and redefine.
25795 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
25796 <libm-alias-ldouble.h>.
25797 (asinhl): Define using libm_alias_ldouble.
25798 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
25799 <libm-alias-ldouble.h>.
25800 (atanl): Define using libm_alias_ldouble.
25801 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
25802 <libm-alias-ldouble.h>.
25803 (cbrtl): Define using libm_alias_ldouble.
25804 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
25805 <libm-alias-ldouble.h>.
25806 (ceill): Define using libm_alias_ldouble.
25807 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
25808 <libm-alias-ldouble.h>.
25809 (copysignl): Define using libm_alias_ldouble.
25810 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
25811 <libm-alias-ldouble.h>.
25812 (cosl): Define using libm_alias_ldouble.
25813 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
25814 <libm-alias-ldouble.h>.
25815 (erfl): Define using libm_alias_ldouble.
25817 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
25818 <libm-alias-ldouble.h>.
25819 (expm1l): Define using libm_alias_ldouble.
25820 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
25821 <libm-alias-ldouble.h>.
25822 (fabsl): Define using libm_alias_ldouble.
25823 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
25824 <libm-alias-ldouble.h>.
25825 (floorl): Define using libm_alias_ldouble.
25826 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
25827 <libm-alias-ldouble.h>.
25828 (fmal): Define using libm_alias_ldouble.
25829 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
25830 <libm-alias-ldouble.h>.
25831 (frexpl): Define using libm_alias_ldouble.
25832 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
25833 libm_alias_ldouble.
25834 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
25835 <libm-alias-ldouble.h>.
25836 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
25837 libm_alias_ldouble.
25838 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
25839 <libm-alias-ldouble.h>.
25840 (getpayloadl): Define using libm_alias_ldouble.
25841 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
25842 <libm-alias-ldouble.h>.
25843 (llrintl): Define using libm_alias_ldouble.
25844 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
25845 <libm-alias-ldouble.h>.
25846 (llroundl): Define using libm_alias_ldouble.
25847 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
25848 <libm-alias-ldouble.h>.
25849 (logbl): Define using libm_alias_ldouble.
25850 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
25851 <libm-alias-ldouble.h>.
25852 (lrintl): Define using libm_alias_ldouble.
25853 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
25854 <libm-alias-ldouble.h>.
25855 (lroundl): Define using libm_alias_ldouble.
25856 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
25857 <libm-alias-ldouble.h>.
25858 (modfl): Define using libm_alias_ldouble.
25859 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
25860 <libm-alias-ldouble.h>.
25861 (nearbyintl): Define using libm_alias_ldouble.
25862 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
25863 <libm-alias-ldouble.h>.
25864 (nextafterl): Define using libm_alias_ldouble.
25865 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
25866 <libm-alias-ldouble.h>.
25867 (nextupl): Define using libm_alias_ldouble.
25868 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
25869 <libm-alias-ldouble.h>.
25870 (remquol): Define using libm_alias_ldouble.
25871 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
25872 <libm-alias-ldouble.h>.
25873 (rintl): Define using libm_alias_ldouble.
25874 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
25875 <libm-alias-ldouble.h>.
25876 (roundevenl): Define using libm_alias_ldouble.
25877 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
25878 <libm-alias-ldouble.h>.
25879 (roundl): Define using libm_alias_ldouble.
25880 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
25881 using libm_alias_ldouble.
25882 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
25883 <libm-alias-ldouble.h>.
25884 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
25885 Define using libm_alias_ldouble.
25886 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
25887 <libm-alias-ldouble.h>.
25888 (sincosl): Define using libm_alias_ldouble.
25889 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
25890 <libm-alias-ldouble.h>.
25891 (sinl): Define using libm_alias_ldouble.
25892 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
25893 <libm-alias-ldouble.h>.
25894 (tanhl): Define using libm_alias_ldouble.
25895 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
25896 <libm-alias-ldouble.h>.
25897 (tanl): Define using libm_alias_ldouble.
25898 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
25899 <libm-alias-ldouble.h>.
25900 (totalorderl): Define using libm_alias_ldouble.
25901 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
25902 <libm-alias-ldouble.h>.
25903 (totalordermagl): Define using libm_alias_ldouble.
25904 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
25905 <libm-alias-ldouble.h>.
25906 (truncl): Define using libm_alias_ldouble.
25907 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
25908 libm_alias_ldouble.
25909 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
25910 libm_alias_ldouble.
25911 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
25912 <libm-alias-ldouble.h>.
25913 (weak_alias): Do not undefine and redefine.
25914 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25915 (copysignl): Define with long_double_symbol only if [IS_IN
25917 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
25918 <libm-alias-ldouble.h>.
25919 (weak_alias): Do not undefine and redefine.
25920 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25921 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
25922 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
25923 <libm-alias-ldouble.h>.
25924 (weak_alias): Do not undefine and redefine.
25925 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25926 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
25927 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
25928 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
25929 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
25930 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
25931 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
25932 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
25933 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
25934 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
25935 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
25936 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
25937 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
25938 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
25939 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
25940 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
25941 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
25942 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
25943 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
25944 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
25945 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
25946 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
25947 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
25948 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
25949 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
25950 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
25952 2017-10-06 Carlos O'Donell <carlos@redhat.com>
25955 * malloc/malloc.c (tcache_shutting_down): Use bool type.
25956 (tcache_thread_freeres): Set tcache_shutting_down before
25957 freeing the tcache.
25958 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
25959 * malloc/tst-malloc-tcache-leak.c: New file.
25961 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25963 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
25964 back to powerpc32 file.
25965 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
25966 (memrchr): Add __memrchr_power8 to ifunc list.
25967 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
25968 extra bytes for unaligned inputs.
25970 2017-10-06 Joseph Myers <joseph@codesourcery.com>
25972 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
25973 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
25974 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
25975 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
25976 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
25978 2017-10-05 Joseph Myers <joseph@codesourcery.com>
25980 * sysdeps/arm/libm-test-ulps: Update.
25982 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
25983 <libm-alias-ldouble.h>.
25984 (asinhl): Define using libm_alias_ldouble.
25985 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
25986 <libm-alias-ldouble.h>.
25987 (cbrtl): Define using libm_alias_ldouble.
25988 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
25989 <libm-alias-ldouble.h>.
25990 (copysignl): Define using libm_alias_ldouble.
25991 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
25992 <libm-alias-ldouble.h>.
25993 (cosl): Define using libm_alias_ldouble.
25994 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
25995 <libm-alias-ldouble.h>.
25996 (erfl): Define using libm_alias_ldouble.
25998 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
25999 <libm-alias-ldouble.h>.
26000 (fmal): Define using libm_alias_ldouble.
26001 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
26002 <libm-alias-ldouble.h>.
26003 (frexpl): Define using libm_alias_ldouble.
26004 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
26005 libm_alias_ldouble.
26006 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
26007 <libm-alias-ldouble.h>.
26008 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
26009 libm_alias_ldouble.
26010 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
26011 <libm-alias-ldouble.h>.
26012 (getpayloadl): Define using libm_alias_ldouble.
26013 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
26014 <libm-alias-ldouble.h>.
26015 (llrintl): Define using libm_alias_ldouble.
26016 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
26017 <libm-alias-ldouble.h>.
26018 (llroundl): Define using libm_alias_ldouble.
26019 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
26020 <libm-alias-ldouble.h>.
26021 (lrintl): Define using libm_alias_ldouble.
26022 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
26023 <libm-alias-ldouble.h>.
26024 (lroundl): Define using libm_alias_ldouble.
26025 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
26026 <libm-alias-ldouble.h>.
26027 (modfl): Define using libm_alias_ldouble.
26028 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
26029 <libm-alias-ldouble.h>.
26030 (nextupl): Define using libm_alias_ldouble.
26031 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
26032 <libm-alias-ldouble.h>.
26033 (remquol): Define using libm_alias_ldouble.
26034 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
26035 <libm-alias-ldouble.h>.
26036 (roundevenl): Define using libm_alias_ldouble.
26037 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
26038 <libm-alias-ldouble.h>.
26039 (roundl): Define using libm_alias_ldouble.
26040 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
26041 using libm_alias_ldouble.
26042 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
26043 <libm-alias-ldouble.h>.
26044 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
26045 <libm-alias-ldouble.h>.
26046 (setpayloadsigl): Define using libm_alias_ldouble.
26047 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
26048 <libm-alias-ldouble.h>.
26049 (sincosl): Define using libm_alias_ldouble.
26050 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
26051 <libm-alias-ldouble.h>.
26052 (sinl): Define using libm_alias_ldouble.
26053 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
26054 <libm-alias-ldouble.h>.
26055 (tanhl): Define using libm_alias_ldouble.
26056 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
26057 <libm-alias-ldouble.h>.
26058 (tanl): Define using libm_alias_ldouble.
26059 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
26060 <libm-alias-ldouble.h>.
26061 (totalorderl): Define using libm_alias_ldouble.
26062 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
26063 <libm-alias-ldouble.h>.
26064 (totalordermagl): Define using libm_alias_ldouble.
26065 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
26066 libm_alias_ldouble.
26067 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
26068 libm_alias_ldouble.
26070 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
26072 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
26074 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
26075 (__libc_ifunc_impl_list): Likewise.
26076 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
26077 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
26079 * benchtests/bench-memmove-walk.c: New file.
26080 * benchtests/Makefile (string-benchset): Add it.
26082 * benchtests/bench-memset-walk.c: New file.
26083 * benchtests/Makefile (string-benchset): Add it.
26085 * benchtests/bench-memcpy-walk.c: New file.
26086 * benchtests/Makefile (string-benchset): Add it.
26088 2017-10-05 Florian Weimer <fweimer@redhat.com>
26090 nscd: Eliminate compilation time dependency in the build output.
26091 * nscd/nscd_stat.c (STATDATA_VERSION)
26092 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
26093 (STATDATA_VERSION_FULL): New macro definitions.
26094 (compilation): Remove.
26095 (struct statdata): Adjust version member.
26096 (send_stats): Set version from STATDATA_VERSION_FULL.
26097 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
26099 2017-10-05 Joseph Myers <joseph@codesourcery.com>
26101 * configure.ac (--enable-add-ons): Remove option.
26102 (machine): Do not mention add-ons in comment.
26103 (LIBC_PRECONFIGURE): Likewise.
26104 (add_ons): Remove variable and sanity checks and logic to locate
26106 (add_ons_automatic): Remove variable.
26107 (configured_add_ons): Likewise.
26108 (add_ons_sfx): Likewise.
26109 (add_ons_pfx): Likewise.
26110 (add_on_subdirs): Likewise.
26111 (sysnames_add_ons): Likewise. Remove loop over add-ons and
26112 consideration of add-ons in Implies handling.
26113 (sysdeps_add_ons): Likewise.
26114 * configure: Regenerated.
26115 * libidn/configure.ac: Remove.
26116 * libidn/configure: Likewise.
26117 * sysdeps/unix/inet/configure.ac: New file.
26118 * sysdeps/unix/inet/configure: New generated file.
26119 * sysdeps/unix/inet/Subdirs: Add libidn.
26120 * Makeconfig (sysdeps-srcdirs): Remove variable.
26121 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
26122 ($(common-objpfx)config.status): Do not depend on add-on files.
26123 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
26125 (all-subdirs): Do not include $(add-on-subdirs).
26126 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
26127 * config.make.in (add-ons): Remove variable.
26128 (add-on-subdirs): Likewise.
26129 (sysdeps-add-ons): Likewise.
26130 * manual/Makefile (add-chapters): Remove.
26131 ($(objpfx)texis): Do not depend on $(add-chapters).
26132 (nonexamples): Do not handle $(add-chapters).
26133 (examples): Do not handle $(add-ons).
26134 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
26136 * manual/install.texi (Installation): Do not mention add-ons.
26137 (--enable-add-ons): Do not document configure option.
26138 * INSTALL: Regenerated.
26139 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
26140 * manual/maint.texi (Hierarchy Conventions): Do not mention
26142 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
26144 * scripts/gen-sorted.awk: Do not handle Subdirs files from
26146 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
26147 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
26149 2017-10-05 Andreas Schwab <schwab@suse.de>
26152 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
26153 (_IO_flush_all_lockp): Always lock list_all_lock.
26154 (_IO_flush_all_linebuffered): Likewise.
26155 (_IO_unbuffer_all): Likewise.
26157 2017-10-05 Florian Weimer <fweimer@redhat.com>
26160 Do not flush stdio streams on abort.
26161 * stdlib/abort.c (fflush): Remove macro definition.
26162 (abort): Remove stages related to stdio flushing.
26164 2017-10-05 Florian Weimer <fweimer@redhat.com>
26166 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
26168 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
26170 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26172 2017-10-05 Florian Weimer <fweimer@redhat.com>
26174 * support/support_format_hostent.c (support_format_hostent): Add
26175 more error information for NETDB_INTERNAL.
26177 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26179 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
26180 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
26181 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
26182 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
26183 AC_DEFINE if multi-arch is enabled.
26184 * sysdeps/i386/configure: Regenerated.
26186 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26188 * Makeconfig (+link-static-before-libc): Use
26189 $(DEFAULT-LDFLAGS-$(@F)).
26190 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
26191 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
26192 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
26194 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26196 * elf/Makefile (tests): Add tst-main1.
26197 (modules-names): Add tst-main1mod.
26198 ($(objpfx)tst-main1): New.
26199 (CRT-tst-main1): Likewise.
26200 (LDFLAGS-tst-main1): Likewise.
26201 (LDLIBS-tst-main1): Likewise.
26202 (tst-main1mod.so-no-z-defs): Likewise.
26203 * elf/tst-main1.c: New file.
26204 * elf/tst-main1mod.c: Likewise.
26206 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26208 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
26210 2017-10-04 Joseph Myers <joseph@codesourcery.com>
26212 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
26213 (fma): Define using libm_alias_double.
26214 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
26215 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
26217 (fmal): Do not define as compat symbol here.
26218 * sysdeps/alpha/fpu/s_fma.c: New file.
26220 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26222 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
26224 2017-10-04 Joseph Myers <joseph@codesourcery.com>
26227 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
26229 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
26231 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
26232 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26233 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
26234 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
26235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26236 Include <math_ldbl_opt.h>
26237 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
26239 (compat_symbol): Undefine and redefine.
26240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
26242 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26243 (compat_symbol): Undefine and redefine.
26244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
26245 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
26246 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
26247 GLIBC_2_1 for libm.
26248 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
26249 GLIBC_2.0 copysignl symbol.
26250 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
26251 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
26253 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
26255 2017-10-04 Florian Weimer <fweimer@redhat.com>
26257 * scripts/check-local-headers.sh: Ignore nspr4 header file
26258 directory in addition to nspr.
26260 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
26263 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
26264 * configure: Regenerate.
26265 * crypt/Makefile (nss-cpp-flags): New variable.
26266 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
26267 (CPPFLAGS-md5-crypt.c): Use it.
26268 * scripts/check-local-headers.sh: Ignore nspr header file
26271 2017-10-04 Andreas Schwab <schwab@suse.de>
26273 * nis/Makefile (services): Remove compat.
26274 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
26275 ($(objpfx)libnss_compat.so): Remove rule.
26276 * nis/Versions (libnss_compat): Remove.
26277 * nss/Makefile (services): Add compat.
26278 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
26279 * nss/Versions (libnss_compat): Define.
26280 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
26281 Don't include <rpc/types.h>. Replace bool_t by bool.
26282 * nss/nss_compat/compat-initgroups.c: Likewise.
26283 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
26284 instead of <rpcsrv/ypclnt.h>.
26285 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
26286 yp_get_default_domain.
26287 * nss/nss_compat/compat-pwd.c: Likewise.
26288 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
26289 yp_get_default_domain.
26290 * nss/nss_compat/nisdomain.c: New file.
26291 * nss/nss_compat/nisdomain.h: Likewise.
26293 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26296 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
26297 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26299 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26302 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
26303 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
26305 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26307 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
26308 "movl main@GOTOFF(%ebx), %eax".
26310 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26312 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
26313 allow undefined _DYNAMIC in PIE libc.a.
26314 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
26317 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26319 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
26322 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26324 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
26327 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26329 * math/test-math-iscanonical.cc (error): Replace bool with int.
26331 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26333 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
26334 (modf): Define using libm_alias_double, only if [!__modf].
26335 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
26336 <libm-alias-double.h>.
26337 (modf): Define using libm_alias_double, only if [!__modf].
26338 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
26339 compat symbol here.
26340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
26341 (weak_alias): Do not undefine and redefine.
26342 (strong_alias): Likewise.
26343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
26344 (weak_alias): Likewise.
26345 (strong_alias): Likewise.
26347 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
26348 (logb): Define using libm_alias_double, only if [!__logb].
26349 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
26350 <libm-alias-double.h>.
26351 (logb): Define using libm_alias_double, only if [!__logb].
26352 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
26353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
26354 (weak_alias): Do not undefine and redefine.
26355 (strong_alias): Likewise.
26356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
26357 (weak_alias): Likewise.
26358 (strong_alias): Likewise.
26360 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26362 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
26363 Check SHARED instead PIC.
26365 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26367 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
26368 [!__fmaf] (fmaf): Define using libm_alias_float.
26370 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
26371 (frexp): Define using libm_alias_double.
26372 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
26373 <libm-alias-double.h>.
26374 (frexp): Define using libm_alias_double.
26375 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
26376 compat symbol here.
26378 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26381 * math/math.h: Trivial fix for unbalanced parentheses in comment.
26382 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
26383 (CFLAGS-test-math-iscanonical.cc): New variable.
26384 * math/test-math-iscanonical.cc: New file.
26385 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
26386 Provide a C++ implementation based on function overloading,
26387 rather than using __MATH_TG, which uses C-only builtins.
26388 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
26390 * sysdeps/powerpc/powerpc64le/Makefile
26391 (CFLAGS-test-math-iscanonical.cc): New variable.
26393 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26395 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
26396 (ceil): Define using libm_alias_double.
26397 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
26398 (floor): Define using libm_alias_double.
26399 * sysdeps/ieee754/dbl-64/s_llround.c: Include
26400 <libm-alias-double.h>.
26401 (llround): Define using libm_alias_double.
26402 * sysdeps/ieee754/dbl-64/s_lround.c: Include
26403 <libm-alias-double.h>.
26404 (lround): Define using libm_alias_double.
26405 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
26406 <libm-alias-double.h>.
26407 (nearbyint): Define using libm_alias_double.
26408 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
26409 <libm-alias-double.h>.
26410 (remquo): Define using libm_alias_double.
26411 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
26412 (rint): Define using libm_alias_double.
26413 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
26414 (round): Define using libm_alias_double.
26415 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
26416 (trunc): Define using libm_alias_double.
26417 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
26418 <libm-alias-double.h>.
26419 (ceil): Define using libm_alias_double.
26420 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
26421 <libm-alias-double.h>.
26422 (floor): Define using libm_alias_double.
26423 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
26424 <libm-alias-double.h>.
26425 (llround): Define using libm_alias_double.
26426 [_LP64] (lround): Likewise.
26427 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
26428 <libm-alias-double.h>.
26429 [!_LP64] (lround): Define using libm_alias_double.
26430 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
26431 <libm-alias-double.h>.
26432 (nearbyint): Define using libm_alias_double.
26433 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
26434 <libm-alias-double.h>.
26435 (remquo): Define using libm_alias_double.
26436 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
26437 <libm-alias-double.h>.
26438 (rint): Define using libm_alias_double.
26439 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
26440 <libm-alias-double.h>.
26441 (round): Define using libm_alias_double.
26442 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
26443 <libm-alias-double.h>.
26444 (trunc): Define using libm_alias_double.
26445 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
26446 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
26447 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
26448 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
26449 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
26450 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
26451 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
26452 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
26453 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
26455 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26457 * math/w_remainder.c: New file.
26458 * math/w_remainderf.c: New file.
26459 * math/w_remainderl.c: New file.
26461 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26463 * elf/rtld.c (BOOTSTRAP_MAP): New.
26464 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
26465 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26467 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26469 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26472 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
26474 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
26475 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
26476 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
26477 rtld_hidden_data_ver): Define to empty.
26478 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
26479 __assert_perror_fail): Likewise.
26480 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26481 (__rewinddir): Likewise.
26482 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26483 (__profile_frequency): Likewise.
26484 * include/setjmp.h (__sigsetjmp): Likewise.
26485 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
26486 __libc_sigaction): Likewise.
26487 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
26488 not set hidden attribute.
26489 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
26490 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
26491 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
26492 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
26493 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
26494 __fxstatat64): Likewise.
26495 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26496 (__uname): Likewise.
26497 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26498 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
26499 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
26500 (NO_RTLD_HIDDEN): Set.
26501 * sysdeps/mach/hurd/configure: Refresh.
26502 * config.h.in: Refresh.
26504 2017-10-02 Joseph Myers <joseph@codesourcery.com>
26506 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
26507 (atan): Define using libm_alias_double.
26508 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
26509 (tan): Define using libm_alias_double.
26510 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
26511 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
26513 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
26514 define as weak alias of __atan. Do not define any aliases if
26516 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
26517 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
26518 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
26519 as weak alias of __tan. Do not define any aliases if [__tan].
26520 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
26521 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
26522 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
26524 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
26525 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
26526 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
26527 and define as weak alias of __atan.
26528 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
26530 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
26531 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
26532 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
26533 define as weak alias of __tan.
26535 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26537 * math/w_lgamma.c: New file.
26538 * math/w_lgammaf.c: New file.
26539 * math/w_lgammal.c: New file.
26541 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26543 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
26544 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
26545 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
26546 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
26547 * sysdeps/ieee754/flt-32/w_logf.c: New file.
26548 * sysdeps/ieee754/flt-32/w_powf.c: New file.
26549 * sysdeps/i386/fpu/w_log2f.c: New file.
26550 * sysdeps/i386/fpu/w_logf.c: New file.
26551 * sysdeps/i386/fpu/w_powf.c: New file.
26552 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
26553 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
26554 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
26556 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26557 H.J. Lu <hongjiu.lu@intel.com>
26559 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
26560 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
26561 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
26562 * sysdeps/ieee754/flt-32/w_expf.c: New file.
26563 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
26565 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
26566 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
26567 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
26568 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
26569 * sysdeps/i386/fpu/w_exp2f.c: New file.
26570 * sysdeps/i386/fpu/w_expf.c: New file.
26571 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
26572 * sysdeps/x86_64/fpu/w_expf.c: New file.
26574 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26576 * math/Versions (logf): New libm symbol at GLIBC_2.27.
26579 * math/w_log2f.c: New file.
26580 * math/w_logf.c: New file.
26581 * math/w_powf.c: New file.
26582 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
26583 * math/w_logf_compat.c (__logf_compat): Likewise.
26584 * math/w_powf_compat.c (__powf_compat): Likewise.
26585 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
26586 * sysdeps/ia64/fpu/e_logf.S: Likewise.
26587 * sysdeps/ia64/fpu/e_powf.S: Likewise.
26588 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
26589 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26590 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26591 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26592 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26593 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26594 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26595 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26596 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26597 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26598 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26599 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26608 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26609 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26610 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26611 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26612 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26613 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26615 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26617 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26618 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26619 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26621 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26623 * sysdeps/powerpc/powerpc64/multiarch/Makefile
26624 (sysdep_routines): Add memrchr_power8.
26625 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26626 (memrchr): Add __memrchr_power8 to list of memrchr functions.
26627 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
26629 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
26630 (memrchr): Add __memrchr_power8 to ifunc list.
26631 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
26633 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26636 * sysdeps/unix/sysv/linux/posix_fadvise64.c
26637 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
26639 * sysdeps/unix/sysv/linux/posix_fallocate64.c
26640 (__posix_fallocate64_l64): Likewise.
26642 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26645 * sysdeps/unix/sysv/linux/sched_setaffinity.c
26646 (__sched_setaffinity_new): Add libc_hidden_proto and
26649 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26652 * include/glob.h (__glob64): Add libc_hidden_proto.
26653 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
26656 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26659 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
26662 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26665 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
26667 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26670 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
26673 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26676 * csu/version.c (__libc_print_version): Add attribute_hidden.
26678 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26681 * include/libc-internal.h (__init_misc): Add attribute_hidden.
26683 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26686 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
26688 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26691 * nscd/nscd_helper.c (__nis_hash): New prototype.
26693 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26696 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
26697 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
26699 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26700 * termios/tcgetattr.c (__tcgetattr): Likewise.
26702 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26705 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
26706 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
26707 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
26708 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
26709 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
26711 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26714 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
26716 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26719 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
26720 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
26722 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26725 * intl/hash-string.h (__hash_string): Add attribute_hidden.
26727 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26730 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
26731 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
26733 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26736 * include/ifreq.h: New file.
26737 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
26738 (__ifreq): Likewise.
26739 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
26740 (__ifreq): Likewise.
26742 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26745 * include/idna.h: New file.
26746 * inet/getnameinfo.c: Include <idna.h> instead of
26748 (__idna_to_unicode_lzlz): Removed.
26749 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
26751 (__idna_to_ascii_lz): Removed.
26752 (__idna_to_unicode_lzlz): Likewise.
26754 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26757 * include/plural-exp.h: New file.
26758 * intl/plural-exp.c: Include <plural-exp.h> instead of
26761 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26764 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
26765 "getsourcefilter.h".
26766 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
26767 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
26768 "getsourcefilter.h".
26769 (__get_sol): Removed.
26771 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26774 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
26776 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
26778 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26781 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
26784 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26787 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
26789 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26792 * include/search.h (__tdestroy): Add libc_hidden_proto.
26793 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
26795 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26798 * include/assert.h (__assert_fail_base): Add attribute_hidden.
26800 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26803 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
26806 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26809 * include/signal.h (__kill): Add libc_hidden_proto.
26810 (__sigblock): Likewise.
26811 (__sigprocmask): Likewise.
26812 (__sigaltstack): Likewise.
26813 * signal/kill.c (__kill): Add libc_hidden_def.
26814 * signal/sigblock.c (__sigblock): Likewise.
26815 * signal/sigprocmask.c (__sigprocmask): Likewise.
26816 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
26817 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
26818 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
26819 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
26820 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
26822 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
26824 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
26825 (__sigprocmask): Likewise.
26826 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
26828 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
26829 (__sigprocmask): Likewise.
26830 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
26833 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26836 * include/string.h (__strsep): Add libc_hidden_proto.
26837 * string/strsep.c (__strsep): Add libc_hidden_def.
26839 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26842 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
26844 (__spawni): Likewise.
26846 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26849 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
26850 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
26853 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26856 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
26858 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26861 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
26862 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
26863 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
26864 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
26865 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
26867 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
26868 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
26870 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26873 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
26874 (__dcigettext): Likewise.
26876 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26879 * include/sys/sysinfo.h (__get_nprocs_conf): Add
26881 (__get_nprocs): Likewise.
26882 (__get_phys_pages): Likewise.
26883 (__get_avphys_pages): Likewise.
26884 (__get_child_max): Add attribute_hidden.
26885 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
26886 (__get_nprocs): Likewise.
26887 (__get_phys_pages): Likewise.
26888 (__get_avphys_pages): Likewise.
26889 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
26891 (__get_nprocs): Likewise.
26892 (__get_phys_pages): Likewise.
26893 (__get_avphys_pages): Likewise.
26894 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
26896 (__get_nprocs_conf): Likewise.
26897 (__get_phys_pages): Likewise.
26898 (__get_avphys_pages): Likewise.
26900 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26903 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
26905 (__netlink_close): Likewise.
26906 (__netlink_free_handle): Likewise.
26907 (__netlink_request): Likewise.
26909 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26912 * include/rpc/rpc.h (__rpc_thread_variables): Add
26914 (__rpc_thread_svc_cleanup): Likewise.
26915 (__rpc_thread_clnt_cleanup): Likewise.
26916 (__rpc_thread_key_cleanup): Likewise.
26918 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26921 * include/sys/uio.h (__readv): Add libc_hidden_proto.
26922 (__writev): Likewise.
26923 * misc/readv.c (__readv): Add libc_hidden_def.
26924 * misc/writev.c (__writev): Likewise.
26925 * sysdeps/posix/readv.c (__readv): Likewise.
26926 * sysdeps/posix/writev.c (__writev): Likewise.
26927 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
26928 (__readv): Likewise.
26929 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
26930 (__writev): Likewise.
26932 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26935 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
26936 (__regcomp): Add libc_hidden_proto.
26937 (__regexec): Likewise.
26938 (__regfree): Likewise.
26939 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
26940 (__regfree): Likewise.
26941 * posix/regexec.c (__regexec): Likewise.
26943 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26946 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
26947 (__getutent): Likewise.
26948 (__getutid): Likewise.
26949 (__getutline): Likewise.
26950 (__pututline): Likewise.
26951 (__getutent_r): Likewise.
26952 (__getutid_r): Likewise.
26953 (__getutline_r): Likewise.
26954 (__utmpname): Add attribute_hidden.
26955 (__setutent): Likewise.
26956 (__endutent): Likewise.
26957 * login/getutent.c (__getutent): Add libc_hidden_def.
26958 * login/getutent_r.c (__getutent_r): Likewise.
26959 (__pututline): Likewise.
26960 * login/getutid.c (__getutid): Likewise.
26961 * login/getutid_r.c (__getutid_r): Likewise.
26962 * login/getutline.c (__getutline): Likewise.
26963 * login/getutline_r.c (__getutline_r): Likewise.
26964 * login/updwtmp.c (__updwtmp): Likewise.
26966 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26969 * include/dirent.h (__opendir): Always add attribute_hidden.
26970 (__fdopendir): Likewise.
26971 (__closedir): Likewise.
26972 (__readdir): Likewise.
26973 (__readdir64): Add libc_hidden_proto.
26974 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
26975 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
26976 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
26977 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
26980 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26983 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
26984 * include/netdb.h (__gethostbyaddr_r): Likewise.
26985 (__gethostbyname_r): Likewise.
26986 (__gethostbyname2_r): Likewise.
26987 (__getnetbyaddr_r): Likewise.
26988 (__getnetbyname_r): Likewise.
26989 (__getservbyname_r): Likewise.
26990 (__getservbyport_r): Likewise.
26991 (__getprotobyname_r): Likewise.
26992 (__getprotobynumber_r): Likewise.
26993 (__getnetgrent_r): Likewise.
26994 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
26995 (__getrpcbynumber_r): Likewise.
26996 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
26998 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27001 * include/stdio.h (__fcloseall): Add attribute_hidden.
27002 (__getline): Likewise.
27003 (__path_search): Likewise.
27004 (__gen_tempname): Likewise.
27005 (__libc_message): Likewise.
27006 (__flockfile): Likewise.
27007 (__funlockfile): Likewise.
27008 (__fxprintf): Likewise.
27009 (__fxprintf_nocancel): Likewise.
27011 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27014 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
27015 (__sgetsgent_r): Likewise.
27017 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27020 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
27021 (__statfs64): Likewise.
27022 (__fstatfs64): Likewise.
27023 * include/sys/statvfs.h (__statvfs64): Likewise.
27024 (__fstatvfs64): Likewise.
27025 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
27026 (__statfs_filesize_max): Likewise.
27027 (__statfs_symlinks): Likewise.
27028 (__statfs_chown_restricted): Likewise.
27030 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27033 * include/time.h (__tzstring): Add attribute_hidden.
27034 (__tzfile_read): Likewise.
27035 (__tzfile_compute): Likewise.
27036 (__tzfile_default): Likewise.
27037 (__tzset_parse_tz): Likewise.
27038 (__offtime): Likewise.
27039 (__asctime_r): Likewise.
27040 (__tzset): Likewise.
27041 (__tz_convert): Likewise.
27042 (__getdate_r): Likewise.
27043 (__getclktck): Likewise.
27045 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27048 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
27049 (__nscd_unmap): Likewise.
27050 (__nscd_cache_search): Likewise.
27051 (__nscd_get_nl_timestamp): Likewise.
27052 (__nscd_getpwnam_r): Likewise.
27053 (__nscd_getpwuid_r): Likewise.
27054 (__nscd_getgrnam_r): Likewise.
27055 (__nscd_getgrgid_r): Likewise.
27056 (__nscd_gethostbyname_r): Likewise.
27057 (__nscd_gethostbyname2_r): Likewise.
27058 (__nscd_gethostbyaddr_r): Likewise.
27059 (__nscd_getai): Likewise.
27060 (__nscd_getgrouplist): Likewise.
27061 (__nscd_getservbyname_r): Likewise.
27062 (__nscd_getservbyport_r): Likewise.
27063 (__nscd_innetgr): Likewise.
27064 (__nscd_setnetgrent): Likewise.
27066 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27069 * include/gmp.h: Declare internal functions only if _ISOMAC is
27071 (__mpn_extract_double): Add attribute_hidden.
27072 (__mpn_extract_long_double): Likewise.
27073 (__mpn_extract_float128): Likewise.
27074 (__mpn_construct_float): Likewise.
27075 (__mpn_construct_double): Likewise.
27076 (__mpn_construct_long_double): Likewise.
27077 (__mpn_construct_float128): Likewise.
27078 (mpn_add_1): Likewise.
27079 (mpn_addmul_1): Likewise.
27080 (mpn_add_n): Likewise.
27081 (mpn_cmp): Likewise.
27082 (mpn_divrem): Likewise.
27083 (mpn_lshift): Likewise.
27084 (mpn_mul): Likewise.
27085 (mpn_mul_1): Likewise.
27086 (mpn_rshift): Likewise.
27087 (mpn_sub_1): Likewise.
27088 (mpn_submul_1): Likewise.
27089 (mpn_sub_n): Likewise.
27091 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27094 * include/wchar.h (__wcsnlen): Add attribute_hidden.
27095 (__wcscat): Likewise.
27096 (__btowc): Likewise.
27097 (__wcrtomb): Likewise.
27098 (__mbsrtowcs): Likewise.
27099 (__wcsrtombs): Likewise.
27100 (__mbsnrtowcs): Likewise.
27101 (__wcsnrtombs): Likewise.
27102 (__wcsncpy): Likewise.
27103 (__wcpncpy): Likewise.
27104 (__wmemcpy): Likewise.
27105 (__wmempcpy): Likewise.
27106 (__wmemmove): Likewise.
27107 (__wcschrnul): Likewise.
27108 (__vfwscanf): Likewise.
27109 (__vswprintf): Likewise.
27110 (__fwprintf): Likewise.
27111 (__vfwprintf): Likewise.
27113 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27116 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
27117 (__getgrgid_r): Likewise.
27118 (__getgrnam_r): Likewise.
27119 * include/pwd.h (__getpwuid_r): Likewise.
27120 (__getpwnam_r): Likewise.
27121 (__fgetpwent_r): Likewise.
27122 * include/shadow.h (__getspnam_r): Likewise.
27123 (__sgetspent_r): Likewise.
27124 (__fgetspent_r): Likewise.
27126 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27129 * include/unistd.h (__access): Add attribute_hidden.
27130 (__lseek64): Likewise.
27131 (__libc_pread64): Likewise.
27132 (__pipe2): Likewise.
27133 (__sleep): Likewise.
27134 (__chdir): Likewise.
27135 (__fchdir): Likewise.
27136 (__getcwd): Likewise.
27137 (__rmdir): Likewise.
27138 (__execvpe): Likewise.
27139 (__execve): Likewise.
27140 (__setsid): Likewise.
27141 (__getuid): Likewise.
27142 (__geteuid): Likewise.
27143 (__getgid): Likewise.
27144 (__getegid): Likewise.
27145 (__getgroups): Likewise.
27146 (__group_member): Likewise.
27147 (__ttyname_r): Likewise.
27148 (__isatty): Likewise.
27149 (__readlink): Likewise.
27150 (__unlink): Likewise.
27151 (__gethostname): Likewise.
27152 (__profil): Likewise.
27153 (__getdtablesize): Likewise.
27155 (__ftruncate): Likewise.
27156 (__ftruncate64): Likewise.
27158 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27161 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
27162 * argp/argp-fs-xinl.c: Likewise.
27163 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
27164 * argp/argp-parse.c: Include <argp.h>.
27165 * argp/argp-xinl.c: Likewise.
27166 * include/argp-fmtstream.h: New file.
27167 * include/argp.h (__argp_error): Add attribute_hidden.
27168 (__argp_failure): Likewise.
27169 (__argp_input): Likewise.
27170 (__argp_state_help): Likewise.
27172 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27175 * include/wchar.h (____wcstof_l_internal): New prototype.
27176 (____wcstod_l_internal): Likewise.
27177 (____wcstold_l_internal): Likewise.
27178 (____wcstol_l_internal): Likewise.
27179 (____wcstoul_l_internal): Likewise.
27180 (____wcstoll_l_internal): Likewise.
27181 (____wcstoull_l_internal): Likewise.
27182 (____wcstof128_l_internal): Likewise.
27183 * sysdeps/ieee754/float128/wcstof128.c
27184 (____wcstof128_l_internal): Removed.
27185 * sysdeps/ieee754/float128/wcstof128_l.c
27186 (____wcstof128_l_internal): Likewise.
27187 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
27188 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
27189 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
27190 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
27191 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
27192 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
27193 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
27194 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
27195 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
27196 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
27198 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27201 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
27202 instead of <sys/statvfs.h>.
27203 (__internal_statvfs): Removed.
27204 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
27205 instead of <sys/statvfs.h>.
27206 (__internal_statvfs64): Removed.
27207 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
27208 "internal_statvfs.h" instead of <sys/statvfs.h>.
27209 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
27210 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
27211 instead of <sys/statvfs.h>.
27212 (__internal_statvfs): Removed.
27213 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
27214 instead of <sys/statvfs.h>.
27215 (__internal_statvfs64): Removed.
27217 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27220 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
27221 (__gconv_close): Likewise.
27222 (__gconv): Likewise.
27223 (__gconv_find_transform): Likewise.
27224 (__gconv_lookup_cache): Likewise.
27225 (__gconv_compare_alias_cache): Likewise.
27226 (__gconv_load_cache): Likewise.
27227 (__gconv_get_path): Likewise.
27228 (__gconv_close_transform): Likewise.
27229 (__gconv_release_cache): Likewise.
27230 (__gconv_find_shlib): Likewise.
27231 (__gconv_release_shlib): Likewise.
27232 (__gconv_get_builtin_trans): Likewise.
27233 (__gconv_compare_alias): Likewise.
27234 * include/dlfcn.h (_dlerror_run): Likewise.
27235 * include/stdio.h (__fortify_fail_abort): Likewise.
27236 * include/time.h (__tz_compute): Likewise.
27237 (__strptime_internal): Likewise.
27238 * intl/gettextP.h (_nl_find_domain): Likewise.
27239 (_nl_load_domain): Likewise.
27240 (_nl_find_msg): Likewise.
27241 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
27242 (EXTRACT_PLURAL_EXPRESSION): Likewise.
27243 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
27244 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
27245 (__gai_find_request): Likewise.
27246 (__gai_remove_request): Likewise.
27247 (__gai_notify): Likewise.
27248 (__gai_notify_only): Likewise.
27249 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
27250 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
27251 (_dl_non_dynamic_init): Likewise.
27252 (_dl_aux_init): Likewise.
27253 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
27254 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
27256 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
27257 (__wcsmbs_clone_conv): Likewise.
27258 (__wcsmbs_named_conv): Likewise.
27260 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27263 * include/stdlib.h (__random): Add attribute_hidden.
27264 (__random_r): Likewise.
27265 (__srandom_r): Likewise.
27266 (__initstate_r): Likewise.
27267 (__setstate_r): Likewise.
27268 (__erand48_r): Likewise.
27269 (__nrand48_r): Likewise.
27270 (__jrand48_r): Likewise.
27271 (__srand48_r): Likewise.
27272 (__seed48_r): Likewise.
27273 (__lcong48_r): Likewise.
27274 (__drand48_iterate): Likewise.
27275 (__setenv): Likewise.
27276 (__unsetenv): Likewise.
27277 (__clearenv): Likewise.
27278 (__ptsname_r): Likewise.
27279 (__posix_openpt): Likewise.
27280 (__add_to_environ): Likewise.
27281 (__realpath): Add libc_hidden_proto.
27282 (__ecvt_r): Likewise.
27283 (__fcvt_r): Likewise.
27284 (__qecvt_r): Likewise.
27285 (__qfcvt_r): Likewise.
27286 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
27287 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
27289 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27292 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
27293 * include/time.h (__mktime_internal): Likewise.
27294 * libio/iolibio.h (__fopen_internal): Likewise.
27296 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
27298 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
27300 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
27301 Correct offset used to restore PIC register.
27303 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
27306 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
27307 code to load address of __getcontext_ret when generating PIC code.
27309 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
27311 * elf/Makefile (tests-static-internal): Add
27312 tst-tls1-static-non-pie.
27313 (LDFLAGS-tst-tls1-static-non-pie): New.
27314 * elf/tst-tls1-static-non-pie.c: New file.
27316 2017-09-29 Joseph Myers <joseph@codesourcery.com>
27318 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
27319 (asinh): Define using libm_alias_double.
27320 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
27321 (cbrt): Define using libm_alias_double.
27322 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
27323 <libm-alias-double.h>.
27324 (copysign): Define using libm_alias_double.
27325 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
27326 (erf): Define using libm_alias_double.
27328 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
27329 (expm1): Define using libm_alias_double.
27330 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
27331 (fabs): Define using libm_alias_double.
27332 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
27334 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
27335 <libm-alias-double.h>.
27336 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
27338 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
27339 <libm-alias-double.h>.
27340 (getpayload): Define using libm_alias_double.
27341 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
27342 <libm-alias-double.h>.
27343 (llrint): Define using libm_alias_double.
27344 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
27345 (lrint): Define using libm_alias_double.
27346 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
27347 <libm-alias-double.h>.
27348 (nextup): Define using libm_alias_double.
27349 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
27350 <libm-alias-double.h>.
27351 (roundeven): Define using libm_alias_double.
27352 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
27354 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
27355 <libm-alias-double.h>.
27356 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
27357 using libm_alias_double.
27358 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
27359 (cos): Define using libm_alias_double.
27361 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
27362 <libm-alias-double.h>.
27363 (sincos): Define using libm_alias_double.
27364 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
27365 (tanh): Define using libm_alias_double.
27366 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
27367 <libm-alias-double.h>.
27368 (totalorder): Define using libm_alias_double.
27369 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
27370 <libm-alias-double.h>.
27371 (totalordermag): Define using libm_alias_double.
27372 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
27374 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
27376 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
27377 <libm-alias-double.h>.
27378 (getpayload): Define using libm_alias_double.
27379 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
27380 <libm-alias-double.h>.
27381 (roundeven): Define using libm_alias_double.
27382 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
27383 <libm-alias-double.h>.
27384 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
27385 <libm-alias-double.h>.
27386 (totalorder): Define using libm_alias_double.
27387 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
27388 <libm-alias-double.h>.
27389 (totalordermag): Define using libm_alias_double.
27390 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
27391 libc compat symbol here.
27392 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
27393 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
27394 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
27395 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
27396 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
27397 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
27398 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
27399 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
27400 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
27401 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
27403 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27405 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
27406 _dl_relocate_static_pie instead of _dl_start to compute load
27407 address in static PIE. Return 0 if _DYNAMIC is undefined for
27410 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27412 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
27413 _DYNAMIC is undefined for static executable.
27415 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27417 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
27419 2017-09-29 Joseph Myers <joseph@codesourcery.com>
27421 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27423 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
27425 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
27426 (__ieee754_lgamma_r): Use fabs rather than __fabs.
27427 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
27428 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
27429 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
27430 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
27431 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
27432 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
27433 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
27434 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
27435 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
27436 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
27437 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
27438 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
27439 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
27440 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
27441 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
27443 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
27445 * math/bits/cmathcalls.h (cimag): Remove inline.
27446 (creal): Remove inline.
27447 (conj): Remove inline.
27449 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27451 * math/Makefile (type-float-routines): Add e_powf_log2_data.
27452 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
27453 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
27454 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
27455 (issignalingf_inline): Likewise.
27456 (POWF_LOG2_TABLE_BITS): Likewise.
27457 (POWF_LOG2_POLY_ORDER): Likewise.
27458 (POWF_SCALE_BITS): Likewise.
27459 (POWF_SCALE): Likewise.
27460 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
27461 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
27462 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
27464 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27466 * math/Makefile (type-float-routines): Add e_log2f_data.
27467 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
27468 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
27469 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
27470 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
27471 * sysdeps/i386/fpu/e_log2f_data.c: New file.
27472 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
27473 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
27475 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27477 * math/Makefile (type-float-routines): Add e_logf_data.
27478 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
27479 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
27480 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
27481 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
27482 * sysdeps/i386/fpu/e_logf_data.c: New file.
27483 * sysdeps/ia64/fpu/e_logf_data.c: New file.
27484 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
27486 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
27488 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
27489 undefined _DYNAMIC in PIE libc.a.
27490 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
27493 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
27495 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
27496 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
27497 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
27498 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
27499 (__signbit): Remove.
27500 (__signbitl): Remove.
27501 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
27502 (__signbit): Remove.
27503 (__signbitl): Remove.
27504 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
27505 (__signbit): Remove.
27506 (__signbitl): Remove.
27507 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
27508 (__signbit): Remove.
27509 (__signbitl): Remove.
27510 * sysdeps/tile/bits/mathinline.h: Delete file.
27511 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
27512 (__signbit): Remove.
27513 (__signbitl): Remove.
27515 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
27517 * math/math.h: Improve handling of C99 isgreater macros.
27518 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
27519 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
27520 * sysdeps/powerpc/bits/mathinline.h: Likewise.
27521 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27522 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
27524 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
27526 * sysdeps/aarch64/libm-test-ulps: Update.
27528 2017-09-28 Joseph Myers <joseph@codesourcery.com>
27531 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27532 math_opt_barrier on argument when doing arithmetic on it.
27533 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27534 Likewise. Use math_force_eval not math_opt_barrier after
27536 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
27537 math_opt_barrier on argument when doing arithmetic on it.
27538 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27541 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
27543 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
27545 (__freeifaddrs): Likewise.
27547 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
27549 * include/dirent.h (__dirfd): New declaration.
27550 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
27552 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
27553 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
27554 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
27555 * include/unistd.h (__revoke): New declaration.
27556 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
27558 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
27559 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
27561 * include/dirent.h (__seekdir): New declaration.
27562 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
27563 redefine as weak alias.
27564 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
27566 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
27567 and use libc_hidden_def on them.
27568 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
27570 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
27571 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
27572 instead of getifaddrs and freeifaddrs.
27574 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27577 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
27578 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
27579 (__dso_handle): Remove declaration.
27580 * dlfcn/tstatexit.c (__dso_handle): Removed.
27581 (main): Don't check __dso_handle.
27582 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
27583 (main): Don't check __dso_handle.
27584 * include/dso_handle.h: New file.
27585 * malloc/mtrace.c: Include <dso_handle.h>.
27586 (mtrace): Pass __dso_handle directly.
27587 * nptl/pthread_atfork.c: Include <dso_handle.h>.
27588 (__dso_handle): Remove declaration.
27589 (__pthread_atfork): Pass __dso_handle directly.
27590 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
27591 (__dso_handle): Removed.
27592 * posix/wordexp-test.c: Include <dso_handle.h>.
27593 (__dso_handle): Remove declaration.
27594 (__app_register_atfork): Pass __dso_handle directly.
27595 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
27596 (__dso_handle): Remove declaration.
27597 (at_quick_exit): Pass __dso_handle directly.
27598 * stdlib/atexit.c: Include <dso_handle.h>.
27599 (__dso_handle): Remove declaration.
27600 (atexit): Pass __dso_handle directly.
27601 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
27602 (__dso_handle): Removed.
27604 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27606 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
27609 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
27611 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
27612 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
27613 values to correct default value for given type.
27615 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27618 * elf/Makefile (tests): Add tst-debug1.
27619 ($(objpfx)tst-debug1): New.
27620 ($(objpfx)tst-debug1.out): Likewise.
27621 ($(objpfx)tst-debug1mod1.so): Likewise.
27622 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
27623 with p_filesz == 0.
27624 * elf/tst-debug1.c: New file.
27626 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27628 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
27629 Define using __ifunc.
27631 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27633 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
27636 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27639 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
27641 2017-09-26 Florian Weimer <fweimer@redhat.com>
27643 * resolv/Makefile (tests-internal): Fix typo in comment.
27645 2017-09-26 Florian Weimer <fweimer@redhat.com>
27647 * resolv/nss_dns/dns-host.c: Fix typo in comment.
27649 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27651 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
27652 Use an union instead of a max_align_t array for __space,
27653 so that __space is the same size on all platforms.
27654 * malloc/scratch_buffer_grow_preserve.c
27655 (__libc_scratch_buffer_grow_preserve): Likewise.
27658 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
27660 * posix/Makefile (routines): Add glob-lstat-compat and
27661 glob64-lstat-compat.
27662 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
27663 * posix/glob-lstat-compat.c: New file.
27664 * posix/glob64-lstat-compat.c: Likewise.
27665 * posix/tst-glob_lstat_compat.c: Likewise.
27666 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
27667 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
27668 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
27669 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
27671 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
27672 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
27673 * posix/glob.c (glob_lstat): New function.
27674 (glob): Rename to __glob and add versioned symbol to 2.27.
27675 (glob_in_dir): Use glob_lstat.
27676 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
27677 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
27678 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
27680 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
27681 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
27682 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
27683 gl_lstat on glob call.
27684 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
27685 and glob64 symbols.
27686 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27687 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
27688 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
27689 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
27690 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
27691 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
27692 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
27693 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
27694 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
27695 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27696 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27697 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
27698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
27700 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
27701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
27702 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27703 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27704 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
27705 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27706 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27707 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
27708 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
27709 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
27710 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
27711 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
27713 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
27715 * configure.ac (AS): Require binutils 2.25 or later.
27716 * configure: Regenerated.
27718 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
27721 * stdlib/test-atexit-race-common.c (do_test): Minimize required
27724 2017-09-25 DJ Delorie <dj@redhat.com>
27727 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
27730 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
27732 * sysdeps/ieee754/dbl-64/sincos32.h
27733 [SINCCOS32_H]: Remove define.
27734 [SINCOS32_H]: Define.
27736 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27738 * math/Versions (expf): New libm symbol at GLIBC_2.27.
27740 * math/w_exp2f.c: New file.
27741 * math/w_expf.c: New file.
27742 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
27743 * math/w_expf_compat.c (__expf_compat): Likewise.
27744 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
27745 * sysdeps/ia64/fpu/e_expf.S: Likewise.
27746 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
27747 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27748 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
27749 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
27750 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27751 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27752 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
27753 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
27754 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
27755 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
27756 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27757 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
27758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
27760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
27766 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27767 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27768 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
27769 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27770 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27771 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
27773 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
27775 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
27776 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27777 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27779 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27781 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
27782 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
27783 (roundtoint, converttoint): Likewise.
27784 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
27785 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
27786 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
27787 * sysdeps/ieee754/flt-32/math_config.h: New file.
27788 * sysdeps/ieee754/flt-32/math_errf.c: New file.
27789 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
27790 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
27791 * sysdeps/i386/fpu/math_errf.c: New file.
27792 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
27793 * sysdeps/ia64/fpu/math_errf.c: New file.
27794 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
27795 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
27797 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
27799 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
27800 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
27801 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
27802 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
27803 to make sure that these symbols are defined.
27804 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
27806 (__need_NULL): Do not define.
27807 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
27809 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
27810 CMGROUP_MAX, cmsgcred): Do not define.
27811 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
27813 * bits/socket.h: Likewise.
27814 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
27815 __gettimeofday instead of gettimeofday.
27816 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
27817 instead of settimeofday.
27819 2017-09-22 Joseph Myers <joseph@codesourcery.com>
27821 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
27822 (asinhf): Define using libm_alias_float.
27823 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
27824 (atanf): Define using libm_alias_float.
27825 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
27826 (cbrtf): Define using libm_alias_float.
27827 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
27828 (ceilf): Define using libm_alias_float.
27829 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
27830 <libm-alias-float.h>.
27831 (copysignf): Define using libm_alias_float.
27832 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
27833 (cosf): Define using libm_alias_float.
27834 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
27835 (erff): Define using libm_alias_float.
27837 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
27838 (expm1f): Define using libm_alias_float.
27839 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
27840 (fabsf): Define using libm_alias_float.
27841 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
27842 (floorf): Define using libm_alias_float.
27843 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
27844 (frexpf): Define using libm_alias_float.
27845 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
27847 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
27848 <libm-alias-float.h>.
27849 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
27851 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
27852 <libm-alias-float.h>.
27853 (getpayloadf): Define using libm_alias_float.
27854 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
27855 <libm-alias-float.h>.
27856 (llrintf): Define using libm_alias_float.
27857 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
27858 <libm-alias-float.h>.
27859 (llroundf): Define using libm_alias_float.
27860 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
27861 (logbf): Define using libm_alias_float.
27862 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
27863 (lrintf): Define using libm_alias_float.
27864 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
27865 (lroundf): Define using libm_alias_float.
27866 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
27867 (modff): Define using libm_alias_float.
27868 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
27869 <libm-alias-float.h>.
27870 (nearbyintf): Define using libm_alias_float.
27871 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
27872 <libm-alias-float.h>.
27873 (nextafterf): Define using libm_alias_float.
27874 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
27875 <libm-alias-float.h>.
27876 (nextupf): Define using libm_alias_float.
27877 * sysdeps/ieee754/flt-32/s_remquof.c: Include
27878 <libm-alias-float.h>.
27879 (remquof): Define using libm_alias_float.
27880 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
27881 (rintf): Define using libm_alias_float.
27882 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
27883 <libm-alias-float.h>.
27884 (roundevenf): Define using libm_alias_float.
27885 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
27886 (roundf): Define using libm_alias_float.
27887 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
27888 using libm_alias_float.
27889 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
27890 <libm-alias-float.h>.
27891 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
27892 Define using libm_alias_float.
27893 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
27894 <libm-alias-float.h>.
27895 (sincosf): Define using libm_alias_float.
27896 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
27897 (sinf): Define using libm_alias_float.
27898 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
27899 (tanf): Define using libm_alias_float.
27900 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
27901 (tanhf): Define using libm_alias_float.
27902 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
27903 <libm-alias-float.h>.
27904 (totalorderf): Define using libm_alias_float.
27905 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
27906 <libm-alias-float.h>.
27907 (totalordermagf): Define using libm_alias_float.
27908 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
27909 (truncf): Define using libm_alias_float.
27910 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
27912 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
27915 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27918 math/math.h: Let fpclassify use the builtin in C++ mode, even
27919 when optimazing for size.
27921 2017-09-22 Joseph Myers <joseph@codesourcery.com>
27923 * csu/Makefile (generated): Do not add version-info.h.
27924 (before-compile): Likewise.
27925 (all-Banner-files): Remove variable.
27926 ($(objpfx)version-info.h): Remove rule.
27927 * csu/version.c (banner): Do not include "version-info.h".
27928 * libidn/Banner: Remove.
27929 * manual/contrib.texi (Simon Josefsson): New entry.
27931 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27933 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27934 Remove conditionals on LDBL_MANT_DIG.
27935 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
27936 (__ieee754_lgammal_r): Likewise.
27938 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27940 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
27942 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
27943 _Float128 and L(). Replace _Float128 with long double and L(x)
27944 with xL, throughout the file.
27945 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
27946 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
27947 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
27948 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
27950 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27952 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
27953 sysdeps/ieee754/ldbl-128ibm.
27954 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
27955 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
27956 of including it. Keep _Float128 and L() intact. These will be
27957 reviewed by a separate patch.
27958 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
27959 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
27960 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
27961 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
27963 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
27966 (__finitef128): Define to __redirect___finitef128.
27967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
27968 (__isinff128): Define to __redirect___isinff128.
27969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
27970 (__isnanf128): Define to __redirect___isnanf128.
27972 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27974 * sysdeps/powerpc/powerpc64le/Makefile
27975 (CFLAGS-tst-strtod-nan-locale.c): New variable.
27976 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
27978 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
27979 Carlos O'Donell <carlos@redhat.com>
27982 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
27983 * stdlib/test-dlclose-exit-race.c: New file.
27984 * stdlib/test-dlclose-exit-race-helper.c: New file.
27985 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
27987 2017-09-21 Joseph Myers <joseph@codesourcery.com>
27989 * crypt/Banner: Remove file.
27990 * nptl/Banner: Likewise.
27991 * resolv/Banner: Likewise.
27992 * soft-fp/Banner: Likewise.
27993 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
27994 ($(objpfx)version.d): Remove dependency on banner.h.
27995 ($(objpfx)version.os): Likewise.
27996 * nptl/version.c (banner): Do not include banner.h.
27997 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
27998 Jelinek and BIND code.
28000 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
28001 Carlos O'Donell <carlos@redhat.com>
28003 * support/xdlfcn.h: New file.
28004 * support/xdlfcn.c: New file.
28005 * support/Makefile (libsupport-routines): Add xdlfcn.
28006 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
28008 2017-09-20 Joseph Myers <joseph@codesourcery.com>
28011 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28012 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
28013 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
28014 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
28015 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
28016 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
28017 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
28018 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
28020 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
28021 Ricky Zhou <rickyz@google.com>
28022 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
28025 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
28027 (__new_exitfn): Fail registration when we finished at_exit processing.
28028 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
28029 * stdlib/on_exit.c (__on_exit): Likewise.
28030 * stdlib/exit.c (__exit_funcs_done): New variable.
28031 (__run_exit_handlers): Use __exit_funcs_lock.
28032 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
28034 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
28035 (test-cxa_atexit-race, test-on_exit-race): New tests.
28036 * stdlib/test-atexit-race-common.c: New file.
28037 * stdlib/test-atexit-race.c: New file.
28038 * stdlib/test-at_quick_exit-race.c: New file.
28039 * stdlib/test-cxa_atexit-race.c: New file.
28040 * stdlib/test-on_exit-race.c: New file.
28042 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
28044 * benchtests/Makefile: Add exp2f and log2f benchmarks.
28045 * benchtests/exp2f-inputs: Copy of expf-inputs.
28046 * benchtests/log2f-inputs: Copy of logf-inputs.
28048 2017-09-19 Joseph Myers <joseph@codesourcery.com>
28050 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
28051 Explicitly take address of first element of array arguments in
28052 call to INLINE_SYSCALL.
28054 2017-09-19 Andreas Schwab <schwab@suse.de>
28057 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
28059 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
28061 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
28062 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
28063 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28064 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
28065 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28066 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
28067 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28068 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
28069 * posix/Makefile (tests): Add tst-fexecve.
28070 * posix/tst-fexecve.c: New file.
28072 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28074 * benchtests/Makefile: Add logf benchmark.
28075 * benchtests/logf-inputs: Add reduced trace from wrf_r.
28077 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28079 * benchtests/Makefile: Add expf benchmark.
28080 * benchtests/expf-inputs: Add reduced trace from wrf_r.
28082 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28084 * csu/Makefile: Add -funwind-tables to libc-start.c.
28085 * debug/Makefile: Add -funwind-tables to backtrace.c.
28086 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
28087 * sysdeps/arm/Makefile: Likewise.
28088 * sysdeps/i386/Makefile: Likewise.
28089 * sysdeps/m68k/Makefile: Likewise.
28090 * sysdeps/mips/Makefile: Likewise.
28091 * sysdeps/nios2/Makefile: Likewise.
28092 * sysdeps/sh/Makefile: Likewise.
28093 * sysdeps/sparc/Makefile: Likewise.
28095 2017-09-19 Joseph Myers <joseph@codesourcery.com>
28097 * benchtests/Makefile (bench-math): Add trunc and truncf.
28098 (CFLAGS-bench-trunc.c): New variable.
28099 (CFLAGS-bench-truncf.c): Likewise.
28100 * benchtests/trunc-inputs: New file.
28101 * benchtests/truncf-inputs: Likewise.
28103 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28105 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
28107 2017-09-18 Joseph Myers <joseph@codesourcery.com>
28109 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
28110 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
28112 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
28113 (exp10l): Define as weak alias.
28114 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
28115 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
28117 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
28118 (remainderl): Define as weak alias.
28120 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
28121 (fmal): Define using libm_alias_ldouble.
28122 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
28123 (acoshl): Define using libm_alias_ldouble.
28124 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
28125 (acosl): Define using libm_alias_ldouble.
28126 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
28127 (asinl): Define using libm_alias_ldouble.
28128 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
28129 (atan2l): Define using libm_alias_ldouble.
28130 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
28131 (atanhl): Define using libm_alias_ldouble.
28132 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
28133 (coshl): Define using libm_alias_ldouble.
28134 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
28135 (exp10l): Define using libm_alias_ldouble.
28136 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
28137 (exp2l): Define using libm_alias_ldouble.
28138 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
28139 (expl): Define using libm_alias_ldouble.
28140 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
28141 (fmodl): Define using libm_alias_ldouble.
28142 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
28143 (hypotl): Define using libm_alias_ldouble.
28144 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
28145 (j0l): Define using libm_alias_ldouble.
28147 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
28148 (j1l): Define using libm_alias_ldouble.
28150 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
28151 (jnl): Define using libm_alias_ldouble.
28153 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
28154 (log10l): Define using libm_alias_ldouble.
28155 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
28156 (log2l): Define using libm_alias_ldouble.
28157 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
28158 (logl): Define using libm_alias_ldouble.
28159 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
28160 (powl): Define using libm_alias_ldouble.
28161 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
28162 (remainderl): Define using libm_alias_ldouble.
28163 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
28164 (sinhl): Define using libm_alias_ldouble.
28165 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
28166 (sqrtl): Define using libm_alias_ldouble.
28167 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
28168 (tgammal): Define using libm_alias_ldouble.
28169 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
28170 (exp10l): Do not use long_double_symbol here.
28171 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
28172 [LIBM_SVID_COMPAT] (remainderl): Likewise.
28173 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
28174 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
28175 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
28176 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
28177 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
28178 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
28179 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
28180 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
28181 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
28182 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
28183 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
28184 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
28185 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
28186 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
28187 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
28188 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
28189 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
28190 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
28191 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
28192 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
28194 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
28196 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
28197 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
28199 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
28201 * io/read.c (read): Add libc_hidden_weak.
28202 * sysdeps/mach/hurd/read.c (read): Likewise.
28203 * io/write.c (write): Likewise.
28204 * sysdeps/mach/hurd/write.c (write): Likewise.
28205 * io/pread64.c (__pread64): Likewise.
28206 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
28207 * posix/pread64.c (__pread64): Add libc_hidden_def.
28209 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
28211 * benchtests/scripts/compare_strings.py: New option -g.
28212 (draw_graph): Print a message that a graph is being generated.
28213 (process_results): Generate graph only if -g is passed.
28214 (main): Process option -g.
28216 * benchtests/scripts/compare_strings.py (process_results):
28217 Better spacing for output.
28219 * benchtests/scripts/compare_strings.py: Use argparse.
28220 * benchtests/README: Document existence of compare_strings.py.
28222 2017-09-15 Joseph Myers <joseph@codesourcery.com>
28224 * math/s_fma.c: Include <libm-alias-double.h>.
28225 (fma): Define using libm_alias_double.
28226 * math/s_nextafter.c: Include <libm-alias-double.h>.
28227 (nextafter): Define using libm_alias_double.
28228 * math/w_acos_compat.c: Include <libm-alias-double.h>.
28229 (acos): Define using libm_alias_double.
28230 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
28231 (aocsh): Define using libm_alias_double.
28232 * math/w_asin_compat.c: Include <libm-alias-double.h>.
28233 (asin): Define using libm_alias_double.
28234 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
28235 (atan2): Define using libm_alias_double.
28236 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
28237 (atanh): Define using libm_alias_double.
28238 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
28239 (cosh): Define using libm_alias_double.
28240 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
28241 (exp10): Define using libm_alias_double.
28242 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
28243 (exp2): Define using libm_alias_double.
28244 * math/w_exp_compat.c: Include <libm-alias-double.h>.
28245 (exp): Define using libm_alias_double.
28246 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
28247 (fmod): Define using libm_alias_double.
28248 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
28249 (hypot): Define using libm_alias_double.
28250 * math/w_j0_compat.c: Include <libm-alias-double.h>.
28251 (j0): Define using libm_alias_double.
28253 * math/w_j1_compat.c: Include <libm-alias-double.h>.
28254 (j1): Define using libm_alias_double.
28256 * math/w_jn_compat.c: Include <libm-alias-double.h>.
28257 (jn): Define using libm_alias_double.
28259 * math/w_log10_compat.c: Include <libm-alias-double.h>.
28260 (log10): Define using libm_alias_double.
28261 * math/w_log2_compat.c: Include <libm-alias-double.h>.
28262 (log2): Define using libm_alias_double.
28263 * math/w_log_compat.c: Include <libm-alias-double.h>.
28264 (log): Define using libm_alias_double.
28265 * math/w_pow_compat.c: Include <libm-alias-double.h>.
28266 (pow): Define using libm_alias_double.
28267 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
28268 (remainder): Define using libm_alias_double.
28269 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
28270 (sinh): Define using libm_alias_double.
28271 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
28272 (sqrt): Define using libm_alias_double.
28273 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
28274 (tgamma): Define using libm_alias_double.
28275 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
28276 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
28277 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
28278 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
28279 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
28280 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
28281 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
28282 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
28283 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
28284 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
28285 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
28286 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
28287 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
28288 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
28289 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
28290 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
28291 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
28292 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
28293 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
28294 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
28295 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
28296 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
28297 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
28298 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
28299 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
28301 * math/e_acoshl.c: Remove.
28302 * math/e_acosl.c: Likewise.
28303 * math/e_asinl.c: Likewise.
28304 * math/e_atan2l.c: Likewise.
28305 * math/e_atanhl.c: Likewise.
28306 * math/e_coshl.c: Likewise.
28307 * math/e_expl.c: Likewise.
28308 * math/e_fmodl.c: Likewise.
28309 * math/e_gammal_r.c: Likewise.
28310 * math/e_hypotl.c: Likewise.
28311 * math/e_j0l.c: Likewise.
28312 * math/e_j1l.c: Likewise.
28313 * math/e_jnl.c: Likewise.
28314 * math/e_lgammal_r.c: Likewise.
28315 * math/e_log10l.c: Likewise.
28316 * math/e_log2l.c: Likewise.
28317 * math/e_logl.c: Likewise.
28318 * math/e_powl.c: Likewise.
28319 * math/e_rem_pio2l.c: Likewise.
28320 * math/e_sinhl.c: Likewise.
28321 * math/e_sqrtf128.c: Likewise.
28322 * math/e_sqrtl.c: Likewise.
28323 * math/k_cosl.c: Likewise.
28324 * math/k_sinl.c: Likewise.
28325 * math/k_tanl.c: Likewise.
28326 * math/s_asinhl.c: Likewise.
28327 * math/s_atanl.c: Likewise.
28328 * math/s_cbrtl.c: Likewise.
28329 * math/s_erfl.c: Likewise.
28330 * math/s_expm1l.c: Likewise.
28331 * math/s_log1pl.c: Likewise.
28332 * math/s_tanhl.c: Likewise.
28334 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28337 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
28338 [$(subdir) = math] (sysdep_calls): New variable. Has the
28339 previous contents of sysdep_routines, but re-sorted..
28340 [$(subdir) = math] (sysdep_routines): Re-use the contents from
28342 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
28343 defined in sysdep_calls and replace by the respective m_* names.
28344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
28345 (compat_symbol): Undefine to avoid duplicated compat symbols in
28348 2017-09-15 Joseph Myers <joseph@codesourcery.com>
28350 * math/s_fmaf.c: Include <libm-alias-float.h>.
28351 (fmaf): Define using libm_alias_float.
28352 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
28353 (acosf): Define using libm_alias_float.
28354 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
28355 (acoshf): Define using libm_alias_float.
28356 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
28357 (asinf): Define using libm_alias_float.
28358 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
28359 (atan2f): Define using libm_alias_float.
28360 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
28361 (atanhf): Define using libm_alias_float.
28362 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
28363 (coshf): Define using libm_alias_float.
28364 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
28365 (exp10f): Define using libm_alias_float.
28366 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
28367 (fmodf): Define using libm_alias_float.
28368 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
28369 (hypotf): Define using libm_alias_float.
28370 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
28371 (j0f): Define using libm_alias_float.
28373 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
28374 (j1f): Define using libm_alias_float.
28376 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
28377 (jnf): Define using libm_alias_float.
28379 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
28380 (log10f): Define using libm_alias_float.
28381 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
28382 (log2f): Define using libm_alias_float.
28383 * math/w_logf_compat.c: Include <libm-alias-float.h>.
28384 (logf): Define using libm_alias_float.
28385 * math/w_powf_compat.c: Include <libm-alias-float.h>.
28386 (powf): Define using libm_alias_float.
28387 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
28388 (remainderf): Define using libm_alias_float.
28389 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
28390 (sinhf): Define using libm_alias_float.
28391 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
28392 (sqrtf): Define using libm_alias_float.
28393 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
28394 (tgammaf): Define using libm_alias_float.
28396 2017-09-14 Joseph Myers <joseph@codesourcery.com>
28398 * include/math.h (roundeven): Change hidden_proto call to
28400 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
28402 [NO_LONG_DOUBLE] (__j0l): New strong alias.
28403 (y0): Rename to __y0 and define as weak alias.
28404 [NO_LONG_DOUBLE] (__y0l): New strong alias.
28405 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
28407 (y0f): Rename to __y0f and define as weak alias.
28408 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
28410 [NO_LONG_DOUBLE] (__j1l): New strong alias.
28411 (y1): Rename to __y1 and define as weak alias.
28412 [NO_LONG_DOUBLE] (__y1l): New strong alias.
28413 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
28415 (y1f): Rename to __y1f and define as weak alias.
28416 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
28418 [NO_LONG_DOUBLE] (__jnl): New strong alias.
28419 (yn): Rename to __yn and define as weak alias.
28420 [NO_LONG_DOUBLE] (__ynl): New strong alias.
28421 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
28423 (ynf): Rename to __ynf and define as weak alias.
28424 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
28425 (fromfp): Define as weak alias.
28426 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
28427 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
28428 (fromfpx): Define as weak alias.
28429 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
28430 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
28431 __getpayload and define as weak alias.
28432 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
28433 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
28434 __roundeven and define as weak alias.
28435 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
28436 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
28438 (setpayload): Define as weak alias.
28439 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
28440 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
28442 (setpayloadsig): Define as weak alias.
28443 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
28444 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
28445 __totalorder and define as weak alias.
28446 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
28447 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
28448 to __totalordermag and define as weak alias.
28449 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
28450 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
28451 (ufromfp): Define as weak alias.
28452 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
28453 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
28455 (ufromfpx): Define as weak alias.
28456 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
28457 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
28458 Rename to __getpayload and define as weak alias.
28459 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
28460 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
28461 Rename to __roundeven and define as weak alias.
28462 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
28463 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
28464 Rename to __totalorder and define as weak alias.
28465 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
28466 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
28467 (totalordermag): Rename to __totalordermag and define as weak
28469 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
28470 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
28472 (__roundevenl): Likewise.
28473 (__totalorderl): Likewise.
28474 (__totalordermagl): Likewise
28475 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
28477 (fromfpf128): Define as weak alias.
28478 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
28480 (fromfpxf128): Define as weak alias.
28481 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
28483 (setpayloadf128): Define as weak alias.
28484 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
28485 __setpayloadsigf128.
28486 (setpayloadsigf128): Define as weak alias.
28487 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
28489 (ufromfpf128): Define as weak alias.
28490 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
28492 (ufromfpxf128): Define as weak alias.
28493 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
28494 (fromfpf): Define as weak alias.
28495 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
28497 (fromfpxf): Define as weak alias.
28498 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
28499 __getpayloadf and define as weak alias.
28500 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
28501 __roundevenf and define as weak alias.
28502 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
28504 (setpayloadf): Define as weak alias.
28505 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
28507 (setpayloadsigf): Define as weak alias.
28508 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
28509 __totalorderf and define as weak alias.
28510 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
28511 Rename to __totalordermagf and define as weak alias.
28512 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
28514 (ufromfpf): Define as weak alias.
28515 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
28517 (ufromfpxf): Define as weak alias.
28518 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
28520 (fromfpl): Define as weak alias.
28521 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
28523 (fromfpxl): Define as weak alias.
28524 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
28525 to __getpayloadl and define as weak alias.
28526 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
28527 __roundevenl and define as weak alias.
28528 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
28530 (setpayloadl): Define as weak alias.
28531 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
28533 (setpayloadsigl): Define as weak alias.
28534 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
28535 to __totalorderl and define as weak alias.
28536 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
28537 Rename to __totalordermagl and define as weak alias.
28538 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
28540 (ufromfpl): Define as weak alias.
28541 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
28543 (ufromfpxl): Define as weak alias.
28544 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
28546 (fromfpl): Define as weak alias.
28547 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
28549 (fromfpxl): Define as weak alias.
28550 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
28551 Rename to __getpayloadl and define as weak alias.
28552 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
28553 to __roundevenl and define as weak alias. Call __roundeven
28554 instead of roundeven.
28555 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
28557 (setpayloadl): Define as weak alias.
28558 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
28560 (setpayloadsigl): Define as weak alias.
28561 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
28562 Rename to __totalorderl and define as weak alias.
28563 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
28564 Rename to __totalordermagl and define as weak alias.
28565 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
28567 (ufromfpl): Define as weak alias.
28568 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
28570 (ufromfpxl): Define as weak alias.
28571 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
28573 (fromfpl): Define as weak alias.
28574 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
28576 (fromfpxl): Define as weak alias.
28577 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
28578 __getpayloadl and define as weak alias.
28579 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
28580 __roundevenl and define as weak alias.
28581 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
28583 (setpayloadl): Define as weak alias.
28584 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
28586 (setpayloadsigl): Define as weak alias.
28587 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
28588 __totalorderl and define as weak alias.
28589 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
28590 Rename to __totalordermagl and define as weak alias.
28591 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
28593 (ufromfpl): Define as weak alias.
28594 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
28596 (ufromfpxl): Define as weak alias.
28598 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
28600 * benchtests/bench-string.h (realloc_bufs): New function.
28601 (test_init): Call it.
28602 * benchtests/bench-memset-large.c (do_test): Likewise.
28603 * benchtests/bench-memset.c (do_test): Likewise.
28605 * benchtests/bench-memset-large.c: Print output in JSON
28607 * benchtests/bench-memset.c: Likewise.
28609 2017-09-14 Mike FABIAN <mfabian@redhat.com>
28612 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
28613 * iconvdata/Makefile: Add IBM858.
28614 * iconvdata/gconv-modules: Likewise.
28615 * iconvdata/tst-tables.sh: Likewise.
28616 * iconvdata/ibm858.c: New file.
28617 * localedata/charmaps/IBM858: Likewise.
28619 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
28622 * locales/niu_NZ (LC_TIME): copy "niu_NU".
28623 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
28625 2017-09-14 Mike FABIAN <mfabian@redhat.com>
28628 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
28629 and add tel_int_fmt.
28631 2017-09-14 Joseph Myers <joseph@codesourcery.com>
28633 * sysdeps/generic/libm-alias-float128.h: New file.
28634 * sysdeps/generic/math-type-macros-float128.h: Include
28635 <libm-alias-float128.h>.
28636 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28638 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28640 * sysdeps/generic/libm-alias-ldouble.h: New file.
28641 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
28642 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
28643 * sysdeps/generic/math-type-macros-ldouble.h: Include
28644 <libm-alias-ldouble.h>.
28645 [!declare_mgen_alias] (declare_mgen_alias): Define to use
28646 libm_alias_ldouble.
28648 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
28650 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
28651 * math/w_exp_compat.c: ... here.
28652 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
28653 * math/w_expf_compat.c: ... here.
28654 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
28655 * math/w_expl_compat.c: ... here.
28656 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
28657 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
28658 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
28659 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
28661 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28663 * math/w_scalbln_template.c (strong_alias): Do not undefine and
28665 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
28667 (ldexpl): Only define as compat symbol for libc, not libm.
28668 (scalbnl): Define as compat symbol for libc here.
28669 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
28670 define for [IS_IN (libc)].
28671 (__ldexpl_2): Remove alias.
28672 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
28673 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
28674 name in long_double_symbol call.
28675 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
28676 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
28677 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
28678 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
28679 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
28681 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
28682 Define as compat symbol.
28684 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28686 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
28687 * sysdeps/unix/sysv/linux/alpha/Makefile
28688 [$(subdir) = csu] (sysdep_routines): Remove rule.
28690 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28692 * sysdeps/generic/libm-alias-double.h: New file.
28693 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
28694 * sysdeps/generic/math-type-macros-double.h: Include
28695 <libm-alias-double.h>.
28696 [declare_mgen_alias] (declare_mgen_alias): Define to use
28698 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
28699 (M_LIBM_NEED_COMPAT): Remove macro.
28700 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
28701 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
28702 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
28704 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28705 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28706 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28707 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28708 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28709 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28710 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28711 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28712 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28713 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28714 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28715 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28716 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28717 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28718 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28719 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28720 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28721 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28722 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28723 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28724 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28725 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28726 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28727 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28728 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28729 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28730 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28731 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
28732 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
28734 (declare_mgen_alias): New macro.
28735 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
28736 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
28737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
28738 (M_LIBM_NEED_COMPAT): Remove macro.
28739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
28740 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
28741 <first-versions.h>.
28742 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
28743 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
28745 2017-09-12 Joseph Myers <joseph@codesourcery.com>
28747 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
28748 (declare_mgen_alias_2): Remove.
28749 * sysdeps/generic/math-type-macros-double.h
28750 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
28752 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
28754 (ldexp): Define with declare_mgen_alias.
28755 (scalbn): Likewise.
28757 2017-09-12 Steve Ellcey <sellcey@cavium.com>
28759 * grp/initgroups.c: Include config.h.
28760 (DEFAULT_CONFIG): New macro.
28761 (internal_getgrouplist): Use DEFAULT_CONFIG.
28762 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28763 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
28764 (DEFAULT_DEFCONFIG): New macro.
28765 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
28766 * nss/grp-lookup.c: Include config.h
28767 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
28768 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
28769 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
28770 * manual/nss.texi: Update default values section.
28772 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
28775 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
28777 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
28778 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
28779 Handle MathVec_Prefer_No_AVX512.
28780 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
28781 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
28784 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
28786 * posix/sched_primax.c (__sched_get_priority_max): Add
28788 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
28789 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
28790 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
28791 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
28792 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
28793 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
28794 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
28795 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
28798 2017-09-11 Joseph Myers <joseph@codesourcery.com>
28800 * sysdeps/generic/libm-alias-float.h: New file.
28801 * sysdeps/generic/math-type-macros-float.h: Include
28802 <libm-alias-float.h>.
28803 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28805 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
28808 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
28809 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
28810 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
28811 (HWCAP_IMPORTANT): Likewise.
28812 (HWCAP_X86_64): New enum.
28813 (HWCAP_X86_AVX512_1): Updated.
28814 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
28815 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
28816 (modules-names): Add x86_64/tst-x86_64mod-1.
28817 (LDFLAGS-tst-x86_64mod-1.so): New.
28818 ($(objpfx)tst-x86_64-1): Likewise.
28819 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
28820 (tst-x86_64-1-clean): Likewise.
28821 * sysdeps/x86_64/tst-x86_64-1.c: New file.
28822 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
28824 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
28826 * po/sv.po: Update translations.
28827 * po/fr.po: Likewise.
28829 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28831 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
28833 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
28835 * elf/rtld-Rules: Fix $(error) use.
28837 2017-09-09 Mike FABIAN <mfabian@redhat.com>
28840 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
28841 * locale/iso-639.def: Change “Bengali” to “Bangla”.
28842 * localedata/locales/bn_BD: “Bengali” was still used in some
28843 comments. Change it to “Bangla”.
28845 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
28847 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
28849 2017-09-08 Steve Ellcey <sellcey@cavium.com>
28851 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
28852 thunderx2t99p1 to list of cpu names.
28853 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
28854 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
28856 2017-09-08 Steve Ellcey <sellcey@cavium.com>
28858 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
28859 Use strcmp instead of tunable_is_name.
28861 2017-09-08 Joseph Myers <joseph@codesourcery.com>
28863 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28864 (F_GET_RW_HINT): New macro.
28865 [__USE_GNU] (F_SET_RW_HINT): Likewise.
28866 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
28867 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
28868 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
28869 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
28870 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
28871 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
28872 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
28873 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
28875 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28876 (F_ADD_SEALS): New macro.
28877 [__USE_GNU] (F_GET_SEALS): Likewise.
28878 [__USE_GNU] (F_SEAL_SEAL): Likewise.
28879 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
28880 [__USE_GNU] (F_SEAL_GROW): Likewise.
28881 [__USE_GNU] (F_SEAL_WRITE): Likewise.
28883 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28885 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
28886 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
28887 * posix/glob_internal.h (__glob_pattern_type):
28888 * posix/glob.c (glob):
28889 * posix/glob_pattern_p.c (__glob_pattern_p):
28892 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
28893 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28894 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
28895 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
28896 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
28897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
28898 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
28899 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
28900 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
28901 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28902 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
28903 * sysdeps/wordsize-64/glob.c: Likewise.
28904 * sysdeps/wordsize-64/glob64.c: Likewise.
28905 * sysdeps/wordsize-64/globfree.c: Likewise.
28906 * sysdeps/wordsize-64/globfree64.c: Likewise.
28907 * sysdeps/unix/sysv/linux/glob.c: New file.
28908 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
28909 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
28910 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
28911 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
28912 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
28913 adds !GLOB_NO_OLD_VERSION as an extra condition.
28914 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
28915 using relative path instead of absolute one.
28916 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
28917 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28918 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28919 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
28920 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
28921 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
28924 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
28925 (glob): Use the same scratch buffer for both getlogin_r and
28926 getpwnam_r. Don’t require preallocation of the login name. This
28927 simplifies storage allocation, and corrects the handling of
28931 * posix/glob.c (glob): Port recent patches to platforms
28932 lacking getpwnam_r.
28933 (glob): Fix longstanding misuse of errno after getpwnam_r, which
28934 returns an error number rather than setting errno.
28936 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
28937 instead of GCC extension.
28938 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
28939 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
28940 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
28944 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
28945 * posix/bug-glob1.c: Remove file.
28946 * posix/tst-glob_symlinks.c: New file.
28947 * posix/glob.c (__lstat64): New macro.
28948 (is_dir): New function.
28949 (glob, glob_in_dir): Match symlinks even if they are dangling.
28950 (link_stat, link_exists_p): Remove. All uses removed.
28954 * posix/glob.c (struct readdir_result): Remove skip_entry member.
28955 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
28960 * posix/Makefile (routines): Add globfree, globfree64, and
28962 * posix/flexmember.h: New file.
28963 * posix/glob_internal.h: Likewise.
28964 * posix/glob_pattern_p.c: Likewise.
28965 * posix/globfree.c: Likewise.
28966 * posix/globfree64.c: Likewise.
28967 * sysdeps/gnu/globfree64.c: Likewise.
28968 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
28969 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
28970 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
28971 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
28972 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
28973 * sysdeps/wordsize-64/globfree.c: Likewise.
28974 * sysdeps/wordsize-64/globfree64.c: Likewise.
28975 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
28976 [NDEBUG): Remove comments.
28977 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
28978 (dirent_type): New type. Use uint_fast8_t not
28979 uint8_t, as C99 does not require uint8_t.
28980 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
28981 (struct readdir_result): Use dirent_type. Do not define skip_entry
28982 unless it is needed; this saves a byte on platforms lacking d_ino.
28983 (readdir_result_type, readdir_result_skip_entry):
28984 New functions, replacing ...
28985 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
28986 these functions, which were removed. This makes the callers
28987 easier to read. All callers changed.
28988 (D_INO_TO_RESULT): Now empty if there is no d_ino.
28989 (size_add_wrapv, glob_use_alloca): New static functions.
28990 (glob, glob_in_dir): Check for size_t overflow in several places,
28991 and fix some size_t checks that were not quite right.
28992 Remove old code using SHELL since Bash no longer
28994 (glob, prefix_array): Separate MS code better.
28995 (glob_in_dir): Remove old Amiga and VMS code.
28996 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
28998 (glob_in_dir): Do not rely on undefined behavior in accessing
28999 struct members beyond their bounds. Use a flexible array member
29001 (link_stat): Rename from link_exists2_p and return -1/0 instead of
29002 0/1. Caller changed.
29003 (glob): Fix memory leaks.
29004 * posix/glob64 (globfree64): Move to separate file.
29005 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
29006 (globfree64): Remove hidden alias.
29007 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
29009 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
29011 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
29013 Move compat code to separate file.
29014 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
29017 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
29019 * resolv/tst-resolv-qtypes.c (domain): Changed to
29020 "const char domain[] =".
29022 2017-09-07 Joseph Myers <joseph@codesourcery.com>
29024 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
29027 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
29028 (TCP_MD5SIG_EXT): Likewise.
29029 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
29030 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
29031 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
29033 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
29035 2017-09-07 Mike FABIAN <mfabian@redhat.com>
29037 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
29039 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
29042 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
29044 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
29046 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
29047 before assuming that the file is empty. Avoid testing buffer content
29050 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29053 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
29055 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
29057 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
29059 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
29061 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
29063 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
29065 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
29068 2017-09-06 Florian Weimer <fweimer@redhat.com>
29070 * malloc/dynarray_emplace_enlarge.c
29071 (__libc_dynarray_emplace_enlarge): Add missing else.
29073 2017-09-06 Florian Weimer <fweimer@redhat.com>
29076 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
29077 case of failure to obtain the global conf object.
29079 2017-09-06 Florian Weimer <fweimer@redhat.com>
29082 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
29083 dynarray allocation failure.
29085 2017-09-06 Florian Weimer <fweimer@redhat.com>
29087 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
29088 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
29089 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
29091 (response): Call them. Add 'p', '6' flag processing.
29092 (test_reverse): New function.
29093 (test_get2_any): Call it.
29094 (test_no_inet6): Add 'p' test.
29095 (test_inet6): Likewise.
29097 2017-09-06 Florian Weimer <fweimer@redhat.com>
29099 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
29100 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
29102 (test_gai): Adjust query names. Add additional tests.
29103 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
29104 test_get2. Adjust query names. Add additional tests.
29105 (test_no_inet6): New function, extracted from threadfunc.
29106 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
29107 Add additional tests.
29109 2017-09-06 Mike FABIAN <mfabian@redhat.com>
29112 * localedata/unicode-gen/utf8_gen.py: Set the width for
29113 characters with Prepended_Concatenation_Mark property to 1
29114 * localedata/charmaps/UTF-8: Updated using the improved script.
29116 2017-09-06 Mike FABIAN <mfabian@redhat.com>
29119 * localedata/unicode-gen/utf8_gen.py: Improve the script to
29120 use the range notation for all ranges of neighbouring characters
29121 with the same width.
29123 2017-09-05 Joseph Myers <joseph@codesourcery.com>
29125 * sysdeps/generic/math-type-macros-double.h: Include
29126 <math-svid-compat.h>.
29127 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29128 * sysdeps/generic/math-type-macros-float.h: Include
29129 <math-svid-compat.h>.
29130 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29131 * sysdeps/generic/math-type-macros-ldouble.h: Include
29132 <math-svid-compat.h>.
29133 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29134 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
29136 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
29137 * math/w_acosf_compat.c: Likewise.
29138 * math/w_acosh_compat.c: Likewise.
29139 * math/w_acoshf_compat.c: Likewise.
29140 * math/w_acoshl_compat.c: Likewise.
29141 * math/w_acosl_compat.c: Likewise.
29142 * math/w_asin_compat.c: Likewise.
29143 * math/w_asinf_compat.c: Likewise.
29144 * math/w_asinl_compat.c: Likewise.
29145 * math/w_atan2_compat.c: Likewise.
29146 * math/w_atan2f_compat.c: Likewise.
29147 * math/w_atan2l_compat.c: Likewise.
29148 * math/w_atanh_compat.c: Likewise.
29149 * math/w_atanhf_compat.c: Likewise.
29150 * math/w_atanhl_compat.c: Likewise.
29151 * math/w_cosh_compat.c: Likewise.
29152 * math/w_coshf_compat.c: Likewise.
29153 * math/w_coshl_compat.c: Likewise.
29154 * math/w_exp10_compat.c: Likewise.
29155 * math/w_exp10f_compat.c: Likewise.
29156 * math/w_exp10l_compat.c: Likewise.
29157 * math/w_exp2_compat.c: Likewise.
29158 * math/w_exp2f_compat.c: Likewise.
29159 * math/w_exp2l_compat.c: Likewise.
29160 * math/w_fmod_compat.c: Likewise.
29161 * math/w_fmodf_compat.c: Likewise.
29162 * math/w_fmodl_compat.c: Likewise.
29163 * math/w_hypot_compat.c: Likewise.
29164 * math/w_hypotf_compat.c: Likewise.
29165 * math/w_hypotl_compat.c: Likewise.
29166 * math/w_j0_compat.c: Likewise.
29167 * math/w_j0f_compat.c: Likewise.
29168 * math/w_j0l_compat.c: Likewise.
29169 * math/w_j1_compat.c: Likewise.
29170 * math/w_j1f_compat.c: Likewise.
29171 * math/w_j1l_compat.c: Likewise.
29172 * math/w_jn_compat.c: Likewise.
29173 * math/w_jnf_compat.c: Likewise.
29174 * math/w_jnl_compat.c: Likewise.
29175 * math/w_lgamma_r_compat.c: Likewise.
29176 * math/w_lgammaf_r_compat.c: Likewise.
29177 * math/w_lgammal_r_compat.c: Likewise.
29178 * math/w_log10_compat.c: Likewise.
29179 * math/w_log10f_compat.c: Likewise.
29180 * math/w_log10l_compat.c: Likewise.
29181 * math/w_log2_compat.c: Likewise.
29182 * math/w_log2f_compat.c: Likewise.
29183 * math/w_log2l_compat.c: Likewise.
29184 * math/w_log_compat.c: Likewise.
29185 * math/w_logf_compat.c: Likewise.
29186 * math/w_logl_compat.c: Likewise.
29187 * math/w_pow_compat.c: Likewise.
29188 * math/w_powf_compat.c: Likewise.
29189 * math/w_powl_compat.c: Likewise.
29190 * math/w_remainder_compat.c: Likewise.
29191 * math/w_remainderf_compat.c: Likewise.
29192 * math/w_remainderl_compat.c: Likewise.
29193 * math/w_sinh_compat.c: Likewise.
29194 * math/w_sinhf_compat.c: Likewise.
29195 * math/w_sinhl_compat.c: Likewise.
29196 * math/w_sqrt_compat.c: Likewise.
29197 * math/w_sqrtf_compat.c: Likewise.
29198 * math/w_sqrtl_compat.c: Likewise.
29199 * math/w_tgamma_compat.c: Likewise.
29200 * math/w_tgammaf_compat.c: Likewise.
29201 * math/w_tgammal_compat.c: Likewise.
29202 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
29203 [LIBM_SVID_COMPAT].
29204 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
29205 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
29206 [LIBM_SVID_COMPAT].
29207 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
29208 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
29209 [LIBM_SVID_COMPAT].
29210 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
29211 * sysdeps/i386/fpu/w_sqrt.c: New file.
29212 * sysdeps/ia64/fpu/w_acos.c: Likewise.
29213 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
29214 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
29215 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
29216 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
29217 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
29218 * sysdeps/ia64/fpu/w_asin.c: Likewise.
29219 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
29220 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
29221 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
29222 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
29223 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
29224 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
29225 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
29226 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
29227 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
29228 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
29229 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
29230 * sysdeps/ia64/fpu/w_exp.c: Likewise.
29231 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
29232 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
29233 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
29234 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
29235 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
29236 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
29237 * sysdeps/ia64/fpu/w_expf.c: Likewise.
29238 * sysdeps/ia64/fpu/w_expl.c: Likewise.
29239 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
29240 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
29241 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
29242 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
29243 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
29244 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
29245 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
29246 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
29247 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
29248 * sysdeps/ia64/fpu/w_log.c: Likewise.
29249 * sysdeps/ia64/fpu/w_log10.c: Likewise.
29250 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
29251 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
29252 * sysdeps/ia64/fpu/w_log2.c: Likewise.
29253 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
29254 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
29255 * sysdeps/ia64/fpu/w_logf.c: Likewise.
29256 * sysdeps/ia64/fpu/w_logl.c: Likewise.
29257 * sysdeps/ia64/fpu/w_pow.c: Likewise.
29258 * sysdeps/ia64/fpu/w_powf.c: Likewise.
29259 * sysdeps/ia64/fpu/w_powl.c: Likewise.
29260 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
29261 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
29262 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
29263 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
29264 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
29265 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
29266 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
29267 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
29268 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
29269 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
29270 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
29271 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
29272 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
29273 [LIBM_SVID_COMPAT].
29274 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
29275 * sysdeps/ieee754/k_standard.c: Likewise.
29276 * sysdeps/ieee754/k_standardf.c: Likewise.
29277 * sysdeps/ieee754/k_standardl.c: Likewise.
29278 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
29279 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
29280 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
29281 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
29282 long_double_symbol call on [LIBM_SVID_COMPAT].
29283 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
29284 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
29285 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
29286 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
29287 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
29288 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
29289 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
29290 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
29291 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
29292 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
29293 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
29294 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
29295 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
29296 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
29297 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
29298 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
29299 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
29300 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
29301 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
29302 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
29303 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
29304 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
29306 2017-09-05 Steve Ellcey <sellcey@cavium.com>
29308 * include/shlib-compat.h (TEST_COMPAT): New Macro.
29309 * malloc/tst-mallocstate.c: Convert from test-skeleton
29310 to test-driver. Ifdef code using TEST_COMPAT macro.
29311 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
29312 * math/test-matherr.c: Likewise.
29314 2017-09-05 Joseph Myers <joseph@codesourcery.com>
29317 * debug/pcprofiledump.c (main): Use byte-swapped mask when
29318 comparing word with byte-swapped constant.
29320 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
29323 * locale/iso-639.def: add Miskito.
29324 * localedata/SUPPORTED: Add miq_NI/UTF-8.
29325 * localedata/locales/miq_NI: New file.
29327 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
29330 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
29331 (__mkdir): Likewise.
29332 * io/chmod.c (__chmod): Add libc_hidden_def.
29333 * io/mkdir.c (__mkdir): Likewise.
29334 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
29335 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
29336 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
29337 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
29339 2017-09-04 Joseph Myers <joseph@codesourcery.com>
29341 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
29345 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
29346 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
29348 2017-09-04 Florian Weimer <fweimer@redhat.com>
29350 * math/math.h: Issue warning if log is defined.
29352 2017-09-04 Joseph Myers <joseph@codesourcery.com>
29354 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
29355 kernel version to 4.13.
29357 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
29359 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
29360 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
29362 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
29363 just <bits/types.h>.
29364 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
29365 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
29366 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
29367 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
29368 * misc/preadv2.c: Include <errno.h>.
29369 * misc/preadv64v2.c: Include <errno.h>.
29370 * misc/pwritev2.c: Include <errno.h>.
29371 * misc/pwritev64v2.c: Include <errno.h>.
29372 * sysdeps/posix/preadv2.c: Include <errno.h>.
29373 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
29374 Fix <unistd.h> inclusion.
29375 * sysdeps/posix/pwritev2.c: Include <errno.h>.
29376 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
29377 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
29378 __strtoul_internal): New functions.
29379 * sysdeps/posix/pause.c: Include <sigsetops.h>.
29380 * sysdeps/posix/system.c: Include <sigsetops.h>.
29381 * sysdeps/mach/hurd/i386/Makefile
29382 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
29383 [$(subdir) = csu] (sysdep-only-routines): Likewise.
29384 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
29385 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
29386 __feraiseexcept_renamed to feraiseexcept instead of
29387 __GI_feraiseexcept.
29388 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
29389 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
29390 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
29391 RWF_NOWAIT): Define to 0 if undefined already.
29392 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
29394 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
29395 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
29397 2017-09-01 Joseph Myers <joseph@codesourcery.com>
29399 * manual/math.texi (pow10): Do not document.
29400 (pow10f): Likewise.
29401 (pow10l): Likewise.
29402 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
29403 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
29404 * math/libm-test-exp10.inc (pow10_test): Remove.
29405 (do_test): Do not call pow10.
29406 * math/w_exp10_compat.c (pow10): Make into compat symbol.
29407 [NO_LONG_DOUBLE] (pow10l): Likewise.
29408 * math/w_exp10f_compat.c (pow10f): Likewise.
29409 * math/w_exp10l_compat.c (pow10l): Likewise.
29410 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
29411 (pow10): Make into compat symbol.
29412 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
29413 (pow10f): Make into compat symbol.
29414 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
29415 (pow10l): Make into compat symbol.
29416 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
29418 (CFLAGS-nldbl-pow10.c): Remove variable..
29419 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
29420 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
29421 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
29422 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
29423 Undefine and redefine.
29424 (pow10l): Make into compat symbol.
29425 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
29426 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
29427 * sysdeps/arm/libm-test-ulps: Likewise.
29428 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
29429 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
29430 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29431 * sysdeps/microblaze/libm-test-ulps: Likewise.
29432 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
29433 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29434 * sysdeps/nios2/libm-test-ulps: Likewise.
29435 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29436 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
29437 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29438 * sysdeps/sh/libm-test-ulps: Likewise.
29439 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29440 * sysdeps/tile/libm-test-ulps: Likewise.
29441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29443 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
29445 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
29447 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29449 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
29450 "../ChangeLog.old/ChangeLog.8".
29451 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
29452 "../ChangeLog.old/ChangeLog.14".
29454 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29456 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
29459 2017-09-01 Joseph Myers <joseph@codesourcery.com>
29461 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
29463 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29465 * csu/version.c (banner): Remove "by Roland McGrath et al.".
29466 * nptl/Banner: Remove "by Ulrich Drepper et al.".
29468 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
29470 * stdlib/tst-atexit-common.c (do_test): Test support for at least
29471 32 atexit handlers.
29473 2017-09-01 Zack Weinberg <zackw@panix.com>
29475 * math/math.h (HUGE_VAL): Improve commentary.
29477 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29478 Andreas Schwab <schwab@suse.de>
29481 * include/stdio.h (__gen_tempfd): New function.
29482 * stdio-common/Makefile (routines): Add gentempfd.
29483 * stdio-common/gentempfd.c: New file.
29484 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
29485 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
29486 unnamed file first.
29488 2017-09-01 Florian Weimer <fweimer@redhat.com>
29492 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
29493 result to determine success or failure, not the errno value.
29494 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
29495 (tst-nss-files-hosts-erange): Link with -ldl.
29496 * nss/tst-nss-files-hosts-erange.c: New file.
29497 * nss/tst-resolv-basic.c (response): Handle nodata.example.
29498 (do_test): Add NO_DATA tests.
29499 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
29500 (do_test): Call it.
29502 2017-09-01 Florian Weimer <fweimer@redhat.com>
29505 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
29506 coming from gethostbyname2_r.
29508 2017-09-01 Florian Weimer <fweimer@redhat.com>
29510 * support/namespace.h (struct support_chroot_configuration): Add
29512 (struct support_chroot): Add path_hosts, path_host_conf.
29513 * support/support_chroot.c (write_file): New function.
29514 (support_chroot_create): Call it to process /etc/resolv.conf,
29515 /etc/hosts, /etc/host.conf.
29516 (support_chroot_free): Update.
29518 2017-09-01 Florian Weimer <fweimer@redhat.com>
29520 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
29521 status indicates it is set.
29523 2017-09-01 Florian Weimer <fweimer@redhat.com>
29526 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
29527 function lookup failures more reliable.
29529 2017-09-01 Florian Weimer <fweimer@redhat.com>
29531 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
29532 (getcanonname): Likewise.
29533 (gaih_inet): Likewise.
29535 2017-09-01 Florian Weimer <fweimer@redhat.com>
29537 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
29538 (getcanonname): Likewise.
29539 (gaih_inet): Likewise.
29541 2017-08-31 Steve Ellcey <sellcey@cavium.com>
29542 Richard Henderson <rth@twiddle.net>
29544 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
29545 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
29546 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
29547 (IREG_SIZE, OREG_SIZE): New macros.
29548 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
29549 (IREG_SIZE, OREG_SIZE): New macros.
29550 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
29551 (IREG_SIZE): New macro.
29552 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
29553 (IREG_SIZE): New macro.
29554 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
29556 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
29557 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
29558 (__CONCATX): Handle exceptions correctly on large values that may
29560 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
29561 Initialize if not already set.
29562 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
29564 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29566 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
29567 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
29569 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
29571 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
29573 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
29575 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
29577 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
29579 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
29581 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
29582 (NO_CANCELLATION): Likewise.
29583 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
29585 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
29587 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
29589 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
29590 (NO_CANCELLATION): Likewise.
29591 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
29592 (NO_CANCELLATION): Likewise.
29593 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
29595 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
29597 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
29599 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
29601 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
29603 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
29604 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
29606 2017-08-31 Steve Ellcey <sellcey@cavium.com>
29608 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
29611 2017-08-31 Florian Weimer <fweimer@redhat.com>
29613 * include/libc-symbols.h (internal_function): Remove.
29615 2017-08-31 Florian Weimer <fweimer@redhat.com>
29617 * stdlib/fmtmsg.c (internal_addseverity): Remove
29620 2017-08-31 Florian Weimer <fweimer@redhat.com>
29622 * stdio-common/printf_fp.c (group_number): Remove
29624 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
29626 2017-08-31 Florian Weimer <fweimer@redhat.com>
29628 * posix/fnmatch.c (internal_function): Remove definition.
29629 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
29630 * posix/regcomp.c (peek_token, init_word_char)
29631 (duplicate_node_closure, fetch_token, peek_token)
29632 (peek_token_bracket, build_range_exp, build_collating_symbol):
29634 * posix/regex_internal.c (re_string_construct_common)
29635 (create_ci_newstate, create_cd_newstate, re_string_allocate)
29636 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
29637 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
29638 (re_string_translate_buffer, re_string_reconstruct)
29639 (re_string_peek_byte_case, re_string_fetch_byte_case)
29640 (re_string_destruct, re_string_context_at, re_node_set_alloc)
29641 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
29642 (re_node_set_add_intersect, re_node_set_init_union)
29643 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
29644 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
29645 (re_dfa_add_node, calc_state_hash, re_acquire_state)
29646 (re_acquire_state_context): Likewise.
29647 * posix/regex_internal.h (internal_function): Remove definition.
29648 (re_string_realloc_buffers, build_wcs_buffer)
29649 (build_wcs_upper_buffer, build_upper_buffer)
29650 (re_string_translate_buffer, re_string_context_at)
29651 (re_string_char_size_at, re_string_wchar_at)
29652 (re_string_elem_size_at): Likewise.
29653 * posix/regexec.c (match_ctx_init, match_ctx_clean)
29654 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
29655 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
29656 (re_search_internal, re_search_2_stub, re_search_stub)
29657 (re_copy_regs, prune_impossible_nodes, check_matching)
29658 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
29659 (free_fail_stack_return, sift_states_iter_mb)
29660 (sift_states_backward, build_sifted_states)
29661 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
29662 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
29663 (check_subexp_limits, sift_states_bkref, merge_state_array)
29664 (find_recover_state, transit_state, merge_state_with_log)
29665 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
29666 (transit_state_mb, transit_state_bkref, get_subexp)
29667 (get_subexp_sub, find_subexp_node, check_arrival)
29668 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
29669 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
29670 (check_node_accept_bytes, find_collation_sequence_value)
29671 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
29672 (acquire_init_state_context, check_halt_node_context)
29673 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
29674 (sub_epsilon_src_nodes): Likewise.
29675 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
29676 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
29677 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
29678 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
29679 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
29680 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
29681 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
29682 * sysdeps/posix/ttyname.c (getttyname): Likewise.
29683 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
29684 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
29685 (PREADV): Likewise.
29686 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
29687 (PREADV): Likewise.
29688 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
29689 (PWRITEV): Likewise.
29690 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
29691 (PWRITEV): Likewise.
29692 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
29693 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
29695 2017-08-31 Florian Weimer <fweimer@redhat.com>
29697 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
29698 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
29699 Remove internal_function.
29700 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
29701 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
29702 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
29703 (__deallocate_stack, __libc_pthread_init)
29704 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
29705 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
29706 (__libc_disable_asynccancel, __librt_disable_asynccancel):
29708 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
29709 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
29710 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
29712 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
29713 (__pthread_mutex_unlock_usercnt): Likewise.
29715 2017-08-31 Florian Weimer <fweimer@redhat.com>
29717 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
29718 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
29719 (fts_safe_changedir): Remove internal_function.
29720 * io/ftw.c (internal_function): Remove definition.
29721 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
29723 2017-08-31 Florian Weimer <fweimer@redhat.com>
29725 * inet/deadline.c (__deadline_current_time)
29726 (__deadline_from_timeval, __deadline_to_ms): Remove
29728 * inet/getnameinfo.c (nrl_domainname): Likewise.
29729 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
29730 * inet/inet6_option.c (add_pad): Likewise.
29731 * inet/net-internal.h (__deadline_current_time)
29732 (__deadline_from_timeval, __deadline_to_ms): Likewise.
29733 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
29734 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
29735 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
29737 2017-08-31 Joseph Myers <joseph@codesourcery.com>
29739 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
29740 include <bits/nan.h>.
29741 * math/Makefile (headers): Remove bits/nan.h.
29742 * bits/nan.h: Remove.
29743 * sysdeps/ieee754/bits/nan.h: Likewise.
29744 * sysdeps/mips/bits/nan.h: Likewise.
29746 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
29747 not include <bits/inf.h>.
29748 * math/Makefile (headers): Remove bits/inf.h.
29749 * bits/inf.h: Remove.
29750 * sysdeps/ieee754/bits/inf.h: Likewise.
29752 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
29753 bits/huge_vall.h or bits/huge_val_flt128.h.
29754 (HUGE_VAL): Define directly here.
29755 [__USE_ISOC99] (HUGE_VALF): Likewise.
29756 [__USE_ISOC99] (HUGE_VALL): Likewise.
29757 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29758 (HUGE_VAL_F128): Likewise.
29759 * math/Makefile (headers): Remove bits/huge_val.h,
29760 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
29761 * bits/huge_val.h: Remove.
29762 * bits/huge_val_flt128.h: Likewise.
29763 * bits/huge_valf.h: Likewise.
29764 * bits/huge_vall.h: Likewise.
29765 * sysdeps/ia64/bits/huge_vall.h: Likewise.
29766 * sysdeps/ieee754/bits/huge_val.h: Likewise.
29767 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
29768 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
29769 * sysdeps/sh/bits/huge_val.h: Likewise.
29770 * sysdeps/sparc/bits/huge_vall.h: Likewise.
29771 * sysdeps/x86/bits/huge_vall.h: Likewise.
29773 2017-08-31 Florian Weimer <fweimer@redhat.com>
29775 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
29777 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
29779 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
29780 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
29781 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
29782 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
29783 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29784 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
29785 * elf/dl-libc.c (dlerror_run): Likewise.
29786 * elf/dl-load.c (add_name_to_object, decompose_rpath)
29787 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
29788 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
29789 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
29791 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
29792 (_dl_higher_prime_number, _dl_strtoul): Likewise.
29793 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
29794 * elf/dl-profile.c (_dl_start_profile): Likewise.
29795 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
29796 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
29798 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
29799 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
29800 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
29801 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
29802 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
29803 (_dl_allocate_tls_storage): Likewise.
29804 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
29805 (_dl_check_all_versions): Likewise.
29806 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
29807 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
29808 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
29809 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29810 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
29811 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
29812 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
29813 internal_function from __dl_start.
29814 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
29815 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
29816 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
29817 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
29818 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
29819 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
29820 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
29821 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
29822 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
29823 (_dl_next_ld_env_entry, _dl_important_hwcaps)
29824 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
29825 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
29826 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
29827 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
29828 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
29830 (struct rtld_global_ro): Remove internal_function from the
29831 _dl_lookup_symbol_x member.
29832 (_dl_symbol_value): Remove. No longer defined anywhere.
29833 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
29835 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29836 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
29837 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
29838 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
29839 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
29840 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
29841 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
29842 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
29843 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
29844 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
29845 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29846 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
29848 2017-08-31 Florian Weimer <fweimer@redhat.com>
29850 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
29851 Remove internal_function.
29852 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29854 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29857 2017-08-31 Florian Weimer <fweimer@redhat.com>
29859 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
29860 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
29861 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
29863 2017-08-31 Florian Weimer <fweimer@redhat.com>
29865 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
29866 (__gai_enqueue_request): Remove internal_function.
29867 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
29868 (__gai_remove_request, __gai_notify, __gai_notify_only)
29869 (__gai_sigqueue): Likewise.
29870 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
29871 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
29872 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
29873 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29876 2017-08-31 Florian Weimer <fweimer@redhat.com>
29878 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
29879 * include/dirent.h (__opendirat, __getdents, __getdents64)
29880 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
29881 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
29882 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
29883 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
29885 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
29887 2017-08-31 Florian Weimer <fweimer@redhat.com>
29889 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
29891 (GETCWD_RETURN_TYPE): Likewise.
29893 2017-08-31 Florian Weimer <fweimer@redhat.com>
29895 * include/time.h (__tz_compute, __strptime_internal): Remove
29897 * time/strptime_l.c (__strptime_internal): Likewise.
29898 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
29900 2017-08-31 Florian Weimer <fweimer@redhat.com>
29902 * iconv/gconv.c (__gconv): Remove internal_function.
29903 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
29904 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
29905 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
29906 (__gconv_release_cache): Likewise.
29907 * iconv/gconv_close.c (__gconv_close): Likewise.
29908 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
29909 (read_conf_file, __gconv_get_path): Likewise.
29910 * iconv/gconv_db.c (derivation_lookup, add_derivation)
29911 (__gconv_release_step, gen_steps, increment_counter)
29912 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
29913 (__gconv_close_transform, free_modules_db): Likewise.
29914 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
29916 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
29917 (__gconv_find_transform, __gconv_lookup_cache)
29918 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
29919 (__gconv_close_transform, __gconv_release_cache)
29920 (__gconv_loaded_object, __gconv_release_shlib)
29921 (__gconv_compare_alias): Likewise.
29922 * iconv/gconv_open.c (__gconv_open): Likewise.
29923 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
29924 * iconv/iconvconfig.c (add_module): Likewise.
29925 * intl/dcigettext.c (plural_lookup, guess_category_value)
29926 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
29927 * intl/eval-plural.h (plural_eval): Likewise.
29928 * intl/finddomain.c (_nl_find_domain): Likewise.
29929 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
29930 (_nl_load_domain, _nl_find_msg): Likewise.
29931 (internal_function): Remove definition.
29932 * intl/loadinfo.h (internal_function): Likewise.
29933 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
29935 * intl/localealias.c (internal_function): Remove definition.
29936 (read_alias_file): Remove internal_function.
29937 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
29938 * intl/plural-exp.h (internal_function): Remove definition.
29939 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
29941 * intl/plural.c: Regenerate.
29942 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
29943 * locale/coll-lookup.c (__collidx_table_lookup)
29944 (__collseq_table_lookup): Likewise.
29945 * locale/coll-lookup.h (__collidx_table_lookup)
29946 (__collseq_table_lookup): Likewise.
29947 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
29948 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29949 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
29950 (_nl_unload_locale): Likewise.
29951 * locale/localeinfo.h (struct __locale_data): Remove
29952 internal_function from cleanup member.
29953 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
29954 (_nl_remove_locale, _nl_load_locale_from_archive)
29955 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
29956 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
29957 (_nl_cleanup_time): Remove internal_function.
29958 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
29959 (_nl_parse_alt_digit): Likewise.
29960 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
29961 (_nl_select_era_entry): Likewise.
29962 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
29963 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
29964 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
29965 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
29966 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
29968 2017-08-31 Florian Weimer <fweimer@redhat.com>
29970 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
29971 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
29972 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
29973 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
29975 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
29976 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
29977 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
29978 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
29980 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
29982 2017-08-31 Florian Weimer <fweimer@redhat.com>
29984 * misc/getttyent.c (skip, value): Remove internal_function.
29985 * misc/syslog.c (openlog_internal): Likewise.
29986 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
29988 2017-08-31 Florian Weimer <fweimer@redhat.com>
29990 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
29991 (__nss_rewrite_field): Remove internal_function.
29992 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29993 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
29994 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
29995 * nss/nsswitch.c (nss_parse_file, nss_getline)
29996 (nss_parse_service_list, nss_new_service): Likewise.
29997 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
29998 * nss/valid_field.c (__nss_valid_field): Likewise.
29999 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
30001 2017-08-31 Florian Weimer <fweimer@redhat.com>
30003 * malloc/arena.c (__malloc_fork_lock_parent)
30004 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
30005 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
30006 internal_function from defintions.
30007 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
30008 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
30009 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
30010 internal_function from declarations.
30011 * malloc/malloc.c (internal_function): Do not define.
30012 (mem2mem_check): Remove internal_function from declaration.
30013 (munmap_chunk, mremap_chunk): Remove internal_function.
30014 * malloc/mtrace.c (tr_where): Likewise.
30016 2017-08-31 Florian Weimer <fweimer@redhat.com>
30018 * include/rpc/pmap_clnt.h (__get_socket): Remove
30020 * sunrpc/auth_des.c (synchronize): Likewise.
30021 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
30022 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
30023 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
30024 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
30025 (key_call): Likewise.
30026 * sunrpc/pm_getport.c (__get_socket): Likewise.
30027 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
30028 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
30029 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
30030 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
30031 (invalidate): Likewise.
30032 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
30033 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
30034 (set_input_fragment, get_input_bytes): Likewise.
30036 2017-08-31 Florian Weimer <fweimer@redhat.com>
30038 * malloc/malloc.c (_int_free): Remove locked variable and related
30041 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
30044 * Makerules (build-module-helper-objlist): Filter out
30045 $(elf-objpfx)sofini.os.
30046 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
30049 2017-08-31 Florian Weimer <fweimer@redhat.com>
30051 * libio/fcloseall.c: Assume weak_alias is defined.
30052 * libio/feof.c: Likewise.
30053 * libio/fileno.c: Likewise.
30054 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
30055 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
30057 (_IO_file_open): Call __open directly.
30058 (_IO_new_file_sync): Assume ESPIPE is defined.
30059 (_IO_file_seekoff_maybe_mmap): Call __read directly.
30060 (_IO_new_file_write): Call __write directly.
30061 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
30062 * libio/ftello64.c (__ftello64): Assume EIO is defined.
30063 * libio/genops.c: Assume _LIBC is defined.
30064 (save_for_backup): Remove internal_function.
30065 * libio/getc.c: Assume weak_alias is defined.
30066 * libio/getwc.c: Likewise.
30067 * libio/iofclose.c: Assume _LIBC is defined.
30068 * libio/iofdopen.c: Likewise.
30069 (_IO_fcntl): Remove macro definition.
30070 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
30071 Call __fcntl directly.
30072 * libio/iofflush.c: Assume weak_alias is defined.
30073 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
30075 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
30076 * libio/iofgets.c: Likewise.
30077 * libio/iofopen.c: Assume _LIBC is defined.
30078 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
30079 * libio/iofputs.c: Assume weak_alias is defined.
30080 * libio/iofread.c: Likewise.
30081 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
30082 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
30083 * libio/ioftell.c: Assume weak_alias is defined.
30084 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
30085 * libio/iofwide.c: Assume _LIBC is defined.
30086 (_IO_fwide): Drop SHARED conditional because it is implied by
30088 * libio/iofwrite.c: Assume weak_alias is defined.
30089 * libio/iogetdelim.c: Likewise.
30090 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
30091 * libio/iogetwline.c (wmemcpy): Remove macro definition.
30092 (_IO_getwline): Call __wmemcpy directly.
30093 * libio/iopopen.c: Assume _LIBC is defined.
30094 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
30095 (_IO_close): Remove macro definitions.
30096 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
30098 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
30100 * libio/ioputs.c: Assume weak_alias is defined.
30101 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
30102 * libio/iosetbuffer.c: Assume weak_alias is defined.
30103 * libio/iosetvbuf.c: Likewise.
30104 * libio/ioungetc.c: Likewise.
30105 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
30106 libc_hidden_def, libc_hidden_weak, NULL are defined.
30107 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
30108 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
30110 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
30112 (_IO_old_file_init_internal): Drop SHARED conditional because it
30113 is implied by SHLIB_COMPAT.
30114 (_IO_old_file_fopen): Call __open directly.
30115 (_IO_old_file_sync): Assume ESPIPE is defined.
30116 (_IO_old_file_write): Call __write directly.
30117 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
30118 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
30119 Call __fcntl directly.
30120 * libio/oldiofgetpos.c: Assume weak_alias is defined.
30121 (_IO_old_fgetpos): Assume EIO is defined.
30122 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
30123 (_IO_old_fgetpos64): Assume EIO is defined.
30124 * libio/oldiofsetpos.c: Assume weak_alias is defined.
30125 (_IO_old_fsetpos): Assume EIO is defined.
30126 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
30127 (_IO_old_fsetpos64): Assume EIO is defined.
30128 * libio/oldiopopen.c: Assume _LIBC is defined.
30129 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
30130 (_IO_close): Remove macro definitions.
30131 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
30133 (_IO_old_proc_close): Call __close, __waitpid directly.
30134 * libio/put.c: Assume weak_alias is defined.
30135 * libio/stdfiles.c: Assume _LIBC is defined.
30136 * libio/stdio.c: Likewise.
30137 * libio/wfileops.c: Likewise.
30138 (_IO_wfile_sync): Assume ESPIPE is defined.
30139 * libio/wgenops.c: Assume _LIBC is defined.
30140 (save_for_wbackup): Remove internal_function.
30142 2017-08-31 Florian Weimer <fweimer@redhat.com>
30144 * malloc/malloc.c (top_check): Change return type to void. Remove
30146 * malloc/hooks.c (top_check): Likewise.
30147 (malloc_check, realloc_check, memalign_check): Adjust.
30149 2017-08-30 Joseph Myers <joseph@codesourcery.com>
30152 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
30153 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
30154 sigcontext and namespace requirements.
30155 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
30156 * sysdeps/m68k/sys/ucontext.h: Likewise.
30157 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
30158 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
30159 <bits/sigcontext.h>.
30160 (__ctx): Define earlier.
30161 (mcontext_t): Define structure contents rather than using struct
30163 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
30164 __glibc_reserved1 instead of __reserved.
30165 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
30166 <bits/sigcontext.h>.
30167 (__ctx): Define earlier.
30168 (mcontext_t): Define structure contents rather than using struct
30170 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
30171 mcontext_t instead of struct sigcontext.
30172 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
30173 <bits/sigcontext.h>.
30174 (__ctx): Define earlier.
30175 (mcontext_t): Define structure contents rather than using struct
30177 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
30178 <bits/sigcontext.h>.
30179 (__ctx): Define earlier.
30180 (mcontext_t): Define structure contents rather than using struct
30182 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
30183 mcontext_t instead of struct sigcontext.
30184 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
30185 mcontext_t instead of struct sigcontext.
30186 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
30187 <bits/sigcontext.h>.
30188 (__ctx): New macro.
30189 (struct __ia64_fpreg_mcontext): New type.
30190 (mcontext_t): Define structure contents rather than using struct
30192 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
30193 (uc_sigmask): Define using __ctx.
30194 (uc_stack): Likewise.
30195 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
30196 <bits/sigcontext.h>.
30197 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30198 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
30199 <bits/sigcontext.h>.
30200 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
30201 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
30202 <bits/sigcontext.h>.
30203 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
30204 <bits/sigcontext.h>.
30205 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
30206 <bits/sigcontext.h>.
30207 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
30208 <bits/sigcontext.h>.
30209 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
30210 <bits/sigcontext.h>.
30211 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
30212 <bits/sigcontext.h>.
30213 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
30214 <bits/sigcontext.h>.
30215 (__ctx): Define earlier.
30216 (mcontext_t): Define structure contents rather than using struct
30218 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
30219 <bits/sigcontext.h>. Include <bits/types.h>.
30220 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
30221 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
30222 (test-xfail-XPG42/ucontext.h/conform): Likewise.
30223 (test-xfail-UNIX98/signal.h/conform): Likewise.
30224 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
30225 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
30226 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
30227 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
30228 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
30229 (test-xfail-POSIX2008/signal.h/conform): Likewise.
30230 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
30231 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
30232 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
30234 2017-08-30 Florian Weimer <fweimer@redhat.com>
30236 * malloc/dynarray_emplace_enlarge.c
30237 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
30238 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
30239 * malloc/tst-dynarray.c (test_long_overflow): New function.
30240 (do_test): Call it.
30242 2017-08-30 Florian Weimer <fweimer@redhat.com>
30244 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
30245 (set_arena_corrupt): Remove definitions.
30246 (mtrim): Do not check for corrupt arena.
30247 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
30250 2017-08-30 Florian Weimer <fweimer@redhat.com>
30253 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
30255 (ptmalloc_init): Do not set or use check_action.
30256 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
30257 call to malloc_printerr. Remove return statement.
30258 (free_check): Likewise. Remove arena unlock.
30259 (top_check): Update comment. Adjust call to malloc_printerr.
30260 Remove heap repair code.
30261 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
30262 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
30263 (sysmalloc): Adjust call to malloc_printerr.
30264 (munmap_chunk, __libc_realloc): Likewise. Remove return
30266 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
30267 Remove errout label and corresponding gotos.
30268 (_int_free): Likewise. Remove arena unlock.
30269 (do_set_mallopt_check): Do not set check_action.
30270 (malloc_printerr): Adjust parameter list. Do not mark arena as
30272 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
30274 * manual/probes.texi (Memory Allocation Probes): Remove
30275 memory_mallopt_check_action.
30277 2017-08-30 Steve Ellcey <sellcey@cavium.com>
30279 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
30280 Use pointer to uint64_t instead of long int for sp.
30282 2017-08-30 Florian Weimer <fweimer@redhat.com>
30285 * malloc/malloc.c (malloc_printerr): Always terminate the process,
30286 without printing a backtrace. Do not leak any information in the
30288 * manual/memory.texi (Heap Consistency Checking): Update.
30289 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
30291 2017-08-30 Florian Weimer <fweimer@redhat.com>
30293 Do not scale NPTL tests with available number of CPUs.
30294 * nptl/tst-cond16.c (count): Set to constant value of 8.
30295 * nptl/tst-cond18.c (count): Likewise.
30297 2017-08-29 Joseph Myers <joseph@codesourcery.com>
30300 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
30301 Define to take a second argument that is a macro that
30302 concatentates a suffix, not the suffix itself.
30303 (__CONCAT_d): New macro.
30304 (__CONCAT_f): Likewise.
30305 (__CONCAT_l): Likewise.
30307 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
30309 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
30312 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30313 Aurelien Jarno <aurelien@aurel32.net>
30314 Maciej W. Rozycki <macro@imgtec.com>
30317 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
30318 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
30319 `mips16-syscall6' and `mips16-syscall7'.
30320 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
30321 (CFLAGS-mips16-syscall7.c): Remove.
30322 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
30323 Remove `__mips16_syscall5', `__mips16_syscall6' and
30324 `__mips16_syscall7'.
30325 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
30326 (__mips16_syscall0): Rename `__mips16_syscall_return' to
30327 `__mips_syscall_return'.
30328 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
30329 (__mips16_syscall1): Likewise.
30330 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
30331 (__mips16_syscall2): Likewise.
30332 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
30333 (__mips16_syscall3): Likewise.
30334 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
30335 (__mips16_syscall4): Likewise.
30336 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
30338 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
30340 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
30342 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
30343 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
30344 `__mips16_syscall5'. Remove prototype.
30345 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
30346 `__mips16_syscall6'. Remove prototype.
30347 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
30348 `__mips16_syscall7'. Remove prototype.
30349 (__nomips16, __mips16_syscall_return): Move to...
30350 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
30351 (__nomips16, __mips_syscall_return): ... here.
30352 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
30353 `__mips16_syscall_return' to `__mips_syscall_return'.
30354 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
30355 `internal_syscall##nr'.
30356 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
30357 `internal_syscall##nr'.
30358 (FORCE_FRAME_POINTER): Remove.
30359 (__mips_syscall5): New prototype.
30360 (internal_syscall5): Rewrite to call `__mips_syscall5'.
30361 (__mips_syscall6): New prototype.
30362 (internal_syscall6): Rewrite to call `__mips_syscall6'.
30363 (__mips_syscall7): New prototype.
30364 (internal_syscall7): Rewrite to call `__mips_syscall7'.
30365 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
30366 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
30367 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
30368 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
30369 (sysdep_routines): Add libc-do-syscall.
30370 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
30371 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
30373 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30376 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
30377 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
30378 (advise_stack_range): New function.
30379 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
30380 stack non required to advise_stack_range at allocatestack.c
30382 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30384 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
30386 2017-08-29 Florian Weimer <fweimer@redhat.com>
30389 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
30390 __end_fct. Mangle __end_fct after setting it to NULL.
30391 * iconv/Makefile (tests): Add tst-gconv-init-failure.
30392 (modules-names, modules-names-tests): Add
30393 tst-gconv-init-failure-mod.
30394 (gconv-modules): New target.
30395 (tst-gconv-init-failure-mod.so): Link against libsupport.
30396 (tst-gconv-init-failure): Depend on gconv-modules,
30397 tst-gconv-init-failure-mod.so.
30398 * iconv/tst-gconv-init-failure-mod.c: New file.
30399 * iconv/tst-gconv-init-failure.c: Likewise.
30400 * iconv/test-gconv-modules: Likewise.
30402 2017-08-29 Florian Weimer <fweimer@redhat.com>
30405 * iconv/gconv_db.c (free_derivation): Remove redundant
30407 (gen_steps): Unconditionally mangle __btowc_fct after
30409 (increment_counter): Likewise. Do not call init_fct for internal
30412 2017-08-29 Joseph Myers <joseph@codesourcery.com>
30415 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
30416 (_MSUF_): Remove macro.
30417 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
30419 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
30420 (__REDIRFROM_X): New macro.
30421 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
30423 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
30424 (__REDIRTO_X): Likewise.
30425 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
30427 (__MATH_REDIRCALL_2): Likewise.
30428 (__MATH_REDIRCALL_INTERNAL): Likewise.
30429 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30430 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
30431 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
30432 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30433 * math/test-finite-macros.c: New file.
30434 * math/Makefile (tests): Add test-finite-macros.
30435 (CFLAGS-test-finite-macros.c): New variable.
30437 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
30438 Jeff Law <law@redhat.com>
30441 Mangle NULL pointers in iconv/gconv.
30442 * iconv/gconv_cache.c (find_module): Demangle init_fct before
30443 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
30444 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
30445 is non-NULL before demangling the end_fct. Check for NULL
30446 end_fct after demangling.
30447 (__gconv_release_step): Demangle the end_fct before checking
30448 it for NULL. Remove assert on __shlibc_handle != NULL.
30449 (gen_steps): Don't check btowc_fct for NULL before mangling.
30450 Demangle init_fct before checking for NULL.
30451 (increment_counter): Likewise.
30452 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
30453 end_fct for NULL before mangling.
30454 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
30457 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
30460 * locale/iso-639.def: add Morisyen.
30462 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30465 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
30466 (iszero): New C++ implementation that does not use
30467 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
30468 signaling nans are enabled, since __builtin_types_compatible_p
30469 is a C-only feature.
30470 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
30471 defined, include ieee754_float128.h for access to the union and
30472 member ieee854_float128.ieee.
30473 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
30474 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
30475 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
30476 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
30477 options of test-math-zero on powerpc64le.
30479 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
30481 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
30482 Change double to float.
30484 2017-08-28 Joseph Myers <joseph@codesourcery.com>
30486 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
30488 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
30489 conditional code; define contents only for [LIBM_SVID_COMPAT].
30491 2017-08-28 Florian Weimer <fweimer@redhat.com>
30493 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
30494 (abi-lp64_be-options): Remove.
30495 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
30496 (abi-hard-options): Likewise.
30497 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
30498 (abi-o32_hard-options, abi-o32_soft_2008-options)
30499 (abi-o32_hard_2008-options, abi-n32_soft-options)
30500 (abi-n32_hard-options, abi-n32_soft_2008-options)
30501 (abi-n32_hard_2008-options, abi-n64_soft-options)
30502 (abi-n64_hard-options, abi-n64_soft_2008-options)
30503 (abi-n64_hard_2008-options): Likewise.
30504 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
30505 (abi-64-v1-options, abi-64-v2-options): Likewise.
30506 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
30507 (abi-64-options): Likewise.
30508 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
30509 (abi-64-options): Likewise.
30510 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
30511 (abi-64-options): Likewise.
30512 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
30513 (abi-64-options, abi-x32-options): Likewise.
30515 2017-08-28 Florian Weimer <fweimer@redhat.com>
30517 Store supported list of SYS_* system calls in the source tree.
30518 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
30519 (bits/syscall.h): Generate from list file.
30520 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
30521 [$(subdir) = misc] (tests): Add tst-syscall-list.
30522 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
30523 [$(subdir) = misc] (tst-syscall-list-macros.list)
30524 [$(subdir) = misc] (tst-syscall-list-nr.list)
30525 (tst-syscall-list-sys.list): Helper targets for new
30526 tst-syscall-list test.
30527 [$(subdir) = misc] (tst-syscall-list.out): Run test script
30528 tst-syscall-list.sh.
30529 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
30530 target. Do not include bits/syscall.d.
30531 [$(subdir) = misc] (generated): Do not update.
30532 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
30533 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
30534 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
30535 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
30537 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
30539 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
30540 (tst-cxa_atexit, tst-on_exit): Likewise.
30541 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
30542 tst-cxa_atexit, and tst-on_exit.
30543 * stdlib/tst-atexit-common.c: New file.
30544 * stdlib/tst-atexit.c: New file.
30545 * stdlib/tst-at_quick_exit.c: New file.
30546 * stdlib/tst-cxa_atexit.c: New file.
30547 * stdlib/tst-on_exit.c: New file.
30549 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
30551 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
30552 * mach/stack_chk_fail_local.c: New file.
30553 * hurd/stack_chk_fail_local.c: New file.
30554 * mach/Machrules ($(interface-library)-routines): Add
30555 stack_chk_fail_local.
30556 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
30557 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
30558 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
30559 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
30560 * hurd/Makefile (CFLAGS-hurdstartup.o,
30561 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
30563 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
30565 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
30566 (index_cpu_*, index_arch_*): Removed.
30568 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30570 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
30571 Use uint64_t instead of unsigned long.
30573 2017-08-25 Joseph Myers <joseph@codesourcery.com>
30575 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
30576 [__HAVE_DISTINCT_FLOAT128].
30578 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
30579 of <bits/math-finite.h>.
30580 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
30581 inclusion of <bits/math-finite.h>.
30582 * math/bits/math-finite.h (__REDIRTO_X): Do not define
30583 conditionally on [__MATH_DECLARING_LDOUBLE && defined
30584 __NO_LONG_DOUBLE_MATH].
30585 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
30586 (__MATH_REDIRCALL_2): Likewise.
30587 (__MATH_REDIRCALL_INTERNAL): Likewise.
30588 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30589 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
30590 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
30594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
30596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
30598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
30600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
30602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
30604 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
30605 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
30606 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
30607 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
30608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
30609 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
30610 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
30611 w_sqrtf_compat-ppc32.
30613 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30615 * math/math.h [defined __cplusplus] (issignaling): In the long
30616 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
30617 is not defined. Call __issignaling, otherwise.
30619 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30621 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
30622 syscall definitions and replace __builtin_expect with __glibc_likely.
30623 * sysdeps/unix/syscall-template.S: Update comment about cancellable
30625 (SYSCALL_CANCELLABLE): Removedefinition
30626 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
30628 (PSEUDO_END): Likewise.
30629 [IS_IN (libpthread)] (CENABLE): Likewise.
30630 [IS_IN (libpthread)] (CDISABLE): Likewise.
30631 [IS_IN (libc)] (CENABLE): Likewise.
30632 [IS_IN (libc)] (CENABLE): Likewise.
30633 [IS_IN (librt)] (CDISABLE): Likewise.
30634 [IS_IN (librt)] (CDISABLE): Likewise.
30635 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30636 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
30638 (PSEUDO_END): Likewise.
30639 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
30640 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
30641 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
30642 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
30643 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
30644 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
30645 (CENABLE): Likewise.
30646 (CDISABLE): Likewise.
30647 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30648 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
30650 (PSEUDO_END): Likewise.
30651 [IS_IN (libpthread)] (CENABLE): Likewise.
30652 [IS_IN (libpthread)] (CDISABLE): Likewise.
30653 [IS_IN (libc)] (CENABLE): Likewise.
30654 [IS_IN (libc)] (CENABLE): Likewise.
30655 [IS_IN (librt)] (CDISABLE): Likewise.
30656 [IS_IN (librt)] (CDISABLE): Likewise.
30657 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30658 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
30660 (PSEUDO_END): Likewise.
30661 [IS_IN (libpthread)] (CENABLE): Likewise.
30662 [IS_IN (libpthread)] (CDISABLE): Likewise.
30663 [IS_IN (libc)] (CENABLE): Likewise.
30664 [IS_IN (libc)] (CENABLE): Likewise.
30665 [IS_IN (librt)] (CDISABLE): Likewise.
30666 [IS_IN (librt)] (CDISABLE): Likewise.
30667 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30668 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
30670 (PSEUDO_END): Likewise.
30671 [IS_IN (libpthread)] (CENABLE): Likewise.
30672 [IS_IN (libpthread)] (CDISABLE): Likewise.
30673 [IS_IN (libc)] (CENABLE): Likewise.
30674 [IS_IN (libc)] (CENABLE): Likewise.
30675 [IS_IN (librt)] (CDISABLE): Likewise.
30676 [IS_IN (librt)] (CDISABLE): Likewise.
30677 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30678 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
30680 (PSEUDO_END): Likewise.
30681 [IS_IN (libpthread)] (CENABLE): Likewise.
30682 [IS_IN (libpthread)] (CDISABLE): Likewise.
30683 [IS_IN (libc)] (CENABLE): Likewise.
30684 [IS_IN (libc)] (CENABLE): Likewise.
30685 [IS_IN (librt)] (CDISABLE): Likewise.
30686 [IS_IN (librt)] (CDISABLE): Likewise.
30687 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30688 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
30690 (PSEUDO_END): Likewise.
30691 [IS_IN (libpthread)] (CENABLE): Likewise.
30692 [IS_IN (libpthread)] (CDISABLE): Likewise.
30693 [IS_IN (libc)] (CENABLE): Likewise.
30694 [IS_IN (libc)] (CENABLE): Likewise.
30695 [IS_IN (librt)] (CDISABLE): Likewise.
30696 [IS_IN (librt)] (CDISABLE): Likewise.
30697 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30698 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
30700 (PSEUDO_END): Likewise.
30701 [IS_IN (libpthread)] (CENABLE): Likewise.
30702 [IS_IN (libpthread)] (CDISABLE): Likewise.
30703 [IS_IN (libc)] (CENABLE): Likewise.
30704 [IS_IN (libc)] (CENABLE): Likewise.
30705 [IS_IN (librt)] (CDISABLE): Likewise.
30706 [IS_IN (librt)] (CDISABLE): Likewise.
30707 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30708 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
30710 (PSEUDO_END): Likewise.
30711 [IS_IN (libpthread)] (CENABLE): Likewise.
30712 [IS_IN (libpthread)] (CDISABLE): Likewise.
30713 [IS_IN (libc)] (CENABLE): Likewise.
30714 [IS_IN (libc)] (CENABLE): Likewise.
30715 [IS_IN (librt)] (CDISABLE): Likewise.
30716 [IS_IN (librt)] (CDISABLE): Likewise.
30717 (SINGLE_THREAD_P): Likewise.
30718 * sysdeps/unix/sysv/linux/mips/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/nios2/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/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
30739 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30740 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
30741 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
30743 (PSEUDO_END): Likewise.
30744 [IS_IN (libpthread)] (CENABLE): Likewise.
30745 [IS_IN (libpthread)] (CDISABLE): Likewise.
30746 [IS_IN (libc)] (CENABLE): Likewise.
30747 [IS_IN (libc)] (CENABLE): Likewise.
30748 [IS_IN (librt)] (CDISABLE): Likewise.
30749 [IS_IN (librt)] (CDISABLE): Likewise.
30750 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30751 * sysdeps/unix/sysv/linux/s390/s390-64/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/sh/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.
30771 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
30772 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30773 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
30774 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
30776 (PSEUDO_END): Likewise.
30777 [IS_IN (libpthread)] (CENABLE): Likewise.
30778 [IS_IN (libpthread)] (CDISABLE): Likewise.
30779 [IS_IN (libc)] (CENABLE): Likewise.
30780 [IS_IN (libc)] (CENABLE): Likewise.
30781 [IS_IN (librt)] (CDISABLE): Likewise.
30782 [IS_IN (librt)] (CDISABLE): Likewise.
30783 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30784 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
30786 (PSEUDO_END): Likewise.
30787 [IS_IN (libpthread)] (CENABLE): Likewise.
30788 [IS_IN (libpthread)] (CDISABLE): Likewise.
30789 [IS_IN (libc)] (CENABLE): Likewise.
30790 [IS_IN (libc)] (CENABLE): Likewise.
30791 [IS_IN (librt)] (CDISABLE): Likewise.
30792 [IS_IN (librt)] (CDISABLE): Likewise.
30793 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30795 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
30797 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
30799 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30801 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30803 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30806 * string/stratcliff.c (do_test): Declare size, nchars, inner,
30807 middle and outer with size_t instead of int. Repleace %d and
30808 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
30809 "MAX (outer, nchars - 64)" to support unsigned outer and
30810 nchars. Also exit loop when outer == 0.
30812 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30814 * include/fcntl.h (__fcntl_nocancel): Remove definition.
30815 * include/signal.h (__sigsuspend_nocancel): Likewise.
30816 * include/time.h (__nanosleep_nocancel): Likewise.
30817 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
30818 * login/utmp_file.c: Include non cancellable syscall header.
30819 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
30822 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30824 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
30825 .byte sequences with AVX512F instructions.
30826 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
30827 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
30828 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
30829 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
30831 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
30834 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
30835 Steve Ellcey <sellcey@cavium.com>
30837 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
30838 Use PTR_REG macro in cmp instruction.
30840 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30842 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
30843 Change the return type of the ifunc resolver to match the return
30844 type of the target function.
30846 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30848 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
30849 (preadv64): Likewise.
30850 (pwrite64(: Likewise.
30851 (pwritev64): Likewise.
30853 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
30854 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
30855 (LOAD_ARGS_0): Likewise.
30856 (LOAD_ARGS_1): Likewise.
30857 (LOAD_ARGS_2): Likewise.
30858 (LOAD_ARGS_3): Likewise.
30859 (LOAD_ARGS_4): Likewise.
30860 (LOAD_ARGS_5): Likewise.
30861 (LOAD_ARGS_6): Likewise.
30862 (LOAD_REGS_0): Likewise.
30863 (LOAD_REGS_1): Likewise.
30864 (LOAD_REGS_2): Likewise.
30865 (LOAD_REGS_3): Likewise.
30866 (LOAD_REGS_4): Likewise.
30867 (LOAD_REGS_5): Likewise.
30868 (LOAD_REGS_6): Likewise.
30869 (ASM_ARGS_0): Likewise.
30870 (ASM_ARGS_1): Likewise.
30871 (ASM_ARGS_2): Likewise.
30872 (ASM_ARGS_3): Likewise.
30873 (ASM_ARGS_4): Likewise.
30874 (ASM_ARGS_5): Likewise.
30875 (ASM_ARGS_6): Likewise.
30876 (LOAD_ARGS_TYPES_1): Likewise.
30877 (LOAD_ARGS_TYPES_2): Likewise.
30878 (LOAD_ARGS_TYPES_3): Likewise.
30879 (LOAD_ARGS_TYPES_4): Likewise.
30880 (LOAD_ARGS_TYPES_5): Likewise.
30881 (LOAD_ARGS_TYPES_6): Likewise.
30882 (LOAD_REGS_TYPES_1): Likewise.
30883 (LOAD_REGS_TYPES_2): Likewise.
30884 (LOAD_REGS_TYPES_3): Likewise.
30885 (LOAD_REGS_TYPES_4): Likewise.
30886 (LOAD_REGS_TYPES_5): Likewise.
30887 (LOAD_REGS_TYPES_6): Likewise.
30888 (TYPEFY): New define.
30889 (ARGIFY): Likewise.
30890 (internal_syscall0): Likewise.
30891 (internal_syscall1): Likewise.
30892 (internal_syscall2): Likewise.
30893 (internal_syscall3): Likewise.
30894 (internal_syscall4): Likewise.
30895 (internal_syscall5): Likewise.
30896 (internal_syscall6): Likewise.
30897 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
30898 (INTERNAL_SYSCALL_NCS): Remove define.
30899 (internal_syscall1): Add define.
30901 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30903 * math/w_remainder_compat.c: Remove duplicate inclusion of
30904 math-svid-compat.h.
30905 * math/w_remainderf_compat.c: Likewise.
30906 * math/w_remainderl_compat.c: Likewise.
30908 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30910 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30912 2017-08-22 Joseph Myers <joseph@codesourcery.com>
30915 * math/tgmath.h (__floating_type): Simplify definitions.
30916 (__real_integer_type): New macro.
30917 (__complex_integer_type): Likewise.
30918 (__expr_is_real): Likewise.
30919 (__tgmath_real_type_sub): Update comment to describe handling of
30921 (__tgmath_complex_type_sub): New macro.
30922 (__tgmath_complex_type): Likewise.
30923 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30924 (__TGMATH_CF128): Use __expr_is_real.
30925 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
30927 (__TGMATH_BINARY_REAL_IMAG): Likewise.
30928 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
30929 * math/gen-tgmath-tests.py (Type.create_type): Create complex
30932 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30934 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
30936 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
30938 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
30941 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
30942 nanosleep_not_cancel with __nanosleep_nocancel.
30943 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
30944 (__nanosleep_nocancel): New macro.
30945 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
30947 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
30949 (__nanosleep_nocancel): New prototype.
30951 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
30952 pause_not_cancel with __pause_nocancel.
30953 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
30954 (__pause_nocancel): New macro.
30955 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
30957 (__pause_nocancel): New prototype.
30958 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
30960 2017-08-22 Martin Sebor <msebor@redhat.com>
30962 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
30963 to return a pointer to the same type as the target function.
30965 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
30969 * include/printf.h (__printf_fphex): Add attribute_hidden.
30970 (__guess_grouping): New prototype.
30971 * stdio-common/printf_fp.c (__guess_grouping): Removed.
30972 * stdio-common/reg-printf.c (__register_printf_specifier): Add
30973 libc_hidden_proto and libc_hidden_def.
30974 * stdlib/strfmon_l.c (__guess_grouping): Removed.
30975 (__vstrfmon_l): Remove the third argument passed to
30978 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30980 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
30981 definition for issignaling that does not rely on __MATH_TG,
30982 since __MATH_TG uses __builtin_types_compatible_p, which is only
30983 available in C mode.
30984 (CFLAGS-test-math-issignaling.cc): New variable.
30985 * math/Makefile [CXX] (tests): Add test-math-issignaling.
30986 * math/test-math-issignaling.cc: New test for C++ implementation
30987 of type-generic issignaling.
30988 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
30989 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
30990 options of test-math-issignaling on powerpc64le.
30992 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
30994 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30996 (hidden_proto): Likewise.
30997 (hidden_tls_proto): Likewise.
30998 (__hidden_proto): Likewise.
31000 2017-08-22 Florian Weimer <fweimer@redhat.com>
31002 math: Statically link tests of internal functionality.
31003 * math/Makefile (tests): Remove atest-exp, atest-sincos,
31005 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
31006 (gmp-objs): Remove assignment.
31007 (atest-exp, atest-sincos, atest-exp2): Remove targets.
31009 2017-08-22 Joseph Myers <joseph@codesourcery.com>
31012 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
31014 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
31016 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
31019 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
31020 variable definitions above inclusion of ../Rules.
31022 2017-08-21 Joseph Myers <joseph@codesourcery.com>
31024 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
31025 case calling __builtin_unreachable.
31027 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31029 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
31030 __waitpid_nocancel.
31031 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
31032 (__waitpid_nocancel): New macro.
31033 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
31035 (__waitpid_nocancel): Replace macro with a function.
31036 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
31039 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
31041 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
31042 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
31044 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
31045 __writev_nocancel_nostatus.
31046 (write_call_graph): Likewise.
31047 (write_bb_counts): Likewise.
31048 * resolv/herror.c (herror): Likewise.
31049 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
31051 (__writev_nocancel_nostatus): New macro.
31052 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
31054 (__writev_nocancel_nostatus): New function.
31056 2017-08-21 Joseph Myers <joseph@codesourcery.com>
31059 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31061 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31063 (hidden_proto): Likewise.
31064 (hidden_tls_proto): Likewise.
31065 (__hidden_proto): Likewise.
31068 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
31069 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
31070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
31072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
31074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
31076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
31078 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
31079 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
31080 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
31081 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
31082 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
31083 GLIBC_2.0 sqrtl symbol.
31085 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
31086 [__USE_MISC] (_LIB_VERSION): Likewise.
31087 [__USE_MISC] (struct exception): Likewise.
31088 [__USE_MISC] (matherr): Likewise.
31089 [__USE_MISC] (DOMAIN): Likewise.
31090 [__USE_MISC] (SING): Likewise.
31091 [__USE_MISC] (OVERFLOW): Likewise.
31092 [__USE_MISC] (UNDERFLOW): Likewise.
31093 [__USE_MISC] (TLOSS): Likewise.
31094 [__USE_MISC] (PLOSS): Likewise.
31095 [__USE_MISC] (HUGE): Likewise.
31096 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
31097 * math/math-svid-compat.h: New file.
31098 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
31100 * include/math.h [!_ISOMAC] (__matherr): Remove.
31101 * manual/arith.texi (FP Exceptions): Do not document matherr.
31102 * math/Makefile (tests): Change test-matherr to test-matherr-3.
31103 (tests-internal): New variable.
31104 (install-lib): Do not add libieee.a.
31105 (non-lib.a): Likewise.
31106 (extra-objs): Do not add libieee.a and ieee-math.o.
31107 (CPPFLAGS-s_lib_version.c): Remove variable.
31108 ($(objpfx)libieee.a): Remove rule.
31109 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
31110 * math/ieee-math.c: Remove.
31111 * math/libm-test-support.c (matherr): Remove.
31112 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
31113 and license notices. Include <math-svid-compat.h> and
31115 (matherr): Undefine as macro. Use compat_symbol_reference.
31116 (_LIB_VERSION): Likewise.
31117 * math/test-matherr-2.c: New file.
31118 * math/test-matherr-3.c: Likewise.
31119 * sysdeps/generic/math_private.h (__kernel_standard): Remove
31121 (__kernel_standard_f): Likewise.
31122 (__kernel_standard_l): Likewise.
31123 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
31124 <math_private.h>. Include <math-svid-compat.h>.
31125 (_LIB_VERSION): Undefine as macro.
31126 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
31127 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
31128 [LIBM_SVID_COMPAT], use compat_symbol.
31129 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
31130 <math_private.h>. Include <math-svid-compat.h>.
31131 (matherr): Undefine as macro.
31132 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
31134 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
31135 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
31136 compat_symbol_reference.
31137 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
31138 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
31139 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
31140 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
31141 (MATHERR_D): Remove declaration.
31142 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
31143 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
31144 [LIBM_BUILD] (pmatherrf): Likewise.
31145 [LIBM_BUILD] (pmatherr): Likewise.
31146 [LIBM_BUILD] (pmatherrl): Likewise.
31147 (DOMAIN): Likewise.
31149 (OVERFLOW): Likewise.
31150 (UNDERFLOW): Likewise.
31153 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
31154 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
31156 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
31157 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
31159 * math/lgamma-compat.h: Include <math-svid-compat.h>.
31160 * math/w_acos_compat.c: Likewise.
31161 * math/w_acosf_compat.c: Likewise.
31162 * math/w_acosh_compat.c: Likewise.
31163 * math/w_acoshf_compat.c: Likewise.
31164 * math/w_acoshl_compat.c: Likewise.
31165 * math/w_acosl_compat.c: Likewise.
31166 * math/w_asin_compat.c: Likewise.
31167 * math/w_asinf_compat.c: Likewise.
31168 * math/w_asinl_compat.c: Likewise.
31169 * math/w_atan2_compat.c: Likewise.
31170 * math/w_atan2f_compat.c: Likewise.
31171 * math/w_atan2l_compat.c: Likewise.
31172 * math/w_atanh_compat.c: Likewise.
31173 * math/w_atanhf_compat.c: Likewise.
31174 * math/w_atanhl_compat.c: Likewise.
31175 * math/w_cosh_compat.c: Likewise.
31176 * math/w_coshf_compat.c: Likewise.
31177 * math/w_coshl_compat.c: Likewise.
31178 * math/w_exp10_compat.c: Likewise.
31179 * math/w_exp10f_compat.c: Likewise.
31180 * math/w_exp10l_compat.c: Likewise.
31181 * math/w_exp2_compat.c: Likewise.
31182 * math/w_exp2f_compat.c: Likewise.
31183 * math/w_exp2l_compat.c: Likewise.
31184 * math/w_fmod_compat.c: Likewise.
31185 * math/w_fmodf_compat.c: Likewise.
31186 * math/w_fmodl_compat.c: Likewise.
31187 * math/w_hypot_compat.c: Likewise.
31188 * math/w_hypotf_compat.c: Likewise.
31189 * math/w_hypotl_compat.c: Likewise.
31190 * math/w_j0_compat.c: Likewise.
31191 * math/w_j0f_compat.c: Likewise.
31192 * math/w_j0l_compat.c: Likewise.
31193 * math/w_j1_compat.c: Likewise.
31194 * math/w_j1f_compat.c: Likewise.
31195 * math/w_j1l_compat.c: Likewise.
31196 * math/w_jn_compat.c: Likewise.
31197 * math/w_jnf_compat.c: Likewise.
31198 * math/w_jnl_compat.c: Likewise.
31199 * math/w_lgamma_main.c: Likewise.
31200 * math/w_lgamma_r_compat.c: Likewise.
31201 * math/w_lgammaf_main.c: Likewise.
31202 * math/w_lgammaf_r_compat.c: Likewise.
31203 * math/w_lgammal_main.c: Likewise.
31204 * math/w_lgammal_r_compat.c: Likewise.
31205 * math/w_log10_compat.c: Likewise.
31206 * math/w_log10f_compat.c: Likewise.
31207 * math/w_log10l_compat.c: Likewise.
31208 * math/w_log2_compat.c: Likewise.
31209 * math/w_log2f_compat.c: Likewise.
31210 * math/w_log2l_compat.c: Likewise.
31211 * math/w_log_compat.c: Likewise.
31212 * math/w_logf_compat.c: Likewise.
31213 * math/w_logl_compat.c: Likewise.
31214 * math/w_pow_compat.c: Likewise.
31215 * math/w_powf_compat.c: Likewise.
31216 * math/w_powl_compat.c: Likewise.
31217 * math/w_remainder_compat.c: Likewise.
31218 * math/w_remainderf_compat.c: Likewise.
31219 * math/w_remainderl_compat.c: Likewise.
31220 * math/w_scalb_compat.c: Likewise.
31221 * math/w_scalbf_compat.c: Likewise.
31222 * math/w_scalbl_compat.c: Likewise.
31223 * math/w_sinh_compat.c: Likewise.
31224 * math/w_sinhf_compat.c: Likewise.
31225 * math/w_sinhl_compat.c: Likewise.
31226 * math/w_sqrt_compat.c: Likewise.
31227 * math/w_sqrtf_compat.c: Likewise.
31228 * math/w_sqrtl_compat.c: Likewise.
31229 * math/w_tgamma_compat.c: Likewise.
31230 * math/w_tgammaf_compat.c: Likewise.
31231 * math/w_tgammal_compat.c: Likewise.
31232 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
31233 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
31234 * sysdeps/ieee754/k_standard.c: Likewise.
31235 * sysdeps/ieee754/k_standardf.c: Likewise.
31236 * sysdeps/ieee754/k_standardl.c: Likewise.
31237 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
31238 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
31239 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
31240 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
31241 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
31242 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
31243 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
31244 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
31245 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
31246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
31248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
31250 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
31251 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
31252 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
31253 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
31255 2017-08-21 Florian Weimer <fweimer@redhat.com>
31258 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
31259 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
31260 Move before inclusion of ../Rules.
31262 2017-08-21 Florian Weimer <fweimer@redhat.com>
31265 * assert/assert.h (assert): Use static_cast (bool) for C++.
31266 Use the ternary operator in the warning branch for GNU C.
31267 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
31268 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
31269 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
31270 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
31271 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
31273 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31276 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31277 (__syscall_clock_gettime): Add attribute_hidden.
31278 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
31279 (__start_context): Likewise.
31281 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31283 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31285 (hidden_proto): Likewise.
31286 (hidden_tls_proto): Likewise.
31287 (__hidden_proto): Likewise.
31289 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31291 * include/libc-symbols.h (attribute_hidden): Enable hidden
31292 visibility in libc.a compiled with PIE.
31294 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31297 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
31298 Add attribute_hidden.
31300 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31303 * Makerules (all-nonlib): Add $(others-extras).
31304 * catgets/Makefile (others-extras): New.
31305 * elf/Makefile (others-extras): Likewise.
31306 * nss/Makefile (others-extras): Likewise.
31308 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31311 * csu/libc-start.c (__libc_multiple_libcs): Removed.
31312 * elf/dl-open.c: Include <libc-internal.h>.
31313 (__libc_multiple_libcs): Removed.
31314 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
31316 * include/libc-internal.h (__libc_multiple_libcs): New.
31317 * misc/sbrk.c: Include <libc-internal.h>.
31318 (__libc_multiple_libcs): Removed.
31320 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31323 * grp/initgroups.c (__nss_group_database): Removed.
31324 (__nss_initgroups_database): Likewise.
31325 * nscd/gai.c (__nss_hosts_database): Likewise.
31326 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
31327 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
31328 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
31329 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
31330 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
31331 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
31333 * nss/nsswitch.c (__nss_database_custom): Define only if
31334 USE_NSCD is defined.
31335 (__nss_configure_lookup): Use __nss_database_custom only if
31336 USE_NSCD is defined.
31337 * nss/nsswitch.h (__nss_database_custom): Declare only if
31338 USE_NSCD is defined. Add attribute_hidden.
31339 (__nss_setent): Add attribute_hidden.
31340 (__nss_endent): Likewise.
31341 (__nss_getent_r): Likewise.
31342 (__nss_getent): Likewise.
31343 (DEFINE_DATABASE): Declare __nss_##arg##_database.
31345 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31348 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
31349 libc_hidden_proto and libc_hidden_def.
31351 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31354 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
31355 Add libc_hidden_proto.
31356 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
31357 Add libc_hidden_def.
31359 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31362 * gmon/Makefile (routines): Remove bb_init_func and
31364 (elide-routines.os): Removed.
31365 * gmon/bb_exit_func.c: Likewise.
31366 * gmon/bb_init_func.c: Likewise.
31367 * include/sys/gmon.h (__bb): Likewise.
31368 (__bb_init_func): Likewise.
31369 (__bb_exit_func): Likewise.
31370 * sysdeps/alpha/bb_init_func.S: Likewise.
31372 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31374 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
31375 * include/setjmp.h (____longjmp_chk): Here. Add
31378 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
31381 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
31383 (__strspn_sse2): Likewise.
31385 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31387 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
31388 (close_not_cancel_no_status): Likewise.
31389 (__close_nocancel): New macro.
31390 (__close_nocancel_nostatus): Likewise.
31391 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
31393 (close_not_cancel): Likewise.
31394 (close_not_cancel_no_status): Likewise.
31395 (__close_nocancel): New prototype.
31396 (__close_nocancel_nostatus): New function.
31397 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
31398 * catgets/open_catalog.c (__open_catalog): Replace
31399 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
31400 * gmon/gmon.c (write_gmon): Likewise.
31401 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
31402 * intl/loadmsgcat.c (close): Likewise.
31403 * io/ftw.c (open_dir_stream): Likewise.
31404 (ftw_startup): Likewise.
31405 * libio/fileops.c (_IO_file_open): Likewise.
31406 (_IO_file_close_mmap): Likewise.
31407 (_IO_file_close): Likewise.
31408 * libio/iopopen.c (_IO_dup2): Likewise.
31409 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31410 * locale/loadlocale.c (_nl_load_locale): Likewise.
31411 * login/utmp_file.c (pututline_file): Likewise.
31412 (endutent_file): Likewise.
31413 * misc/daemon.c (daemon): Likewise.
31414 * nscd/nscd_getai.c (__nscd_getai): Likewise.
31415 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31416 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31417 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31418 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31419 * nscd/nscd_helper.c (open_socket): Likewise.
31420 (__nscd_open_socket): Likewise.
31421 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
31422 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
31423 (__nscd_innetgr): Likewise.
31424 * nss/nss_db/db-open.c (internal_setent): Likewise.
31425 * resolv/res-close.c (__res_iclose): Likewise.
31426 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
31427 * sysdeps/posix/closedir.c (__closedir): Likewise.
31428 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
31429 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31430 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
31431 (opendir_tail): Likewise.
31432 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31433 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
31434 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
31435 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31436 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31437 (gethostid): Likewise.
31438 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31439 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31441 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31442 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
31443 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31444 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31446 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
31447 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
31448 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31450 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
31451 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31453 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31455 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
31456 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31457 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31460 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
31461 (openat_not_cancel_3): Likewise.
31462 (openat64_not_cancel_3): Likewise).
31463 (openat_not_cancel_3): Likewise).
31464 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
31466 (openat_not_cancel_3): Likewise.
31467 (openat64_not_cancel): Likewise.
31468 (openat64_not_cancel_3): Likewise.
31469 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
31470 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
31471 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
31472 __open{64}_nocancel.
31473 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31474 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31475 * sysdeps/posix/opendir.c (__opendirat): Likewise.
31477 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31480 * include/argz.h (__argz_create_sep): New function prototype.
31481 (__argz_append): Likewise.
31482 (__argz_add): Likewise.
31483 (__argz_add_sep): Likewise.
31484 (__argz_delete): Likewise.
31485 (__argz_insert): Likewise.
31486 (__argz_replace): Likewise.
31487 * string/argz.h (__argz_create_sep): Removed.
31488 (__argz_append): Likewise.
31489 (__argz_add): Likewise.
31490 (__argz_add_sep): Likewise.
31491 (__argz_delete): Likewise.
31492 (__argz_insert): Likewise.
31493 (__argz_replace): Likewise.
31495 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31497 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
31498 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
31499 (GNU_PROPERTY_STACK_SIZE): Likewie.
31500 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
31501 (GNU_PROPERTY_LOPROC): Likewise.
31502 (GNU_PROPERTY_HIPROC): Likewise.
31503 (GNU_PROPERTY_LOUSER): Likewise.
31504 (GNU_PROPERTY_HIUSER): Likewise.
31505 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
31506 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
31507 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
31508 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
31509 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
31510 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
31511 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
31512 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
31513 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
31514 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
31515 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
31516 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
31517 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
31518 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
31519 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
31520 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
31521 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
31522 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
31523 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
31524 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
31525 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
31526 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
31527 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
31529 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31531 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
31534 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31537 * math/math.h (isinf): Check if in C or C++ mode before using
31538 __builtin_types_compatible_p, since this is a C mode feature.
31540 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31542 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
31543 (__write_nocancel): New macro.
31544 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
31545 Rewrite as a function prototype.
31546 (write_not_cancel): Remove macro.
31547 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
31548 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
31549 (write_gmon): Likewise.
31550 * libio/fileops.c (_IO_new_file_write): Likewise.
31551 * login/utmp_file.c (pututline_file): Likewise.
31552 (updwtmp_file): Likewise.
31553 * stdio-common/psiginfo.c (psiginfo): Likewise.
31554 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31555 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31556 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31558 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31561 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
31562 (__read_nocancel): New macro.
31563 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31565 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
31567 (__read_nocancel): New prototype.
31568 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
31569 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
31570 with __read_nocancel.
31571 * intl/loadmsgcat.c (read): Likewise.
31572 * libio/fileops.c (_IO_file_read): Likewise.
31573 * locale/loadlocale.c (_nl_load_locale): Likewise.
31574 * login/utmp_file.c (getutent_r_file): Likewise.
31575 (internal_getut_r): Likewise.
31576 (getutline_r_file): Likewise.
31577 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31578 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31579 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31580 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31582 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
31583 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31584 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31586 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31588 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31590 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31592 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31594 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31597 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
31598 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
31601 2017-08-17 DJ Delorie <dj@redhat.com>
31603 * bug17079.c: Update to new test harness.
31604 * test-digits-dots.c: Likewise.
31605 * test-netdb.c: Likewise.
31606 * tst-field.c: Likewise.
31607 * tst-nss-getpwent.c: Likewise.
31608 * tst-nss-static.c: Likewise.
31609 * tst-nss-test1.c: Likewise.
31610 * tst-nss-test2.c: Likewise.
31611 * tst-nss-test3.c: Likewise.
31612 * tst-nss-test4.c: Likewise.
31613 * tst-nss-test5.c: Likewise.
31615 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31617 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
31618 (open_not_cancel_2): Likewise.
31619 (open_nocancel): New macro.
31620 (open64_nocancel): Likewise.
31621 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
31622 (open_not_cancel_2): Likewise.
31623 (__open_nocancel): New prototype.
31624 (__open64_nocancel): Likewise.
31625 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31627 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
31628 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
31629 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
31630 with __open_nocancel.
31631 * csu/check_fds.c (check_one_fd): Likewise.
31632 * gmon/gmon.c (write_gmon): Likewise.
31633 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
31634 * intl/loadmsgcat.c (open): Likewise.
31635 * libio/fileops.c (_IO_file_open): Likewise.
31636 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31637 * locale/loadlocale.c (_nl_load_locale): Likewise.
31638 * login/utmp_file.c (setutent_file): Likewise.
31639 * misc/daemon.c (daemon): Likewise.
31640 * nss/nss_db/db-open.c (internal_setent): Likewise.
31641 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31642 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
31643 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
31644 (__opendir): Likewise.
31645 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31646 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31647 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31648 (gethostid): Likewise.
31649 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31650 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31652 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31653 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
31654 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31655 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31657 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31659 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31661 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
31663 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31665 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31667 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
31668 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31670 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
31672 * benchtests/bench-skeleton.c (main): Add support for
31673 latency benchmarking.
31674 * benchtests/scripts/bench.py: Add support for latency benchmarking.
31676 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
31678 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
31679 the startup object.
31681 2017-08-17 Florian Weimer <fweimer@redhat.com>
31683 * include/sys/socket.h (__opensock): Remove internal_function.
31684 * socket/opensock.c (__opensock): Likewise.
31685 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
31687 2017-08-16 Joseph Myers <joseph@codesourcery.com>
31690 * signal/bits/types/__sigval_t.h: New file.
31691 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
31692 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
31693 and define sigval_t using __sigval_t.
31694 * include/bits/types/__sigval_t.h: New file.
31695 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
31696 instead of <bits/types/__sigval_t.h>.
31697 (struct sigevent): Use __sigval_t instead of sigval_t.
31698 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
31699 instead of <bits/types/__sigval_t.h>.
31700 (siginfo_t): Use __sigval_t instead of sigval_t.
31701 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
31702 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31703 (struct sigevent): Use __sigval_t instead of sigval_t.
31704 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
31705 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31706 (siginfo_t): Use __sigval_t instead of sigval_t.
31707 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
31709 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31711 * NEWS: Remove "[Add new features here]" for 2.27.
31713 2017-08-16 Joseph Myers <joseph@codesourcery.com>
31715 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
31718 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31720 * NEWS: Mention x86-64 FMA optimization.
31722 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31725 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31727 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
31728 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
31729 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
31731 2017-08-16 Andreas Schwab <schwab@suse.de>
31735 * elf/ldd.bash.in: Never run file directly.
31737 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
31740 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
31741 (L(SP_INF_0)): Likewise.
31743 2017-08-15 Florian Weimer <fweimer@redhat.com>
31745 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
31748 2017-08-15 Florian Weimer <fweimer@redhat.com>
31750 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
31751 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
31752 BROKEN_THREAD_SIGNALS code.
31753 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
31754 request_list): Remove caller_pid member used for
31755 BROKEN_THREAD_SIGNALS.
31756 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
31757 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31758 Remove BROKEN_THREAD_SIGNALS support.
31759 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
31760 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
31762 2017-08-15 Florian Weimer <fweimer@redhat.com>
31764 * gmon/Makefile (tests): Add tst-gmon.
31765 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
31767 (tests-special): Add tst-gmon-prof.out.
31768 (tst-gmon.out): Depend on clean-tst-gmon-data.
31769 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
31770 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
31771 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
31773 * aclocal.m4 (GPROF): Set and substitute.
31774 * config.amke.in (GPROF): Set.
31775 * configure: Regenerate.
31777 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
31779 * elf/elf.h A (NT_PPC_TAR): New macro.
31780 (NT_PPC_PPR): Likewise.
31781 (NT_PPC_DSCR): Likewise.
31782 (NT_PPC_EBB): Likewise.
31783 (NT_PPC_PMU): Likewise.
31784 (NT_PPC_TM_CGPR): Likewise.
31785 (NT_PPC_TM_CFPR): Likewise.
31786 (NT_PPC_TM_CVMX): Likewise.
31787 (NT_PPC_TM_CVSX): Likewise.
31788 (NT_PPC_TM_SPR): Likewise.
31789 (NT_PPC_TM_CTAR): Likewise.
31790 (NT_PPC_TM_CPPR): Likewise.
31791 (NT_PPC_TM_CDSCR): Likewise.
31793 2017-08-15 Florian Weimer <fweimer@redhat.com>
31795 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
31796 regparm (2) instead of internal_function.
31797 (_MCOUNT_DECL): Adjust.
31799 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
31801 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
31802 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
31804 2017-08-14 Joseph Myers <joseph@codesourcery.com>
31806 * conform/data/sys/wait.h-data (si_value): Do not expect for
31809 2017-08-14 Florian Weimer <fweimer@redhat.com>
31812 NSS: Create stubs for accidentally exported lookup functions.
31813 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
31814 Remove declaration.
31815 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
31816 (ether_hostton): Call __nss_ethers_lookup2 instead.
31817 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
31818 (ether_ntohost): Call __nss_ethers_lookup2 instead.
31819 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
31820 (setup): Call __nss_netgroup_lookup2 instead.
31821 * nss/Makefile (routines): Add compat-lookup.
31822 * nss/Versions (GLIBC_2.27): Add symbol version.
31823 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
31824 (DB_COMPAT_FCT): Remove.
31825 * nss/compat-lookup.c: New file.
31826 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
31827 from databases.def.
31828 * nss/service-lookup.c (NO_COMPAT): Remove definition.
31829 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
31830 (netname2user): Call __nss_publickey_lookup2 instead.
31831 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
31832 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
31835 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31836 Sergei Trofimovich <slyfox@inbox.ru>
31839 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
31840 Rename to MMAP2_PAGE_UNIT.
31841 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
31842 __OFF_T_MATCHES_OFF64_T is not defined.
31843 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
31845 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
31846 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
31848 2017-08-14 Florian Weimer <fweimer@redhat.com>
31850 i386: Do not set internal_function.
31851 * config.h.in (USE_REGPARMS, internal_function): Remove.
31852 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
31853 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
31855 2017-08-14 Florian Weimer <fweimer@redhat.com>
31857 * elf/dl-init.c (_dl_init): Remove internal_function.
31858 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
31859 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
31861 2017-08-14 Florian Weimer <fweimer@redhat.com>
31863 * elf/rtld.c (_dl_start): Remove internal_function.
31864 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
31867 2017-08-14 Florian Weimer <fweimer@redhat.com>
31869 * elf/dl-fini.c (_dl_fini): Remove internal_function
31870 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
31872 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
31874 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
31875 (bit_cpu_SHSTK): Likewise.
31876 (index_cpu_IBT): Likewise.
31877 (index_cpu_SHSTK): Likewise.
31878 (reg_IBT): Likewise.
31879 (reg_SHSTK): Likewise.
31880 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
31881 Handle index_cpu_IBT and index_cpu_SHSTK.
31883 2017-08-14 Mike FABIAN <mfabian@redhat.com>
31886 * po/fr.po: Fix spelling mistake.
31888 2017-08-13 Florian Weimer <fweimer@redhat.com>
31890 * elf/dl-addr.c (_dl_addr): Remove internal_function.
31891 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
31892 (_dl_catch_error, _dl_receive_error): Likewise.
31893 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
31894 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
31895 (_dl_deallocate_tls): Likewise.
31896 * include/dlfcn.h (_dl_addr): Likewise.
31897 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
31898 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
31899 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
31902 2017-08-13 Florian Weimer <fweimer@redhat.com>
31904 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
31905 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
31907 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
31909 2017-08-13 Florian Weimer <fweimer@redhat.com>
31911 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
31913 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
31914 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
31915 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
31916 internal_function from _dl_make_stack_executable_hook member.
31917 (_dl_make_stack_executable): Remove internal_function.
31918 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
31920 * sysdeps/unix/sysv/linux/dl-execstack.c
31921 (_dl_make_stack_executable): Likewise.
31923 2017-08-13 Florian Weimer <fweimer@redhat.com>
31925 * sysdeps/unix/sysv/linux/netlinkaccess.h
31926 (__netlink_assert_response): Remove internal_function.
31927 * sysdeps/unix/sysv/linux/netlink_assert_response.c
31928 (__netlink_assert_response): Likewise.
31930 2017-08-13 Florian Weimer <fweimer@redhat.com>
31932 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
31934 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
31936 2017-08-13 Florian Weimer <fweimer@redhat.com>
31938 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
31940 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
31941 * inet/netgroup.h (__internal_setnetgrent)
31942 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
31943 * inet/getnetgrent_r.c (__internal_setnetgrent)
31944 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
31945 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
31946 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
31947 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
31948 * nss/nsswitch.h (db_lookup_function): Likewise.
31950 2017-08-13 Florian Weimer <fweimer@redhat.com>
31952 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
31953 Remove internal_function.
31954 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
31955 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
31956 message argument on the stack.
31957 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
31960 2017-08-12 Mike FABIAN <mfabian@redhat.com>
31962 Adapt test case data to the changes in the thousands
31966 * localedata/tst-langinfo.sh: Adapt test case data.
31967 * stdlib/tst-strfmon_l.c: Likewise.
31968 * stdlib/tst-strtod4.c: Likewise.
31969 * stdlib/tst-strtod5i.c: Likewise.
31971 2017-08-11 Florian Weimer <fweimer@redhat.com>
31974 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
31975 Suppress pedantic warning resulting from statement expression.
31976 (__ASSERT_FUNCTION): Add missing __extension__.
31978 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
31980 * benchtests/bench-memmove-large.c: Print output in JSON
31982 * benchtests/bench-memmove.c: Likewise.
31984 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
31985 * benchtests/bench-memchr.c (do_one_test): Likewise.
31986 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
31987 * benchtests/bench-memcpy.c (do_one_test): Likewise.
31988 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
31989 * benchtests/bench-memmove.c (do_one_test): Likewise.
31990 * benchtests/bench-memset-large.c (do_one_test): Likewise.
31991 * benchtests/bench-memset.c (do_one_test): Likewise.
31992 * benchtests/bench-string.h (test_init): Remove memsets.
31994 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
31997 (Computing the Width of an Integer Data Type): Rename section to
31998 "Width of an Integer Type". Remove inaccurate statement regarding
31999 lack of C language facilities for determining width of integer
32000 types, and reorder content to improve flow and context of
32003 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
32005 * lang.texi (va_copy): Change standard from ISO to C99.
32006 (__va_copy): Add standard and header annotation.
32007 Update description for clarity of origins and current use.
32009 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32012 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
32013 xssqrtqp requires operands to be in Vector Registers
32014 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
32015 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
32016 (__ieee754_sqrtf128): Likewise.
32018 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
32020 * sysdeps/aarch64/memcmp.S (memcmp):
32021 Rewrite of optimized memcmp.
32023 2017-08-10 Florian Weimer <fweimer@redhat.com>
32025 Introduce ld.so exceptions.
32026 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
32027 (_dl_exception_create, _dl_exception_create_format)
32028 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
32029 (_dl_catch_exception): Declare.
32030 (_dl_catch_error): Update comment.
32031 * elf/dl-error-skeleton.c (struct catch): Replace objname,
32032 errstring, malloced members with exception member.
32033 (_dl_out_of_memory): Remove.
32034 (fatal_error): New function, extracted from _dl_signal_error.
32035 (_dl_signal_exception, _dl_signal_cexception): New functions.
32036 (_dl_signal_error): Call _dl_exception_create to allocate an
32038 (_dl_catch_exception): New function, based on _dl_catch_error.
32039 (_dl_catch_error): Implement using _dl_catch_exception.
32040 * elf/dl-exception.c: New file.
32041 * elf/Makefile (dl-routines): Add dl-exception.
32042 (elide-routines.os): Likewise.
32043 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
32044 _dl_exception_create_format, _dl_exception_free.
32045 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
32046 _dl_signal_exception.
32047 * elf/dl-lookup.c (make_string): Remove.
32048 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
32049 _dl_signal_cexception, _dl_exception_free.
32050 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
32051 _dl_signal_exception.
32052 * elf/dl-sym.c (do_sym): Likewise.
32053 * elf/dl-version.c (make_string): Remove.
32054 (match_symbol): Use _dl_exception_create_format,
32055 _dl_signal_cexception, _dl_exception_free.
32056 (_dl_check_map_versions): Likewise.
32057 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
32058 _dl_catch_exception.
32059 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
32060 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
32061 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
32062 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
32063 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
32064 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
32065 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
32066 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
32068 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
32069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
32071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
32073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
32075 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
32076 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
32077 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
32079 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
32081 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
32083 2017-08-10 Florian Weimer <fweimer@redhat.com>
32085 * inet/net-internal.h (__inet6_scopeid_pton): Remove
32086 attribute_hidden, internal_function.
32087 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
32090 2017-08-10 Florian Weimer <fweimer@redhat.com>
32092 * malloc/malloc.c (get_max_fast): Reimplement as an inline
32093 function which calls __builtin_unreachable.
32095 2017-08-10 Mike FABIAN <mfabian@redhat.com>
32097 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
32098 Indian monetary formatting
32099 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
32102 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
32104 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
32105 Fix typo in comment.
32108 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
32109 PTRACE_SEIZE_DEVEL): Remove.
32110 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
32111 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32112 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32113 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32114 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32116 2017-08-09 Joseph Myers <joseph@codesourcery.com>
32118 * posix/bits/types.h (__qaddr_t): Remove.
32121 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
32122 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32124 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
32125 (ucontext_t): Use __ctx with uc_flags.
32126 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
32127 (__ctxt): Likewise.
32128 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32130 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
32131 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32133 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
32134 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32136 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
32138 (ucontext_t): Use __ctx with uc_flags.
32139 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
32140 (ucontext_t): Use __ctx with uc_flags.
32141 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
32142 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
32143 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
32144 (ucontext_t): Use __ctx with uc_flags.
32145 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
32146 undefine further down.
32147 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32149 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
32150 undefine further down.
32151 (ucontext_t): Use __ctx with uc_flags.
32152 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
32153 undefine further down.
32154 (ucontext_t): Use __ctx with uc_flags.
32155 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
32156 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
32157 Rename uc_pad to __glibc_reserved1.
32158 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
32159 undefine further down.
32160 (ucontext_t): Use __ctx with uc_flags.
32161 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
32163 (ucontext_t): Use __ctx with uc_flags.
32164 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
32165 __ctx with uc_flags.
32166 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
32167 (ucontext_t): Use __ctx with uc_flags.
32168 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
32169 __ctx with uc_flags.
32171 2017-08-09 Florian Weimer <fweimer@redhat.com>
32174 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
32175 before early return.
32177 2017-08-09 Andreas Schwab <schwab@suse.de>
32180 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
32184 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
32185 tst-compat-forwarder.
32186 (modules-names): Add tst-compat-forwarder-mod.
32187 ($(objpfx)tst-compat-forwarder): Depend on
32188 $(objpfx)tst-compat-forwarder-mod.so.
32189 * nptl/tst-compat-forwarder.c: New file.
32190 * nptl/tst-compat-forwarder-mod.c: New file.
32192 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
32194 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
32197 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
32198 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
32200 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
32202 (__libc_ifunc_impl_list): Add __memcpy_falkor.
32203 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
32204 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
32205 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
32207 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
32210 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32213 * manual/setjmp.texi (getcontex): Document uc_stack value
32214 compatibility differences.
32216 2017-08-08 Joseph Myers <joseph@codesourcery.com>
32218 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
32219 (old_malloc_hook): Likewise.
32220 (old_memalign_hook): Likewise.
32221 (old_realloc_hook): Likewise.
32222 (struct hdr): Likewise.
32224 (freehook): Likewise.
32225 (mallochook): Likewise.
32226 (memalignhook): Likewise.
32227 (reallochook): Likewise.
32228 (mprobe): Likewise.
32229 * malloc/mtrace.c (mallwatch): Likewise.
32230 (tr_old_free_hook): Likewise.
32231 (tr_old_malloc_hook): Likewise.
32232 (tr_old_realloc_hook): Likewise.
32233 (tr_old_memalign_hook): Likewise.
32234 (tr_where): Likewise.
32235 (lock_and_info): Likewise.
32236 (tr_freehook): Likewise.
32237 (tr_mallochook): Likewise.
32238 (tr_reallochook): Likewise.
32239 (tr_memalignhook): Likewise.
32240 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
32241 * misc/mmap.c (__mmap): Likewise.
32242 * misc/mmap64.c (__mmap64): Likewise.
32243 * misc/mprotect.c (__mprotect): Likewise.
32244 * misc/msync.c (msync): Likewise.
32245 * misc/munmap.c (__munmap): Likewise.
32246 * posix/posix_madvise.c (posix_madvise): Likewise.
32247 * socket/send.c (__send): Likewise.
32248 * socket/sendto.c (__sendto): Likewise.
32249 * socket/setsockopt.c (__setsockopt): Likewise.
32250 * string/memcmp.c (__ptr_t): Remove macro.
32251 (MEMCMP): Use void * instead of ptr_t.
32252 * string/memrchr.c (__ptr_t): Remove macro.
32253 (__memrchr): Use void * instead of ptr_t.
32254 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
32255 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
32256 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
32257 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
32258 * sysdeps/mach/msync.c (msync): Likewise.
32259 * sysdeps/mach/munmap.c (__munmap): Likewise.
32260 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
32262 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32263 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
32264 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
32265 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
32266 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
32267 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
32268 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
32269 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
32271 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
32272 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
32273 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
32274 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
32275 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
32276 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
32277 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
32278 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
32279 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
32281 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
32282 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
32283 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
32284 (MEMCMP): Use void * instead of ptr_t.
32285 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
32286 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
32288 2017-08-08 Florian Weimer <fweimer@redhat.com>
32290 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
32293 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
32296 * csu/libc-tls.c: Include <startup.h> first.
32297 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
32298 * elf/dl-tunables.c: Include <startup.h> first.
32299 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
32300 * sysdeps/generic/startup.h: New file.
32301 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
32302 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
32303 (I386_USE_SYSENTER): New. Defined to 0.
32305 2017-08-08 Andreas Schwab <schwab@suse.de>
32308 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
32309 * nptl/pt-system.c (system): Likewise.
32311 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32314 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
32316 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
32317 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
32318 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
32319 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
32320 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
32321 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
32322 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
32324 2017-08-07 Joseph Myers <joseph@codesourcery.com>
32327 * bits/sigaction.h (struct sigaction): Define sa_handler and
32328 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
32329 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32330 [__USE_XOPEN_EXTENDED].
32331 (SA_RESTART): Likewise.
32332 (SA_NODEFER): Likewise.
32333 (SA_RESETHAND): Likewise.
32334 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
32335 (struct sigaction): Define sa_handler and sa_sigaction using union
32336 also for [__USE_XOPEN_EXTENDED].
32337 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32338 [__USE_XOPEN_EXTENDED].
32339 (SA_RESTART): Likewise.
32340 (SA_NODEFER): Likewise.
32341 (SA_RESETHAND): Likewise.
32342 * sysdeps/unix/sysv/linux/bits/sigaction.h
32343 (struct sigaction): Define sa_handler and sa_sigaction using union
32344 also for [__USE_XOPEN_EXTENDED].
32345 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32346 [__USE_XOPEN_EXTENDED].
32347 (SA_RESTART): Likewise.
32348 (SA_NODEFER): Likewise.
32349 (SA_RESETHAND): Likewise.
32350 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
32351 (struct sigaction): Define sa_handler and sa_sigaction using union
32352 also for [__USE_XOPEN_EXTENDED].
32353 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32354 [__USE_XOPEN_EXTENDED].
32355 (SA_RESTART): Likewise.
32356 (SA_NODEFER): Likewise.
32357 (SA_RESETHAND): Likewise.
32358 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
32359 (struct sigaction): Define sa_handler and sa_sigaction using union
32360 also for [__USE_XOPEN_EXTENDED].
32361 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32362 [__USE_XOPEN_EXTENDED].
32363 (SA_RESTART): Likewise.
32364 (SA_NODEFER): Likewise.
32365 (SA_RESETHAND): Likewise.
32366 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
32367 (struct sigaction): Define sa_handler and sa_sigaction using union
32368 also for [__USE_XOPEN_EXTENDED].
32369 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32370 [__USE_XOPEN_EXTENDED].
32371 (SA_RESTART): Likewise.
32372 (SA_NODEFER): Likewise.
32373 (SA_RESETHAND): Likewise.
32374 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
32375 (struct sigaction): Define sa_handler and sa_sigaction using union
32376 also for [__USE_XOPEN_EXTENDED].
32377 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32378 [__USE_XOPEN_EXTENDED].
32379 (SA_RESTART): Likewise.
32380 (SA_NODEFER): Likewise.
32381 (SA_RESETHAND): Likewise.
32382 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
32383 (struct sigaction): Define sa_handler and sa_sigaction using union
32384 also for [__USE_XOPEN_EXTENDED].
32385 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32386 [__USE_XOPEN_EXTENDED].
32387 (SA_RESTART): Likewise.
32388 (SA_NODEFER): Likewise. Define directly rather than as alias.
32389 (SA_RESETHAND): Likewise.
32390 (SA_INTERRUPT): Define only for [__USE_MISC].
32391 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
32392 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
32394 (SA_STACK): Define only for [__USE_MISC].
32395 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
32396 (struct sigaction): Define sa_handler and sa_sigaction using union
32397 also for [__USE_XOPEN_EXTENDED].
32398 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32399 [__USE_XOPEN_EXTENDED].
32400 (SA_RESTART): Likewise.
32401 (SA_NODEFER): Likewise.
32402 (SA_RESETHAND): Likewise.
32403 (SA_NOPTRACE): Define only for [__USE_MISC].
32405 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
32406 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
32407 (struct catalog_info): Likewise.
32408 * inet/htontest.c (lo): Likewise.
32410 * inet/inet_lnaof.c (inet_lnaof): Likewise.
32411 * inet/inet_net.c (inet_network): Likewise.
32412 * inet/inet_netof.c (inet_netof): Likewise.
32413 * inet/rcmd.c (__ivaliduser): Likewise.
32414 (iruserok): Likewise.
32415 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
32416 * locale/programs/locale-spec.c (locale_special): Likewise.
32417 * nis/nis_findserv.c (struct findserv_req): Likewise.
32418 (__nis_findfastest_with_timeout): Likewise.
32419 * nss/test-netdb.c (test_network): Likewise.
32420 * resolv/inet_neta.c (inet_neta): Likewise.
32421 * resolv/ns_date.c (ns_datetosecs): Likewise.
32422 (SECS_PER_DAY): Likewise.
32423 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
32425 * resolv/res_comp.c (__putlong): Likewise.
32426 (__putshort): Likewise.
32427 (_getlong): Likewise.
32428 (_getshort): Likewise.
32429 * resolv/res_debug.c (p_time): Likewise.
32430 (precsize_ntoa): Likewise.
32431 (precsize_aton): Likewise.
32432 (latlon2ul): Likewise.
32433 (loc_aton): Likewise.
32434 (loc_ntoa): Likewise.
32435 * resolv/res_hconf.c (struct netaddr): Likewise.
32436 (_res_hconf_reorder_addrs): Likewise.
32437 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
32438 (clnttcp_control): Likewise.
32439 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32440 (clntudp_control): Likewise.
32441 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
32442 (clntunix_control): Likewise.
32443 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
32444 * sunrpc/rpc/auth.h (union des_block): Likewise.
32445 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
32446 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
32447 (xdrrec_create): Likewise.
32448 (xdrrec_endofrecord): Likewise.
32449 (flush_out): Likewise.
32450 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
32451 (xdrstdio_putlong): Likewise.
32452 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
32455 * misc/sys/cdefs.h (__long_double_t): Remove.
32456 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
32457 instead of __long_double_t,
32458 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
32460 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
32462 * benchtests/scripts/compare_strings.py: Avoid display error when
32463 running on a text terminal.
32465 * benchtests/scripts/compare_strings.py (main): Add an
32466 optional -base option.
32467 (process_results): New argument base_func.
32469 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
32471 * benchtests/bench-memcpy-large.c (test_name): Likewise.
32472 * benchtests/bench-memcpy-random.c (test_name): Likewise.
32474 2017-08-07 Andreas Schwab <schwab@suse.de>
32476 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
32477 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
32478 * intl/Makefile ($(objpfx)tst-gettext.out)
32479 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
32480 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
32481 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
32482 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
32483 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
32484 * posix/Makefile ($(objpfx)globtest.out)
32485 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
32486 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
32487 ($(objpfx)tst-printf.out): Likewise.
32488 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
32489 ($(objpfx)tst-setcontext3.out): Likewise.
32491 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
32493 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32494 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
32495 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
32496 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
32497 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
32499 (CFLAGS-doasin-fma.c): New.
32500 (CFLAGS-dosincos-fma.c): Likewise.
32501 (CFLAGS-e_asin-fma.c): Likewise.
32502 (CFLAGS-e_atan2-fma.c): Likewise.
32503 (CFLAGS-e_exp-fma.c): Likewise.
32504 (CFLAGS-e_log-fma.c): Likewise.
32505 (CFLAGS-e_pow-fma.c): Likewise.
32506 (CFLAGS-halfulp-fma.c): Likewise.
32507 (CFLAGS-mpa-fma.c): Likewise.
32508 (CFLAGS-mpatan-fma.c): Likewise.
32509 (CFLAGS-mpatan2-fma.c): Likewise.
32510 (CFLAGS-mpexp-fma.c): Likewise.
32511 (CFLAGS-mplog-fma.c): Likewise.
32512 (CFLAGS-mpsqrt-fma.c): Likewise.
32513 (CFLAGS-mptan-fma.c): Likewise.
32514 (CFLAGS-s_atan-fma.c): Likewise.
32515 (CFLAGS-sincos32-fma.c): Likewise.
32516 (CFLAGS-slowexp-fma.c): Likewise.
32517 (CFLAGS-slowpow-fma.c): Likewise.
32518 (CFLAGS-s_sin-fma.c): Likewise.
32519 (CFLAGS-s_tan-fma.c): Likewise.
32520 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
32521 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
32522 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
32523 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
32524 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
32525 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
32526 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
32527 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
32528 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
32529 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
32530 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
32531 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
32532 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
32533 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
32534 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
32535 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
32536 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
32537 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
32538 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
32539 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
32540 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
32541 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
32542 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
32543 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
32544 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32545 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32546 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32547 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
32548 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32549 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32550 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32552 2017-08-04 Joseph Myers <joseph@codesourcery.com>
32554 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
32555 (min_of_type_f): New macro.
32556 (min_of_type_): Likewise.
32557 (min_of_type_l): Likewise.
32558 (min_of_type_f128): Likewise.
32559 (min_of_type): Define using __MATH_TG and taking an expression
32561 (math_check_force_underflow): Pass expression instead of type to
32563 (math_check_force_underflow_nonneg): Likewise.
32565 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32567 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32568 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
32569 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
32571 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32573 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32574 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
32575 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
32576 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
32577 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
32578 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
32579 memcpy_chk-nonshared, mempcpy_chk-nonshared,
32580 memmove_chk-nonshared and memset_chk-nonshared
32581 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
32582 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
32583 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
32584 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
32585 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
32586 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
32587 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
32588 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
32589 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
32590 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
32591 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
32592 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
32593 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
32594 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
32595 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
32596 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
32597 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
32598 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
32599 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
32600 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
32601 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
32602 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
32603 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
32604 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
32605 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
32606 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
32607 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
32608 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
32609 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
32610 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
32611 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
32612 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
32613 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
32614 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32615 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32616 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
32617 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
32618 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
32619 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
32620 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
32621 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
32622 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
32623 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
32624 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
32625 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
32626 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
32627 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
32628 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
32629 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
32630 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
32631 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
32632 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
32633 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
32634 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
32635 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
32636 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
32637 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
32638 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
32639 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
32640 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
32641 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
32642 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
32643 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
32644 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
32645 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
32646 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
32647 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
32648 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
32649 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
32650 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
32651 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
32652 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32653 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32654 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32655 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32656 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32657 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32658 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32659 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32660 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32661 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32662 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32663 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32664 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32665 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32666 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32667 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32668 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32669 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32670 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32671 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32672 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32673 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32674 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32675 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32676 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32677 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32678 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32679 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32680 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32681 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32682 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32683 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32684 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32685 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32686 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32687 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32688 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32690 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32692 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
32693 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
32694 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
32695 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
32696 svml_d_log2_core-sse2, svml_d_log4_core-sse,
32697 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
32698 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
32699 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
32700 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
32701 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
32702 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
32703 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
32704 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
32705 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
32706 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
32707 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
32708 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
32709 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
32710 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
32711 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
32712 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
32713 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
32714 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
32715 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
32716 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
32717 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
32718 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
32719 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
32720 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
32721 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
32722 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
32723 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
32724 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
32725 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
32726 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
32727 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
32728 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
32729 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
32730 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
32731 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
32732 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
32733 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
32734 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
32735 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
32736 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
32737 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
32738 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
32739 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
32740 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
32741 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
32742 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
32743 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
32744 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
32745 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
32746 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
32747 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
32748 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
32749 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
32750 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
32752 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
32753 Don't include <sysdep.h> nor <init-arch.h>.
32754 (_ZGVbN2v_cos): Removed.
32755 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
32757 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
32758 Don't include <sysdep.h> nor <init-arch.h>.
32759 (_ZGVdN4v_cos): Removed.
32760 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
32762 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
32763 Don't include <sysdep.h> nor <init-arch.h>.
32764 (_ZGVeN8v_cos): Removed.
32765 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
32767 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
32768 Don't include <sysdep.h> nor <init-arch.h>.
32769 (_ZGVbN2v_exp): Removed.
32770 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
32772 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
32773 Don't include <sysdep.h> nor <init-arch.h>.
32774 (_ZGVdN4v_exp): Removed.
32775 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
32777 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
32778 Don't include <sysdep.h> nor <init-arch.h>.
32779 (_ZGVeN8v_exp): Removed.
32780 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
32782 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
32783 Don't include <sysdep.h> nor <init-arch.h>.
32784 (_ZGVbN2v_log): Removed.
32785 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
32787 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
32788 Don't include <sysdep.h> nor <init-arch.h>.
32789 (_ZGVdN4v_log): Removed.
32790 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
32792 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
32793 Don't include <sysdep.h> nor <init-arch.h>.
32794 (_ZGVeN8v_log): Removed.
32795 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
32797 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
32798 Don't include <sysdep.h> nor <init-arch.h>.
32799 (_ZGVbN2vv_pow): Removed.
32800 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
32802 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
32803 Don't include <sysdep.h> nor <init-arch.h>.
32804 (_ZGVdN4vv_pow): Removed.
32805 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
32807 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
32808 Don't include <sysdep.h> nor <init-arch.h>.
32809 (_ZGVeN8vv_pow): Removed.
32810 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
32812 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
32813 Don't include <sysdep.h> nor <init-arch.h>.
32814 (_ZGVbN2v_sin): Removed.
32815 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
32817 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
32818 Don't include <sysdep.h> nor <init-arch.h>.
32819 (_ZGVbN4v_sin): Removed.
32820 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
32822 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
32823 Don't include <sysdep.h> nor <init-arch.h>.
32824 (_ZGVbN8v_sin): Removed.
32825 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
32827 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
32828 Don't include <sysdep.h> nor <init-arch.h>.
32829 (_ZGVbN2vvv_sincos): Removed.
32830 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
32832 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
32833 Don't include <sysdep.h> nor <init-arch.h>.
32834 (_ZGVdN4vvv_sincos): Removed.
32835 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
32837 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
32838 Don't include <sysdep.h> nor <init-arch.h>.
32839 (_ZGVeN8vvv_sincos): Removed.
32840 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
32842 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
32843 Don't include <sysdep.h> nor <init-arch.h>.
32844 (_ZGVeN16v_cosf): Removed.
32845 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
32847 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
32848 Don't include <sysdep.h> nor <init-arch.h>.
32849 (_ZGVbN4v_cosf): Removed.
32850 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
32852 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
32853 Don't include <sysdep.h> nor <init-arch.h>.
32854 (_ZGVdN8v_cosf): Removed.
32855 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
32857 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
32858 Don't include <sysdep.h> nor <init-arch.h>.
32859 (_ZGVeN16v_expf): Removed.
32860 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
32862 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
32863 Don't include <sysdep.h> nor <init-arch.h>.
32864 (_ZGVbN4v_expf): Removed.
32865 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
32867 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
32868 Don't include <sysdep.h> nor <init-arch.h>.
32869 (_ZGVdN8v_expf): Removed.
32870 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
32872 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
32873 Don't include <sysdep.h> nor <init-arch.h>.
32874 (_ZGVeN16v_logf): Removed.
32875 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
32877 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
32878 Don't include <sysdep.h> nor <init-arch.h>.
32879 (_ZGVbN4v_logf): Removed.
32880 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
32882 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
32883 Don't include <sysdep.h> nor <init-arch.h>.
32884 (_ZGVdN8v_logf): Removed.
32885 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
32887 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
32888 Don't include <sysdep.h> nor <init-arch.h>.
32889 (_ZGVeN16vv_powf): Removed.
32890 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
32892 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
32893 Don't include <sysdep.h> nor <init-arch.h>.
32894 (_ZGVbN4vv_powf): Removed.
32895 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
32897 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
32898 Don't include <sysdep.h> nor <init-arch.h>.
32899 (_ZGVdN8vv_powf): Removed.
32900 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
32902 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
32903 Don't include <sysdep.h> nor <init-arch.h>.
32904 (_ZGVeN16vvv_sincosf): Removed.
32905 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
32907 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
32908 Don't include <sysdep.h> nor <init-arch.h>.
32909 (_ZGVbN4vvv_sincosf): Removed.
32910 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
32912 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
32913 Don't include <sysdep.h> nor <init-arch.h>.
32914 (_ZGVdN8vvv_sincosf): Removed.
32915 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
32917 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
32918 Don't include <sysdep.h> nor <init-arch.h>.
32919 (_ZGVeN16v_sinf): Removed.
32920 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
32922 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
32923 Don't include <sysdep.h> nor <init-arch.h>.
32924 (_ZGVbN4v_sinf): Removed.
32925 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
32927 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
32928 Don't include <sysdep.h> nor <init-arch.h>.
32929 (_ZGVdN8v_sinf): Removed.
32931 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32933 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32934 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
32935 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
32936 s_rint-sse4_1 and s_rintf-sse4_1.
32937 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
32938 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
32939 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
32940 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
32941 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
32942 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
32943 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
32944 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
32945 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
32946 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
32947 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
32948 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32950 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
32951 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
32952 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32953 (__ceilf): Removed.
32954 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
32955 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
32956 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32957 (__floor): Removed.
32958 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
32959 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
32960 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32961 (__floorf): Removed.
32962 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
32963 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
32964 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32965 (__nearbyint): Removed.
32966 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
32967 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
32968 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32969 (__nearbyintf): Removed.
32970 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
32971 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
32972 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32974 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
32975 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
32976 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32977 (__rintf): Removed.
32979 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32981 * sysdeps/i386/start.S (_start): Check Check PIC instead of
32982 SHARED. Avoid dynamic relocation against main in static PIE.
32984 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32987 * elf/Makefile (CFLAGS-tst-prelink.c): New.
32988 (LDFLAGS-tst-prelink): Likewise.
32990 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32992 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
32993 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
32994 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
32995 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
32996 (INTERNAL_SYSCALL_NCS): Likewise.
32997 (LOADARGS_1): Likewise.
32998 (LOADARGS_5): Likewise.
32999 (RESTOREARGS_1): Likewise.
33000 (RESTOREARGS_5): Likewise.
33002 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33004 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
33005 (MEMPCPY_SYMBOL): Likewise.
33006 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
33007 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
33008 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
33010 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33011 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
33013 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
33014 (__hidden_ver1): Don't use in libc.a.
33015 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
33016 (__mempcpy): Don't create a weak alias in libc.a.
33017 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
33019 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
33020 (__hidden_ver1): Don't use in libc.a.
33022 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33024 * config.make.in (have-insert): New.
33025 * configure.ac (libc_cv_insert): New. Set to yes if linker
33026 supports INSERT in linker script.
33027 (AC_SUBST(libc_cv_insert): New.
33028 * configure: Regenerated.
33029 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
33030 if $(have-insert) == yes.
33032 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33034 * elf/Makefile (tests): Add vismain only if
33035 $(have-protected-data) == yes.
33036 (tests-pie): Likewise.
33038 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33041 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
33042 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
33044 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33047 * sysdeps/i386/i586/memset.S
33048 (__memset_zero_constant_len_parameter): Removed.
33049 * sysdeps/i386/i686/memset.S
33050 (__memset_zero_constant_len_parameter): Likewise.
33051 * sysdeps/i386/i686/multiarch/memset_chk.S
33052 (__memset_zero_constant_len_parameter): Likewise.
33053 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
33056 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
33058 * stdlib/getentropy.c (getentropy): Change return type to int.
33060 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
33062 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
33064 2017-08-03 Joseph Myers <joseph@codesourcery.com>
33066 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
33068 * math/s_nexttowardf.c (__nexttowardf): Likewise.
33069 * sysdeps/generic/math_private.h (ieee_double_shape_type):
33071 (ieee_float_shape_type): Likewise.
33072 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
33073 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
33074 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
33075 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33076 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
33077 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
33078 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
33079 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
33080 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
33082 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
33083 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
33084 (__ieee754_yn): Likewise.
33085 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
33086 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
33087 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
33089 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
33090 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
33091 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
33092 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
33093 (__erfc): Likewise.
33094 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
33095 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
33096 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
33097 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
33098 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
33099 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
33101 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
33102 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
33103 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
33104 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
33105 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
33106 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
33107 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
33108 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
33109 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
33110 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
33111 (__issignaling): Likewise.
33112 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
33113 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
33114 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
33116 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33117 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
33118 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
33119 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
33121 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
33123 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
33124 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
33125 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
33126 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
33127 (__erfcf): Likewise.
33128 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
33129 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
33130 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
33131 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
33133 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
33134 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
33136 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
33137 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
33138 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
33139 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
33140 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
33141 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
33142 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
33143 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
33145 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
33147 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
33149 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
33150 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
33152 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
33154 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
33155 (__ieee754_ynl): Likewise.
33156 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
33157 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
33159 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
33161 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
33162 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
33163 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33165 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
33166 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
33167 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
33168 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
33169 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
33170 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
33171 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
33172 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
33174 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
33175 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
33176 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
33178 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
33179 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
33180 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
33181 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
33182 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
33183 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33185 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
33187 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33189 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33191 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
33192 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
33193 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33194 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
33195 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
33196 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
33197 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
33199 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
33201 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
33202 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33204 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
33205 (__ieee754_remainderl): Likewise.
33206 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33207 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33208 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
33209 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
33211 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
33212 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33214 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33215 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
33216 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
33217 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
33218 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
33219 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
33221 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
33222 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
33223 (__ieee754_y0l): Likewise.
33226 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33227 (__ieee754_y1l): Likewise.
33230 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
33231 (__ieee754_ynl): Likewise.
33232 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
33233 (__ieee754_lgammal_r): Likewise.
33234 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
33236 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
33237 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
33238 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
33239 (__erfcl): Likewise.
33240 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
33241 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
33243 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
33244 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
33245 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
33246 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
33247 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
33248 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33249 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33251 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
33252 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
33253 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
33254 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
33255 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33257 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
33258 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
33260 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
33261 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
33262 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
33263 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
33264 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
33266 2017-08-03 Florian Weimer <fweimer@redhat.com>
33269 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
33270 on memory allocation failure.
33272 2017-08-03 Alan Modra <amodra@gmail.com>
33274 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
33275 tst-tlsopt-powerpc.c with function name change and no test harness.
33276 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
33277 Call tls_get_addr_opt_test.
33278 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
33279 (modules-names): Add mod-tlsopt-powerpc.
33280 (mod-tlsopt-powerpc.so-no-z-defs): Define.
33281 (tst-tlsopt-powerpc): Depend on .so.
33282 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
33283 define. Expand use in TLS_GD and TLS_LD.
33285 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
33287 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
33289 * sysdeps/posix/shm_open.c: Include <pthread.h>.
33291 2017-08-02 Joseph Myers <joseph@codesourcery.com>
33294 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
33295 comparing size with that of double.
33296 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
33297 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
33298 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
33299 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
33300 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33301 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
33302 unsigned __int128 types.
33304 2017-08-02 Steve Ellcey <sellcey@cavium.com>
33306 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
33307 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
33308 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
33309 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
33310 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
33312 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33314 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
33316 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33318 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
33320 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
33321 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
33322 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33323 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
33324 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
33325 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
33326 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
33328 2017-08-02 Joseph Myers <joseph@codesourcery.com>
33331 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
33332 bit-field expressions passed to sizeof or typeof.
33333 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33334 (__TGMATH_F128): Likewise.
33335 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33336 (__TGMATH_CF128): Likewise.
33337 (__TGMATH_UNARY_REAL_ONLY): Likewise.
33338 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
33339 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
33340 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
33341 (__TGMATH_BINARY_REAL_ONLY): Likewise.
33342 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
33343 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
33344 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
33345 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
33346 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
33347 (__TGMATH_UNARY_REAL_IMAG): Likewise.
33348 (__TGMATH_UNARY_IMAG): Likewise.
33349 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
33350 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33351 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
33353 (define_vars_for_type): Handle bit_field type specially.
33354 (Tests.__init__): Declare structure with bit-field element.
33356 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33359 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
33360 (MEMCPY_CHK): Define only if SHARED is defined.
33361 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
33363 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
33366 See ChangeLog.18 for earlier changes.