1 2019-04-01 Richard Henderson <rth@twiddle.net>
3 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
5 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
8 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
10 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
11 $libc_cv_riscv_float_abi in `test' invocation.
12 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
14 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
16 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
18 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
20 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
21 (_GET_SI_FPSCR): Likewise.
22 (_SET_SI_FPSCR): Likewise.
24 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
28 (signbit): Use builtin for clang 3.3.
29 (isinf): Use builtin for clang 3.7.
31 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
35 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
37 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
40 2019-03-25 Mike Crowe <mac@mcrowe.com>
42 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
43 pthread_rwlock_timedrdlock with calls to
44 pthread_rwlock_timedwrlock to ensure that the latter is tested
45 too. Use new function name in diagnostic messages too.
47 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
48 (do_test) Use libsupport test macros rather than hand-coded
49 conditionals and error messages. Ensure that sem_init returns zero
50 rather than not -1. Use <support/test-driver.c> rather than
53 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
54 test macros rather than hand-coded conditionals and error messages.
55 Use <support/test-driver.c> rather than test-skeleton.c.
57 2019-03-25 Joseph Myers <joseph@codesourcery.com>
59 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
61 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
62 (NT_MIPS_MSA): Likewise.
64 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
66 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
67 * benchtests/README: Update description.
68 * benchtests/bench-timing.h: Default to hp-timing.
69 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
70 HP_TIMING_PRINT): Remove.
71 (HP_TIMING_NOW): Add generic implementation.
72 (hp_timing_t): Change to uint64_t.
74 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
76 * nptl/descr.h: Likewise.
77 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
78 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
79 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
80 Abstract hp-timing usage with RTLD_* macros.
81 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
82 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
83 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
84 HP_TIMING_NONAVAIL): Likewise.
85 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
87 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
88 HP_SMALL_TIMING_AVAIL): Likewise.
89 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
90 HP_SMALL_TIMING_AVAIL): Likewise.
91 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
92 HP_SMALL_TIMING_AVAIL): Likewise.
93 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
94 HP_SMALL_TIMING_AVAIL): Likewise.
95 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
97 * sysdeps/generic/hp-timing-common.h: Update comment with
98 HP_TIMING_AVAIL removal.
100 * include/random-bits.h: New file.
101 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
102 (__res_context_mkquery): Remove usage hp-timing usage and replace with
104 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
105 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
108 * include/libc-internal.h (__get_clockfreq): Remove prototype.
109 * rt/Makefile (clock-routines): Remove get_clockfreq.
110 * rt/get_clockfreq.c: Remove file.
111 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
112 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
113 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
114 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
115 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
117 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
118 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
119 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
120 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
121 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
123 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
124 pthread_clock_settime.
125 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
126 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
127 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
128 * elf/rtld.c (_dl_start_final): Likewise.
129 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
130 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
132 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
133 (_dl_cpuclock_offset): Remove.
134 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
135 cpuclock_offset_ununsed.
136 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
138 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
139 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
140 * nptl/pthread_clock_gettime.c: Remove file.
141 * nptl/pthread_clock_settime.c: Likewise.
142 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
143 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
144 and CLOCK_PROCESS_CPUTIME_ID support.
145 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
146 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
147 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
148 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
149 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
151 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
153 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
155 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
156 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
157 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
159 * sysdeps/s390/memmem-arch13.S: New file.
160 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
161 if it is only used as fallback.
162 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
163 * sysdeps/s390/multiarch/ifunc-impl-list.c
164 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
166 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
168 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
169 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
170 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
172 * sysdeps/s390/multiarch/ifunc-impl-list.c
173 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
174 * sysdeps/s390/strstr-arch13.S: New file.
175 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
176 if it is only used as fallback.
177 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
179 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
181 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
182 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
183 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
184 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
186 * sysdeps/s390/multiarch/ifunc-impl-list.c
187 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
188 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
189 S390_IS_ARCH13_MIE3): New defines.
191 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
193 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
194 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
195 * sysdeps/s390/configure.ac: Add checks for arch13 support.
196 * sysdeps/s390/configure: Regenerated.
198 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
200 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
201 Add vxe2, vxp, dflt, sort flags.
202 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
203 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
205 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
206 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
207 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
208 HWCAP_S390_DFLT): Define.
210 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
213 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
215 * locale/programs/ld-collate.c (collate_output): Likewise.
217 2019-03-21 DJ Delorie <dj@redhat.com>
220 * iconv/iconvconfig.c (write_output): Replace floating point math
221 with integer math to avoid imprecise results.
222 * locale/programs/ld-collate.c (collate_output): Likewise.
224 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
226 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
227 Add HWCAP_S390_VX and HWCAP_S390_VXE.
229 2019-03-20 mansayk <6688000@gmail.com>
232 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
233 (abday): Likewise, but remove the trailing dots.
235 2019-03-19 Joseph Myers <joseph@codesourcery.com>
237 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
239 (HWCAP_PACA): Likewise.
240 (HWCAP_PACG): Likewise.
241 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
243 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
245 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
247 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
250 2019-03-15 Joseph Myers <joseph@codesourcery.com>
252 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
254 (old_getpagesize): New syscall.
256 2019-03-15 Felix Yan <felixonmars@archlinux.org>
259 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
260 * localedata/locales/cmn_TW (era): Likewise.
261 * localedata/locales/hak_TW (era): Likewise.
262 * localedata/locales/lzh_TW (era): Likewise.
263 * localedata/locales/nan_TW (era): Likewise.
265 2019-03-14 Florian Weimer <fweimer@redhat.com>
267 Remove obsolete, never-implemented XSI STREAMS declarations.
268 * manual/terminal.texi (Allocation): Remove portability note and
270 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
272 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
273 * sysdeps/unix/inet/Subdirs (streams): Remove.
274 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
275 (conformtest-headers-UNIX98): Likewise.
276 (conformtest-headers-XOPEN2K): Likewise.
277 (conformtest-headers-POSIX2008): Likewise.
278 * posix/compat-streams.c: New file.
279 * posix/Makefile (routines): Add it.
280 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
281 getpmsg, isastream, putmsg, putpmsg.
282 (GLIBC_2.30): New section.
283 * bits/stropts.h: Remove file.
284 * bits/xtitypes.h: Likewise.
285 * conform/data/stropts.h-data: Likewise.
286 * include/stropts.h: Likewise.
287 * include/sys/stropts.h: Likewise.
288 * include/xtitypes.h: Likewise.
289 * streams/Makefile: Likewise.
290 * streams/fattach.c: Likewise.
291 * streams/fdetach.c: Likewise.
292 * streams/getmsg.c: Likewise.
293 * streams/getpmsg.c: Likewise.
294 * streams/isastream.c: Likewise.
295 * streams/putmsg.c: Likewise.
296 * streams/putpmsg.c: Likewise.
297 * streams/stropts.h: Likewise.
298 * streams/sys/stropts.h: Likewise.
299 * sysdeps/ia64/bits/xtitypes.h: Likewise.
300 * sysdeps/s390/bits/xtitypes.h: Likewise.
301 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
302 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
303 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
304 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
305 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
306 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
307 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
308 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
309 * sysdeps/x86/bits/xtitypes.h: Likewise.
311 2019-03-14 Florian Weimer <fweimer@redhat.com>
313 * nss/tst-nss-files-alias-truncated.c (do_test): Load
315 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
316 but not with libnss_files.
317 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
319 2019-03-14 Zack Weinberg <zackw@panix.com>
321 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
322 Specify encoding="utf-8" when opening headers to check.
324 2019-03-13 Joseph Myers <joseph@codesourcery.com>
326 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
328 (Context.checkout_tar): Handle variable major version for Linux
331 2019-03-13 Florian Weimer <fweimer@redhat.com>
334 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
336 2019-03-13 Zack Weinberg <zackw@panix.com>
338 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
340 * include/inttypes.h: Adjust to match.
341 * include/stdint.h: New wrapper.
343 2019-03-13 Zack Weinberg <zackw@panix.com>
345 * scripts/check-obsolete-constructs.py: New test script.
346 * scripts/check-installed-headers.sh: Remove tests for
347 obsolete typedefs, superseded by check-obsolete-constructs.py.
348 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
349 as a special test. Update commentary.
350 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
351 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
353 * posix/sys/types.h (__u_intN_t): Remove.
354 (u_int8_t): Typedef using __uint8_t.
355 (u_int16_t): Typedef using __uint16_t.
356 (u_int32_t): Typedef using __uint32_t.
357 (u_int64_t): Typedef using __uint64_t.
359 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
361 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
363 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
364 Ignore types other than AT_HWCAP.
365 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
366 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
368 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
369 in the case of falling back to generic output mechanism.
370 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
373 2019-03-12 Florian Weimer <fweimer@redhat.com>
375 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
377 2019-03-12 Florian Weimer <fweimer@redhat.com>
380 resolv: Enable full ICMP errors for UDP DNS sockets
381 * resolv/res_enable_icmp.c: New file.
382 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
383 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
384 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
387 2019-03-11 Mao Han <han_mao@c-sky.com>
389 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
390 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
392 2019-03-11 Mao Han <han_mao@c-sky.com>
394 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
395 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
396 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
398 2019-03-11 Mao Han <han_mao@c-sky.com>
400 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
402 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
405 2019-03-11 Mao Han <han_mao@c-sky.com>
407 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
408 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
411 2019-03-08 Mike FABIAN <mfabian@redhat.com>
414 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
415 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
417 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
418 * localedata/unicode-gen/PropList.txt: Likewise.
419 * localedata/unicode-gen/UnicodeData.txt: Likewise.
420 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
421 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
422 * localedata/charmaps/UTF-8: Regenerate.
423 * localedata/locales/i18n_ctype: Likewise.
424 * localedata/locales/tr_TR: Likewise.
425 * localedata/locales/translit_circle: Likewise.
426 * localedata/locales/translit_cjk_compat: Likewise.
427 * localedata/locales/translit_combining: Likewise.
428 * localedata/locales/translit_compat: Likewise.
429 * localedata/locales/translit_font: Likewise.
430 * localedata/locales/translit_fraction: Likewise.
432 2019-03-07 Joseph Myers <joseph@codesourcery.com>
434 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
435 than after operators.
436 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
437 (setitimer_locked): Likewise.
438 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
439 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
440 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
441 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
442 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
443 (PPC_CPU_SUPPORTED): Likewise.
444 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
445 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
446 (stat_overflow): Likewise.
447 (statfs_overflow): Likewise.
448 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
449 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
450 (eq_ttyname_r): Likewise.
451 (run_chroot_tests): Likewise.
453 2019-03-07 Florian Weimer <fweimer@redhat.com>
455 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
458 2019-03-07 Martin Liska <mliska@suse.cz>
460 * math/Makefile: Change location where math-vector-fortran.h is
462 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
463 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
464 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
465 * scripts/check-installed-headers.sh: Skip Fortran header files.
466 * scripts/check-wrapper-headers.py: Likewise.
468 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
470 * nptl/nptl-init.c (__have_futex_clock_realtime,
471 __have_futex_clock_realtime): Remove definition.
472 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
473 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
474 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
475 __ASSUME_FUTEX_CLOCK_REALTIME support.
476 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
477 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
478 * sysdeps/unix/sysv/linux/kernel-features.h
479 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
480 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
483 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
485 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
486 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
487 __GI___wcscpy and wcscpy.
489 2019-03-04 Florian Weimer <fweimer@redhat.com>
491 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
493 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
496 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
498 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
499 * sysdeps/s390/s390-32/sysdep.h: Likewise.
501 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
504 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
505 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
507 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
509 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
512 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
513 (do_test_call_varg): Likewise.
514 (do_test_call_rarg): Likewise.
515 * sysdeps/ieee754/ldbl-opt/Makefile
516 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
518 ($(objpfx)tst-nldbl-warn.c): New rule.
519 ($(objpfx)tst-nldbl-error.c): Likewise.
520 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
523 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
526 * include/bits/error-ldbl.h: New file.
527 * include/error.h: Include stdarg.h. Declare internal functions
528 __error_internal and __error_at_line_internal.
529 * misc/Makefile (headers): Add bits/error-ldbl.h.
530 * misc/bits/error-ldbl.h: New file.
531 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
532 avoid the inclusion of bits/error.h.
533 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
534 and __nldbl_error_at_line.
535 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
536 (__nldbl_error, __ndlbl_error_at_line): New functions.
537 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
538 Redirect error and error_at_line.
539 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
548 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
549 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
550 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
552 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
555 * include/bits/err-ldbl.h: New file.
556 * include/err.h: Add prototypes for the internal functions:
557 __vwarnx_internal and __vwarn_internal.
558 * misc/Makefile (headers): Add bits/err-ldbl.h.
559 * misc/bits/err-ldbl.h: New file.
560 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
561 defined, i.e.: when -mlong-double-64 is in use.
562 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
563 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
564 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
565 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
566 (VA_CALL): New macro.
567 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
568 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
570 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
571 declare prototypes for the new functions.
572 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
581 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
582 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
583 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
585 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
587 * sysdeps/ieee754/ldbl-opt/Makefile
588 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
589 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
590 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
592 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
595 * argp/Makefile (headers): Add bits/argp-ldbl.h.
596 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
597 * argp/bits/argp-ldbl.h: New file.
598 * include/argp.h: Include stdarg.h. Add prototypes for internal
599 functions: __argp_error_internal and __argp_failure_internal.
600 * include/bits/argp-ldbl.h: New file.
601 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
602 __nldbl_argp_error and __nldbl_argp_failure.
603 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
604 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
605 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
606 Redirect argp_error and argp_failure calls.
607 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
616 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
617 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
618 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
620 2019-03-01 Florian Weimer <fweimer@redhat.com>
623 * elf/tst-big-note-lib.S: Create a syntactically valid note.
624 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
625 code, to avoid creating an ABI tag note.
626 (modules-names-nobuild): Add tst-big-note-lib.
628 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
630 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
631 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
633 2019-03-01 Florian Weimer <fweimer@redhat.com>
636 * sysdeps/unix/sysv/linux/netlink_assert_response.c
637 (__netlink_assert_response): Add additional missing newlines.
639 2019-02-28 Joseph Myers <joseph@codesourcery.com>
641 * sysdeps/powerpc/powerpc32/dl-machine.c
642 (__elf_machine_fixup_plt): Use space before '('.
643 (__process_machine_rela): Likewise.
644 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
646 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
648 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
650 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
653 (check_result): Likewise.
654 (check_excepts): Likewise.
655 (check_op): Likewise.
657 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
658 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
660 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
663 (__makecontext): Likewise.
664 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
667 2019-02-28 Florian Weimer <fweimer@redhat.com>
670 elf: Add test with a local IFUNC resolver.
671 * elf/ifuncmain9.c: New file.
672 * elf/ifuncmain9pic.c: Likewise.
673 * elf/ifuncmain9picstatic.c: Likewise.
674 * elf/ifuncmain9pie.c: Likewise.
675 * elf/ifuncmain9static.c: Likewise.
676 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
677 ifuncmain9static, ifuncmain9picstatic.
678 * elf/Makefile [multi-arch && build-shared] (tests-internal):
679 Add ifuncmain9, ifuncmain9pic.
680 * elf/Makefile [multi-arch && build-shared && have-fpie]
681 (ifunc-pie-tests): Add ifuncmain9pie.
682 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
683 (CFLAGS-ifuncmain9picstatic.c): Likewise.
684 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
686 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
688 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
689 * configure: Regenerated.
690 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
692 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
694 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
695 symbol as __wcspcy instead of wcscpy.
697 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
699 * include/stdio.h (__renameat2): New hidden prototype.
700 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
701 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
702 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
703 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
705 2019-02-27 Joseph Myers <joseph@codesourcery.com>
707 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
710 * benchtests/bench-strcpy.c (do_test): Use space before '('.
711 * benchtests/bench-string.h (cmdline_process_function): Likewise.
712 * benchtests/bench-strlen.c (do_test): Likewise.
713 (test_main): Likewise.
714 * catgets/gencat.c (read_old): Likewise.
715 * elf/cache.c (load_aux_cache): Likewise.
716 * iconvdata/bug-iconv8.c (do_test): Likewise.
717 * math/test-tgmath-ret.c (do_test): Likewise.
718 * nis/nis_call.c (rec_dirsearch): Likewise.
719 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
720 * nptl/tst-audit-threads.c (do_test): Likewise.
721 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
722 * nss/nss_test1.c (init): Likewise.
723 * nss/test-netdb.c (test_hosts): Likewise.
724 * posix/execvpe.c (maybe_script_execute): Likewise.
725 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
726 * stdio-common/tst-printf.c (do_test): Likewise.
727 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
728 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
729 * stdlib/qsort.c (STACK_SIZE): Likewise.
730 * stdlib/test-canon.c (do_test): Likewise.
731 * stdlib/tst-swapcontext1.c (do_test): Likewise.
732 * string/memcmp.c (OPSIZ): Likewise.
733 * string/test-strcpy.c (do_test): Likewise.
734 (do_random_tests): Likewise.
735 * string/test-strlen.c (do_test): Likewise.
736 (test_main): Likewise.
737 * string/test-strrchr.c (do_test): Likewise.
738 (do_random_tests): Likewise.
739 * string/tester.c (test_memrchr): Likewise.
740 (test_memchr): Likewise.
741 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
742 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
743 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
744 (read_encoded_value_with_base): Likewise.
745 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
746 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
747 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
748 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
749 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
750 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
752 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
754 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
755 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
756 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
758 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
760 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
762 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
764 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
765 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
766 (FP_XSTATE_MAGIC2_SIZE): Likewise.
767 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
768 * time/test_time.c (main): Likewise.
770 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
772 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
774 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
777 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
780 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
782 * include/wchar.h (__wcscpy): New prototype.
783 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
784 (__wcscpy): Route internal symbol to generic implementation.
785 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
786 Add internal __wcscpy alias.
787 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
788 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
789 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
790 * wcsmbs/wcscpy.c (wcscpy): Add
791 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
792 use generic implementation.
793 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
795 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
798 * sysdeps/m68k/wcpcpy.c: Remove file.
799 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
801 2019-02-26 Joseph Myers <joseph@codesourcery.com>
803 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
804 than after operators.
805 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
806 * sysdeps/mach/hurd/getcwd.c
807 (__hurd_canonicalize_directory_name_internal): Likewise.
808 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
809 (pthread_mutex_consistent): Likewise.
810 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
812 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
813 (__pthread_mutex_transfer_np): Likewise.
814 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
815 (__pthread_mutex_unlock): Likewise.
816 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
817 (mtx_owned_p): Likewise.
818 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
819 (pthread_mutexattr_getrobust): Likewise.
820 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
821 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
823 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
824 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
825 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
826 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
827 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
828 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
829 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
831 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
833 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
834 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
835 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
836 (____longjmp_chk): Likewise.
837 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
839 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
840 (INTERNAL_SYSCALL): Likewise.
841 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
842 (INTERNAL_SYSCALL): Likewise.
843 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
844 (__get_clockfreq_via_cpuinfo): Likewise.
846 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
848 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
849 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
850 (WORD_COPY_BWD): Likewise.
851 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
852 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
854 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
855 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
857 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
859 2019-02-25 Joseph Myers <joseph@codesourcery.com>
861 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
862 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
863 rather than after operators.
864 * elf/cache.c (print_cache): Likewise.
865 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
866 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
867 * hurd/hurdinit.c (_hurd_setproc): Likewise.
868 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
869 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
870 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
871 (reauth_proc): Likewise.
872 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
873 (__file_name_split_at): Likewise.
874 (__directory_name_split_at): Likewise.
875 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
876 * hurd/port2fd.c (_hurd_port2fd): Likewise.
877 * iconv/gconv_dl.c (do_print): Likewise.
878 * inet/netinet/in.h (struct sockaddr_in): Likewise.
879 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
880 * locale/setlocale.c (new_composite_name): Likewise.
881 * malloc/memusagestat.c (main): Likewise.
882 * misc/fstab.c (fstab_convert): Likewise.
883 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
885 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
886 (getgrent_next_file): Likewise.
887 (internal_getgrnam_r): Likewise.
888 (internal_getgrgid_r): Likewise.
889 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
891 (internal_getgrent_r): Likewise.
892 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
893 (getpwent_next_nss): Likewise.
894 (getpwent_next_file): Likewise.
895 (internal_getpwnam_r): Likewise.
896 (internal_getpwuid_r): Likewise.
897 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
899 (getspent_next_nss): Likewise.
900 (internal_getspnam_r): Likewise.
901 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
902 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
903 * string/strchr.c (STRCHR): Likewise.
904 * string/strchrnul.c (STRCHRNUL): Likewise.
905 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
906 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
907 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
908 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
909 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
911 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
912 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
913 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
914 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
915 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
916 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
917 (open_file): Likewise.
918 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
919 (pthread_mutexattr_setprotocol): Likewise.
920 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
921 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
922 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
923 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
924 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
926 (elf_machine_rela): Likewise.
927 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
928 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
929 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
930 * sysdeps/posix/rename.c (rename): Likewise.
931 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
932 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
933 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
934 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
935 * sysdeps/unix/grantpt.c (grantpt): Likewise.
936 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
937 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
939 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
941 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
942 * time/tzfile.c (__tzfile_compute): Likewise.
944 2019-02-22 Joseph Myers <joseph@codesourcery.com>
946 * benchtests/bench-memmem.c (simple_memmem): Break lines before
947 rather than after operators.
948 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
949 * crypt/md5.c (md5_finish_ctx): Likewise.
950 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
951 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
952 * elf/cache.c (load_aux_cache): Likewise.
953 * elf/dl-load.c (open_verify): Likewise.
954 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
955 * elf/readelflib.c (process_elf_file): Likewise.
956 * elf/rtld.c (dl_main): Likewise.
957 * elf/sprof.c (generate_call_graph): Likewise.
958 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
959 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
960 * hurd/dtable.c (reauth_dtable): Likewise.
961 * hurd/getdport.c (__getdport): Likewise.
962 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
963 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
964 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
966 * hurd/hurdioctl.c (fioctl): Likewise.
967 * hurd/hurdselect.c (_hurd_select): Likewise.
968 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
969 (STOPSIGS): Likewise.
970 * hurd/hurdstartup.c (_hurd_startup): Likewise.
971 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
972 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
973 * hurd/msgportdemux.c (msgport_server): Likewise.
974 * hurd/setauth.c (_hurd_setauth): Likewise.
975 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
976 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
977 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
978 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
979 * login/tst-utmp.c (do_check): Likewise.
980 (simulate_login): Likewise.
981 * mach/lowlevellock.h (lll_lock): Likewise.
982 (lll_trylock): Likewise.
983 * math/test-fenv.c (ALL_EXC): Likewise.
984 * math/test-fenvinline.c (ALL_EXC): Likewise.
985 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
986 * nis/nis_call.c (__do_niscall3): Likewise.
987 * nis/nis_callback.c (cb_prog_1): Likewise.
988 * nis/nis_defaults.c (searchaccess): Likewise.
989 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
990 * nis/nis_ismember.c (internal_ismember): Likewise.
991 * nis/nis_local_names.c (nis_local_principal): Likewise.
992 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
993 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
995 * nis/ypclnt.c (yp_match): Likewise.
996 (yp_first): Likewise.
998 (yp_master): Likewise.
999 (yp_order): Likewise.
1000 * nscd/hstcache.c (cache_addhst): Likewise.
1001 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1002 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
1003 (internal_getpwuid_r): Likewise.
1004 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
1005 * posix/glob.h (__GLOB_FLAGS): Likewise.
1006 * posix/regcomp.c (peek_token): Likewise.
1007 (peek_token_bracket): Likewise.
1008 (parse_expression): Likewise.
1009 * posix/regexec.c (sift_states_iter_mb): Likewise.
1010 (check_node_accept_bytes): Likewise.
1011 * posix/tst-spawn3.c (do_test): Likewise.
1012 * posix/wordexp-test.c (testit): Likewise.
1013 * posix/wordexp.c (parse_tilde): Likewise.
1014 (exec_comm): Likewise.
1015 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
1016 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
1017 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
1018 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
1019 * stdio-common/tst-fileno.c (do_test): Likewise.
1020 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
1021 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
1022 * stdlib/strtod_l.c (round_and_return): Likewise.
1023 (____STRTOF_INTERNAL): Likewise.
1024 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
1025 * string/strcspn.c (STRCSPN): Likewise.
1026 * string/test-memmem.c (simple_memmem): Likewise.
1027 * termios/tcsetattr.c (tcsetattr): Likewise.
1028 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
1029 * time/asctime.c (asctime_internal): Likewise.
1030 * time/strptime_l.c (__strptime_internal): Likewise.
1031 * time/sys/time.h (timercmp): Likewise.
1032 * time/tzfile.c (__tzfile_compute): Likewise.
1034 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
1037 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
1039 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1041 * argp/argp-help.c (__argp_error_internal): New function,
1042 renamed from __argp_error, but that takes a 'mode_flags'
1043 parameter to control the format of long double parameters.
1044 (__argp_error): Converted into a call __argp_error_internal.
1045 (__argp_failure_internal): New function, renamed from
1046 __argp_failure, but that takes a 'mode_flags' parameter.
1047 (__argp_failure): Converted into a call __argp_failure_internal.
1048 * misc/err.c (__vwarnx_internal): New function, renamed from
1049 vwarnx, but that takes a 'mode_flags' parameter.
1050 (vwarnx): Converted into a call to __vwarnx_internal.
1051 (__vwarn_internal): New function, renamed from vwarn, but that
1052 takes a 'mode_flags' parameter.
1053 (vwarn): Converted into a call to __vwarn_internal.
1054 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
1055 call to __vfxprintf with 'mode_flags'.
1056 (__error_internal): New function, renamed from error, but that
1057 takes a 'mode_flags' parameter.
1058 (error): Converted into a call to __error_internal.
1059 (__error_at_line_internal): New function, renamed from
1060 error_at_line, but that takes a 'mode_flags' parameter.
1061 (error_at_line): Converted into a call to
1062 __error_at_line_internal.
1063 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
1064 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
1067 2019-02-20 Martin Liska <mliska@suse.cz>
1069 * math/Makefile: Install math-vector-fortran.h.
1070 * bits/math-vector-fortran.h: New file.
1071 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
1073 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1075 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
1076 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
1078 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
1080 * nptl/pthread_mutex_trylock.c: Fix comment.
1082 2019-02-19 Carlos O'Donell <carlos@redhat.com>
1084 * nptl/pthread_tryjoin.c: Fix comment.
1086 2019-02-18 Joseph Myers <joseph@codesourcery.com>
1089 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
1090 after R_SPARC_H34 case.
1092 2019-02-18 Florian Weimer <fweimer@redhat.com>
1094 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
1095 (getanswer): Do not call Dprintf.
1096 (res_gethostbyname2_context): Likewise.
1097 (res_gethostbyaddr_context): Likewise.
1099 2019-02-18 Florian Weimer <fweimer@redhat.com>
1101 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
1103 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
1105 * libio/stdfiles.c: Update comment.
1106 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
1107 set _IO_stdin, _IO_stdout, _IO_stderr.
1108 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
1109 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
1111 (_IO_deallocate_file): New inline function.
1112 * libio/iolibio.h (_IO_vprintf): Remove definition.
1113 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
1114 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
1115 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
1117 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
1118 __builtin_expect. Use _IO_legacy_file.
1120 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
1122 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
1123 Initialize ctid with a known value and remove update of ctid
1125 (wait_tid): Adjust arguments and call futex_wait with ctid_val
1126 as assumed current value of ctid_ptr.
1128 2019-02-16 Florian Weimer <fweimer@redhat.com>
1130 Check that non-sysdeps headers have wrapper headers.
1131 * scripts/check-wrapper-headers.py: New file.
1132 * Makefile (tests-special): Add check-wrapper-headers.out.
1133 (check-wrapper-headers.out): New target.
1134 * Rules (tests-special): Add check-wrapper-headers.out.
1135 (check-wrapper-headers.out): New target.
1137 2019-02-16 Florian Weimer <fweimer@redhat.com>
1139 Add missing header wrappers under include/.
1140 * include/ar.h: New file.
1141 * include/bits/mqueue2.h: Likewise.
1142 * include/bits/stdio.h: Likewise.
1143 * include/bits/stdio2.h: Likewise.
1144 * include/fstab.h: Likewise.
1145 * include/fts.h: Likewise.
1146 * include/lastlog.h: Likewise.
1147 * include/netinet/icmp6.h: Likewise.
1148 * include/netinet/igmp.h: Likewise.
1149 * include/netinet/ip6.h: Likewise.
1150 * include/re_comp.h: Likewise.
1151 * include/regexp.h: Likewise.
1152 * include/rpcsvc/bootparam.h: Likewise.
1153 * include/rpcsvc/yp_prot.h: Likewise.
1154 * include/sys/random.h: Likewise.
1155 * include/sys/stropts.h: Likewise.
1156 * include/sys/ttychars.h: Likewise.
1157 * include/sys/vfs.h: Likewise.
1158 * include/wait.h: Likewise.
1160 2019-02-16 Florian Weimer <fweimer@redhat.com>
1162 * nptl_db/proc_service.h: Move to ...
1163 * sysdeps/nptl/proc_service.h: ... here.
1164 * nptl_db/thread_db.h: Move to ...
1165 * sysdeps/nptl/thread_db.h: ... here.
1166 * nptl/descr.h: Include <thread_db.h>.
1168 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1170 * io/Makefile (tests): Add tst-lockf.
1171 * io/lockf.c (lockf): Use __fcntl and only define for
1172 !__OFF_T_MATCHES_OFF64_T.
1173 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
1174 __OFF_T_MATCHES_OFF64_T case.
1175 * io/tst-lockf.c: New file.
1176 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
1177 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
1178 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
1179 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
1180 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
1181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
1182 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
1183 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
1184 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
1186 2019-02-15 Florian Weimer <fweimer@redhat.com>
1189 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
1190 pd->result after the thread descriptor has been freed.
1192 2019-02-15 Joseph Myers <joseph@codesourcery.com>
1194 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
1195 from function return type.
1197 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
1199 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1201 * scripts/test_printers_common.py: Set TERM to a known harmless
1204 2019-02-14 Joseph Myers <joseph@codesourcery.com>
1206 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
1207 (xdr_u_int): Likewise.
1208 (xdr_enum): Likewise.
1209 (xdr_bytes): Reword fall-through comment.
1210 (xdr_string): Likewise.
1212 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1215 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
1216 (tests): Add tst-join8 tst-join9.
1217 * nptl/lll_timedwait_tid.c: Remove file.
1218 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
1219 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
1220 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
1221 * nptl/pthread_join_common.c (timedwait_tid): New function.
1222 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
1224 * nptl/tst-join5.c (thread_join): New function.
1225 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
1227 * nptl/tst-join8.c: New file.
1228 * nptl/tst-join9.c: Likewise.
1229 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
1230 lll_futex_timed_wait_cancel): Add generic macros.
1231 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
1233 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1234 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1235 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1236 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
1238 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
1240 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1241 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
1242 (lll_futex_timed_wait_cancel): New macro.
1244 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
1246 * benchtests/Makefile: Add malloc-simple benchmark.
1247 * benchtests/bench-malloc-simple.c: New benchmark.
1249 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
1251 * benchtests/bench-memmove.c (do_one_test): Remove unused
1254 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
1258 2019-01-13 Jim Wilson <jimw@sifive.com>
1261 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
1262 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
1264 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
1266 * nptl/Makefile (tests): Add tst-unwind-thread.
1267 (CFLAGS-tst-unwind-thread.c): Define.
1268 * nptl/tst-unwind-thread.c: New file.
1269 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
1272 2019-02-13 Joseph Myers <joseph@codesourcery.com>
1274 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
1276 * nis/nis_call.c (__do_niscall3): Likewise.
1278 * catgets/gencat.c (normalize_line): Use braces around empty
1280 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1281 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
1282 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
1283 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
1284 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
1285 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
1286 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
1289 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
1292 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
1294 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
1295 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
1296 * benchtests/bench-strchr.c (stupid_strchr): Remove.
1297 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
1298 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
1299 * benchtests/bench-strlen.c (builtin_strlen): Remove.
1300 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
1301 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
1302 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
1303 * benchtests/bench-strspn.c (stupid_strspn): Remove.
1304 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
1305 * benchtests/bench-bcopy.c: Delete file.
1306 * benchtests/bench-bzero.c: Likewise.
1307 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
1308 (simple_memccpy): Remove.
1309 (generic_memccpy): Add function.
1310 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
1311 * benchtests/bench-memmove.c (simple_bcopy): Remove.
1312 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
1313 (generic_mempcpy): Add new function.
1314 * benchtests/bench-memset.c (simple_bzero): Remove.
1315 (builtin_bzero): Remove.
1316 (builtin_memset): Remove.
1317 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
1318 (generic_rawmemchr): Add new function.
1320 2019-02-12 Florian Weimer <fweimer@redhat.com>
1322 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
1324 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1327 * elf/Makefile (tests): Add tst-audit13.
1328 (modules-names): Add tst-audit13mod1.
1329 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
1331 * elf/tst-audit13.c: New file.
1332 * elf/tst-audit13mod1.c: Likewise.
1334 2019-02-12 Florian Weimer <fweimer@redhat.com>
1337 * elf/rtld.c (unload_audit_module): New function.
1338 (report_audit_module_load_error): Likewise.
1339 (load_audit_module): Likewise. Extracted from dl_main. Call
1340 _dl_close if the laversion symbol cannot be found. Use early
1341 returns for error handling. Add malloc error check. Check for a
1342 zero return value from la_version. Remove spurious comment about
1343 static TLS initialization. Remove useless casts.
1344 (notify_audit_modules_of_loaded_object): New function. Extracted
1346 (load_audit_module): Likewise.
1347 (dl_main): Call load_audit_modules.
1349 2019-02-12 Joseph Myers <joseph@codesourcery.com>
1351 * elf/dl-exception.c (_dl_exception_create_format): Add
1352 fall-through comments.
1353 * elf/ldconfig.c (parse_conf_include): Likewise.
1354 * elf/rtld.c (print_statistics): Likewise.
1355 * locale/programs/charmap.c (parse_charmap): Likewise.
1356 * misc/mntent_r.c (__getmntent_r): Likewise.
1357 * posix/wordexp.c (parse_arith): Likewise.
1358 (parse_backtick): Likewise.
1359 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
1360 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
1361 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1363 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
1365 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
1366 Use float instead of double.
1368 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
1370 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
1372 2019-02-08 Joseph Myers <joseph@codesourcery.com>
1374 * sysdeps/powerpc/bits/mathinline.h: Remove.
1376 2019-02-08 Florian Weimer <fweimer@redhat.com>
1378 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
1379 * math/bits/math-finite.h: Move to ...
1380 * bits/math-finite.h: ... here.
1382 2019-02-08 Florian Weimer <fweimer@redhat.com>
1384 * sysdeps/generic/bits/unistd_ext.h: Move to ...
1385 * bits/unistd_ext.h: here.
1387 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
1390 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
1391 * nss/tst-nss-files-hosts-long.c: New file.
1392 * nss/tst-nss-files-hosts-long.root: New directory.
1393 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
1394 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
1396 2019-02-08 Florian Weimer <fweimer@redhat.com>
1398 * include/bits/unistd_ext.h: Remove file.
1399 * posix/bits/unistd_ext.h: Move to ...
1400 * sysdeps/generic/bits/unistd_ext.h: ... here.
1402 2019-02-08 Florian Weimer <fweimer@redhat.com>
1404 * include/bits/unistd_ext.h: New file.
1406 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
1408 * time/tst-strftime2.c: Use array_length macros instead of magic
1411 2019-02-08 Florian Weimer <fweimer@redhat.com>
1414 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
1416 * nptl/register-atfork.c (__run_fork_handlers): Only perform
1417 locking if the new do_locking argument is true.
1418 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
1419 __run_fork_handlers.
1421 2019-02-08 Florian Weimer <fweimer@redhat.com>
1424 Linux: Add gettid system call wrapper.
1425 * posix/Makefile (headers): Add bits/unistd_ext.h.
1426 * posix/bits/unistd_ext.h: New file.
1427 * posix/unistd.h: Include it.
1428 * manual/process.texi (Process Identification): Document gettid.
1429 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
1430 tst-gettid, tst-gettid-kill.
1431 (tst-gettid): Link with $(shared-thread-library).
1432 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
1433 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
1434 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
1435 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
1436 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
1437 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
1439 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1441 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1442 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
1444 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
1446 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
1448 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
1450 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1452 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1454 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1456 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1457 (GLIBC_2.30): Likewise.
1458 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1459 (GLIBC_2.30): Likewise.
1460 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1461 (GLIBC_2.30): Likewise.
1462 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1463 (GLIBC_2.30): Likewise.
1464 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1467 (GLIBC_2.30): Likewise.
1468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1469 (GLIBC_2.30): Likewise.
1470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1471 (GLIBC_2.30): Likewise.
1472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1473 (GLIBC_2.30): Likewise.
1474 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1476 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1478 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1480 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1481 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1483 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1485 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1487 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1489 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
1491 2019-02-08 Florian Weimer <fweimer@redhat.com>
1493 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
1494 compatibility symbols.
1496 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
1499 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1500 Add compiler barriers and comments.
1502 2019-02-07 Florian Weimer <fweimer@redhat.com>
1504 * include/array_length.h (array_length): Do not use a statement
1505 expression and _Static_assert, so that array_length can be used at
1506 file scope and as a constant expression.
1508 2019-02-07 Florian Weimer <fweimer@redhat.com>
1510 * support/xdlfcn.h (xdlmopen): Declare.
1511 * support/xdlmopen.c: New file.
1512 * support/Makefile (libsupport-routines): Add xdlmopen.
1514 2019-02-06 Joseph Myers <joseph@codesourcery.com>
1516 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
1517 before return type, without separate inline.
1518 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
1519 * elf/dl-tunables.h (tunable_is_name): Likewise.
1520 * malloc/malloc.c (do_set_trim_threshold): Likewise.
1521 (do_set_top_pad): Likewise.
1522 (do_set_mmap_threshold): Likewise.
1523 (do_set_mmaps_max): Likewise.
1524 (do_set_mallopt_check): Likewise.
1525 (do_set_perturb_byte): Likewise.
1526 (do_set_arena_test): Likewise.
1527 (do_set_arena_max): Likewise.
1528 (do_set_tcache_max): Likewise.
1529 (do_set_tcache_count): Likewise.
1530 (do_set_tcache_unsorted_limit): Likewise.
1531 * nis/nis_subr.c (count_dots): Likewise.
1532 * nptl/allocatestack.c (advise_stack_range): Likewise.
1533 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
1535 (reduce_sincos): Likewise.
1536 (do_sincos): Likewise.
1537 * sysdeps/unix/sysv/linux/x86/elision-conf.c
1538 (do_set_elision_enable): Likewise.
1539 (TUNABLE_CALLBACK_FNDECL): Likewise.
1541 2019-02-06 Florian Weimer <fweimer@redhat.com>
1543 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
1544 (xdlsym): Use dlerror to detect a NULL symbol.
1546 2019-02-06 Florian Weimer <fweimer@redhat.com>
1548 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
1550 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1552 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
1554 * libio/tst-bz24153.c (wide): Use wide char format specifier.
1556 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
1558 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
1559 __wmemcmp and weak alias to wmemcmp.
1561 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
1564 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
1565 TLS_TCB_AT_TP tls variant.
1566 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
1567 Add alignment checks.
1568 * support/Makefile (libsupport-routines): Add xposix_memalign and
1570 * support/support.h: Add xposix_memalign.
1571 * support/xthread.h: Add xpthread_attr_setstack.
1572 * support/xposix_memalign.c: New File.
1573 * support/xpthread_attr_setstack.c: Likewise.
1575 2019-02-05 Florian Weimer <fweimer@redhat.com>
1578 arm: Use "nr" constraint for Systemtap probes, to avoid the
1579 compiler using memory operands for constants, due to the "o"
1580 alternative in the default "nor" constraint.
1581 * include/stap-probe.h [USE_STAP_PROBE]: Include
1582 <stap-probe-machine.h>
1583 * sysdeps/generic/stap-probe-machine.h: New file.
1584 * sysdeps/arm/stap-probe-machine.h: Likewise.
1586 2019-02-04 Joseph Myers <joseph@codesourcery.com>
1588 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
1589 with 0, not tcache->entries[tc_idx].
1591 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
1594 2019-02-04 Andreas Schwab <schwab@suse.de>
1598 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
1599 looking up collating elements match against (wide) character
1600 sequence instead of name. Correct alignment adjustment.
1601 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
1602 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
1603 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
1604 (LOCALES): Add cs_CZ.ISO-8859-2.
1605 * posix/tst-fnmatch4.c: New file.
1606 * posix/tst-fnmatch5.c: New file.
1607 * include/wchar.h (__wmemcmp): Declare.
1608 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
1609 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
1610 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
1611 * sysdeps/s390/wmemcmp.c: Likewise.
1613 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
1617 * NEWS: Updated for CVE-2019-7309.
1618 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
1619 upper 32 bits of RDX register for x32. Use unsigned Jcc
1620 instructions, instead of signed.
1621 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
1622 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
1624 2019-02-04 Florian Weimer <fweimer@redhat.com>
1626 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
1627 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
1628 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
1630 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
1631 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
1632 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
1633 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
1635 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
1637 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
1639 (posix_spawn_file_actions_addopen): Likewise.
1640 (posix_spawn_file_actions_addclose): Likewise.
1641 (posix_spawn_file_actions_adddup2): Likewise.
1642 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
1644 (posix_spawn_file_actions_addfchdir_np): Likewise.
1646 2019-02-04 David Newall <glibc@davidnewall.com>
1648 elf: Implement --preload option for the dynamic linker.
1649 * elf/rtld.c (preloadarg): New variable.
1650 (handle_preload_list): Pass through “where” argument to
1652 (dl_main): Handle "--preload" and add second call to
1653 handle_preload_list.
1654 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
1655 (tst-rtld-preload-OBJS): Set variable.
1656 (tst-rtld-preload.out): New target.
1657 * elf/tst-rtld-preload.sh: New file.
1659 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
1661 * Makefile (testrun.sh): Exit in case of incorrect argument.
1663 2019-02-04 Florian Weimer <fweimer@redhat.com>
1665 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
1668 2019-02-03 Florian Weimer <fweimer@redhat.com>
1670 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
1671 implicit overflow checks.
1673 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
1675 * stdlib/isomac.c: Include <unistd.h>.
1677 2019-02-03 Florian Weimer <fweimer@redhat.com>
1679 * include/time.h (__tzfile_default): Use int, not long int, for
1681 * time/tzfile.c (struct ttinfo): Change type of the offset member
1683 (__tzfile_read): Remove useless cast.
1684 (__tzfile_default): Adjust prototype.
1685 * time/tzset.c (tz_rule): Change type of the offset member to int.
1686 (parse_offset): Change the type of the sign variable to int.
1688 2019-02-03 Florian Weimer <fweimer@redhat.com>
1691 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
1692 * libio/getchar.c (getchar): Likewise.
1693 * libio/getchar_u.c (getchar_unlocked): Likewise.
1694 * libio/getwchar.c (getwchar): Likewise.
1695 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1696 * libio/iogets.c (_IO_gets): Likewise.
1697 * libio/vscanf.c (_IO_vscanf): Likewise.
1698 * libio/vwscanf.c (__vwscanf): Likewise.
1699 * libio/tst-bz24153.c: New file.
1700 * libio/Makefile (tests): Add it.
1702 2019-02-02 Florian Weimer <fweimer@redhat.com>
1705 * manual/resource.texi (Basic Scheduling Functions): Add
1706 portability note. Change process to task throughout the section.
1707 Remove incorrect comment about sched_yield as it affects
1708 tasks/threads, not entire processes.
1709 * sysdeps/unix/sysv/linux/bits/posix_opt.h
1710 (_POSIX_PRIORITY_SCHEDULING): Update comment.
1712 2019-02-01 Joseph Myers <joseph@codesourcery.com>
1714 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
1715 * configure: Regenerated.
1716 * manual/install.texi (Tools for Compilation): Update minimum GCC
1718 * INSTALL: Regenerated.
1720 2019-02-01 Florian Weimer <fweimer@redhat.com>
1722 * support/support_test_compare_string.c
1723 (support_test_compare_string): Use "string" in error message.
1724 * support/tst-test_compare_string.c (do_test): Adjust.
1726 2019-02-01 Florian Weimer <fweimer@redhat.com>
1728 * support/support_format_address_family.c
1729 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
1731 2019-02-01 Florian Weimer <fweimer@redhat.com>
1733 * manual/socket.texi (Internet Address Formats): Clarify the byte
1734 order of struct sockaddr_in, struct sockaddr_in6. Document
1735 sin6_flowinfo and sin6_scope_id.
1737 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
1739 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
1740 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
1741 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
1742 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
1743 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
1744 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
1746 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1748 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
1749 [!MEMCHR](MEMCHR): Set to __memchr.
1750 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
1751 Add memchr_generic and memchr_nosimd.
1752 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1753 (__libc_ifunc_impl_list): Add memchr ifuncs.
1754 * sysdeps/aarch64/multiarch/memchr.c: New file.
1755 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
1756 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
1758 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1760 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
1762 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1763 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
1764 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
1765 Add IS_EMAG check for ifunc dispatch.
1766 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
1767 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
1769 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1771 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
1772 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
1774 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
1777 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
1779 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
1781 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
1783 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
1784 syscall-template file.
1786 2019-01-31 Carlos O'Donell <carlos@redhat.com>
1787 Torvald Riegel <triegel@redhat.com>
1788 Rik Prohaska <prohaska7@gmail.com>
1791 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
1792 tst-rwlock-trywrlock-stall.
1793 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1794 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
1795 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
1796 Set __wrphase_fute to 1 only if we started the write phase.
1797 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
1798 * nptl/tst-rwlock-trywrlock-stall.c: New file.
1799 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
1800 * support/xpthread_rwlock_destroy.c: New file.
1801 * support/xthread.h: Declare xpthread_rwlock_destroy.
1803 2019-02-01 Joseph Myers <joseph@codesourcery.com>
1805 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
1808 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
1811 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
1812 * libio/fileops.c (_IO_new_file_underflow): Likewise
1813 * libio/wfileops.c (_IO_wfile_underflow): Likewise
1814 * libio/putchar.c (putchar): Likewise.
1815 * libio/putchar_u.c (putchar_unlocked): Likewise.
1816 * libio/putwchar.c (putchar): Likewise.
1817 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
1818 * libio/tst-bz24051.c: New test.
1819 * libio/Makefile (tests): Add tst-bz24051
1821 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
1824 regex: fix read overrun [BZ #24114]
1825 Problem found by AddressSanitizer, reported by Hongxu Chen in:
1826 https://debbugs.gnu.org/34140
1827 * posix/regexec.c (proceed_next_node):
1828 Do not read past end of input buffer.
1830 2019-01-31 Florian Weimer <fweimer@redhat.com>
1833 * nss/nss_files/files-alias.c (get_next_alias): Handle
1834 continuation line without newline at the end.
1835 * nss/tst-nss-files-alias-truncated.c: New file.
1836 * nss/Makefile [$(build-shared)] (tests): Add
1837 tst-nss-files-alias-truncated.
1838 (tst-nss-files-alias-truncated): Link with libnss_files.so.
1839 * support/namespace.h (struct support_chroot_configuration): Add
1841 (struct support_chroot): Add path_aliases member.
1842 * support/support_chroot.c (support_chroot_create): Handle
1844 (support_chroot_free): Free path_aliases.
1846 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
1848 * version.h (RELEASE): Set to "development".
1849 (VERSION): Set to "2.29.9000".
1850 * NEWS: Add section for 2.30.
1852 * version.h (RELEASE): Set to "stable".
1853 (VERSION): Set to "2.29".
1854 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
1856 * NEWS: Add the list of bugs fixed in 2.29.
1857 * manual/contrib.texi: Update contributors list with some more
1859 * manual/install.texi: Update latest versions of packages
1861 * INSTALL: Regenerated.
1863 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
1865 * po/be.po: Update translations.
1866 * po/bg.po: Likewise.
1867 * po/ca.po: Likewise.
1868 * po/cs.po: Likewise.
1869 * po/da.po: Likewise.
1870 * po/de.po: Likewise.
1871 * po/el.po: Likewise.
1872 * po/eo.po: Likewise.
1873 * po/es.po: Likewise.
1874 * po/fi.po: Likewise.
1875 * po/fr.po: Likewise.
1876 * po/gl.po: Likewise.
1877 * po/hr.po: Likewise.
1878 * po/hu.po: Likewise.
1879 * po/ia.po: Likewise.
1880 * po/id.po: Likewise.
1881 * po/it.po: Likewise.
1882 * po/ja.po: Likewise.
1883 * po/ko.po: Likewise.
1884 * po/lt.po: Likewise.
1885 * po/nb.po: Likewise.
1886 * po/nl.po: Likewise.
1887 * po/pl.po: Likewise.
1888 * po/pt_BR.po: Likewise.
1889 * po/ru.po: Likewise.
1890 * po/rw.po: Likewise.
1891 * po/sk.po: Likewise.
1892 * po/sl.po: Likewise.
1893 * po/sv.po: Likewise.
1894 * po/tr.po: Likewise.
1895 * po/uk.po: Likewise.
1896 * po/vi.po: Likewise.
1897 * po/zh_CN.po: Likewise.
1898 * po/zh_TW.po: Likewise.
1900 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
1903 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
1904 of $f3 register on $y_is_neg path.
1906 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
1909 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
1910 sigaltstack.ss_flags.
1912 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
1915 * manual/time.texi (strftime): Document "%Ey".
1916 * time/strftime_l.c (__strftime_internal): Set the default width
1917 padding with zero of "%Ey" to 2.
1920 * manual/time.texi (strftime): Document "%EC" and "%EY".
1921 * time/Makefile (tests): Add tst-strftime2.
1922 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
1923 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
1924 override padding for "%Ey".
1925 If an optional flag ('_' or '-') is specified to "%EY", interpret the
1926 "%Ey" in the subformat as if decorated with that flag.
1927 * time/tst-strftime2.c: New file.
1929 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1931 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
1935 * elf/Makefile (tests): Add tst-audit13.
1936 (modules-names): Add tst-audit13mod1.
1937 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
1939 * elf/rtld.c (dl_main): Handle invalid audit module version.
1940 * elf/tst-audit13.c: New file.
1941 * elf/tst-audit13mod1.c: Likewise.
1943 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
1945 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
1946 returned by __hurd_at_flags.
1947 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
1948 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
1949 directly instead of __hurd_file_name_lookup.
1951 2019-01-21 Joseph Myers <joseph@codesourcery.com>
1953 * scripts/build-many-glibcs.py (Context.checkout): Default
1954 binutils version to 2.32 branch.
1956 2019-01-21 Florian Weimer <fweimer@redhat.com>
1960 resolv: Reject trailing characters in host names
1961 * include/arpa/inet.h (__inet_aton_exact): Declare.
1962 (inet_aton): Remove hidden prototype. No longer used internally.
1963 * nscd/gai.c (__inet_aton): Do not define.
1964 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
1965 * nss/digits_dots.c (__inet_aton): Likewise.
1966 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
1967 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
1968 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
1969 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
1970 (tst-resolv-trailing): Likewise.
1971 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
1973 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
1974 Make static. Add endp parameter.
1975 (__inet_aton_exact): New function.
1976 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
1977 (__inet_addr): Call inet_aton_end.
1978 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
1979 not just IPv6. Call __inet_aton_exact.
1980 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
1981 (tests): Make const. Add additional test cases with trailing
1983 (do_test): Use array_length.
1984 * resolv/tst-inet_aton_exact.c: New file.
1985 * resolv/tst-resolv-trailing.c: Likewise.
1986 * resolv/tst-resolv-nondecimal.c: Likewise.
1987 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
1989 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1993 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
1994 Clear the upper 32 bits of RSI register.
1995 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
1996 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
1997 and tst-size_t-wcsnlen.
1998 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
1999 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
2001 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2005 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
2006 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2007 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2008 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
2009 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
2011 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2015 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
2016 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2017 * sysdeps/x86_64/strcmp.S: Likewise.
2018 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
2019 tst-size_t-strncmp and tst-size_t-wcsncmp.
2020 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
2021 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
2022 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
2024 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2028 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
2029 RDX_LP for length. Clear the upper 32 bits of RDX register.
2030 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
2031 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
2032 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
2033 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
2035 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2039 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
2040 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
2041 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
2042 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
2044 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2048 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
2049 length. Clear the upper 32 bits of RDX register.
2050 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2051 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
2053 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
2055 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
2057 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
2059 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2063 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
2064 length. Clear the upper 32 bits of RDX register.
2065 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2066 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2067 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
2069 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
2070 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
2072 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2076 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
2077 upper 32 bits of RDX register.
2078 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
2079 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
2081 * sysdeps/x86_64/x32/test-size_t.h: New file.
2082 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
2083 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
2085 2019-01-18 Florian Weimer <fweimer@redhat.com>
2088 resolv: Do not send queries for non-host-names in nss_dns.
2089 * resolv/nss_dns/dns-host.c (check_name): New function.
2090 (_nss_dns_gethostbyname2_r): Use it.
2091 (_nss_dns_gethostbyname_r): Likewise.
2092 (_nss_dns_gethostbyname4_r): Likewise.
2094 2019-01-21 Florian Weimer <fweimer@redhat.com>
2096 * resolv/inet_addr.c: Reformat to GNU style.
2097 (__inet_addr, __inet_aton): Update comment.
2099 2019-01-18 Florian Weimer <fweimer@redhat.com>
2101 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
2102 ("malloc: Use current (C11-style) atomics for fastbin access").
2103 This commit introduces a substantial performance regression on
2105 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
2106 (REMOVE_FB): Define.
2107 (_int_malloc): Use it and reindent.
2108 (_int_free): Use CAS loop with
2109 catomic_compare_and_exchange_val_rel.
2110 (malloc_consolidate): Use atomic_exchange_acq.
2113 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
2115 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
2117 (LDFLAGS-tst-minsigstksz-2): Likewise.
2118 (LDFLAGS-tst-minsigstksz-3): Likewise.
2119 (LDFLAGS-tst-minsigstksz-3a): Likewise.
2120 (LDFLAGS-tst-minsigstksz-4): Likewise.
2122 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
2124 * manual/time.texi (strftime): Fix the wording to "alternative" rather
2127 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
2129 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
2131 2019-01-16 Zack Weinberg <zackw@panix.com>
2133 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
2134 (xget_sigstack_location): New test support functions.
2135 * support/xsigstack.c: New file, implementing them.
2136 * support/tst-xsigstack.c: New test for them.
2137 * support/Makefile: Update.
2139 * signal/tst-minsigstksz-1.c
2140 * signal/tst-minsigstksz-2.c
2141 * signal/tst-minsigstksz-3.c
2142 * signal/tst-minsigstksz-3a.c
2143 * signal/tst-minsigstksz-4.c: New tests.
2144 * signal/Makefile: Run them.
2146 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
2148 * po/libc.pot: Regenerate.
2150 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2152 * math/libm-test-fma.inc (fma_test_data): Set
2153 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
2155 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2157 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
2158 (do_test): Changed __vector __int128_t to __vector unsigned int.
2160 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2162 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2163 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
2164 stpcpy-avx2 and stpncpy-avx2.
2165 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
2166 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
2167 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
2169 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
2170 ifunc-strcpy.h}: rename header for a more generic name.
2171 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
2172 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
2173 AVX unaligned load is fast and vzeroupper is preferred.
2174 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
2175 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
2176 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
2177 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
2178 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
2179 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
2181 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
2183 * argp/argp-help.c: Fix typo in comment.
2184 * misc/sys/cdefs.h: Likewise.
2185 * posix/regexec.c (sift_states_iter_mb): Likewise.
2186 * socket/sockatmark.c: Likewise.
2187 * socket/sys/socket.h: Likewise.
2188 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
2189 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
2190 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
2191 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2192 * sysdeps/unix/sockatmark.c: Likewise.
2193 * time/strptime_l.c: Likewise.
2195 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
2197 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
2198 missing space after the cast of "_NL_CURRENT".
2200 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2202 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
2203 ifdef to fix read of VSCR.
2204 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
2205 tst-ucontext-ppc64-vscr.c to test list.
2206 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
2208 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
2210 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
2213 2019-01-09 Jim Wilson <jimw@sifive.com>
2215 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
2217 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
2219 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
2220 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
2221 __memcpy_falkor for ares.
2222 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
2224 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2227 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
2230 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
2231 4_FP_W_TYPEs are used for IEEE quad precision.
2232 * soft-fp/extendhftf2.c: Likewise.
2233 * soft-fp/extendsftf2.c: Likewise.
2234 * soft-fp/extendxftf2.c: Likewise.
2235 * soft-fp/trunctfdf2.c: Likewise.
2236 * soft-fp/trunctfhf2.c: Likewise.
2237 * soft-fp/trunctfsf2.c: Likewise.
2238 * soft-fp/trunctfxf2.c: Likewise.
2239 * sysdeps/alpha/ots_cvttx.c: Likewise.
2240 * sysdeps/alpha/ots_cvtxt.c: Likewise.
2241 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
2242 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
2243 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
2244 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
2245 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
2246 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
2247 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
2248 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
2249 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
2250 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
2251 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
2252 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
2253 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
2254 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
2255 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
2256 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
2258 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
2261 * Makeconfig: Build libm with -fno-math-errno but build the remaining
2262 code with -fmath-errno.
2263 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
2264 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
2265 * string/test-strerror-errno.c: New file.
2267 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
2270 * localedata/locales/en_US (date_fmt): Add, set to
2271 "%a %d %b %Y %r %Z".
2273 2019-01-07 Florian Weimer <fweimer@redhat.com>
2276 * manual/arith.texi (Math Error Reporting): Use @code{errno}
2277 instead of @var{errno}.
2278 (Parsing of Integers): Likewise.
2279 (Parsing of Floats): Likewise.
2280 * manual/filesys.texi (Working with Directory Trees): Likewise.
2281 (Temporary Files): Likewise.
2282 * manual/job.texi (Terminal Access Functions): Likewise.
2283 * manual/llio.texi (Synchronizing I/O): Likewise.
2284 * manual/math.texi (SVID Random): Likewise.
2285 * manual/message.texi (The catgets Functions): Likewise.
2286 (Translation with gettext): Likewise.
2287 (Locating gettext catalog): Likewise.
2288 (Charset conversion in gettext): Likewise.
2289 * manual/nss.texi (NSS Module Function Internals): Likewise.
2290 * manual/search.texi (Hash Search Function): Likewise.
2291 * manual/setjmp.texi (System V contexts): Likewise.
2292 * manual/time.texi (Sleeping): Likewise.
2293 * manual/users.texi (Lookup User): Likewise.
2294 (Lookup Group): Likewise.
2296 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2298 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
2301 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
2304 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
2305 __builtin_unreachable for default case in switch.
2306 (__ieee754_yn): Likewise.
2307 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2308 (__ieee754_ynl): Likewise.
2309 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2310 (__ieee754_ynl): Likewise.
2311 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2312 (__ieee754_ynl): Likewise.
2314 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2316 * manual/maint.texi: Use @{ and @}.
2318 2019-01-04 Florian Weimer <fweimer@redhat.com>
2320 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
2322 (do_in_chroot_1): Call it.
2324 Improve error reporting in case it is not possible to create a
2325 collision for the PTY name required by the test.
2327 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2329 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
2330 lll_wait_tid with timeout.
2331 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
2332 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
2333 futex_reltimed_wait_cancelable for cancelabla mode.
2334 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
2335 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
2337 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
2338 * sysdeps/posix/waitid.c (__sigwait): Likewise.
2339 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
2340 SYSCALL_CANCEL_NCS): New macro.
2341 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
2342 (lll_timedwait_tid): Remove macro.
2343 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
2345 (lll_timedwait_tid): Likewise.
2346 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
2348 (lll_timedwait_tid): Likewise.
2349 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
2351 (lll_timedwait_tid): Likewise.
2352 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
2353 Use INTERNAL_SYSCALL_CANCEL.
2354 * sysdeps/unix/sysv/linux/futex-internal.h
2355 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
2356 instead of __pthread_{enable,disable}_asynccancel.
2357 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
2358 (lll_futex_wait_cancel): New macro.
2360 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
2361 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
2363 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
2364 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
2366 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
2367 in backtrace analysis.
2368 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
2370 (tf_send): Likewise.
2372 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
2373 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
2374 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
2375 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
2376 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
2377 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
2378 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
2379 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
2380 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
2381 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
2382 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
2383 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
2385 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
2386 tst-cancel-wrappers.sh.
2387 (generated): Remove tst-cancel-wrappers.out.
2388 (tst-cancel-wrappers.out): Remove rule.
2389 * nptl/tst-cancel-wrappers.sh: Remove file.
2391 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
2393 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
2394 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
2397 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2400 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
2401 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
2402 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
2403 close-on-exec reset for adddup2 file action.
2404 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
2406 2019-01-03 Zack Weinberg <zackw@panix.com>
2408 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
2409 parameter. Only use deprecated scanf when __USE_GNU is defined
2410 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
2411 than 201103L, whichever is relevant for the language being compiled.
2413 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
2414 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
2415 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
2416 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
2417 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
2421 * libio/iovswscanf.c
2426 * stdio-common/fscanf.c
2427 * stdio-common/scanf.c
2428 * stdio-common/vfscanf.c
2429 * stdio-common/vfwscanf.c
2430 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
2431 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
2432 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
2433 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
2434 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
2435 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
2436 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
2437 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
2438 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
2439 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
2440 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
2441 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
2442 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
2443 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
2444 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
2446 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
2447 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
2448 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
2450 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
2451 with a preprocessor macro.
2453 * stdio-common/bug21.c, stdio-common/scanf14.c:
2454 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
2455 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
2456 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
2457 to xscanf, xfscanf, xsscanf.
2459 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
2460 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
2461 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
2462 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
2464 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
2465 override feature selection macros or provide definitions of u_char etc.
2466 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
2467 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
2468 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
2471 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2473 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2474 bits/termios-misc.h.
2475 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
2476 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2477 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2478 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2479 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
2480 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
2482 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
2483 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
2484 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
2485 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
2486 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
2487 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
2489 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
2490 (sysdep_headers): Add termios-misc.h.
2492 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
2493 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2494 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2496 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2498 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
2499 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
2500 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
2501 TCSAFLUSH): Move to termios-tcflow.h.
2502 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2503 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2504 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2505 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2507 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2509 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
2510 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
2511 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
2512 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
2513 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
2514 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
2515 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
2516 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
2518 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2519 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2520 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2521 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2523 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2525 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
2526 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
2527 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
2528 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
2529 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
2531 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2532 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2533 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2534 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2537 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2539 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
2540 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
2541 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
2542 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
2543 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
2544 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
2545 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
2546 __MAX_BAUD): Move to termios-baud.h.
2547 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
2548 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
2549 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2550 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2551 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2553 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2555 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
2556 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
2557 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
2558 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
2559 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
2560 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
2562 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
2563 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
2565 [USE_MISC] (XTABS): Likewise.
2566 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2567 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2568 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2569 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
2571 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
2573 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
2574 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
2575 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
2576 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
2577 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
2578 IUTF8): Move to termios-c_iflag.h.
2579 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2580 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2581 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2582 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2584 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
2586 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
2587 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
2588 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
2589 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
2590 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
2591 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
2592 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
2593 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
2594 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2595 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2596 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2597 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2599 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
2600 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
2601 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
2602 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
2603 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2605 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
2607 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
2609 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
2611 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
2613 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
2615 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
2616 _HAVE_C_OSPEED): Define.
2617 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
2618 _HAVE_C_OSPEED): Likewise.
2619 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
2620 _HAVE_C_OSPEED): Likewise.
2621 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
2622 (cfsetospeed): Check for define value instead of existence.
2623 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
2624 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
2625 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
2626 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
2627 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
2630 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
2632 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
2633 (TIOCSER_TEMT): Likewise.
2634 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
2635 (TEOCSER_TEMT): Likewise.
2637 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
2640 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
2642 2019-01-02 Joseph Myers <joseph@codesourcery.com>
2644 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
2646 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
2648 * sysdeps/htl/pt-barrierattr-setpshared.c
2649 (pthread_barrierattr_setpshared): Add stub warning.
2650 * sysdeps/htl/pt-condattr-setpshared.c
2651 (pthread_condattr_setpshared): Likewise.
2652 * sysdeps/htl/pt-mutexattr-setpshared.c
2653 (pthread_mutexattr_setpshared): Likewise.
2654 * sysdeps/htl/pt-rwlockattr-setpshared.c
2655 (pthread_rwlockattr_setpshared): Likewise.
2656 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
2657 (pthread_mutexattr_setpshared): Likewise.
2659 2019-01-02 Joseph Myers <joseph@codesourcery.com>
2661 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
2662 constants to match with Linux 4.20.
2664 * sysdeps/mips/mips32/libm-test-ulps: Update.
2665 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2667 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
2670 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
2671 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
2672 than __typeof (...) for the a_ptr variable.
2674 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2676 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
2677 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
2678 * libio/Makefile (tests): Add tst-sprintf-ub and
2680 (CFLAGS-tst-sprintf-ub.c): New variable.
2681 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
2682 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
2683 destination buffer and check for overflows in fortified mode.
2684 * libio/libioP.h (PRINTF_CHK): New macro.
2685 * libio/tst-sprintf-chk-ub.c: New file.
2686 * libio/tst-sprintf-ub.c: Likewise.
2688 2019-01-02 Florian Weimer <fweimer@redhat.com>
2691 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
2694 2019-01-02 Florian Weimer <fweimer@redhat.com>
2696 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
2698 2019-01-01 Joseph Myers <joseph@codesourcery.com>
2700 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
2703 * sysdeps/unix/sysv/linux/netpacket/packet.h
2704 (PACKET_IGNORE_OUTGOING): New macro.
2706 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
2709 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2711 (riscv_flush_icache): New syscall.
2713 * manual/texinfo.tex: Update to version 2018-12-28.17 with
2714 trailing whitespace removed.
2715 * scripts/config.guess: Update to version 2019-01-01.
2716 * scripts/config.sub: Update to version 2019-01-01.
2717 * scripts/move-if-change: Update from gnulib.
2719 * NEWS: Update copyright dates.
2720 * catgets/gencat.c (print_version): Likewise.
2721 * csu/version.c (banner): Likewise.
2722 * debug/catchsegv.sh: Likewise.
2723 * debug/pcprofiledump.c (print_version): Likewise.
2724 * debug/xtrace.sh (do_version): Likewise.
2725 * elf/ldconfig.c (print_version): Likewise.
2726 * elf/ldd.bash.in: Likewise.
2727 * elf/pldd.c (print_version): Likewise.
2728 * elf/sotruss.sh: Likewise.
2729 * elf/sprof.c (print_version): Likewise.
2730 * iconv/iconv_prog.c (print_version): Likewise.
2731 * iconv/iconvconfig.c (print_version): Likewise.
2732 * locale/programs/locale.c (print_version): Likewise.
2733 * locale/programs/localedef.c (print_version): Likewise.
2734 * login/programs/pt_chown.c (print_version): Likewise.
2735 * malloc/memusage.sh (do_version): Likewise.
2736 * malloc/memusagestat.c (print_version): Likewise.
2737 * malloc/mtrace.pl: Likewise.
2738 * manual/libc.texinfo: Likewise.
2739 * nptl/version.c (banner): Likewise.
2740 * nscd/nscd.c (print_version): Likewise.
2741 * nss/getent.c (print_version): Likewise.
2742 * nss/makedb.c (print_version): Likewise.
2743 * posix/getconf.c (main): Likewise.
2744 * scripts/test-installation.pl: Likewise.
2745 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2747 * All files with FSF copyright notices: Update copyright dates
2748 using scripts/update-copyrights.
2749 * locale/programs/charmap-kw.h: Regenerated.
2750 * locale/programs/locfile-kw.h: Likewise.
2752 2018-12-31 Joseph Myers <joseph@codesourcery.com>
2754 * timezone/zdump.c: Update from tzcode 2018i.
2755 * timezone/zic.c: Likewise.
2757 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
2759 regex: improve Gnulib port to AIX
2760 From the glibc point of view, this removes duplicate macro
2761 definitions and is obviously safe.
2762 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
2763 * posix/regex_internal.h:
2764 (__attribute__, __attribute_warn_unused_result__):
2765 Remove; already defined elsewhere.
2767 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
2770 * malloc/malloc.c (_int_realloc): Always call memcpy for the
2771 copying operation. (ncopies had the wrong type, resulting in an
2772 integer wraparound and too few elements being copied.)
2774 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
2777 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
2778 <asm/syscalls.h> exists with __has_include__ before including it.
2780 2018-12-31 Joseph Myers <joseph@codesourcery.com>
2782 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2785 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
2787 * hurd/lookup-retry: Include <unistd.h>.
2788 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
2789 Release it on return. Handle "pid" magical lookup retry.
2791 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2794 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
2795 (t_fmt_ampm): Likewise.
2796 * localedata/locales/aa_ER (t_fmt): Likewise.
2797 (t_fmt_ampm): Likewise.
2798 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
2799 (t_fmt_ampm): Likewise.
2800 * localedata/locales/aa_ET (t_fmt): Likewise.
2801 (t_fmt_ampm): Likewise.
2802 * localedata/locales/am_ET (t_fmt): Likewise.
2803 (t_fmt_ampm): Likewise.
2804 * localedata/locales/byn_ER (t_fmt): Likewise.
2805 (t_fmt_ampm): Likewise.
2806 * localedata/locales/om_ET (t_fmt): Likewise.
2807 (t_fmt_ampm): Likewise.
2808 * localedata/locales/sid_ET (t_fmt): Likewise.
2809 (t_fmt_ampm): Likewise.
2810 * localedata/locales/so_DJ (t_fmt): Likewise.
2811 (t_fmt_ampm): Likewise.
2812 * localedata/locales/so_ET (t_fmt): Likewise.
2813 (t_fmt_ampm): Likewise.
2814 * localedata/locales/so_SO (t_fmt): Likewise.
2815 (t_fmt_ampm): Likewise.
2816 * localedata/locales/ti_ER (t_fmt): Likewise.
2817 (t_fmt_ampm): Likewise.
2818 * localedata/locales/ti_ET (t_fmt): Likewise.
2819 (t_fmt_ampm): Likewise.
2820 * localedata/locales/tig_ER (t_fmt): Likewise.
2821 (t_fmt_ampm): Likewise.
2822 * localedata/locales/wal_ET (t_fmt): Likewise.
2823 (t_fmt_ampm): Likewise.
2825 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
2826 * localedata/locales/ar_IN (t_fmt): Likewise.
2827 * localedata/locales/bhb_IN (t_fmt): Likewise.
2828 * localedata/locales/bho_IN (t_fmt): Likewise.
2829 * localedata/locales/bi_VU (t_fmt): Likewise.
2830 * localedata/locales/bn_BD (t_fmt): Likewise.
2831 * localedata/locales/bn_IN (t_fmt): Likewise.
2832 * localedata/locales/brx_IN (t_fmt): Likewise.
2833 * localedata/locales/doi_IN (t_fmt): Likewise.
2834 * localedata/locales/en_HK (t_fmt): Likewise.
2835 (t_fmt_ampm): Likewise.
2836 * localedata/locales/en_IN (t_fmt): Likewise.
2837 * localedata/locales/en_PH (t_fmt): Likewise.
2838 * localedata/locales/gu_IN (t_fmt): Likewise.
2839 * localedata/locales/hi_IN (t_fmt): Likewise.
2840 * localedata/locales/hif_FJ (t_fmt): Likewise.
2841 * localedata/locales/hne_IN (t_fmt): Likewise.
2842 * localedata/locales/kn_IN (t_fmt): Likewise.
2843 * localedata/locales/kok_IN (t_fmt): Likewise.
2844 * localedata/locales/ks_IN (t_fmt): Likewise.
2845 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
2846 * localedata/locales/mag_IN (t_fmt): Likewise.
2847 * localedata/locales/mai_IN (t_fmt): Likewise.
2848 * localedata/locales/mjw_IN (t_fmt): Likewise.
2849 * localedata/locales/ml_IN (t_fmt): Likewise.
2850 * localedata/locales/mni_IN (t_fmt): Likewise.
2851 * localedata/locales/mr_IN (t_fmt): Likewise.
2852 * localedata/locales/ms_MY (t_fmt): Likewise.
2853 * localedata/locales/pa_IN (t_fmt): Likewise.
2854 * localedata/locales/raj_IN (t_fmt): Likewise.
2855 * localedata/locales/sa_IN (t_fmt): Likewise.
2856 * localedata/locales/sat_IN (t_fmt): Likewise.
2857 * localedata/locales/sd_IN (t_fmt): Likewise.
2858 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
2859 * localedata/locales/tcy_IN (t_fmt): Likewise.
2860 * localedata/locales/the_NP (t_fmt): Likewise.
2861 * localedata/locales/to_TO (t_fmt): Likewise.
2862 * localedata/locales/ur_IN (t_fmt): Likewise.
2864 * localedata/locales/hif_FJ (d_t_fmt): Set to
2865 "%A %d %b %Y %I:%M:%S %p".
2866 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
2868 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
2869 * localedata/locales/ar_BH (t_fmt): Likewise.
2870 * localedata/locales/ar_DZ (t_fmt): Likewise.
2871 * localedata/locales/ar_EG (t_fmt): Likewise.
2872 * localedata/locales/ar_IQ (t_fmt): Likewise.
2873 * localedata/locales/ar_JO (t_fmt): Likewise.
2874 * localedata/locales/ar_KW (t_fmt): Likewise.
2875 * localedata/locales/ar_LB (t_fmt): Likewise.
2876 * localedata/locales/ar_LY (t_fmt): Likewise.
2877 * localedata/locales/ar_OM (t_fmt): Likewise.
2878 * localedata/locales/ar_QA (t_fmt): Likewise.
2879 * localedata/locales/ar_SD (t_fmt): Likewise.
2880 * localedata/locales/ar_SS (t_fmt): Likewise.
2881 * localedata/locales/ar_SY (t_fmt): Likewise.
2882 * localedata/locales/ar_TN (t_fmt): Likewise.
2883 * localedata/locales/ar_YE (t_fmt): Likewise.
2885 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
2886 (t_fmt_ampm): Likewise.
2887 * localedata/locales/gez_ET (t_fmt): Likewise.
2888 (t_fmt_ampm): Likewise.
2890 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
2891 (t_fmt_ampm): Likewise.
2892 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
2894 * localedata/locales/zh_HK (t_fmt):
2895 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
2897 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
2898 because this locale does not use the 12-hour clock.
2899 (t_fmt): Set to "%Z %H:%M:%S".
2900 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
2902 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
2903 because this locale does not use the 12-hour clock.
2904 (t_fmt): Set to "%H:%M:%S %Z".
2905 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
2907 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
2908 because this locale does not use the 12-hour clock.
2909 (t_fmt): Set to "%T".
2910 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
2911 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
2913 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
2914 because this locale does not use the 12-hour clock.
2915 (t_fmt): Set to "%H:%M:%S %Z".
2916 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
2918 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
2919 because this locale does not use the 12-hour clock.
2920 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
2921 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
2923 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2927 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
2928 (t_fmt_ampm): Likewise.
2929 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
2930 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
2931 (d_fmt): Set to "%-d.%-m.%y".
2933 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2935 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
2936 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
2937 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
2939 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
2940 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
2941 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
2943 * support/blob_repeat.c (check_mul_overflow_size_t,
2944 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
2946 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
2948 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
2950 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
2952 regex: simplify Gnulib port
2953 This simplifies the code, by removing stuff intended for porting
2954 to Gnulib but no longer needed there.
2955 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
2956 uses of libc_hidden_def, weak_alias.
2957 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
2958 _Restrict_ except for public-facing headers.
2959 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
2960 Remove; already defined elsewhere.
2961 * posix/regex.c, posix/regex_internal.h:
2962 Use __GNUC_PREREQ instead of rolling our own.
2963 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
2965 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
2967 * benchtests/bench-strlen.c (generic_strlen): New function.
2968 (memchr_strlen): New function.
2970 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2972 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
2973 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
2974 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
2976 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2978 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2980 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2982 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
2983 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
2984 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
2985 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
2986 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
2987 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
2988 <sysdeps/ieee754/flt-32/s_sincosf.c>.
2990 2018-12-21 Joseph Myers <joseph@codesourcery.com>
2993 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
2994 PLT reference in libc.so.
2995 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
2996 _Q_lltoq and _Q_qtod PLT references in libc.so.
2998 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
3000 * benchtests/bench-memchr.c: Cleanup defines.
3001 * benchtests/bench-memcmp.c: Likewise.
3002 * benchtests/bench-memset.c: Likewise.
3003 * benchtests/bench-memset-large.c: Likewise.
3004 * benchtests/bench-memset-walk.c: Likewise.
3005 * benchtests/bench-stpcpy.c: Likewise.
3006 * benchtests/bench-stpncpy.c: Likewise.
3007 * benchtests/bench-strcat.c: Likewise.
3008 * benchtests/bench-strchr.c: Likewise.
3009 * benchtests/bench-strcmp.c: Likewise.
3010 * benchtests/bench-strcpy.c: Likewise.
3011 * benchtests/bench-strcspn.c: Likewise.
3012 * benchtests/bench-string.h: Likewise.
3013 * benchtests/bench-strlen.c: Likewise.
3014 * benchtests/bench-strncat.c: Likewise.
3015 * benchtests/bench-strncmp.c: Likewise.
3016 * benchtests/bench-strncpy.c: Likewise.
3017 * benchtests/bench-strnlen.c: Likewise.
3018 * benchtests/bench-strpbrk.c: Likewise.
3019 * benchtests/bench-strrchr.c: Likewise.
3020 * benchtests/bench-strspn.c: Likewise.
3022 2018-12-21 Joseph Myers <joseph@codesourcery.com>
3024 * stdlib/longlong.h: Update from GCC.
3027 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
3028 * configure: Regenerated.
3029 * manual/install.texi (Tools for Compilation): Update minimum GCC
3031 * INSTALL: Regenerated.
3033 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
3035 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
3037 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
3039 * malloc/malloc.c (mremap_chunk): Additional checks.
3041 2018-12-21 Mao Han <han_mao@c-sky.com>
3043 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
3044 * scripts/build-many-glibcs.py: Add C-SKY targets.
3045 * sysdeps/csky/Implies: New file.
3046 * sysdeps/csky/Makefile: Likewise.
3047 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
3048 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
3049 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
3050 * sysdeps/csky/abiv2/memcmp.S: Likewise.
3051 * sysdeps/csky/abiv2/memcpy.S: Likewise.
3052 * sysdeps/csky/abiv2/memmove.S: Likewise.
3053 * sysdeps/csky/abiv2/memset.S: Likewise.
3054 * sysdeps/csky/abiv2/setjmp.S: Likewise.
3055 * sysdeps/csky/abiv2/start.S: Likewise.
3056 * sysdeps/csky/abiv2/strcmp.S: Likewise.
3057 * sysdeps/csky/abiv2/strcpy.S: Likewise.
3058 * sysdeps/csky/abiv2/strlen.S: Likewise.
3059 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
3060 * sysdeps/csky/abort-instr.h: Likewise.
3061 * sysdeps/csky/atomic-machine.h: Likewise.
3062 * sysdeps/csky/bits/endian.h: Likewise.
3063 * sysdeps/csky/bits/fenv.h: Likewise.
3064 * sysdeps/csky/bits/link.h: Likewise.
3065 * sysdeps/csky/bits/setjmp.h: Likewise.
3066 * sysdeps/csky/bsd-_setjmp.S: Likewise.
3067 * sysdeps/csky/bsd-setjmp.S: Likewise.
3068 * sysdeps/csky/configure: Likewise.
3069 * sysdeps/csky/configure.ac: Likewise.
3070 * sysdeps/csky/dl-machine.h: Likewise.
3071 * sysdeps/csky/dl-procinfo.c: Likewise.
3072 * sysdeps/csky/dl-procinfo.h: Likewise.
3073 * sysdeps/csky/dl-sysdep.h: Likewise.
3074 * sysdeps/csky/dl-tls.h: Likewise.
3075 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
3076 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
3077 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
3078 * sysdeps/csky/fpu/fegetenv.c: Likewise.
3079 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
3080 * sysdeps/csky/fpu/fegetmode.c: Likewise.
3081 * sysdeps/csky/fpu/fegetround.c: Likewise.
3082 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
3083 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
3084 * sysdeps/csky/fpu/fenv_private.h: Likewise.
3085 * sysdeps/csky/fpu/fesetenv.c: Likewise.
3086 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
3087 * sysdeps/csky/fpu/fesetmode.c: Likewise.
3088 * sysdeps/csky/fpu/fesetround.c: Likewise.
3089 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
3090 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
3091 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
3092 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
3093 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
3094 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
3095 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
3096 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
3097 * sysdeps/csky/fpu_control.h: Likewise.
3098 * sysdeps/csky/gccframe.h: Likewise.
3099 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
3100 * sysdeps/csky/ldsodefs.h: Likewise.
3101 * sysdeps/csky/libc-tls.c: Likewise.
3102 * sysdeps/csky/linkmap.h: Likewise.
3103 * sysdeps/csky/machine-gmon.h: Likewise.
3104 * sysdeps/csky/memusage.h: Likewise.
3105 * sysdeps/csky/nofpu/Implies: Likewise.
3106 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
3107 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
3108 * sysdeps/csky/nptl/Makefile: Likewise.
3109 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
3110 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
3111 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
3112 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
3113 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
3114 * sysdeps/csky/nptl/tls.h: Likewise.
3115 * sysdeps/csky/preconfigure: Likewise.
3116 * sysdeps/csky/sfp-machine.h: Likewise.
3117 * sysdeps/csky/sotruss-lib.c: Likewise.
3118 * sysdeps/csky/stackinfo.h: Likewise.
3119 * sysdeps/csky/sysdep.h: Likewise.
3120 * sysdeps/csky/tininess.h: Likewise.
3121 * sysdeps/csky/tst-audit.h: Likewise.
3122 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
3123 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
3124 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
3125 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
3126 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
3127 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
3128 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
3129 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
3130 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
3131 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
3132 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
3133 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
3134 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
3135 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
3136 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
3137 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
3138 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
3139 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
3140 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
3141 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
3142 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
3143 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
3144 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
3145 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
3146 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
3147 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
3148 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
3149 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
3150 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
3151 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
3152 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
3153 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
3154 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
3155 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
3156 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
3157 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
3158 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
3159 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
3160 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
3161 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
3162 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
3163 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
3164 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
3165 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
3167 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
3169 * include/time.h (__difftime64): Add.
3170 * time/difftime.c (subtract): convert to 64-bit time.
3171 * time/difftime.c (__difftime64): Add.
3172 * time/difftime.c (__difftime): Wrap around __difftime64.
3174 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
3176 * manual/examples/add.c: Remove redundant "if not".
3177 * manual/examples/argp-ex1.c: Likewise.
3178 * manual/examples/argp-ex2.c: Likewise.
3179 * manual/examples/argp-ex3.c: Likewise.
3180 * manual/examples/argp-ex4.c: Likewise.
3181 * manual/examples/atexit.c: Likewise.
3182 * manual/examples/db.c: Likewise.
3183 * manual/examples/dir.c: Likewise.
3184 * manual/examples/dir2.c: Likewise.
3185 * manual/examples/execinfo.c: Likewise.
3186 * manual/examples/filecli.c: Likewise.
3187 * manual/examples/filesrv.c: Likewise.
3188 * manual/examples/fmtmsgexpl.c: Likewise.
3189 * manual/examples/genpass.c: Likewise.
3190 * manual/examples/inetcli.c: Likewise.
3191 * manual/examples/inetsrv.c: Likewise.
3192 * manual/examples/isockad.c: Likewise.
3193 * manual/examples/longopt.c: Likewise.
3194 * manual/examples/memopen.c: Likewise.
3195 * manual/examples/memstrm.c: Likewise.
3196 * manual/examples/mkdirent.c: Likewise.
3197 * manual/examples/mkfsock.c: Likewise.
3198 * manual/examples/mkisock.c: Likewise.
3199 * manual/examples/mygetpass.c: Likewise.
3200 * manual/examples/pipe.c: Likewise.
3201 * manual/examples/popen.c: Likewise.
3202 * manual/examples/rprintf.c: Likewise.
3203 * manual/examples/search.c: Likewise.
3204 * manual/examples/select.c: Likewise.
3205 * manual/examples/setjmp.c: Likewise.
3206 * manual/examples/sigh1.c: Likewise.
3207 * manual/examples/sigusr.c: Likewise.
3208 * manual/examples/stpcpy.c: Likewise.
3209 * manual/examples/strdupa.c: Likewise.
3210 * manual/examples/strftim.c: Likewise.
3211 * manual/examples/subopt.c: Likewise.
3212 * manual/examples/swapcontext.c: Likewise.
3213 * manual/examples/termios.c: Likewise.
3214 * manual/examples/testopt.c: Likewise.
3215 * manual/examples/testpass.c: Likewise.
3216 * manual/examples/timeval_subtract.c: Likewise.
3218 2018-12-19 Joseph Myers <joseph@codesourcery.com>
3220 * sysdeps/x86/fpu/math_private.h: New file.
3221 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
3223 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
3228 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3230 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
3231 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
3232 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
3233 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
3235 (_dl_show_auxv): Give a special treatment to
3236 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
3237 and AT_L3_CACHEGEOMETRY.
3238 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
3239 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
3240 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
3241 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
3243 2018-12-19 Andreas Schwab <schwab@suse.de>
3245 * nscd/connections.c (check_use): Don't abort on invalid len.
3247 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
3249 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
3250 values in the 64bit value cases.
3252 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
3258 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
3264 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
3267 (__gmtime64_r): Add.
3269 (__gmtime64_r): Add.
3270 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
3276 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
3279 (__localtime64_r): Add.
3281 (__localtime64_r): Add.
3282 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
3284 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3286 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
3287 kernel_sigction definition.
3289 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
3291 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
3293 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
3294 __syscall_rt_sigaction.
3295 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
3296 (kernel_sigaction): Use Linux generic defintion.
3298 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
3299 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
3300 (__syscall_rt_sigaction): Remove implementation.
3301 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
3303 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
3304 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
3305 INTERNAL_SYSCALL): Remove definitions.
3306 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
3307 action and signal set size.
3308 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
3309 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
3311 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3312 James Clarke <jrtc27@jrtc27.com>
3315 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
3316 Define if SA_RESTORER is defined.
3317 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
3318 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
3320 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
3321 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
3323 (HAS_SA_RESTORER): Define.
3324 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
3325 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
3326 (HAS_SA_RESTORER): Define.
3327 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
3328 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
3329 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
3330 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
3331 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3333 2018-12-18 Joseph Myers <joseph@codesourcery.com>
3335 * sysdeps/unix/sysv/linux/kernel-features.h
3336 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
3337 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3338 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
3339 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3340 (__ASSUME_ST_INO_64_BIT): Likewise.
3341 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3342 <kernel-features.h>.
3343 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3344 Remove conditional code.
3345 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3346 <kernel-features.h>.
3347 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3348 Remove conditional code.
3349 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
3350 <kernel-features.h>.
3351 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3352 Remove conditional code.
3353 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
3354 <kernel-features.h>.
3355 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
3356 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
3358 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3360 * sysdeps/s390/multiarch/ifunc-resolve.h
3361 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
3362 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
3363 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
3364 Delete macro definition.
3365 (s390_libc_ifunc_init): Rename to
3366 s390_libc_ifunc_expr_stfle_init.
3367 * sysdeps/s390/bzero: Use
3368 s390_libc_ifunc_expr_stfle_init instead of
3369 s390_libc_ifunc_init.
3370 * sysdeps/s390/memcmp.c: Likewise.
3371 * sysdeps/s390/memcpy.c: Likewise.
3372 * sysdeps/s390/mempcpy.c: Likewise.
3373 * sysdeps/s390/memset.c: Likewise.
3375 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3377 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
3378 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
3380 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3382 * sysdeps/s390/multiarch/Makefile
3383 (sysdep_routines): Remove wmemcmp variants.
3384 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
3385 * sysdeps/s390/multiarch/ifunc-impl-list.c
3386 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
3387 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
3388 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
3389 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
3390 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
3391 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
3392 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
3393 * sysdeps/s390/ifunc-wmemcmp.h: New file.
3395 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3397 * sysdeps/s390/multiarch/Makefile
3398 (sysdep_routines): Remove wmemset variants.
3399 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
3400 * sysdeps/s390/multiarch/ifunc-impl-list.c
3401 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
3402 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
3403 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
3404 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
3405 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
3406 * sysdeps/s390/multiarch/wmemset.c: Move to ...
3407 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
3408 * sysdeps/s390/ifunc-wmemset.h: New file.
3410 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3412 * sysdeps/s390/multiarch/Makefile
3413 (sysdep_routines): Remove wmemchr variants.
3414 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
3415 * sysdeps/s390/multiarch/ifunc-impl-list.c
3416 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
3417 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
3418 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
3419 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
3420 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
3421 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
3422 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
3423 * sysdeps/s390/ifunc-wmemchr.h: New file.
3425 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3427 * sysdeps/s390/multiarch/Makefile
3428 (sysdep_routines): Remove wcscspn variants.
3429 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
3430 * sysdeps/s390/multiarch/ifunc-impl-list.c
3431 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
3432 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
3433 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
3434 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
3435 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
3436 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
3437 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
3438 * sysdeps/s390/ifunc-wcscspn.h: New file.
3440 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3442 * sysdeps/s390/multiarch/Makefile
3443 (sysdep_routines): Remove wcspbrk variants.
3444 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
3445 * sysdeps/s390/multiarch/ifunc-impl-list.c
3446 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
3447 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
3448 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
3449 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
3450 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
3451 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
3452 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
3453 * sysdeps/s390/ifunc-wcspbrk.h: New file.
3455 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3457 * sysdeps/s390/multiarch/Makefile
3458 (sysdep_routines): Remove wcsspn variants.
3459 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
3460 * sysdeps/s390/multiarch/ifunc-impl-list.c
3461 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
3462 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
3463 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
3464 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
3465 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
3466 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
3467 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
3468 * sysdeps/s390/ifunc-wcsspn.h: New file.
3470 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3472 * sysdeps/s390/multiarch/Makefile
3473 (sysdep_routines): Remove wcsrchr variants.
3474 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
3475 * sysdeps/s390/multiarch/ifunc-impl-list.c
3476 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
3477 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
3478 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
3479 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
3480 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
3481 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
3482 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
3483 * sysdeps/s390/ifunc-wcsrchr.h: New file.
3485 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3487 * sysdeps/s390/multiarch/Makefile
3488 (sysdep_routines): Remove wcschrnul variants.
3489 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
3490 * sysdeps/s390/multiarch/ifunc-impl-list.c
3491 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
3492 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
3493 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
3494 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
3495 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
3496 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
3497 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
3498 * sysdeps/s390/ifunc-wcschrnul.h: New file.
3500 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3502 * sysdeps/s390/multiarch/Makefile
3503 (sysdep_routines): Remove wcschr variants.
3504 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
3505 * sysdeps/s390/multiarch/ifunc-impl-list.c
3506 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
3507 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
3508 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
3509 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
3510 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
3511 * sysdeps/s390/multiarch/wcschr.c: Move to ...
3512 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
3513 * sysdeps/s390/ifunc-wcschr.h: New file.
3515 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3517 * sysdeps/s390/multiarch/Makefile
3518 (sysdep_routines): Remove wcsncmp variants.
3519 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
3520 * sysdeps/s390/multiarch/ifunc-impl-list.c
3521 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
3522 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
3523 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
3524 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
3525 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
3526 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
3527 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
3528 * sysdeps/s390/ifunc-wcsncmp.h: New file.
3530 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3532 * sysdeps/s390/multiarch/Makefile
3533 (sysdep_routines): Remove wcscmp variants.
3534 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
3535 * sysdeps/s390/multiarch/ifunc-impl-list.c
3536 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
3537 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
3538 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
3539 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
3540 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
3541 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
3542 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
3543 * sysdeps/s390/ifunc-wcscmp.h: New file.
3545 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3547 * sysdeps/s390/multiarch/Makefile
3548 (sysdep_routines): Remove wcsncat variants.
3549 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
3550 * sysdeps/s390/multiarch/ifunc-impl-list.c
3551 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
3552 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
3553 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
3554 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
3555 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
3556 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
3557 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
3558 * sysdeps/s390/ifunc-wcsncat.h: New file.
3560 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3562 * sysdeps/s390/multiarch/Makefile
3563 (sysdep_routines): Remove wcscat variants.
3564 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
3565 * sysdeps/s390/multiarch/ifunc-impl-list.c
3566 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
3567 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
3568 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
3569 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
3570 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
3571 * sysdeps/s390/multiarch/wcscat.c: Move to ...
3572 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
3573 * sysdeps/s390/ifunc-wcscat.h: New file.
3575 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3577 * sysdeps/s390/multiarch/Makefile
3578 (sysdep_routines): Remove wcpncpy variants.
3579 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
3580 * sysdeps/s390/multiarch/ifunc-impl-list.c
3581 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
3582 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
3583 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
3584 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
3585 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
3586 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
3587 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
3588 * sysdeps/s390/ifunc-wcpncpy.h: New file.
3590 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3592 * sysdeps/s390/multiarch/Makefile
3593 (sysdep_routines): Remove wcsncpy variants.
3594 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
3595 * sysdeps/s390/multiarch/ifunc-impl-list.c
3596 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
3597 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
3598 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
3599 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
3600 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
3601 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
3602 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
3603 * sysdeps/s390/ifunc-wcsncpy.h: New file.
3605 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3607 * sysdeps/s390/multiarch/Makefile
3608 (sysdep_routines): Remove wcpcpy variants.
3609 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
3610 * sysdeps/s390/multiarch/ifunc-impl-list.c
3611 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
3612 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
3613 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
3614 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
3615 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
3616 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
3617 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
3618 * sysdeps/s390/ifunc-wcpcpy.h: New file.
3620 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3622 * sysdeps/s390/multiarch/Makefile
3623 (sysdep_routines): Remove wcscpy variants.
3624 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
3625 * sysdeps/s390/multiarch/ifunc-impl-list.c
3626 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
3627 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
3628 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
3629 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
3630 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
3631 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
3632 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
3633 * sysdeps/s390/ifunc-wcscpy.h: New file.
3635 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3637 * sysdeps/s390/multiarch/Makefile
3638 (sysdep_routines): Remove wcsnlen variants.
3639 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
3640 * sysdeps/s390/multiarch/ifunc-impl-list.c
3641 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
3642 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
3643 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
3644 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
3645 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
3646 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
3647 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
3648 * sysdeps/s390/ifunc-wcsnlen.h: New file.
3650 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3652 * sysdeps/s390/multiarch/Makefile
3653 (sysdep_routines): Remove wcslen variants.
3654 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
3655 * sysdeps/s390/multiarch/ifunc-impl-list.c
3656 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
3657 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
3658 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
3659 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
3660 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
3661 * sysdeps/s390/multiarch/wcslen.c: Move to ...
3662 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
3663 * sysdeps/s390/ifunc-wcslen.h: New file.
3665 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3667 * sysdeps/s390/multiarch/Makefile
3668 (sysdep_routines): Remove memrchr variants.
3669 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
3670 * sysdeps/s390/multiarch/ifunc-impl-list.c
3671 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
3672 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
3673 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
3674 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
3675 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
3676 * sysdeps/s390/multiarch/memrchr.c: Move to ...
3677 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
3678 * sysdeps/s390/ifunc-memrchr.h: New file.
3680 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3682 * sysdeps/s390/multiarch/Makefile
3683 (sysdep_routines): Remove memccpy variants.
3684 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
3685 * sysdeps/s390/multiarch/ifunc-impl-list.c
3686 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
3687 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
3688 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
3689 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
3690 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
3691 * sysdeps/s390/multiarch/memccpy.c: Move to ...
3692 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
3693 * sysdeps/s390/ifunc-memccpy.h: New file.
3695 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3697 * sysdeps/s390/multiarch/Makefile
3698 (sysdep_routines): Remove rawmemchr variants.
3699 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
3700 * sysdeps/s390/multiarch/ifunc-impl-list.c
3701 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
3702 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
3703 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
3704 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
3705 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
3706 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
3707 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
3708 * sysdeps/s390/ifunc-rawmemchr.h: New file.
3710 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3712 * sysdeps/s390/multiarch/Makefile
3713 (sysdep_routines): Remove memchr variants.
3714 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
3715 * sysdeps/s390/multiarch/ifunc-impl-list.c
3716 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
3717 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
3718 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
3719 * sysdeps/s390/multiarch/memchr.c: Move to ...
3720 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
3721 * sysdeps/s390/ifunc-memchr.h: New file.
3722 * sysdeps/s390/s390-64/memchr.S: Move to ...
3723 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
3724 for 31/64bit and ifunc handling.
3725 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
3726 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
3727 * sysdeps/s390/s390-32/memchr.S: Likewise.
3729 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3731 * sysdeps/s390/multiarch/Makefile
3732 (sysdep_routines): Remove strcspn variants.
3733 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
3734 * sysdeps/s390/multiarch/ifunc-impl-list.c
3735 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
3736 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
3737 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
3738 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
3739 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
3740 * sysdeps/s390/multiarch/strcspn.c: Move to ...
3741 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
3742 * sysdeps/s390/ifunc-strcspn.h: New file.
3744 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3746 * sysdeps/s390/multiarch/Makefile
3747 (sysdep_routines): Remove strpbrk variants.
3748 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
3749 * sysdeps/s390/multiarch/ifunc-impl-list.c
3750 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
3751 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
3752 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
3753 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
3754 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
3755 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
3756 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
3757 * sysdeps/s390/ifunc-strpbrk.h: New file.
3759 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3761 * sysdeps/s390/multiarch/Makefile
3762 (sysdep_routines): Remove strspn variants.
3763 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
3764 * sysdeps/s390/multiarch/ifunc-impl-list.c
3765 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
3766 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
3767 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
3768 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
3769 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
3770 * sysdeps/s390/multiarch/strspn.c: Move to ...
3771 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
3772 * sysdeps/s390/ifunc-strspn.h: New file.
3774 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3776 * sysdeps/s390/multiarch/Makefile
3777 (sysdep_routines): Remove strrchr variants.
3778 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
3779 * sysdeps/s390/multiarch/ifunc-impl-list.c
3780 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
3781 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
3782 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
3783 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
3784 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
3785 * sysdeps/s390/multiarch/strrchr.c: Move to ...
3786 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
3787 * sysdeps/s390/ifunc-strrchr.h: New file.
3789 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3791 * sysdeps/s390/multiarch/Makefile
3792 (sysdep_routines): Remove strchrnul variants.
3793 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
3794 * sysdeps/s390/multiarch/ifunc-impl-list.c
3795 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
3796 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
3797 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
3798 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
3799 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
3800 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
3801 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
3802 * sysdeps/s390/ifunc-strchrnul.h: New file.
3804 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3806 * sysdeps/s390/multiarch/Makefile
3807 (sysdep_routines): Remove strchr variants.
3808 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
3809 * sysdeps/s390/multiarch/ifunc-impl-list.c
3810 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
3811 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
3812 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
3813 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
3814 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
3815 * sysdeps/s390/multiarch/strchr.c: Move to ...
3816 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
3817 * sysdeps/s390/ifunc-strchr.h: New file.
3819 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3821 * sysdeps/s390/multiarch/Makefile
3822 (sysdep_routines): Remove strncmp variants.
3823 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
3824 * sysdeps/s390/multiarch/ifunc-impl-list.c
3825 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
3826 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
3827 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
3828 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
3829 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
3830 * sysdeps/s390/multiarch/strncmp.c: Move to ...
3831 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
3832 * sysdeps/s390/ifunc-strncmp.h: New file.
3834 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3836 * sysdeps/s390/multiarch/Makefile
3837 (sysdep_routines): Remove strcmp variants.
3838 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
3839 * sysdeps/s390/multiarch/ifunc-impl-list.c
3840 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
3841 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
3842 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
3843 * sysdeps/s390/multiarch/strcmp.c: Move to ...
3844 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
3845 * sysdeps/s390/ifunc-strcmp.h: New file.
3846 * sysdeps/s390/s390-64/strcmp.S: Move to ...
3847 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
3848 for 31/64bit and ifunc handling.
3849 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
3850 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
3851 * sysdeps/s390/s390-32/strcmp.S: Likewise.
3853 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3855 * sysdeps/s390/multiarch/Makefile
3856 (sysdep_routines): Remove strncat variants.
3857 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
3858 * sysdeps/s390/multiarch/ifunc-impl-list.c
3859 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
3860 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
3861 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
3862 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
3863 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
3864 * sysdeps/s390/multiarch/strncat.c: Move to ...
3865 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
3866 * sysdeps/s390/ifunc-strncat.h: New file.
3868 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3870 * sysdeps/s390/multiarch/Makefile
3871 (sysdep_routines): Remove strcat variants.
3872 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
3873 * sysdeps/s390/multiarch/ifunc-impl-list.c
3874 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
3875 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
3876 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
3877 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
3878 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
3879 * sysdeps/s390/multiarch/strcat.c: Move to ...
3880 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
3881 * sysdeps/s390/ifunc-strcat.h: New file.
3883 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3885 * sysdeps/s390/multiarch/Makefile
3886 (sysdep_routines): Remove stpncpy variants.
3887 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
3888 * sysdeps/s390/multiarch/ifunc-impl-list.c
3889 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
3890 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
3891 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
3892 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
3893 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
3894 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
3895 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
3896 * sysdeps/s390/ifunc-stpncpy.h: New file.
3898 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3900 * sysdeps/s390/multiarch/Makefile
3901 (sysdep_routines): Remove strncpy variants.
3902 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
3903 * sysdeps/s390/multiarch/ifunc-impl-list.c
3904 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
3905 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
3906 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
3907 * sysdeps/s390/multiarch/strncpy.c: Move to ...
3908 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
3909 * sysdeps/s390/ifunc-strncpy.h: New file.
3910 * sysdeps/s390/s390-64/strncpy.S: Move to ...
3911 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
3912 and adjust ifunc handling.
3913 * sysdeps/s390/s390-32/strncpy.S: Move to ...
3914 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
3915 and adjust ifunc handling.
3916 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
3917 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
3919 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3921 * sysdeps/s390/multiarch/Makefile
3922 (sysdep_routines): Remove stpcpy variants.
3923 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
3924 * sysdeps/s390/multiarch/ifunc-impl-list.c
3925 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
3926 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
3927 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
3928 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
3929 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
3930 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
3931 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
3932 * sysdeps/s390/ifunc-stpcpy.h: New file.
3934 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3936 * sysdeps/s390/multiarch/Makefile
3937 (sysdep_routines): Remove strcpy variants.
3938 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
3939 * sysdeps/s390/multiarch/ifunc-impl-list.c
3940 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
3941 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
3942 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
3943 * sysdeps/s390/multiarch/strcpy.c: Move to ...
3944 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
3945 * sysdeps/s390/ifunc-strcpy.h: New file.
3946 * sysdeps/s390/s390-64/strcpy.S: Move to ...
3947 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
3948 for 31/64bit and ifunc handling.
3949 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
3950 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
3951 * sysdeps/s390/s390-32/strcpy.S: Likewise.
3953 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3955 * sysdeps/s390/multiarch/Makefile
3956 (sysdep_routines): Remove strnlen variants.
3957 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
3958 * sysdeps/s390/multiarch/ifunc-impl-list.c
3959 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
3960 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
3961 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
3962 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
3963 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
3964 * sysdeps/s390/multiarch/strnlen.c: Move to ...
3965 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
3966 * sysdeps/s390/ifunc-strnlen.h: New file.
3968 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3970 * sysdeps/s390/multiarch/Makefile
3971 (sysdep_routines): Remove strlen variants.
3972 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
3973 * sysdeps/s390/multiarch/ifunc-impl-list.c
3974 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
3975 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
3976 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
3977 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
3978 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
3979 * sysdeps/s390/multiarch/strlen.c: Move to ...
3980 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
3981 * sysdeps/s390/ifunc-strlen.h: New file.
3983 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3985 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
3986 * sysdeps/s390/multiarch/ifunc-impl-list.c
3987 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
3988 * sysdeps/s390/ifunc-memmem.h: New file.
3989 * sysdeps/s390/memmem.c: Likewise.
3990 * sysdeps/s390/memmem-c.c: Likewise.
3991 * sysdeps/s390/memmem-vx.c: Likewise.
3993 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3995 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
3996 * sysdeps/s390/multiarch/ifunc-impl-list.c
3997 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
3998 * sysdeps/s390/ifunc-strstr.h: New file.
3999 * sysdeps/s390/strstr.c: Likewise.
4000 * sysdeps/s390/strstr-c.c: Likewise.
4001 * sysdeps/s390/strstr-vx.c: Likewise.
4003 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4005 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
4006 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
4007 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
4008 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
4010 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
4011 * sysdeps/s390/memmove-c.c: New file.
4012 * sysdeps/s390/memmove.c: Likewise.
4013 * sysdeps/s390/multiarch/ifunc-impl-list.c
4014 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
4016 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4018 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
4019 * sysdeps/s390/configure.ac: Add check for z13 support.
4020 * sysdeps/s390/configure: Regenerated.
4022 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4024 * sysdeps/s390/memcopy.h: New file.
4026 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4028 * sysdeps/s390/s390-32/bcopy.S: Remove.
4029 * sysdeps/s390/s390-64/bcopy.S: Likewise.
4031 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4033 * sysdeps/s390/ifunc-memcpy.h: New File.
4034 * sysdeps/s390/memcpy.S: Move to ...
4035 * sysdeps/s390/memcpy-z900.S ... here.
4036 Move implementations from memcpy-s390x.s to here.
4037 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
4038 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4039 Remove memcpy/mempcpy variants.
4040 * sysdeps/s390/Makefile (sysdep_routines):
4041 Add memcpy/mempcpy variants.
4042 * sysdeps/s390/multiarch/ifunc-impl-list.c
4043 (__libc_ifunc_impl_list): Adjust ifunc variants for
4045 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
4047 * sysdeps/s390/memcpy.c: ... here.
4048 Adjust ifunc variants for memcpy.
4049 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
4050 * sysdeps/s390/mempcpy.c: ... here.
4051 Adjust ifunc variants for mempcpy.
4052 * sysdeps/s390/mempcpy.S: Delete file.
4054 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4056 * sysdeps/s390/s390-64/memcpy.S: Move to ...
4057 * sysdeps/s390/memcpy.S: ... here.
4058 Adjust to be usable for 31/64bit.
4059 * sysdeps/s390/s390-32/memcpy.S: Delete File.
4060 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
4061 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
4062 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4063 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
4064 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
4065 Adjust to be usable for 31/64bit.
4066 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
4067 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
4068 * sysdeps/s390/multiarch/memcpy.c: ... here.
4069 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
4071 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4073 * sysdeps/s390/ifunc-memcmp.h: New File.
4074 * sysdeps/s390/memcmp.S: Move to ...
4075 * sysdeps/s390/memcmp-z900.S ... here.
4076 Move implementations from memcmp-s390x.s to here.
4077 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
4078 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4079 Remove memcmp variants.
4080 * sysdeps/s390/Makefile (sysdep_routines):
4081 Add memcmp variants.
4082 * sysdeps/s390/multiarch/ifunc-impl-list.c
4083 (__libc_ifunc_impl_list): Adjust ifunc variants for
4085 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
4087 * sysdeps/s390/memcmp.c: ... here.
4088 Adjust ifunc variants for memcmp.
4090 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4092 * sysdeps/s390/s390-64/memcmp.S: Move to ...
4093 * sysdeps/s390/memcmp.S: ... here.
4094 Adjust to be usable for 31/64bit.
4095 * sysdeps/s390/s390-32/memcmp.S: Delete File.
4096 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
4097 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
4099 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4100 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
4101 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
4102 Adjust to be usable for 31/64bit.
4103 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
4104 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
4105 * sysdeps/s390/multiarch/memcmp.c: ... here.
4106 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
4108 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4110 * sysdeps/s390/s390-32/bzero.S: Delete file.
4111 * sysdeps/s390/s390-64/bzero.S: Likewise.
4112 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
4113 * sysdeps/s390/bzero.c: New file.
4114 * sysdeps/s390/memset-z900.S: Add bzero entry points.
4115 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
4116 * sysdeps/s390/multiarch/ifunc-impl-list.c
4117 (__libc_ifunc_impl_list): Add bzero ifunc variants.
4119 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4121 * sysdeps/s390/ifunc-memset.h: New File.
4122 * sysdeps/s390/memset.S: Move to ...
4123 * sysdeps/s390/memset-z900.S ... here.
4124 Move implementations from memset-s390x.s to here.
4125 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
4126 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4127 Remove memset variants.
4128 * sysdeps/s390/Makefile (sysdep_routines):
4129 Add memset variants.
4130 * sysdeps/s390/multiarch/ifunc-impl-list.c
4131 (__libc_ifunc_impl_list): Adjust ifunc variants for
4133 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
4135 * sysdeps/s390/memset.c: ... here.
4136 Adjust ifunc variants for memset.
4138 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4140 * sysdeps/s390/s390-64/memset.S: Move to ...
4141 * sysdeps/s390/memset.S: ... here.
4142 Adjust to be usable for 31/64bit.
4143 * sysdeps/s390/s390-32/memset.S: Delete File.
4144 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
4145 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
4147 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4148 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
4149 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
4150 Adjust to be usable for 31/64bit.
4151 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
4152 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
4153 * sysdeps/s390/multiarch/memset.c: ... here.
4154 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
4156 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4158 * sysdeps/s390/multiarch/ifunc-resolve.h
4159 (s390_libc_ifunc_init, s390_libc_ifunc,
4160 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
4162 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4164 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
4165 * sysdeps/s390/configure.ac: Add check for z10 support.
4166 * sysdeps/s390/configure: Regenerated.
4168 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
4170 * sysdeps/i386/atomic-machine.h: Merged with ...
4171 * sysdeps/x86_64/atomic-machine.h: To ...
4172 * sysdeps/x86/atomic-machine.h: This. New file.
4174 2018-12-18 Florian Weimer <fweimer@redhat.com>
4176 Rewrite locale/gen-translit.pl in Python.
4177 * locale/Makefile (generated): Add C-translit.h.
4178 (before-compile): Add $(objpfx)C-translit.h.
4179 (C-translit.h): Move to $(objpfx). Create target directory.
4180 Build using Python script.
4181 * locale/gen-translit.py: New file.
4182 * locale/gen-translit.pl: Remove file.
4183 * locale/C-translit.h.in: Change comment character to '#' for
4184 easier parsing without a C preprocessor.
4185 * locale/C-translit.h: Remove generated file.
4186 * manual/install.texi (Tools for Compilation): Do not mention
4188 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
4189 Remove locale/C-translit.h.
4190 * scripts/update-copyrights: Likewise.
4191 * INSTALL: Regenerate.
4193 2018-12-18 Florian Weimer <fweimer@redhat.com>
4196 * localedata/locales/bi_VU: Remove executable bit from file.
4198 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
4201 (__localtime64): Add.
4202 * manual/maint.texi: Document Y2038 symbol handling.
4204 (__localtime64): Add.
4205 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
4207 2018-12-17 Joseph Myers <joseph@codesourcery.com>
4209 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
4212 * scripts/glibcextract.py (compare_macro_consts): Take parameters
4213 to allow extra macros from first or second sources.
4214 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
4215 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
4216 (tests-special): Add $(objpfx)tst-mman-consts.out.
4217 ($(objpfx)tst-mman-consts.out): New makefile target.
4219 2018-12-17 Mao Han <han_mao@c-sky.com>
4221 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
4222 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
4223 without stat64 system call support.
4224 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
4225 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
4226 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4227 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
4228 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
4229 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
4230 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
4231 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
4232 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
4233 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
4234 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
4236 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
4238 regex: fix storage-exhaustion error
4240 * posix/regexec.c (get_subexp):
4241 Do not continue if storage is exhausted.
4243 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
4245 regex: fix heap-use-after-free error
4247 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
4248 https://debbugs.gnu.org/32592
4249 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
4250 call extend_buffers which reallocates the re_string_t internal buffer.
4251 Local variable 'buf' was not updated in such case, resulting in
4253 * posix/regexec.c (get_subexp): Update 'buf' after call to
4256 2018-12-15 Florian Weimer <fweimer@redhat.com>
4258 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
4259 (minimum_stride_size): Use it.
4260 (support_blob_repeat_allocate): Likewise.
4262 2018-12-14 Joseph Myers <joseph@codesourcery.com>
4264 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
4269 2018-12-14 Florian Weimer <fweimer@redhat.com>
4271 * manual/process.texi (Process Creation Concepts): Remove
4272 documentation of process (ID) lifetime. List more process
4273 creation functions. Reference Process Identification section.
4274 (Process Identification): Add information about process ID
4275 lifetime. Describe Linux thread/task IDs.
4276 * manual/signal.texi (Signaling Another Process): Mention that the
4277 signal is always sent to the process.
4279 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4281 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
4282 and tst-ldbl-efgcvt.
4283 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
4284 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
4285 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
4286 (fcvt_tests, output_error, output_r_error, do_test): Use the
4287 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
4288 select the type of floating-point variables and arguments; to
4289 produce extra tests for double and conversion specifiers for
4290 printf; and to set the names of called functions.
4291 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
4292 in tst-efgcvt-template.c.
4293 * misc/tst-ldbl-efgcvt.c: Likewise.
4295 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
4297 * nss/Makefile (tst-nss-test3.out): New rule.
4299 2018-12-13 Joseph Myers <joseph@codesourcery.com>
4301 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
4304 2018-12-13 fanjinke <fanjinke@hygon.cn>
4306 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
4309 2018-12-13 Andreas Schwab <schwab@suse.de>
4312 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
4313 (__pthread_rwlock_rdlock_full): Update expected value for
4314 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
4315 * nptl/tst-rwlock-pwn.c: New file.
4316 * nptl/Makefile (tests): Add tst-rwlock-pwn.
4318 2018-12-12 Joseph Myers <joseph@codesourcery.com>
4320 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
4323 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4325 * benchtests/scripts/compare_bench.py (do_compare): write to
4326 stderr in casestat is not present.
4327 * benchtests/scripts/compare_bench.py (plot_graphs): write to
4328 stderr in case timings field is not present. Also string showing
4329 the output filename goes into the stderr.
4331 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4333 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
4334 and ZeroDivisorError exceptions.
4335 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
4336 argument to loop through user provided statistics.
4337 * benchtests/scripts/compare_bench.py (main): Include the --stats
4340 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4342 * benchtests/scripts/compare_bench.py (compare_runs): Continue
4345 2018-12-12 Florian Weimer <fweimer@redhat.com>
4347 * sysdeps/posix/timespec_get.c: Add missing “any later version”
4348 clause to copyright header.
4350 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4353 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
4354 registers saved in the stack frame.
4355 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
4356 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
4358 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4360 * include/bits/monetary-ldbl.h: New file.
4361 * include/bits/printf-ldbl.h: Likewise.
4362 * include/bits/stdio-ldbl.h: Likewise.
4363 * include/bits/stdlib-ldbl.h: Likewise.
4364 * include/bits/syslog-ldbl.h: Likewise.
4365 * include/bits/wchar-ldbl.h: Likewise.
4367 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4369 * libio/libio.h: Remove redirection for _IO_vfprintf.
4371 2018-12-11 Andreas Schwab <schwab@suse.de>
4373 * Makerules: Remove all references to abilist-pattern.
4374 (update-all-abi): Simplify find expression.
4376 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
4379 * math/auto-libm-test-in: Add new test case.
4380 * math/auto-libm-test-out-pow: Regenerated.
4381 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
4383 2018-12-10 DJ Delorie <dj@redhat.com>
4386 * support/test-container.c: Move postclean step to before we
4389 2018-12-10 Joseph Myers <joseph@codesourcery.com>
4391 * scripts/gen-as-const.py (main): Handle --python option.
4392 * scripts/gen-py-const.awk: Remove.
4393 * Makerules (py-const-script): Use gen-as-const.py.
4394 ($(py-const)): Likewise.
4395 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
4396 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
4397 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
4398 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
4399 ~PTHREAD_MUTEX_NO_ELISION_NP.
4400 * manual/README.pretty-printers: Update reference to
4403 * scripts/glibcextract.py: New file.
4404 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
4405 or tempfile. Import glibcexctract.
4406 (compute_c_consts): Remove. Moved to glibcextract.py.
4407 (gen_test): Update reference to compute_c_consts.
4409 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
4410 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
4411 * sysdeps/unix/sysv/linux/Makefile
4412 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
4413 Redirect stderr as well as stdout.
4415 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
4418 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
4419 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
4420 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
4421 ALWAYS_USE_VSYSCALL.
4422 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
4423 ALWAYS_USE_VSYSCALL.
4424 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
4425 ALWAYS_USE_VSYSCALL.
4427 2018-12-10 Florian Weimer <fweimer@redhat.com>
4430 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
4431 offset instead of count for clarity. Fix typo in comment.
4432 (__old_getdents64): Keep track of previous offset. Use it to call
4434 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
4435 that d_off is never zero.
4437 2018-12-10 Andreas Schwab <schwab@suse.de>
4439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
4440 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
4441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
4442 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
4443 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
4445 2018-12-10 Joseph Myers <joseph@codesourcery.com>
4447 * timezone/private.h: Update from tzcode 2018g.
4448 * timezone/tzfile.h: Likewise.
4449 * timezone/tzselect.ksh: Likewise.
4450 * timezone/zdump.c: Likewise.
4451 * timezone/zic.c: Likewise.
4453 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4456 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
4457 (do_test): Adjust buffer size and fix format.
4459 2018-12-07 DJ Delorie <dj@redhat.com>
4462 * malloc/tst-tcfree3.c: New.
4463 * malloc/Makefile: Add it.
4465 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
4467 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
4469 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4471 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
4472 used as a mask for the mode argument of __vfscanf_internal and
4473 __vfwscanf_internal.
4474 * stdio-common/vfscanf-internal.c
4475 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
4476 (__strtof128_internal): Define to __wcstof128_internal.
4477 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
4478 __strtof128_internal or __wcstof128_internal when the format of
4479 long double is the same as _Float128.
4481 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
4483 * include/unistd.h (__confstr): Add prototype and hidden prototype.
4484 * posix/confstr.c (confstr): Rename to __confstr.
4485 (__confstr): Add hidden def.
4486 (confstr): Add weak alias for __confstr.
4487 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
4490 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
4492 * NEWS: Mention getcpu.
4493 * include/sched.h (__getcpu): New libc_hidden_proto.
4494 * manual/resource.texi: Document getcpu.
4495 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
4496 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
4497 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
4498 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4499 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4500 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4501 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4502 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4503 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4504 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4505 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4506 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4507 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
4509 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4510 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4511 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4520 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
4521 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4522 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4523 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4524 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4525 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4526 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4527 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4528 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
4529 * sysdeps/unix/sysv/linux/getcpu.c: New file.
4530 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
4533 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
4535 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
4537 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
4539 2018-12-07 Florian Weimer <fweimer@redhat.com>
4542 * posix/Makefile (routines): Add spawn_faction_addfchdir.
4543 * posix/Versions (GLIBC_2.29): Export
4544 posix_spawn_file_actions_addfchdir_np.
4545 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
4546 * posix/spawn_faction_destroy.c
4547 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
4548 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
4549 and the field action.fchdir_action.
4550 * posix/tst-spawn-chdir.c (add_chdir): New function.
4551 (do_test): Add do_fchdir loop. Call add_chdir.
4552 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
4553 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4554 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
4555 posix_spawn_file_actions_addfchdir_np.
4556 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
4558 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
4560 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
4561 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
4563 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
4565 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
4567 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
4569 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
4571 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
4573 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4574 (GLIBC_2.29): Likewise.
4575 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4576 (GLIBC_2.29): Likewise.
4577 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4578 (GLIBC_2.29): Likewise.
4579 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4580 (GLIBC_2.29): Likewise.
4581 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
4583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4584 (GLIBC_2.29): Likewise.
4585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4586 (GLIBC_2.29): Likewise.
4587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4588 (GLIBC_2.29): Likewise.
4589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4590 (GLIBC_2.29): Likewise.
4591 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
4593 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
4595 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
4597 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
4598 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
4600 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
4602 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
4604 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
4607 2018-12-06 Joseph Myers <joseph@codesourcery.com>
4609 * manual/texinfo.tex: Update to version 2018-09-21.20 with
4610 trailing whitespace removed.
4611 * scripts/config.guess: Update to version 2018-11-28.
4612 * scripts/config.sub: Update to version 2018-11-28.
4613 * scripts/install-sh: Update to version 2018-03-11.20.
4614 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
4615 * scripts/move-if-change: Update to version 2018-03-07 03:47.
4617 2018-12-07 Florian Weimer <fweimer@redhat.com>
4621 * inet/tst-if_index-long.c: New file.
4622 * inet/Makefile (tests): Add tst-if_index-long.
4624 2018-12-07 Florian Weimer <fweimer@redhat.com>
4626 * support/check.h (support_record_failure_is_failed): Declare.
4627 * support/descriptors.h: New file.
4628 * support/support_descriptors.c: Likewise.
4629 * support/tst-support_descriptors.c: Likewise.
4630 * support/support_record_failure.c
4631 (support_record_failure_is_failed): New function.
4632 * support/Makefile (libsupport-routines): Add support_descriptors.
4633 (tests): Add tst-support_descriptors.
4635 2018-12-05 Zack Weinberg <zackw@panix.com>
4636 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4638 * stdio-common/vfprintf-internal.c
4639 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
4640 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
4641 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
4642 and __no_long_double.
4643 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
4644 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
4645 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
4646 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
4647 and __nldbl_*syslog* functions.
4648 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
4649 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
4650 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
4651 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
4652 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
4653 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
4654 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
4655 (__nldbl_vwprintf, __nldbl_wprintf):
4656 Directly call the appropriate __v*printf_internal routine, passing
4657 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
4659 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
4660 (__nldbl___printf_chk, __nldbl___snprintf_chk)
4661 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
4662 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
4663 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
4664 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4665 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
4666 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
4667 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
4668 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
4669 Likewise, and also pass PRINTF_FORTIFY when appropriate.
4670 (__nldbl_syslog, __nldbl_vsyslog):
4671 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
4672 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4674 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4677 2018-12-05 Zack Weinberg <zackw@panix.com>
4678 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4681 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
4682 Moved here from debug/vsprintf_chk.c.
4683 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
4684 and completion logic for the strfile to match exactly what
4685 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
4686 _IO_str_init_static_internal instead of maxlen-1.
4687 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4688 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
4689 __vsprintf_internal.
4691 * debug/vsprintf_chk.c (__vsprintf_chk)
4692 * debug/sprintf_chk.c (__sprintf_chk):
4693 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
4694 'flags' argument is positive, and slen as maxlen. No need to lock
4695 the FILE and/or construct a temporary FILE. Minimize and normalize
4696 header inclusions and variable names. Do not libc_hidden_def anything.
4698 * debug/asprintf_chk.c (__asprintf_chk)
4699 * debug/dprintf_chk.c (__dprintf_chk)
4700 * debug/fprintf_chk.c (__fprintf_chk)
4701 * debug/fwprintf_chk.c (__fwprintf_chk)
4702 * debug/printf_chk.c (__printf_chk)
4703 * debug/snprintf_chk.c (__snprintf_chk)
4704 * debug/swprintf_chk.c (__swprintf_chk)
4705 * debug/vasprintf_chk.c (__vasprintf_chk)
4706 * debug/vdprintf_chk.c (__vdprintf_chk)
4707 * debug/vfprintf_chk.c (__vfprintf_chk)
4708 * debug/vfwprintf_chk.c (__vfwprintf_chk)
4709 * debug/vprintf_chk.c (__vprintf_chk)
4710 * debug/vsnprintf_chk.c (__vsnprintf_chk)
4711 * debug/vswprintf_chk.c (__vswprintf_chk)
4712 * debug/vwprintf_chk.c (__vwprintf_chk)
4713 * debug/wprintf_chk.c (__wprintf_chk):
4714 Directly call the corresponding vxxprintf_internal function, passing
4715 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
4716 the FILE and/or construct a temporary FILE. Minimize and normalize
4717 header inclusions and variable names. Do not libc_hidden_def anything.
4719 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
4720 __obstack_vprintf_internal.
4721 (__obstack_vprintf_chk): Convert into a wrapper that calls
4722 __obstack_vprintf_internal (these two functions already had the
4723 same code) and move to new file...
4724 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
4726 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
4727 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
4728 * debug/Makefile (routines): Add vobprintf_chk.
4730 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4731 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4732 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
4733 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4734 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
4735 (__nldbl___obstack_vfprintf_chk):
4736 Directly call the corresponding vxxprintf_internal function,
4737 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
4738 duplicate comparison of slen with 0 or maxlen from the corresponding
4739 non-__nldbl function.
4741 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
4742 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
4743 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
4744 Remove libc_hidden_proto.
4746 * stdio-common/vfprintf-internal.c
4747 (__vfprintf_internal, __vfwprintf_internal):
4748 Do not check _IO_FLAGS2_FORTIFY.
4749 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
4750 * libio/libioP.h: Update prototype of __vsprintf_internal and add
4751 a comment explaining why it has the maxlen argument.
4752 (_IO_acquire_lock_clear_flags2_fct): Remove.
4753 (_IO_acquire_lock_clear_flags2): Remove.
4754 (_IO_release_lock): Remove conditional statement which will
4756 (_IO_acquire_lock): Remove variable which is now unused.
4757 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
4758 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
4760 * stdio-common/Makefile (tests): Add tst-bz11319 and
4761 tst-bz11319-fortify2.
4762 (CFLAGS-tst-bz11319-fortify2.c): New macro.
4763 * stdio-common/tst-bz11319-fortify2.c: New file.
4764 * stdio-common/tst-bz11319.c: Likewise.
4766 2018-12-05 Zack Weinberg <zackw@panix.com>
4767 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4769 * misc/syslog.c: Include libioP.h, not iolibio.h.
4770 (__vsyslog_internal): New function with the former body of
4771 __vsyslog_chk; takes mode_flags argument same as
4772 __v*printf_internal. Call __vfprintf_internal directly.
4774 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
4775 Remove libc_hidden_def.
4776 (__syslog, __syslog_chk): Use __vsyslog_internal.
4777 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
4779 * include/sys/syslog.h: Add multiple inclusion guard.
4780 Add prototype for __vsyslog_internal.
4781 Remove declaration and libc_hidden_proto for __vsyslog_chk.
4783 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
4784 Use __vsyslog_internal.
4786 2018-12-05 Zack Weinberg <zackw@panix.com>
4787 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4789 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
4790 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
4791 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
4793 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
4794 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
4796 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
4797 Include wctype.h here if COMPILE_WPRINTF is defined.
4798 Define __vfprintf_internal or __vfwprintf_internal, depending
4800 Temporarily, on entry to this function, update mode_flags
4801 according to the environmental settings corresponding to
4802 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
4803 Throughout, check mode_flags instead of __ldbl_is_dbl and
4804 _IO_FLAGS2_FORTIFY on the destination FILE.
4805 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
4806 Include vfprintf-internal.c. Don't include wctype.h.
4807 * stdio-common/vfprintf.c: New file. Just define __vfprintf
4808 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
4810 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
4811 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
4813 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
4815 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
4816 and add mode_flags argument; use __vfprintf_internal.
4817 (__vdprintf): New function. Alias vdprintf to this.
4818 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
4819 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
4820 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
4821 (__obstack_printf): Use __obstack_printf_internal.
4822 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
4823 public aliases __vsnprintf and vsnprintf.
4824 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
4826 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
4827 public aliases _IO_vsprintf and vsprintf.
4828 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
4829 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
4830 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
4831 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
4832 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
4834 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
4835 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
4836 * stdio-common/fprintf.c, stdio-common/fxprintf.c
4837 * stdio-common/printf.c: Use __vfprintf_internal.
4839 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
4840 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
4841 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
4843 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
4844 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
4845 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
4846 __vfwprintf_internal.
4848 * libio/libio.h: Remove libc_hidden_proto and declaration for
4850 Remove declaration of _IO_vfwprintf.
4851 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
4853 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
4855 * include/stdio.h: Add prototype for __vasprintf.
4856 (__vsnprintf): Remove declaration, because there are no more
4858 * include/wchar.h (__vfwprintf, __vswprintf): Remove
4859 declaration, because there are no more internal calls.
4861 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
4862 __vsnprintf_internal, instead of _IO_vsnprintf.
4863 * argp/argp-help.c (__argp_error, __argp_failure): Use
4864 __vasprintf_internal, instead of _IO_vasprintf.
4865 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
4866 redefine, because there are no more internal calls.
4868 2018-12-05 Zack Weinberg <zackw@panix.com>
4869 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4871 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
4872 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
4873 Include libio/strfile.h instead of libioP.h.
4874 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
4875 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
4876 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
4877 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
4878 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
4879 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
4880 necessary. Do not set __no_long_double. Normalize variable names.
4881 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
4882 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
4883 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
4884 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
4885 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
4886 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
4887 Call __vfscanf_internal / __vfwscanf_internal directly, passing
4888 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
4889 Do not set __no_long_double. Normalize variable names.
4891 2018-12-05 Zack Weinberg <zackw@panix.com>
4892 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4894 * stdio-common/isoc99_scanf.c
4895 * stdio-common/isoc99_fscanf.c
4896 * stdio-common/isoc99_sscanf.c
4897 * stdio-common/isoc99_vscanf.c
4898 * stdio-common/isoc99_vfscanf.c
4899 * stdio-common/isoc99_vsscanf.c
4900 * wcsmbs/isoc99_wscanf.c
4901 * wcsmbs/isoc99_fwscanf.c
4902 * wcsmbs/isoc99_swscanf.c
4903 * wcsmbs/isoc99_vwscanf.c
4904 * wcsmbs/isoc99_vfwscanf.c
4905 * wcsmbs/isoc99_vswscanf.c:
4906 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
4907 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
4908 No need to lock and unlock the FILE passed to that function.
4910 * stdio-common/vfscanf-internal.c
4911 (__vfscanf_internal, __vfwscanf_internal):
4912 Don't look at _IO_FLAGS2_SCANF_STD.
4913 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
4914 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
4915 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
4917 2018-12-05 Zack Weinberg <zackw@panix.com>
4918 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4920 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
4921 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
4922 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
4923 * libio/strfile.h: Add multiple inclusion guard.
4924 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
4926 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
4927 consistency with the other version of this file.
4928 (ldbl_compat_symbol): New macro.
4929 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
4932 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
4933 Define __vfscanf_internal or __vfwscanf_internal, depending on
4934 COMPILE_WSCANF; don't define any other public symbols.
4935 Remove errval and code to set errp.
4936 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
4937 as the mode_flags argument.
4938 (encode_error, conv_error, input_error): Don't set errval.
4939 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
4940 Include vfscanf-internal.c.
4941 * stdio-common/vfscanf.c: New file defining the public entry
4942 point vfscanf, which calls __vfscanf_internal.
4943 * stdio-common/vfwscanf.c: New file defining the public entry
4944 point vfwscanf, which calls __vfwscanf_internal.
4946 * stdio-common/iovfscanf.c: New file.
4947 * stdio-common/iovfwscanf.c: Likewise.
4949 * stdio-common/Makefile (routines): Add vfscanf-internal,
4950 vfwscanf-internal, iovfscanf, iovfwscanf.
4951 * stdio-common/Versions: Mention GLIBC_2.29, so that
4952 it can be used in SHLIB_COMPAT expressions.
4953 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
4954 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
4955 Call __vfscanf_internal, instead of _IO_vfscanf.
4956 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
4958 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
4961 * libio/iovsscanf.c: Clean up includes, when possible. Use
4962 _IO_strfile_read or _IO_strfile_readw, when needed. Call
4963 __vfscanf_internal or __vfwscanf_internal directly.
4964 * libio/iovswscanf.c: Likewise.
4965 * libio/swscanf.c: Likewise.
4966 * libio/vscanf.c: Likewise.
4967 * libio/vwscanf.c: Likewise.
4968 * libio/wscanf.c: Likewise.
4969 * stdio-common/isoc99_fscanf.c: Likewise.
4970 * stdio-common/isoc99_scanf.c: Likewise.
4971 * stdio-common/isoc99_sscanf.c: Likewise.
4972 * stdio-common/isoc99_vfscanf.c: Likewise.
4973 * stdio-common/isoc99_vscanf.c: Likewise.
4974 * stdio-common/isoc99_vsscanf.c: Likewise.
4975 * stdio-common/scanf.c: Likewise.
4976 * stdio-common/sscanf.c: Likewise.
4977 * wcsmbs/isoc99_fwscanf.c: Likewise.
4978 * wcsmbs/isoc99_swscanf.c: Likewise.
4979 * wcsmbs/isoc99_vfwscanf.c: Likewise.
4980 * wcsmbs/isoc99_vswscanf.c: Likewise.
4981 * wcsmbs/isoc99_vwscanf.c: Likewise.
4982 * wcsmbs/isoc99_wscanf.c: Likewise.
4984 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
4987 (__tz_compute): Replace time_t with __time64_t.
4988 (__tz_convert): Replace time_t* with __time64_t.
4989 (__offtime): Replace time_t* with __time64_t.
4991 (__gmtime_r): Adjust call to __tz_convert.
4994 (__localtime_r): Likewise.
4995 (localtime): Likewise.
4996 * time/offtime.c: Replace time_t with __time64_t.
4997 * time/tzset.c: Likewise.
4999 2018-12-04 Joseph Myers <joseph@codesourcery.com>
5001 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
5002 dynamic linker unless [$(run-built-tests) = yes].
5004 2018-12-03 DJ Delorie <dj@delorie.com>
5006 * support/test-container.c (check_for_unshare_hints): New.
5007 (main): Call it if unshare fails. Add support for "su" scriptlet
5010 2018-12-03 Joseph Myers <joseph@codesourcery.com>
5012 * scripts/gen-as-const.py (compute_c_consts): Take an argument
5013 'START' to indicate that start text should be output.
5014 (gen_test): Likewise.
5015 (main): Generate 'START' for first symbol or '--' line, or at end
5016 of input if not previously generated.
5018 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
5021 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
5022 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
5023 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
5024 ALWAYS_USE_VSYSCALL.
5026 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5029 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
5032 2018-12-03 Carlos O'Donell <carlos@redhat.com>
5035 * locale/programs/localedef.c: Declare boolean hard_links default true.
5036 (options): Add --no-hard-links option.
5037 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
5038 * locale/programs/localedef.h: Declare prototype for hard_links.
5039 * locale/programs/locfile.c (write_locale_data): Don't use hard
5040 links if hard_links is false.
5042 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
5044 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
5046 (__cache_sysconf): Likewise.
5047 (init_cacheinfo): Likewise.
5048 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
5049 populate COMMON_CPUID_INDEX_80000007 and
5050 COMMON_CPUID_INDEX_80000008.
5051 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
5052 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
5053 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
5054 (init_cpu_features): Use _Static_assert on
5055 index_arch_Fast_Unaligned_Load.
5056 __get_cpuid_registers and __get_arch_feature. Updated for
5057 cpu_features_basic. Set stepping in cpu_features.
5058 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
5059 (FEATURE_INDEX_2): New.
5060 (FEATURE_INDEX_MAX): Changed to enum.
5061 (COMMON_CPUID_INDEX_D_ECX_1): New.
5062 (COMMON_CPUID_INDEX_80000007): Likewise.
5063 (COMMON_CPUID_INDEX_80000008): Likewise.
5064 (cpuid_registers): Likewise.
5065 (cpu_features_basic): Likewise.
5066 (CPU_FEATURE_USABLE): Likewise.
5067 (bit_arch_XXX_Usable): Likewise.
5068 (cpu_features): Use cpuid_registers and cpu_features_basic.
5069 (bit_arch_XXX): Reweritten.
5070 (bit_cpu_XXX): Likewise.
5071 (index_cpu_XXX): Likewise.
5072 (reg_XXX): Likewise.
5073 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
5075 (CHECK_CPU_FEATURE): New.
5076 (CHECK_CPU_FEATURE_USABLE): Likewise.
5077 (cpu_kinds): Likewise.
5078 (do_test): Print vendor, family, model and stepping. Check
5079 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
5080 (TEST_FUNCTION): Removed.
5081 Include <support/test-driver.c> instead of
5082 "../../test-skeleton.c".
5083 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
5084 Check POPCNT instead of POPCOUNT.
5085 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
5087 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
5089 * scripts/gen-as-const.py (main): Avoid emitting empty line when
5090 there is no element in `consts'.
5092 2018-12-01 Florian Weimer <fweimer@redhat.com>
5094 * support/support_capture_subprocess.c
5095 (support_capture_subprocess): Check that pipe descriptors have
5096 expected values. Close original pipe descriptors in subprocess.
5098 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
5101 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
5102 attr with __pthread_default_barrierattr.
5103 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
5104 attr with __pthread_default_condattr.
5105 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
5106 attr with __pthread_default_mutexattr.
5107 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
5108 attr with __pthread_default_rwlockattr.
5110 2018-12-01 Kemi Wang <kemi.wang@intel.com>
5112 * manual/tunables.texi (POSIX Thread Tunables): New node.
5113 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
5114 * nptl/nptl-init.c: Include pthread_mutex_conf.h
5115 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
5116 __pthread_tunables_init.
5117 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
5118 (max_adaptive_count): Define.
5119 * nptl/pthread_mutex_conf.c: New file.
5120 * nptl/pthread_mutex_conf.h: New file.
5121 * sysdeps/generic/adaptive_spin_count.h: New file.
5122 * sysdeps/nptl/dl-tunables.list: New file.
5123 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
5124 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
5125 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
5128 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
5131 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
5132 * stdlib/on_exit.c (__on_exit): Likewise.
5133 * stdlib/Makefile (tests): Add tst-bz20544.
5134 * stdlib/tst-bz20544.c: New test.
5136 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
5139 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
5140 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
5143 2018-11-30 Florian Weimer <fweimer@redhat.com>
5145 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
5146 Extend error logging.
5147 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
5150 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5152 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
5153 __sigismember instead of sigismember.
5154 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
5155 cancel_handler): New definitions.
5156 (do_system): Use posix_spawn instead of fork and execl and remove
5158 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
5159 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
5160 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
5161 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
5162 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
5163 * sysdeps/unix/sysv/linux/system.c: Likewise.
5167 * NEWS: Add new semantic for atfork with popen and system.
5168 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
5171 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5174 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
5175 modification order when accessing reloc_result->addr.
5176 * include/link.h (reloc_result): Add field init.
5177 * nptl/Makefile (tests): Add tst-audit-threads.
5178 (modules-names): Add tst-audit-threads-mod1 and
5179 tst-audit-threads-mod2.
5180 Add rules to build tst-audit-threads.
5181 * nptl/tst-audit-threads-mod1.c: New file.
5182 * nptl/tst-audit-threads-mod2.c: Likewise.
5183 * nptl/tst-audit-threads.c: Likewise.
5184 * nptl/tst-audit-threads.h: Likewise.
5186 2018-11-30 Joseph Myers <joseph@codesourcery.com>
5188 * scripts/gen-as-const.py: New file.
5189 * scripts/gen-as-const.awk: Remove.
5190 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
5192 ($(objpfx)test-as-const-%.c): Likewise.
5194 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
5196 * elf/dl-exception.c: Include <_itoa.h>.
5198 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
5200 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
5201 returned by __f_setlk.
5203 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
5204 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5206 * elf/Makefile (tests-internal): Add tst-create_format1.
5207 * elf/dl-exception.c (_dl_exception_create_format): Support
5209 * elf/tst-create_format1.c: New file.
5211 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
5213 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
5214 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
5216 * argp/argp-help.c (__argp_failure): Likewise.
5218 2018-11-29 Mao Han <han_mao@c-sky.com>
5220 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
5221 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
5222 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
5223 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
5224 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
5225 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
5226 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
5227 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
5228 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
5229 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
5230 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
5231 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
5232 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
5233 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
5234 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
5235 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
5236 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
5237 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
5238 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
5239 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
5240 (R_CKCORE_TLS_TPOFF32): New defines.
5242 2018-11-29 Florian Weimer <fweimer@redhat.com>
5244 * posix/Makefile (before-compile): Remove testcases.h and
5246 (generated): Add testcases.h and ptestcases.h.
5247 (testcases.h, ptestcases.h): Move to $(objpfx).
5248 (runtests.o): Add dependency on testcases.h.
5249 (runptests.o): Add dependency on ptestcases.h.
5250 * posix/testcases.h, posix/ptestcases.h: Remove files.
5251 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
5252 not touch posix/testcases.h and posix/ptestcases.h.
5254 2018-11-28 Florian Weimer <fweimer@redhat.com>
5256 support: Add signal support to support_capture_subprocess_check.
5257 * support/capture_subprocess.h (support_capture_subprocess_check):
5258 Adjust comment and rename parameter.
5259 * support/support_capture_subprocess_check.c
5260 (print_actual_status): New function.
5261 (support_capture_subprocess_check): Support negative
5262 status_or_signal. Call print_actual_status.
5263 * support/tst-support_capture_subprocess.c (do_test): Call
5264 support_capture_subprocess_check.
5265 * libio/tst-vtables-common.c (termination_status)
5266 (init_termination_status): Remove.
5267 (check_for_termination): Adjust support_capture_subprocess_check
5269 (do_test): Remove call to init_termination_status.
5271 2018-11-28 Joseph Myers <joseph@codesourcery.com>
5273 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
5274 source directory instead of a copy.
5275 (CommandList.create_copy_dir): Remove.
5277 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
5279 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5281 2018-11-28 Florian Weimer <fweimer@redhat.com>
5283 * support/support.h (support_quote_string): Do not use str
5286 2018-11-27 Joseph Myers <joseph@codesourcery.com>
5288 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
5289 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
5291 2018-11-27 Florian Weimer <fweimer@redhat.com>
5293 * support/support.h (support_quote_string): Declare.
5294 * support/support_quote_string.c: New file.
5295 * support/tst-support_quote_string.c: Likewise.
5296 * support/Makefile (libsupport-routines): Add
5297 support_quote_string.
5298 (tests): Add tst-support_quote_string.
5300 2018-11-27 Florian Weimer <fweimer@redhat.com>
5304 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
5305 descriptor leak in case of ENODEV error.
5307 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
5310 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
5311 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
5312 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
5314 2018-11-26 Carlos O'Donell <carlos@redhat.com>
5316 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
5317 Error for unknown lines.
5319 2018-11-26 Joseph Myers <joseph@codesourcery.com>
5321 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
5322 Touch additional files.
5324 2018-11-26 Florian Weimer <fweimer@redhat.com>
5327 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
5330 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
5333 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
5334 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
5335 SHARED. Include sysdep.h.
5336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
5337 ALWAYS_USE_VSYSCALL.
5338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
5339 ALWAYS_USE_VSYSCALL.
5341 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
5344 * nptl/Makefile (tests-static): Add tst-cond11-static.
5346 * nptl/tst-cond11-static.c: New File.
5347 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
5348 tst-affinity-static.
5350 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
5352 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
5353 (USE_VSYSCALL): Likewise.
5354 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
5355 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
5357 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
5359 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
5362 2018-11-23 Joseph Myers <joseph@codesourcery.com>
5365 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5366 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
5369 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
5371 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
5372 (tst-cet-legacy-1a-ARGS): New.
5373 ($(objpfx)tst-cet-legacy-1a): New target.
5374 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
5376 2018-11-22 Joseph Myers <joseph@codesourcery.com>
5378 * conform/conformtest.py (CompileSubTest.__init__): Set
5379 self.run_early to False.
5380 (ExecuteSubTest.__init__): Likewise.
5381 (HeaderTests.run): Try running all non-optional, non-XFAILed
5382 compilation tests in a single execution of the compiler.
5384 * conform/conformtest.py (CompileSubTest): New class.
5385 (ExecuteSubTest): Likewise.
5386 (ElementTest.run): Rename to gen_subtests. Append tests to
5387 self.subtests instead of running them.
5388 (ConstantTest.run): Likewise.
5389 (SymbolTest.run): Likewise.
5390 (TypeTest.run): Likewise.
5391 (TagTest.run): Likewise.
5392 (FunctionTest.run): Likewise.
5393 (VariableTest.run): Likewise.
5394 (MacroFunctionTest.run): Likewise.
5395 (MacroStrTest.run): Likewise.
5396 (HeaderTests.handle_test_line): Generate subtests for tests.
5397 (HeaderTests.run): Run subtests for tests.
5399 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5401 * math/Versions (GLIBC_2.29): Add pow.
5402 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
5404 * math/w_pow.c: New file.
5405 * sysdeps/i386/fpu/w_pow.c: New file.
5406 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
5407 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
5408 and add necessary aliases.
5409 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
5410 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
5411 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5412 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5413 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5414 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5415 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5416 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5417 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5418 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5419 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5420 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5421 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5422 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5423 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5428 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5429 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5430 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5431 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5432 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5433 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5434 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5435 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
5437 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
5438 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
5439 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
5441 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5443 * math/Versions (GLIBC_2.29): Add log2.
5444 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
5446 * math/w_log2.c: New file.
5447 * sysdeps/i386/fpu/w_log2.c: New file.
5448 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
5449 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
5450 and add necessary aliases.
5451 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
5452 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
5453 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5454 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5455 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5456 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5457 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5458 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5459 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5460 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5461 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5462 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5463 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5464 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5465 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5470 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5471 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5472 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5473 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5474 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5475 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5476 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5478 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5480 * math/Versions (GLIBC_2.29): Add log.
5481 * math/w_log_compat.c (__log_compat): Change to versioned compat
5483 * math/w_log.c: New file.
5484 * sysdeps/i386/fpu/w_log.c: New file.
5485 * sysdeps/ia64/fpu/e_log.S: Update.
5486 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
5487 and add necessary aliases.
5488 * sysdeps/ieee754/dbl-64/w_log.c: New file.
5489 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
5490 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5491 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5492 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5493 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5494 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5495 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5496 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5497 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5498 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5499 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5500 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5501 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5502 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5507 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5508 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5509 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5510 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5511 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5512 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5513 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5514 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
5516 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
5517 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
5518 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
5519 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
5521 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5523 * math/Versions (GLIBC_2.29): Add exp and exp2.
5524 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
5525 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
5526 * math/w_exp_compat.c (__exp_compat): Likewise.
5527 * math/w_exp.c: New file.
5528 * math/w_exp2.c: New file.
5529 * sysdeps/i386/fpu/w_exp.c: New file.
5530 * sysdeps/i386/fpu/w_exp2.c: New file.
5531 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
5532 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
5533 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
5534 and add necessary aliases.
5535 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
5536 and add necessary aliases.
5537 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
5538 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
5539 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
5540 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
5541 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5542 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5543 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5544 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5545 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5546 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5547 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5548 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5549 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5550 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5551 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5552 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5553 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5558 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5559 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5560 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5561 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5562 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5563 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5564 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5565 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
5566 (__ieee754_exp): Rename to __exp.
5567 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
5568 (__ieee754_exp): Rename to __exp.
5569 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
5570 (__ieee754_exp): Rename to __exp.
5571 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
5573 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
5575 2018-11-20 DJ Delorie <dj@redhat.com>
5577 * malloc/malloc.c (tcache_entry): Add key field.
5578 (tcache_put): Set it.
5579 (tcache_get): Likewise.
5580 (_int_free): Check for double free in tcache.
5581 * malloc/tst-tcfree1.c: New.
5582 * malloc/tst-tcfree2.c: New.
5583 * malloc/Makefile: Run the new tests.
5584 * manual/probes.texi: Document memory_tcache_double_free probe.
5586 * dlfcn/dlerror.c (check_free): Prevent double frees.
5588 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
5590 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
5592 2018-11-20 Joseph Myers <joseph@codesourcery.com>
5594 * conform/conformtest.py (ElementTest.run): Use unique identifiers
5595 in tests. Use names for format arguments.
5596 (ConstantTest.run): Likewise.
5597 (SymbolTest.run): Likewise.
5598 (TypeTest.run): Likewise.
5599 (TagTest.run): Likewise.
5600 (FunctionTest.run): Likewise.
5601 (VariableTest.run): Likewise.
5602 (MacroFunctionTest.run): Likewise.
5603 (MacroStrTest.run): Likewise.
5604 (HeaderTests.__init__): Set self.num_tests.
5605 (HeaderTests.handle_test_line): Set test.num. Increment
5608 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
5610 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
5611 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
5614 2018-11-19 Mao Han <han_mao@c-sky.com>
5616 * scripts/config.guess: Update to version 2018-08-29.
5617 * scripts/config.sub: Update to version 2018-08-29.
5619 2018-11-19 Florian Weimer <fweimer@redhat.com>
5621 support: Print timestamps in timeout handler.
5622 * support/support_test_main.c (print_timestamp): New function.
5623 (signal_handler): Use it to print the termination time and the
5624 time of the last write to standard output.
5626 2018-11-16 Zack Weinberg <zackw@panix.com>
5627 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5629 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
5630 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
5632 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
5633 and add flags argument. Check flags instead of __ldbl_is_dbl when
5634 deciding whether to set is_long_double.
5635 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
5636 passing zero for flags argument.
5637 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
5639 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5640 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
5641 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
5642 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
5643 variable names. Remove libc_hidden_def/libc_hidden_proto from
5644 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
5645 longer called from within the library.
5646 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
5647 for __nldbl___vstrfmon_l, declare it explicitly.
5649 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
5651 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
5653 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
5655 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
5656 F_SETLK64, F_SETLKW64, respectively.
5657 * sysdeps/mach/hurd/f_setlk.c: New file.
5658 * sysdeps/mach/hurd/f_setlk.h: New file.
5659 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
5661 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
5662 (__libc_fcntl): Move non-flock operations to...
5663 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
5664 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
5666 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
5668 mktime: DEBUG_MKTIME cleanup
5669 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
5670 And it’s no longer needed now that glibc and Gnulib both have
5671 their own testing mechanisms for mktime.
5672 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
5674 mktime: fix non-EOVERFLOW errno handling
5676 mktime was not properly reporting failures when the underlying
5677 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
5678 them like EOVERFLOW failures, and set errno to EOVERFLOW.
5679 The problem could happen on non-glibc platforms, with Gnulib.
5680 * time/mktime.c (guess_time_tm): Remove, replacing with ...
5681 (tm_diff): ... this simpler function, which does not change errno.
5682 All callers changed to deal with errno themselves.
5683 (ranged_convert, __mktime_internal): Return failure immediately if
5684 the underlying function reports any failure other than EOVERFLOW.
5685 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
5688 mktime: fix bug with Y2038 DST transition
5690 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
5691 mishandle a DST transition that jumps over the Y2038 boundary.
5692 No such DST transitions are known so this is only a theoretical
5693 bug, but we might as well do things right.
5695 mktime: make more room for overflow
5697 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
5698 This is so that we can add tm_diff results to a previous guess,
5699 which will be useful in a later patch.
5701 mktime: simplify offset guess
5703 * time/mktime.c (__mktime_internal): Omit excess precision.
5705 mktime: new test for mktime failure
5707 Based on a test suggested by Albert Aribaud in:
5708 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
5709 * time/Makefile (tests): Add bug-mktime4.
5710 * time/bug-mktime4.c: New file.
5712 mktime: fix EOVERFLOW bug
5714 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
5715 Include libc-config.h, not config.h, for __set_errno.
5716 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
5718 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
5720 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
5721 __attribute_copy__ to copy attributes from name. Drop static qualifier
5722 to avoid warnings about leaf attribute not having effect on static
5725 2018-11-13 Florian Weimer <fweimer@redhat.com>
5727 * malloc/malloc.c (fastbin_push_entry): New function.
5728 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
5729 (REMOVE_FB): Remove macro.
5730 (_int_malloc): Use fastbin_pop_entry and reindent.
5731 (_int_free): Use fastbin_push_entry.
5732 (malloc_consolidate): Use atomic_exchange_acquire.
5734 2018-11-13 Joseph Myers <joseph@codesourcery.com>
5736 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
5737 alias attribute, not with strong_alias.
5739 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
5740 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
5741 with additional parameter thread.
5742 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
5743 in terms of __hidden_ver2.
5744 (hidden_tls_def): New macro.
5745 (libc_hidden_tls_def): Likewise.
5746 (rtld_hidden_tls_def): Likewise.
5747 (libm_hidden_tls_def): Likewise.
5748 (libmvec_hidden_tls_def): Likewise.
5749 (libresolv_hidden_tls_def): Likewise.
5750 (librt_hidden_tls_def): Likewise.
5751 (libdl_hidden_tls_def): Likewise.
5752 (libnss_files_hidden_tls_def): Likewise.
5753 (libnsl_hidden_tls_def): Likewise.
5754 (libnss_nisplus_hidden_tls_def): Likewise.
5755 (libutil_hidden_tls_def): Likewise.
5756 (libutil_hidden_tls_def): Likweise.
5757 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
5758 libc_hidden_tls_def.
5759 (__sim_disabled_exceptions_thread): Likewise.
5760 (__sim_round_mode_thread): Likewise.
5762 * sysdeps/sparc/sparc-ifunc.h [SHARED]
5763 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
5764 copy attributes from name.
5766 2018-11-12 Joseph Myers <joseph@codesourcery.com>
5768 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
5769 Use __attribute_copy__ to copy attributes from name.
5771 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
5772 with __hidden_ver1 call.
5773 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
5774 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
5775 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
5776 (__cosf): Do not declare here.
5777 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
5778 (__sincosf): Do not declare here.
5779 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
5780 (__sinf): Do not declare here.
5782 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
5783 (__BIG_ENDIAN): Likewise.
5784 (__BYTE_ORDER): Likewise.
5785 (strong_alias): Likewise.
5786 (_strong_alias): Likewise.
5788 2018-11-12 Florian Weimer <fweimer@redhat.com>
5790 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
5791 function. Move after the definition of in_smallbin_range. Do not
5792 use __builtin_expect for paths that lead to a noreturn function.
5793 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
5794 because it is unclear whether this is in fact an unlikely
5796 (_int_malloc, _int_free): Adjust.
5797 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
5799 * malloc/arena.c (heap_trim): Likewise.
5801 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5803 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
5804 it, free it if needed.
5805 (reauthenticate): Test and use ccwdir.
5806 (child_init_port): In non-resetids case, test and use ccwdir.
5807 (child_chdir): New nested function to set ccwdir.
5808 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
5809 * hurd/hurd/port.h (_hurd_port_move): New function.
5810 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
5811 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
5812 * hurd/Versions (_hurd_port_move): Export function.
5813 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
5815 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
5816 of dtablesize for allocating dtable_cloexec.
5818 2018-11-09 Martin Sebor <msebor@redhat.com>
5820 * include/libc-symbols.h (__attribute_copy__): Define macro unless
5821 it's already defined.
5822 (_strong_alias): Use __attribute_copy__.
5823 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
5824 * misc/sys/cdefs.h (__attribute_copy__): New macro.
5825 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
5826 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
5827 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
5828 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
5829 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
5830 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
5831 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
5832 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
5833 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
5834 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
5835 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
5836 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
5837 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
5838 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
5839 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
5840 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
5841 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
5843 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5845 * misc/tst-efgcvt.c: Include support/check.h and
5846 support/test-driver.c. Do not include test-skeleton.c.
5847 (error_count): Remove.
5848 (output_error): Replace increments to error_count with calls to
5849 support_record_failure.
5850 (output_r_error): Likewise.
5851 (special): Likewise.
5852 (do_test): Unconditionally return zero.
5853 (TEST_FUNCTION): Remove.
5855 2018-11-09 Joseph Myers <joseph@codesourcery.com>
5857 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
5859 ($(linknamespace-header-tests)): Likewise.
5861 * conform/conformtest.py: New file.
5862 * conform/conformtest.pl: Remove.
5863 * conform/GlibcConform.pm: Likewise.
5864 * conform/glibcconform.py (KEYWORDS_C90): New constant.
5865 (KEYWORDS_C99): Likewise.
5866 (KEYWORDS): Likewise.
5867 * conform/Makefile ($(conformtest-header-tests)): Use
5868 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
5869 option. Use --header instead of --headers.
5870 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
5872 * conform/data/spawn.h-data: Likewise.
5873 * conform/data/fcntl.h-data (openat): Add space after function
5875 * conform/data/wchar.h-data (wcscasecmp): Likewise.
5876 (wcscasecmp_l): Likewise.
5877 * conform/data/termios.h-data (c_cc): Add space after element
5880 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5882 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
5883 instead of manually comparing and reporting mismatching strings.
5884 * misc/tst-ldbl-error.c (do_one_test): Likewise.
5885 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
5887 2018-11-08 Joseph Myers <joseph@codesourcery.com>
5889 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
5890 __ASSUME_SOCKETCALL.
5891 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5892 (__ASSUME_SOCKETCALL): Remove.
5893 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5894 (__ASSUME_SOCKETCALL): Likewise.
5895 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5896 (__ASSUME_SOCKETCALL): Likewise.
5897 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5898 (__ASSUME_SOCKETCALL): Likewise.
5899 * sysdeps/unix/sysv/linux/s390/kernel-features.h
5900 (__ASSUME_SOCKETCALL): Likewise.
5901 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5902 (__ASSUME_SOCKETCALL): Likewise.
5903 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5904 (__ASSUME_SOCKETCALL): Likewise.
5906 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
5909 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
5910 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
5911 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
5912 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
5913 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
5916 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
5919 * resolv/tst-resolv-network.c: Add test for getnetbyname.
5921 2018-11-07 Joseph Myers <joseph@codesourcery.com>
5924 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5925 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5926 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5927 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5929 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5931 * support/support_test_compare_string.c
5932 (support_test_compare_string): Fix printf format.
5934 2018-11-07 Florian Weimer <fweimer@redhat.com>
5936 Implement TEST_COMPARE_STRING.
5937 * support/check.h (TEST_COMPARE_STRING): Define.
5938 (support_test_compare_string): Declare.
5939 * support/Makefile (libsupport-routines): Add
5940 support_test_compare_string.
5941 (tests): Add tst-test_compare_string.
5942 * support/support_test_compare_string.c: New file.
5943 * support/tst-test_compare_string.c: Likewise.
5945 2018-11-07 Andreas Schwab <schwab@suse.de>
5948 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
5949 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
5952 2018-11-06 Joseph Myers <joseph@codesourcery.com>
5955 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5956 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
5957 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
5958 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
5961 2018-11-06 Florian Weimer <fweimer@redhat.com>
5964 * posix/Makefile (routines): Add spawn_faction_addchdir.
5965 (tests): Add tst-spawn-chdir.
5966 * posix/Versions (GLIBC_2.29): Add
5967 posix_spawn_file_actions_addchdir_np.
5968 * posix/spawn_faction_addchdir.c: New file.
5969 * posix/spawn_faction_destroy.c
5970 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
5971 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
5972 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
5974 * posix/tst-spawn-chdir.c: New file.
5975 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
5976 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5977 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
5978 posix_spawn_file_actions_addchdir_np.
5979 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
5981 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
5983 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
5984 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
5986 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
5988 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
5990 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
5992 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
5994 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
5996 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5997 (GLIBC_2.29): Likewise.
5998 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5999 (GLIBC_2.29): Likewise.
6000 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6001 (GLIBC_2.29): Likewise.
6002 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6003 (GLIBC_2.29): Likewise.
6004 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
6006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6007 (GLIBC_2.29): Likewise.
6008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6009 (GLIBC_2.29): Likewise.
6010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6011 (GLIBC_2.29): Likewise.
6012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6013 (GLIBC_2.29): Likewise.
6014 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
6016 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
6018 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
6020 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
6021 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
6023 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
6025 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
6027 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
6030 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6032 * misc/Makefile (tests): Add tst-ldbl-error.
6033 * misc/tst-ldbl-error.c: New file.
6035 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6037 * misc/Makefile (tests): Add tst-ldbl-warn.
6038 * misc/tst-ldbl-warn.c: New file.
6040 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6042 * argp/Makefile (tests): Add tst-ldbl-argp.
6043 * argp/tst-ldbl-argp.c: New file.
6045 2018-11-05 Arjun Shankar <arjun@redhat.com>
6047 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
6048 __gconv_path_elem and call __gconv_get_path unconditionally.
6050 2018-11-05 Andreas Schwab <schwab@suse.de>
6053 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
6054 creating the first helper thread failed.
6056 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6058 * sysdeps/mach/hurd/msync.c: New file.
6060 2018-11-02 Florian Weimer <fweimer@redhat.com>
6062 * support/shell-container.c (copy_func): Call
6063 support_copy_file_range instead of copy_file_range to support
6064 cross-device copies.
6066 2018-11-02 Florian Weimer <fweimer@redhat.com>
6068 * support/test-container.c: Include <libc-pointer-arith.h> for
6071 2018-11-01 Zong Li <zong@andestech.com>
6073 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
6074 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
6075 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
6076 (__FP_FRAC_SET_8): Add implementation for RV32 use.
6078 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
6079 variable to avoid overlap arguments.
6081 2018-11-01 Joseph Myers <joseph@codesourcery.com>
6083 * posix/bug-regex22.c (main): Use puts with distinct error
6084 messages for unexpected success of re_compile_pattern, not printf
6085 with NULL argument to %s.
6087 * stdio-common/bug22.c: Include <libc-diag.h>.
6088 (do_test): Disable -Wformat-overflow= warnings around fprintf
6089 calls outputting more than INT_MAX characters.
6090 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
6091 around printf call with NULL %s argument.
6094 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
6095 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
6097 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6098 (__ASSUME_RECVMSG_SYSCALL): Likewise.
6099 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6100 (__ASSUME_SENDTO_SYSCALL): Likewise.
6101 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6102 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
6104 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6105 (__ASSUME_CONNECT_SYSCALL): Likewise.
6106 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6107 (__ASSUME_RECVFROM_SYSCALL): Likewise.
6108 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
6110 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
6112 [__LINUX_KERNEL_VERSION >= 0x040400]
6113 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6114 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
6117 (setsockopt): Likewise.
6119 2018-11-01 Fredrik Noring <noring@nocrew.org>
6121 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
6122 with the ISA override.
6124 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
6126 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
6129 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
6131 * manual/errno.texi (EIEIO): Document how translators should
6132 translate the error message.
6133 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
6134 printing trailing whitespaces refused by git.
6135 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
6136 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6137 * hurd/Makefile (user-interfaces): Add pci.
6139 2018-10-30 Joseph Myers <joseph@codesourcery.com>
6141 * conform/linknamespace.py: New file.
6142 * conform/linknamespace.pl: Remove file.
6143 * conform/Makefile ($(linknamespace-header-tests)): Use
6144 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
6147 2018-10-30 Florian Weimer <fweimer@redhat.com>
6149 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
6152 2018-10-30 Florian Weimer <fweimer@redhat.com>
6154 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
6156 2018-10-30 Florian Weimer <fweimer@redhat.com>
6158 * stdlib/tst-strtod-overflow.c (do_test): Switch to
6159 support_blob_repeat.
6161 2018-10-30 Florian Weimer <fweimer@redhat.com>
6163 Avoid spurious test failures in stdlib/test-bz22786.
6164 * support/Makefile (libsupport-routines): Add blob_repeat.
6165 (tests): Add tst-support_blob_repeat.
6166 * support/blob_repeat.h: New file.
6167 * support/blob_repeat.c: Likewise.
6168 * support/tst-support_blob_repeat.c: Likewise.
6169 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
6170 support_blob_repeat_allocate.
6172 2018-10-30 Andreas Schwab <schwab@suse.de>
6175 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
6176 Don't use tail call.
6177 * elf/tst-unwind-main.c: New file.
6178 * elf/Makefile (tests): Add tst-unwind-main.
6179 (CFLAGS-tst-unwind-main.c): Define.
6181 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
6184 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
6186 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
6188 2018-10-29 Joseph Myers <joseph@codesourcery.com>
6190 * conform/glibcconform.py: Do not import shutil.
6191 (list_exported_functions): Use tempfile.TemporaryDirectory instead
6194 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
6195 critic_missing for versions before 3.4.
6196 * configure: Regenerated.
6197 * manual/install.texi (Tools for Compilation): Document
6198 requirement for Python to build glibc.
6199 * INSTALL: Regenerated.
6200 * Rules [PYTHON]: Make code unconditional.
6201 * benchtests/Makefile [PYTHON]: Likewise.
6202 * conform/Makefile [PYTHON]: Likewise.
6203 * manual/Makefile [PYTHON]: Likewise.
6204 * math/Makefile [PYTHON]: Likewise.
6206 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6208 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
6209 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
6210 answer to interrupt_operation, return EIEIO instead of EINTR.
6211 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
6212 _hurd_intr_rpc_msg_about_to global point to start of controlled
6213 assembly snippet. Make it check canceled flag.
6214 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
6215 the _hurd_intr_rpc_msg_about_to point.
6216 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
6217 issue, remove cancel flag check.
6219 2018-10-26 Joseph Myers <joseph@codesourcery.com>
6221 * scripts/build-many-glibcs.py: Remove compatibility for missing
6222 os.cpu_count and re.fullmatch.
6224 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
6227 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
6228 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
6229 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
6231 2018-10-25 Joseph Myers <joseph@codesourcery.com>
6233 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
6236 2018-10-25 Florian Weimer <fweimer@redhat.com>
6240 XFAIL siginfo_t si_band conform test on sparc64.
6241 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
6242 (__SI_BAND_TYPE): Only override long int default type on sparc64.
6243 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6244 (conformtest-xfail-conds): Add sparc64-linux.
6245 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
6247 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
6249 2018-10-25 Joseph Myers <joseph@codesourcery.com>
6251 * elf/elf.h (NT_MIPS_DSP): New macro.
6252 (NT_MIPS_FP_MODE): Likewise.
6254 2018-10-25 Zong Li <zong@andestech.com>
6256 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
6257 name by adding the file extension (.so).
6259 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
6261 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
6262 (test-xfail-ISO11/threads.h/linknamespace,
6263 test-xfail-ISO11/threads.h/conform): Add.
6265 2018-10-24 Joseph Myers <joseph@codesourcery.com>
6267 * math/gen-libm-test.py: Import os.
6268 (ALL_FLOATS_MANUAL): New constant.
6269 (ALL_FLOATS_SUFFIX): Likewise.
6270 (Ulps.all_functions): New function.
6271 (real_all_ulps): Likewise.
6272 (generate_err_table_sub): Likewise.
6273 (generate_err_table): Likewise.
6274 (main): Handle -s and -m options.
6275 * manual/libm-err-tab.pl: Remove.
6276 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
6277 instead of libm-err-tab.pl.
6278 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
6280 * manual/install.texi (Tools for Compilation): Document
6281 requirement for Python to build manual.
6282 * INSTALL: Regenerated.
6284 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
6286 * bits/time64.h: New file.
6287 * include/time.h: Replace internal_time_t with __time64_t.
6288 * posix/bits/types (__time64_t): Add.
6289 * stdlib/Makefile: Add bits/time64.h to includes.
6290 * time/tzfile.c: Replace internal_time_t with __time64_t.
6292 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6294 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
6295 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
6296 __posix_spawn_file_actions_init, __posix_spawnattr_init,
6297 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
6298 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
6300 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
6301 * posix/spawn_faction_addclose.c
6302 (__posix_spawn_file_actions_addclose): Add hidden definition.
6303 * posix/spawn_faction_adddup2.c
6304 (__posix_spawn_file_actions_adddup2): Likewise.
6305 * posix/spawn_faction_destroy.c
6306 (__posix_spawn_file_actions_destroy): Likewise.
6307 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
6309 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
6310 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
6311 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
6313 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
6314 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
6317 2018-10-24 Andreas Schwab <schwab@suse.de>
6320 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
6322 * elf/cache.c (print_cache): Likewise.
6324 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
6326 * bits/timesize.h: New file.
6327 * stdlib/Makefile (headers): Add bits/timesize.h.
6328 * sysdeps/unix/sysv/linux/bits/msq-pad.h
6329 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
6330 * sysdeps/unix/sysv/linux/bits/sem-pad.h
6331 (__SEM_PAD_AFTER_TIME): Likewise.
6332 * sysdeps/unix/sysv/linux/bits/shm-pad.h
6333 (__SHM_PAD_AFTER_TIME): Likewise.
6334 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
6335 (__MSQ_PAD_BEFORE_TIME): Likewise.
6336 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
6337 (__SEM_PAD_BEFORE_TIME): Likewise.
6338 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
6339 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
6340 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
6341 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
6342 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
6343 (__MSQ_PAD_BEFORE_TIME): Likewise.
6344 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
6345 (__SEM_PAD_BEFORE_TIME): Likewise.
6346 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
6347 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
6348 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
6349 (__MSQ_PAD_BEFORE_TIME): Likewise.
6350 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
6351 (__SEM_PAD_BEFORE_TIME): Likewise.
6352 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
6353 (__SHM_PAD_BEFORE_TIME): Likewise.
6354 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
6355 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
6356 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
6358 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
6360 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
6361 USE_RDTSCP is defined.
6362 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
6363 USE_RDTSCP is defined.
6365 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6367 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
6371 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
6372 independently of other flags.
6374 2018-10-23 Florian Weimer <fweimer@redhat.com>
6376 * time/tst-mktime2.c (N_STRINGS): Remove.
6377 (set_timezone): New function.
6378 (spring_forward_gap): Call it. Use FAIL_EXIT1.
6379 (mktime_test1): Report localtime failure and check errno value.
6381 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
6382 (do_test): Remove alarm call. Use set_timezone and array_length.
6384 2018-10-23 Andreas Schwab <schwab@suse.de>
6386 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
6387 (__start_context): Use END instead of PSEUDO_END.
6389 2018-10-22 Joseph Myers <joseph@codesourcery.com>
6391 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
6394 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6398 * wcsmbs/c32rtomb.c: New file.
6399 * wcsmbs/mbrtoc32.c: Likewise.
6400 * wcsmbs/tst-c32-state.c: Likewise.
6401 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
6402 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
6403 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
6404 (tests): Add tst-c32-state.
6405 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
6408 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
6410 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
6411 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
6413 2018-10-19 Joseph Myers <joseph@codesourcery.com>
6416 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
6417 pair and return 0 in that case, and use saved character to
6418 interpret following character.
6419 * wcsmbs/tst-c16-surrogate.c: New file.
6420 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
6421 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
6422 Depend on $(gen-locales)
6424 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
6427 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
6428 (struct siginfo_t): Use correct type for si_band.
6430 2018-10-19 Florian Weimer <fweimer@redhat.com>
6433 * resource/bits/types/struct_rusage.h (struct rusage): Update
6434 comment on struct. Remove extraneous field comment.
6436 2018-10-18 David S. Miller <davem@davemloft.net>
6438 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
6439 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
6440 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
6441 sysdep_routines in subdir elf.
6442 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
6443 version for __vdso_clock_gettime.
6444 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
6446 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
6447 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6449 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
6451 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
6453 * sysdeps/i386/init-arch.h: Removed.
6454 * sysdeps/i386/i586/init-arch.h: Likewise.
6455 * sysdeps/i386/i686/init-arch.h: Likewise.
6456 * sysdeps/i386/i686/hp-timing.h: Likewise.
6457 * sysdeps/x86_64/hp-timing.h: Likewise.
6458 * sysdeps/i386/isa.h: New file.
6459 * sysdeps/i386/i586/isa.h: Likewise.
6460 * sysdeps/i386/i686/isa.h: Likewise.
6461 * sysdeps/x86_64/isa.h: Likewise.
6462 * sysdeps/x86/hp-timing.h: New file.
6463 * sysdeps/x86/init-arch.h: Include <isa.h>.
6465 2018-10-17 Joseph Myers <joseph@codesourcery.com>
6467 * math/libm-test-pow.inc (pow_test_data): Do not allow
6468 divide-by-zero exception for pow(+/- 0, -Inf).
6470 2018-10-17 Zack Weinberg <zackw@panix.com>
6472 * manual/job.texi (Job Control is Optional): Remove node, as
6473 job control has not been optional in quite some time.
6474 (Job Control): Mention briefly that systems older than
6475 POSIX.1-2001 might not support job control.
6476 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
6477 defined on systems conforming to POSIX.1-2001.
6479 2018-10-17 Arjun Shankar <arjun@redhat.com>
6482 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
6484 * (__gconv_read_conf): Mark function static.
6485 * (once): New static variable.
6486 * (__gconv_load_conf): New function.
6487 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
6488 * iconv/gconv_db.c (once): Remove static variable.
6489 * (__gconv_compare_alias): Use __gconv_load_conf instead of
6491 * (__gconv_find_transform): Likewise.
6492 * iconv/tst-iconv-mt.c: New test.
6493 * iconv/Makefile: Add tst-iconv_mt.
6495 2018-10-17 Joseph Myers <joseph@codesourcery.com>
6497 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6499 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
6500 (shmatt_t): Define as __syscall_ulong_t.
6501 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
6502 and [__SHM_PAD_AFTER_TIME].
6503 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
6504 Define shm_segsz and associated padding based on
6505 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
6506 Use __syscall_ulong_t instead of unsigned long int.
6507 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
6509 [__USE_MISC] (struct shm_info): Likewise.
6510 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
6511 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
6512 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
6513 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
6514 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
6515 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
6516 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
6517 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
6518 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
6519 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
6520 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
6522 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6524 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
6525 (SHMLBA): Remove macro.
6526 (__getpagesize): Remove function declaration.
6527 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
6529 (SHMLBA): Remove macro.
6530 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
6532 (SHMLBA): Remove macro.
6533 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
6535 (SHMLBA): Remove macro.
6536 (__getpagesize): Remove function declaration.
6537 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
6539 (SHMLBA): Remove macro.
6540 (__getshmlba): Remove function declaration.
6541 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
6542 (SHMLBA): Remove macro.
6543 (__getpagesize): Remove function declaration.
6544 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
6545 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
6546 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
6547 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
6548 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
6549 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
6550 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
6551 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
6552 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
6553 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
6555 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
6558 * nptl/tst-mutex10.c: New File.
6559 * nptl/Makefile (tests): Add tst-mutex10.
6560 (tst-mutex10-ENV): New variable.
6561 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
6562 Ensure that elision path is used if elision is available.
6563 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
6565 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
6567 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
6568 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
6569 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
6570 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
6572 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
6573 (__pthread_mutex_cond_lock_adjust): Likewise.
6574 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
6576 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
6577 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6578 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6579 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
6581 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
6582 Use atomic_load_relaxed and atomic_store_relaxed.
6583 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
6584 Use atomic_store_relaxed.
6586 2018-10-17 Andreas Schwab <schwab@suse.de>
6588 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
6589 * crypt/badsalttest.c (TIMEOUT): Likewise.
6590 * crypt/sha256c-test.c (TIMEOUT): Likewise.
6591 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
6592 * io/test-lfs.c (TIMEOUT): Likewise.
6593 * libio/tst-atime.c (TIMEOUT): Likewise.
6594 * localedata/tst-leaks.c (TIMEOUT): Likewise.
6595 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
6596 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
6597 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
6598 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
6599 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
6600 * nptl/tst-cond11.c (TIMEOUT): Likewise.
6601 * nptl/tst-cond14.c (TIMEOUT): Likewise.
6602 * nptl/tst-cond15.c (TIMEOUT): Likewise.
6603 * nptl/tst-cond24.c (TIMEOUT): Likewise.
6604 * nptl/tst-cond25.c (TIMEOUT): Likewise.
6605 * nptl/tst-kill2.c (TIMEOUT): Likewise.
6606 * nptl/tst-kill3.c (TIMEOUT): Likewise.
6607 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
6608 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
6609 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
6610 * nptl/tst-once2.c (TIMEOUT): Likewise.
6611 * nptl/tst-once3.c (TIMEOUT): Likewise.
6612 * nptl/tst-once4.c (TIMEOUT): Likewise.
6613 * nptl/tst-robust8.c (TIMEOUT): Likewise.
6614 * nptl/tst-robust9.c (TIMEOUT): Likewise.
6615 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
6616 * nptl/tst-sem14.c (TIMEOUT): Likewise.
6617 * nptl/tst-sem6.c (TIMEOUT): Likewise.
6618 * nptl/tst-signal3.c (TIMEOUT): Likewise.
6619 * nptl/tst-spin4.c (TIMEOUT): Likewise.
6620 * nptl/tst-tls3.c (TIMEOUT): Likewise.
6621 * nptl/tst-tls4.c (TIMEOUT): Likewise.
6622 * posix/tst-chmod.c (TIMEOUT): Likewise.
6623 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
6624 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
6625 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
6626 * posix/tst-regex2.c (TIMEOUT): Likewise.
6627 * posix/tst-waitid.c (TIMEOUT): Likewise.
6628 * rt/tst-aio.c (TIMEOUT): Likewise.
6629 * rt/tst-aio10.c (TIMEOUT): Likewise.
6630 * rt/tst-aio4.c (TIMEOUT): Likewise.
6631 * rt/tst-aio5.c (TIMEOUT): Likewise.
6632 * rt/tst-aio6.c (TIMEOUT): Likewise.
6633 * rt/tst-aio64.c (TIMEOUT): Likewise.
6634 * rt/tst-aio7.c (TIMEOUT): Likewise.
6635 * rt/tst-aio9.c (TIMEOUT): Likewise.
6636 * rt/tst-clock.c (TIMEOUT): Likewise.
6637 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
6638 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
6639 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
6640 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
6641 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
6642 * rt/tst-timer4.c (TIMEOUT): Likewise.
6643 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
6644 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
6645 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
6646 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
6647 * time/tst-ftime.c (TIMEOUT): Likewise.
6648 * timezone/tst-tzset.c (TIMEOUT): Likewise.
6650 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
6652 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
6653 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
6656 2018-10-15 Joseph Myers <joseph@codesourcery.com>
6658 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6660 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
6661 instead of <bits/wordsize.h>.
6662 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
6663 and [__SEM_PAD_AFTER_TIME].
6664 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
6665 __syscall_ulong_t instead of unsigned long int.
6666 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
6667 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
6668 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
6669 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
6670 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
6671 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
6672 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
6673 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
6674 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
6675 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
6676 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
6678 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
6680 regex: simplify by using intprops.h
6682 * posix/regex_internal.h [_LIBC]: Include intprops.h.
6683 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
6684 intprops.h defines them.
6686 regex: __builtin_expect → __glibc_unlikely
6688 This refactoring was prompted by a problem when the regex code is
6689 used as part of Gnulib and when the builder’s compiler does not grok
6690 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
6691 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
6692 Although this refactoring does not fix the problem directly,
6693 we might as well have Gawk use the now-preferred glibc style for when
6694 __builtin_expect is unavailable.
6695 * posix/regex_internal.h (BE): Remove.
6696 All uses replaced by __glibc_unlikely or __glibc_likely.
6698 2018-10-11 Joseph Myers <joseph@codesourcery.com>
6700 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6702 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
6703 instead of <bits/wordsize.h>.
6704 (msgqnum_t): Define as __syscall_ulong_t.
6705 (msglen_t): Likewise.
6706 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
6707 and [__MSQ_PAD_AFTER_TIME].
6708 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
6709 __syscall_ulong_t instead of unsigned long int.
6710 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
6711 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
6712 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
6713 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
6714 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
6715 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
6716 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
6717 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
6718 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
6719 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
6720 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
6722 2018-10-10 Joseph Myers <joseph@codesourcery.com>
6724 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
6725 (struct shmid_ds): Condition padding after time fields on
6727 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
6728 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
6729 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
6731 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
6732 (struct semid_ds): Condition padding after time fields on
6734 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
6735 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
6736 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
6737 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
6739 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
6740 (struct msqid_ds): Condition padding after time fields on
6742 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
6743 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
6744 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
6745 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
6747 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
6749 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
6751 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
6753 * libio/tst-readline.c (TIMEOUT): Define.
6755 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
6757 mktime fix for Gnulib + coreutils
6759 This fix affects only Gnulib. Problem discovered when
6760 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
6762 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
6763 Do not define since it is not used. Defining an unused static
6764 function prompts a warning from GCC when Coreutils is configured
6765 with --enable-gcc-warnings.
6767 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6769 * benchtests/scripts/compare_bench.py (main): set float type on
6772 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
6775 * localedata/locales/kl_GL (mon): Update, the relative case.
6776 (alt_mon): Add, fill with month names in the nominative case.
6777 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
6778 (d_fmt): Set to "%b %d %Y".
6780 2018-10-04 Joseph Myers <joseph@codesourcery.com>
6782 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
6783 <bits/mman-linux.h>.
6784 (PROT_READ): Don't define here.
6785 (PROT_WRITE): Likewise.
6786 (PROT_EXEC): Likewise.
6787 (PROT_NONE): Likewise.
6788 (PROT_GROWSDOWN): Likewise.
6789 (PROT_GROWSUP): Likewise.
6790 (MAP_SHARED): Likewise.
6791 (MAP_PRIVATE): Likewise.
6792 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
6793 [__USE_MISC] (MAP_FILE): Likewise.
6794 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
6795 [__USE_MISC] (MAP_ANON): Likewise.
6796 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
6797 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
6798 (MCL_CURRENT): Likewise.
6799 (MCL_FUTURE): Likewise.
6800 (MCL_ONFAULT): Likewise.
6801 [__USE_MISC] (MADV_NORMAL): Likewise.
6802 [__USE_MISC] (MADV_RANDOM): Likewise.
6803 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
6804 [__USE_MISC] (MADV_WILLNEED): Likewise.
6805 [__USE_MISC] (MADV_DONTNEED): Likewise.
6806 [__USE_MISC] (MADV_FREE): Likewise.
6807 [__USE_MISC] (MADV_REMOVE): Likewise.
6808 [__USE_MISC] (MADV_DONTFORK): Likewise.
6809 [__USE_MISC] (MADV_DOFORK): Likewise.
6810 [__USE_MISC] (MADV_HWPOISON): Likewise.
6811 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
6812 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
6813 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
6814 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
6815 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
6816 (__MAP_ANONYMOUS): New macro.
6817 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
6818 <bits/mman-linux.h> inclusion.
6819 (MAP_FIXED): Likewise.
6820 (MS_SYNC): Likewise.
6821 (MS_ASYNC): Likewise.
6822 (MS_INVALIDATE): Likewise.
6823 [__USE_MISC] (MADV_MERGEABLE): Likewise.
6824 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
6825 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
6826 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
6827 [__USE_MISC] (MADV_DONTDUMP): Likewise.
6828 [__USE_MISC] (MADV_DODUMP): Likewise.
6829 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
6830 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
6833 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
6835 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
6836 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
6837 Add test-nldbl-redirect.
6838 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
6839 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
6840 $(objpfx)libnldbl_nonshared.a.
6842 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
6844 * support/support.h (support_objdir_elf_ldso): New variable.
6845 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
6846 * support/Makefile (CFLAGS-support_paths.c): Add definition
6847 for OBJDIR_ELF_LDSO_PATH.
6848 * support/test-container.c (main): Search for the ld.so
6849 which is also used by the testsuite.
6851 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
6854 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
6855 should be "sap" rather than "sab".
6856 (day): Fix spelling of Sunday, should be "sapaat" rather than
6859 2018-10-02 Joseph Myers <joseph@codesourcery.com>
6861 * math/libm-test-fma.inc (fma_test_data): Add more tests.
6863 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
6866 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
6867 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
6868 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
6870 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6872 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
6874 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
6876 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
6878 (CFLAGS-elision-unlock.c): Likewise.
6879 (CFLAGS-elision-timed.c): Likewise.
6880 (CFLAGS-elision-trylock.c): Likewise.
6881 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
6883 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6886 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
6887 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
6888 new fd_to_filename interface.
6889 * libio/freopen64.c (freopen64): Likewise.
6890 * libio/tst-memstream.h: New file.
6891 * libio/tst-memstream4.c: Likewise.
6892 * libio/tst-wmemstream4.c: Likewise.
6893 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
6894 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
6895 and remove internal dynamic allocation.
6897 2018-10-01 Joseph Myers <joseph@codesourcery.com>
6899 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
6900 (MREMAP_MAYMOVE): Do not define here.
6901 [__USE_GNU] (MREMAP_FIXED): Likewise.
6902 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
6903 (MREMAP_MAYMOVE): Define here instead.
6904 [__USE_GNU] (MREMAP_FIXED): Likewise.
6905 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
6906 (MREMAP_MAYMOVE): Remove.
6907 [__USE_GNU] (MREMAP_FIXED): Likewise.
6909 2018-09-28 Joseph Myers <joseph@codesourcery.com>
6911 * math/fromfp.h: Do not include <math_private.h>.
6912 * math/s_cacosh_template.c: Likewise.
6913 * math/s_casin_template.c: Likewise.
6914 * math/s_casinh_template.c: Likewise.
6915 * math/s_ccos_template.c: Likewise.
6916 * math/s_cproj_template.c: Likewise.
6917 * math/s_fdim_template.c: Likewise.
6918 * math/s_fmaxmag_template.c: Likewise.
6919 * math/s_fminmag_template.c: Likewise.
6920 * math/s_iseqsig_template.c: Likewise.
6921 * math/s_ldexp_template.c: Likewise.
6922 * math/s_nextdown_template.c: Likewise.
6923 * math/w_log1p_template.c: Likewise.
6924 * math/w_scalbln_template.c: Likewise.
6925 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
6926 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
6927 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
6928 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
6929 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
6930 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
6931 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
6932 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
6933 * sysdeps/i386/fpu/s_atanl.c: Likewise.
6934 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
6935 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
6936 * sysdeps/i386/fpu/s_fdim.c: Likewise.
6937 * sysdeps/i386/fpu/s_logbl.c: Likewise.
6938 * sysdeps/i386/fpu/s_rintl.c: Likewise.
6939 * sysdeps/i386/fpu/s_significandl.c: Likewise.
6940 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
6941 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
6942 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6943 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6944 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
6945 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6946 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6947 * sysdeps/ieee754/k_standardf.c: Likewise.
6948 * sysdeps/ieee754/k_standardl.c: Likewise.
6949 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6950 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
6951 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
6952 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
6953 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
6954 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
6955 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6956 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6957 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6958 * sysdeps/ieee754/s_signgam.c: Likewise.
6959 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
6960 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
6961 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
6962 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6963 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6964 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
6965 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6966 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
6967 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6968 * sysdeps/riscv/rvd/s_finite.c: Likewise.
6969 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
6970 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
6971 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
6972 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
6973 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
6974 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
6975 * sysdeps/riscv/rvf/fegetround.c: Likewise.
6976 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
6977 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
6978 * sysdeps/riscv/rvf/fesetround.c: Likewise.
6979 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
6980 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
6981 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
6982 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6983 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
6984 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6985 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
6986 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
6987 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
6988 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
6989 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
6990 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
6991 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
6992 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
6993 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6994 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6995 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
6997 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
6999 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
7002 * sysdeps/i386/dl-cet.c: Removed.
7003 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
7005 (_dl_runtime_profile_shstk): Likewise.
7006 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
7007 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
7009 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7012 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
7013 do_test_with_invalid_iov): New tests.
7014 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
7015 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
7016 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
7018 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
7019 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
7020 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
7022 2018-09-27 Joseph Myers <joseph@codesourcery.com>
7024 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7025 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
7026 (MATH_REDIRECT_BINARY_ARGS): New macro.
7027 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7028 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
7029 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
7031 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
7032 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7033 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
7034 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7035 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7036 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7037 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
7040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
7042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
7043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
7044 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
7045 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
7046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
7048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
7050 * sysdeps/generic/math_private_calls.h
7051 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
7052 Do not declare and define as an inline function.
7053 * math/divtc3.c (__divtc3): Use copysign functions instead of
7054 __copysign variants.
7055 * math/multc3.c (__multc3): Likewise.
7056 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
7057 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
7058 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7059 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7061 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7062 (__ieee754_yn): Likewise.
7063 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7064 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
7065 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7066 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7067 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
7069 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
7070 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7072 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7074 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7076 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7077 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7079 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7080 (__ieee754_ynf): Likewise.
7081 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
7082 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7083 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
7084 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7086 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7087 (__ieee754_ynl): Likewise.
7088 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7089 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7090 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7092 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7093 (__ieee754_ynl): Likewise.
7094 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
7095 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7096 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7097 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7099 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7101 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
7102 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7103 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
7104 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7105 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7107 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7108 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
7109 using MATH_REDIRECT.
7110 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
7112 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
7113 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7114 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7115 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
7116 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7117 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7118 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
7120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
7121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
7122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
7123 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7124 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7125 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7126 (round): Redirect to __round.
7127 (__roundl): Call round instead of __round.
7128 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
7130 [_ARCH_PWR5X] (__roundf): Likewise.
7131 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
7132 functions instead of __round variants.
7133 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7134 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
7136 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
7138 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
7140 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
7141 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
7143 (__ieee754_expl): Call roundl instead of __roundl.
7145 2018-09-27 Andreas Schwab <schwab@suse.de>
7148 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
7149 (do_test): Make st1 static.
7151 2018-09-26 Andreas Schwab <schwab@suse.de>
7154 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
7155 * elf/Makefile (tests): Add tst-unwind-ctor.
7156 (modules-names): Add tst-unwind-ctor-lib.
7157 ($(objpfx)tst-unwind-ctor): Depend on
7158 $(objpfx)tst-unwind-ctor-lib.so.
7160 2018-09-26 Joseph Myers <joseph@codesourcery.com>
7162 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
7163 file. Most contents moved from ....
7164 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
7165 and include <bits/mman-map-flags-generic.h>.
7166 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7167 (sysdep_headers): Add bits/mman-map-flags-generic.h.
7168 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
7169 <bits/mman-map-flags-generic.h>.
7170 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
7171 macros defined in <bits/mman-map-flags-generic.h>.
7172 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
7173 <bits/mman-map-flags-generic.h>.
7174 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
7175 defined in <bits/mman-map-flags-generic.h>.
7177 2018-09-26 Andreas Schwab <schwab@suse.de>
7179 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
7182 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
7183 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7184 Fangrui Song <maskray@google.com>
7187 * config.make.in (have-textrel_ifunc): New define.
7188 * configure.ac: Add check if linker supports textrel relocation with
7190 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
7192 (CFLAGS-tst-ifunc-textrel.c): New rule.
7193 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
7194 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
7195 * elf/tst-ifunc-textrel.c: New file.
7197 2018-09-25 Joseph Myers <joseph@codesourcery.com>
7199 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
7200 <bits/procfs-prregset.h>.
7201 (prgregset_t): Define using __prgregset_t.
7202 (prfpregset_t): Define using __prfpregset_t.
7203 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7204 (sysdep_headers): Add bits/procfs-prregset.h.
7205 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
7206 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
7207 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
7208 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
7210 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
7211 <bits/procfs-id.h> and <bits/procfs-extra.h>.
7212 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
7214 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7215 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
7216 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
7217 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
7218 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
7219 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
7220 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
7221 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
7222 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
7223 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
7224 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
7225 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
7226 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
7227 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
7228 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
7229 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
7230 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
7231 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
7232 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
7233 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
7234 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
7235 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
7236 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7237 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
7239 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
7240 AArch64 version. Include <bits/procfs.h>.
7241 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7242 (sysdep_headers): Add bits/procfs.h.
7243 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
7244 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
7245 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
7246 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
7247 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
7248 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
7249 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
7250 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
7251 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
7252 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
7253 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
7254 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
7255 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
7256 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
7257 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
7258 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7259 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
7261 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7263 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
7266 2018-09-25 Arjun Shankar <arjun@redhat.com>
7268 * iconv/gconv_int.h (__gconv_path_elem): Remove.
7269 (__gconv_max_path_elem_len): Likewise.
7270 (__gconv_nmodules): Likewise.
7271 (__gconv_get_path): Likewise.
7272 (path_elem): Move to ...
7273 * iconv/gconv_conf.c: ... here.
7274 (__gconv_get_path): Mark function static.
7275 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
7276 * iconv/gconv_open.c: ... here.
7278 2018-09-24 Andreas Schwab <schwab@suse.de>
7280 * scripts/haveversions.awk: New file.
7281 * Makerules ($(common-objpfx)Versions.def)
7282 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
7283 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
7285 * Makeconfig ($(common-objpfx)Versions.def)
7286 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
7287 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
7289 ($(common-objpfx)Versions.mk): New rule. Include it.
7290 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
7291 Emit error if build-obsolete-nsl = yes.
7292 * manual/install.texi (Configuring and compiling): Describe
7293 --enable-obsolete-nsl as unavaiable after version 2.28.
7294 * INSTALL: Regenerate.
7296 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7298 * NEWS: Add note about new TLE support on powerpc64le.
7299 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
7300 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
7302 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
7303 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
7304 * sysdeps/powerpc/powerpc32/sysdep.h,
7305 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
7306 ABORT_TRANSACTION): Remove macros.
7307 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
7308 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
7309 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
7310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
7311 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7312 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
7314 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
7316 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
7319 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
7320 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
7321 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
7322 which is the same as in it_IT.
7323 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
7324 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
7326 2018-09-20 Joseph Myers <joseph@codesourcery.com>
7328 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7329 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
7330 using MATH_REDIRECT.
7331 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
7333 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
7334 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7335 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
7336 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7337 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7338 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
7340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
7341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
7342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
7343 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7344 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7345 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
7346 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
7347 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
7348 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
7349 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
7350 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7351 (ceil): Redirect to __ceil.
7352 (floor): Redirect to __floor.
7353 (trunc): Redirect to __trunc.
7354 (__truncl): Call trunc instead of __trunc.
7355 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
7357 [_ARCH_PWR5X] (__truncf): Likewise.
7358 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
7359 trunc functions instead of __trunc variants.
7360 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7362 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7364 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7366 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7369 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
7370 [__i586__ || __pentium__].
7371 [__i486__]: Handle explicitly.
7372 (HAS_CPUID): Define to 1 if above macros are undefined.
7373 (HAS_I586): Likewise.
7374 (HAS_I686): Likewise.
7376 2018-09-20 Florian Weimer <fweimer@redhat.com>
7378 * misc/tst-gethostid.c: New file.
7379 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
7380 (tst-gethostid): Link with -ldl.
7382 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
7384 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
7385 value from gethostbyname_r.
7387 2018-09-19 Carlos O'Donell <carlos@redhat.com>
7389 * stdlib/tst-setcontext9.c (f1): Rename to...
7391 (f1b): New function implementing lower half of f1 in alternate stack.
7393 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
7395 Fix mktime localtime offset confusion
7397 * include/time.h (__mktime_internal): The localtime offset is now
7398 of type long int instead of time_t. This is the longstanding type
7399 in glibc, and it is more than enough to represent difference
7400 between localtime and gmtime even if it is 32 bits and time_t is
7401 64. Changing it now will let us avoid an unnecessary change when
7402 time_t is widened to 64 bits on 32-bit platforms.
7403 * time/mktime-internal.h (mktime_offset_t): Now long int.
7405 Merge mktime, timegm from upstream Gnulib
7406 [BZ #23603][BZ #16346]
7407 This fixes some obscure problems with integer overflow.
7408 Although it looks scary, it is almost all a byte-for-byte copy
7409 from Gnulib, and the Gnulib code has been tested reasonably well.
7410 * include/intprops.h: New file, copied from Gnulib.
7411 * include/verify.h, time/mktime-internal.h:
7412 New tiny files, simplified from Gnulib.
7413 * time/mktime.c: Copy from Gnulib. This has the following changes:
7414 Do not include config.h if DEBUG_MKTIME is nonzero.
7415 Include stdbool.h, intprops.h, verify.h.
7416 Include string.h only if needed.
7417 Include stdlib.h on MS-Windows.
7418 Include mktime-internal.h.
7419 (DEBUG_MKTIME): Default to 0, and simplify later uses.
7420 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
7421 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
7422 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
7423 simplify later conditionals; default the others to zero. Use
7424 these conditionals to express only the code needed on the current
7425 platform. In uses of these conditionals, explicitly spell out how
7426 _LIBC affects things, so it’s easier to review from a glibc
7428 (WRAPV): Remove; no longer needed now that we have
7429 systematic overflow checking.
7430 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
7431 compartmentalize tzset issues. Move system-dependent tzsettish
7432 code here from mktime.
7433 (verify): Remove; now done by verify.h. All uses changed.
7434 (long_int): Use a more-conservative definition, to avoid
7436 (SHR): Remove, replacing with ...
7437 (shr): New function, which means we needn’t worry about side
7438 effects in args, and conversion analysis is simpler.
7439 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
7440 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
7441 (time_t_avg, time_t_add_ok): Remove.
7442 (mktime_min, mktime_max): New constants.
7443 (leapyear, isdst_differ): Use bool for booleans.
7444 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
7445 Use long_int, not time_t, for mktime differences.
7446 (long_int_avg): New function, replacing time_t_avg.
7447 INT_ADD_WRAPV replaces time_t_add_ok.
7448 (guess_time_tm): 6th arg is now long_int, not time_t const *.
7450 (convert_time): New function.
7451 (ranged_convert): Use it.
7452 (__mktime_internal): Last arg now points to mktime_offset_t, not
7453 time_t. All uses changed. This is a no-op on glibc, where
7454 mktime_offset_t is always time_t. Use int, not time_t, for UTC
7455 offset guess. Directly check for integer overflow instead of
7456 using a heuristic that works only 99.9...% of the time.
7457 Access *OFFSET only once, to avoid an unlikely race if the
7458 compiler delays a load and if this cascades into a signed integer
7460 (mktime): Move tzsettish code to my_tzset, and move
7461 localtime_offset to within mktime so that it doesn’t
7462 need a separate ifdef.
7463 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
7464 instead of localtime.
7465 * time/timegm.c: Copy from Gnulib. This has the following changes:
7466 Include mktime-internal.h.
7467 [!_LIBC]: Include config.h and time.h. Do not include
7468 timegm.h or time_r.h. Make __mktime_internal a macro,
7469 and include mktime-internal.h to get its declaration.
7470 (timegm): Temporary is now mktime_offset_t, not time_t.
7471 This affects only Gnulib.
7473 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
7476 * string/test-strstr.c (pr23637): New function.
7477 (test_main): Add tests with longer needles.
7478 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
7479 * string/strstr.c (AVAILABLE): Likewise.
7481 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
7483 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
7485 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
7487 * NEWS: Mention pow improvements.
7488 * math/Makefile (type-double-routines): Add e_pow_log_data.
7489 * sysdeps/generic/math_private.h (__exp1): Remove.
7490 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
7491 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
7492 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
7494 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
7495 (exp_inline): Remove.
7496 (__ieee754_exp): Only single double input is handled.
7497 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
7498 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
7499 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
7500 (__pow_log_data): Define.
7501 * sysdeps/ieee754/dbl-64/upow.h: Remove.
7502 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
7503 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
7504 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
7506 (CFLAGS-e_pow-fma4.c): Likewise.
7508 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
7510 Simplify tzfile fstat failure code
7512 * time/tzfile.c (__tzfile_read): Simplify slightly.
7514 Fix tzfile low-memory assertion failure
7516 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
7517 when registering time zone abbreviations.
7519 2018-09-18 Joseph Myers <joseph@codesourcery.com>
7521 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
7522 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
7523 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
7524 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
7525 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
7526 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
7527 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
7528 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7529 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7531 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
7533 (__ceill): Call ceil instead of __ceil.
7534 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
7536 (__floorl): Call floor instead of __floor.
7538 2018-09-17 Joseph Myers <joseph@codesourcery.com>
7540 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7541 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
7542 using MATH_REDIRECT.
7543 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
7545 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
7546 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7547 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7548 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
7549 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7550 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7551 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7552 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
7553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
7554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
7555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
7556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
7557 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7558 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7559 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
7560 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
7561 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
7562 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
7563 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
7565 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
7566 functions instead of __ceil variants.
7567 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7568 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
7570 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
7572 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7573 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
7575 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7576 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7579 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
7581 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
7582 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
7583 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
7584 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
7585 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
7586 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
7587 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
7588 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
7589 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
7590 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
7591 (ILL_BADIADDR): Remove constant.
7592 (TRAP_BRANCH): Likewise.
7593 (TRAP_HWBKPT): Likewise.
7595 2018-09-14 Joseph Myers <joseph@codesourcery.com>
7598 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
7599 Remove [_MIPS_SIM = _ABIN32] conditional case.
7600 (struct elf_prpsinfo): Likewise.
7603 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
7604 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
7605 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
7607 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
7608 elf_prpsinfo): Likewise.
7609 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
7610 elf_prpsinfo): Likewise.
7611 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
7614 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7615 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
7616 using MATH_REDIRECT.
7617 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
7619 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
7620 * sysdeps/alpha/fpu/s_rint.c: Likewise.
7621 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
7622 * sysdeps/i386/fpu/s_rintl.c: Likewise.
7623 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7624 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7625 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
7626 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7627 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7628 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7629 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
7630 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
7631 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
7632 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
7633 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
7634 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7635 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7636 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
7637 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
7638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
7639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
7640 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
7641 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
7642 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
7643 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
7644 * sysdeps/x86_64/fpu/math_private.h: Remove file.
7645 * math/e_scalb.c (invalid_fn): Use rint functions instead of
7647 * math/e_scalbf.c (invalid_fn): Likewise.
7648 * math/e_scalbl.c (invalid_fn): Likewise.
7649 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7651 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7653 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
7654 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
7655 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7657 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7659 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7661 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
7662 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
7664 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7665 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
7667 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7668 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
7669 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7670 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
7671 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7672 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
7673 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7674 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
7675 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7676 && !NO_MATH_REDIRECT] (floor): Likewise.
7677 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
7679 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
7680 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7681 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7682 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
7683 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7684 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7685 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7686 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
7687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
7688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
7689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
7690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
7691 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7692 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7693 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
7694 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
7695 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
7696 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
7697 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
7699 [_ARCH_PWR5X] (__floorf): Likewise.
7700 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
7702 [__SSE4_1__] (__floorf): Likewise.
7703 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
7704 instead of __floor variants.
7705 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
7706 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
7707 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
7708 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
7709 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
7710 * math/w_tgamma_compat.c (__tgamma): Likewise.
7711 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
7712 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
7713 * math/w_tgammal_compat.c (__tgammal): Likewise.
7714 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
7715 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7717 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
7718 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
7719 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
7720 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7722 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7723 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
7725 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
7726 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
7728 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7729 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
7731 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
7732 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7733 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
7734 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
7735 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7736 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7738 2018-09-12 Joseph Myers <joseph@codesourcery.com>
7740 * elf/Makefile (modules-names-tests): New variable.
7742 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
7744 * NEWS: Mention log2 improvements.
7745 * math/Makefile (type-double-routines): Add e_log2_data.
7746 * sysdeps/i386/fpu/e_log2_data.c: New file.
7747 * sysdeps/ia64/fpu/e_log2_data.c: New file.
7748 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
7749 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
7750 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
7751 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
7752 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
7754 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
7756 * NEWS: Mention log improvement.
7757 * math/Makefile (type-double-routines): Add e_log_data.
7758 * sysdeps/i386/fpu/e_log_data.c: New file.
7759 * sysdeps/ia64/fpu/e_log_data.c: New file.
7760 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
7761 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
7762 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
7763 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
7764 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
7765 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
7767 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
7768 Xuepeng Guo <xuepeng.guo@intel.com>
7771 * sysdeps/i386/start.S: Include <sysdep.h>
7772 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
7773 enabled. Add cfi_undefined (eip).
7775 2018-09-11 Joseph Myers <joseph@codesourcery.com>
7777 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
7779 (EXTRACT_WORDS64): Likewise.
7780 (INSERT_WORDS64): Likewise.
7781 (GET_FLOAT_WORD): Likewise.
7782 (SET_FLOAT_WORD): Likewise.
7784 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
7786 (Config.build_gcc): Use --disable-libsanitizer for first GCC
7787 build, but not for second build if --full-gcc. Use
7788 --enable-languages=all for second build if --full-gcc.
7789 (get_parser): Add --full-gcc option.
7790 (main): Update call to Context.
7792 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
7795 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
7796 Single Quotation Mark).
7797 (thousands_sep): Likewise.
7798 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
7799 * localedata/locales/it_IT (thousands_sep): Use ".".
7800 (grouping): Use "3;3".
7802 2018-09-10 Joseph Myers <joseph@codesourcery.com>
7804 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
7805 x86_64 and i686 configs using --enable-obsolete-rpc
7806 --enable-obsolete-nsl.
7808 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
7810 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7812 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
7814 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
7815 Increment size of new_argv by one.
7817 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
7820 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
7821 * localedata/locales/ar_IN (d_fmt): Likewise.
7822 * localedata/locales/bhb_IN (d_fmt): Likewise.
7823 * localedata/locales/bho_IN (d_fmt): Likewise.
7824 * localedata/locales/bn_BD (d_fmt): Likewise.
7825 * localedata/locales/bn_IN (d_fmt): Likewise.
7826 * localedata/locales/doi_IN (d_fmt): Likewise.
7827 * localedata/locales/gu_IN (d_fmt): Likewise.
7828 * localedata/locales/hi_IN (d_fmt): Likewise.
7829 * localedata/locales/hne_IN (d_fmt): Likewise.
7830 * localedata/locales/kn_IN (d_fmt): Likewise.
7831 * localedata/locales/mag_IN (d_fmt): Likewise.
7832 * localedata/locales/mai_IN (d_fmt): Likewise.
7833 * localedata/locales/mjw_IN (d_fmt): Likewise.
7834 * localedata/locales/ml_IN (d_fmt): Likewise.
7835 * localedata/locales/mni_IN (d_fmt): Likewise.
7836 * localedata/locales/mr_IN (d_fmt): Likewise.
7837 * localedata/locales/pa_IN (d_fmt): Likewise.
7838 * localedata/locales/raj_IN (d_fmt): Likewise.
7839 * localedata/locales/sat_IN (d_fmt): Likewise.
7840 * localedata/locales/sd_IN (d_fmt): Likewise.
7841 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
7842 * localedata/locales/ta_IN (d_fmt): Likewise.
7843 * localedata/locales/ta_LK (d_fmt): Likewise.
7844 * localedata/locales/tcy_IN (d_fmt): Likewise.
7845 * localedata/locales/ur_IN (d_fmt): Likewise.
7847 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
7848 * localedata/locales/ks_IN (d_fmt): Likewise.
7849 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
7851 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
7852 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
7853 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
7854 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
7856 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
7858 * NEWS: Mention exp and exp2 improvements.
7859 * math/Makefile (libm-support): Remove t_exp.
7860 (type-double-routines): Add math_err and e_exp_data.
7861 * sysdeps/aarch64/libm-test-ulps: Update.
7862 * sysdeps/arm/libm-test-ulps: Update.
7863 * sysdeps/i386/fpu/e_exp_data.c: New file.
7864 * sysdeps/i386/fpu/math_err.c: New file.
7865 * sysdeps/i386/fpu/t_exp.c: Remove.
7866 * sysdeps/ia64/fpu/e_exp_data.c: New file.
7867 * sysdeps/ia64/fpu/math_err.c: New file.
7868 * sysdeps/ia64/fpu/t_exp.c: Remove.
7869 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
7870 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
7871 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
7872 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
7873 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
7874 * sysdeps/ieee754/dbl-64/math_config.h: New file.
7875 * sysdeps/ieee754/dbl-64/math_err.c: New file.
7876 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
7877 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
7878 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
7879 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
7880 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
7881 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
7882 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
7883 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7884 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7886 2018-09-05 Joseph Myers <joseph@codesourcery.com>
7888 * sysdeps/alpha/fpu/math_private.h: Remove.
7890 * sysdeps/generic/math_private.h
7891 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
7892 Move this inline function ....
7893 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
7894 * include/math.h [!_ISOMAC]: To here....
7896 2018-09-04 Joseph Myers <joseph@codesourcery.com>
7898 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
7900 [!FE_HAVE_ROUNDING_MODES]: And this code ....
7901 * include/fenv.h [!_ISOMAC]: ... to here.
7902 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
7903 (feraiseexcept): Likewise.
7904 * math/fromfp.h: Do not include <fenv_private.h>.
7905 * math/s_cexp_template.c: Likewise.
7906 * math/s_csin_template.c: Likewise.
7907 * math/s_csinh_template.c: Likewise.
7908 * math/s_ctan_template.c: Likewise.
7909 * math/s_ctanh_template.c: Likewise.
7910 * math/s_iseqsig_template.c: Likewise.
7911 * math/w_acos_compat.c: Likewise.
7912 * math/w_acosf_compat.c: Likewise.
7913 * math/w_acosl_compat.c: Likewise.
7914 * math/w_asin_compat.c: Likewise.
7915 * math/w_asinf_compat.c: Likewise.
7916 * math/w_asinl_compat.c: Likewise.
7917 * math/w_j0_compat.c: Likewise.
7918 * math/w_j0f_compat.c: Likewise.
7919 * math/w_j0l_compat.c: Likewise.
7920 * math/w_j1_compat.c: Likewise.
7921 * math/w_j1f_compat.c: Likewise.
7922 * math/w_j1l_compat.c: Likewise.
7923 * math/w_jn_compat.c: Likewise.
7924 * math/w_jnf_compat.c: Likewise.
7925 * math/w_log10_compat.c: Likewise.
7926 * math/w_log10f_compat.c: Likewise.
7927 * math/w_log10l_compat.c: Likewise.
7928 * math/w_log2_compat.c: Likewise.
7929 * math/w_log2f_compat.c: Likewise.
7930 * math/w_log2l_compat.c: Likewise.
7931 * math/w_log_compat.c: Likewise.
7932 * math/w_logf_compat.c: Likewise.
7933 * math/w_logl_compat.c: Likewise.
7934 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7935 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7936 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7937 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7938 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.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/k_standardl.c: Likewise.
7944 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7945 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7946 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7947 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7948 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7949 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7950 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7951 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7952 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7953 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7954 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7955 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7956 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7957 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7958 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7959 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7960 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7961 * math/w_ilogb_template.c: Include <fenv.h> instead of
7963 * math/w_llogb_template.c: Likewise.
7964 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7965 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7967 2018-09-03 Joseph Myers <joseph@codesourcery.com>
7969 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
7970 * math/fromfp.h: Include <fenv_private.h>.
7971 * math/math-narrow.h: Likewise.
7972 * math/s_cexp_template.c: Likewise.
7973 * math/s_csin_template.c: Likewise.
7974 * math/s_csinh_template.c: Likewise.
7975 * math/s_ctan_template.c: Likewise.
7976 * math/s_ctanh_template.c: Likewise.
7977 * math/s_iseqsig_template.c: Likewise.
7978 * math/w_acos_compat.c: Likewise.
7979 * math/w_acosf_compat.c: Likewise.
7980 * math/w_acosl_compat.c: Likewise.
7981 * math/w_asin_compat.c: Likewise.
7982 * math/w_asinf_compat.c: Likewise.
7983 * math/w_asinl_compat.c: Likewise.
7984 * math/w_ilogb_template.c: Likewise.
7985 * math/w_j0_compat.c: Likewise.
7986 * math/w_j0f_compat.c: Likewise.
7987 * math/w_j0l_compat.c: Likewise.
7988 * math/w_j1_compat.c: Likewise.
7989 * math/w_j1f_compat.c: Likewise.
7990 * math/w_j1l_compat.c: Likewise.
7991 * math/w_jn_compat.c: Likewise.
7992 * math/w_jnf_compat.c: Likewise.
7993 * math/w_llogb_template.c: Likewise.
7994 * math/w_log10_compat.c: Likewise.
7995 * math/w_log10f_compat.c: Likewise.
7996 * math/w_log10l_compat.c: Likewise.
7997 * math/w_log2_compat.c: Likewise.
7998 * math/w_log2f_compat.c: Likewise.
7999 * math/w_log2l_compat.c: Likewise.
8000 * math/w_log_compat.c: Likewise.
8001 * math/w_logf_compat.c: Likewise.
8002 * math/w_logl_compat.c: Likewise.
8003 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
8004 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
8005 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
8006 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
8007 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8008 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8009 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8010 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8011 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8012 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8013 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8014 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8015 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
8016 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
8017 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8018 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
8019 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8020 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8021 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8022 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8023 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8024 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8025 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8026 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8027 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8028 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8029 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8030 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
8031 * sysdeps/ieee754/float128/float128_private.h: Likewise.
8032 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8033 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8034 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8035 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
8036 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8037 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8038 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8039 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8040 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8041 * sysdeps/ieee754/k_standardl.c: Likewise.
8042 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8043 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8044 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8045 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8046 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8047 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8048 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8049 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8050 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8051 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8052 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8053 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8054 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8055 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8056 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8057 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
8058 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8059 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
8060 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8061 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8062 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8063 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8064 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8065 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8066 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8067 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8068 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8069 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8070 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
8071 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8072 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8073 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8074 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8075 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8076 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8077 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8078 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8079 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8080 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8081 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8082 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
8083 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8084 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
8085 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8086 * sysdeps/riscv/rvd/s_finite.c: Likewise.
8087 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
8088 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
8089 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
8090 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
8091 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
8092 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
8093 * sysdeps/riscv/rvf/fegetround.c: Likewise.
8094 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
8095 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
8096 * sysdeps/riscv/rvf/fesetround.c: Likewise.
8097 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
8098 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
8099 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
8100 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8101 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
8102 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8103 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
8104 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
8105 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
8106 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
8107 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
8108 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
8109 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
8110 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
8111 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8112 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8114 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8117 * include/stdio.h (__libc_fatal): Mention newline in comment.
8118 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
8119 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
8120 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8121 * nss/nsswitch.c (__nss_next2): Likewise.
8122 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
8123 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
8124 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
8125 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8126 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
8127 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
8128 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
8129 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
8130 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
8131 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
8132 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
8133 * sysdeps/unix/sysv/linux/netlink_assert_response.c
8134 (__netlink_assert_response): Likewise.
8136 2018-08-31 Joseph Myers <joseph@codesourcery.com>
8138 * conform/glibcconform.py: New file.
8139 * conform/list-header-symbols.py: Likewise.
8140 * conform/list-header-symbols.pl: Remove.
8141 * conform/Makefile (tests-special): Only add linknamespace tests
8143 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
8145 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
8148 * support/Makefile (libsupport-routines): Add
8149 support_copy_file_range and xcopy_file_range.
8150 * support/support.h: Include <sys/types.h>.
8151 (support_copy_file_range): New prototype.
8152 * support/support_copy_file_range.c: New file. Copied and
8153 modified from io/copy_file_range-compat.c.
8154 * support/test-container.c (copy_one_file): Call xcopy_file_rang
8155 instead of copy_file_range.
8156 * support/xcopy_file_range.c: New file.
8157 * support/xunistd.h (xcopy_file_range): New prototype.
8159 2018-08-30 Carlos O'Donell <carlos@redhat.com>
8161 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
8162 xpthread_create and xpthread_join.
8164 2018-08-30 Florian Weimer <fweimer@redhat.com>
8166 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
8168 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
8170 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
8173 2018-08-29 Joseph Myers <joseph@codesourcery.com>
8175 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
8176 and minus_oflow as non-finite.
8178 2018-08-28 Joseph Myers <joseph@codesourcery.com>
8180 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
8181 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
8182 moved to fenv_private.h except for ...
8183 (TOINT_INTRINSICS): Kept in math_private.h.
8184 (roundtoint): Likewise.
8185 (converttoint): Likewise.
8186 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
8187 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8188 * sysdeps/arm/math_private.h: Remove.
8189 * sysdeps/generic/fenv_private.h: New file. Contents moved from
8191 * sysdeps/generic/math_private.h: ... this file. Include
8192 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
8193 Include <fenv_private.h>. Remove functions and macros moved to
8195 * sysdeps/i386/fpu/math_private.h: Remove.
8196 * sysdeps/mips/math_private.h: Move to ....
8197 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
8198 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
8199 [__mips_hard_float] conditional. Include next <fenv_private.h>.
8200 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
8201 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8202 * sysdeps/powerpc/fpu/math_private.h: Do not include
8204 * sysdeps/riscv/rvf/math_private.h: Move to ....
8205 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
8206 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
8208 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
8209 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8210 * sysdeps/sparc/fpu/math_private.h: Remove.
8211 * sysdeps/i386/fpu/fenv_private.h: Move to ....
8212 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
8213 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
8215 * sysdeps/x86_64/fpu/math_private.h: Do not include
8216 <sysdeps/i386/fpu/fenv_private.h>.
8218 2018-08-28 Florian Weimer <fweimer@redhat.com>
8221 * posix/tst-regcomp-truncated.c: New file.
8222 * posix/Makefile (tests): Add it.
8223 (tst-regcomp-truncated.out): Depend on generated locales.
8225 2018-08-28 Florian Weimer <fweimer@redhat.com>
8227 * support/test-container.c (main): Treat unshare failure with
8228 EPERM as an unsupported test.
8230 2018-08-28 Florian Weimer <fweimer@redhat.com>
8233 nscd: Fix use-after-free in addgetnetgrentX and its callers.
8234 * nscd/netgroupcache.c
8235 (addgetnetgrentX): Add tofreep parameter. Do not free
8236 heap-allocated buffer.
8237 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
8238 (addgetnetgrentX_ignore): New function.
8239 (addgetnetgrent): Call it.
8240 (readdgetnetgrent): Likewise.
8242 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8244 * string/memmem.c: Use memcmp for first match.
8246 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
8249 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
8251 2018-08-27 DJ Delorie <dj@redhat.com>
8253 * support/Makefile (others): Don't list programs explicitly as a
8254 dependency of "others".
8256 2018-08-27 Joseph Myers <joseph@codesourcery.com>
8258 * sysdeps/generic/math-tests-trap-force.h: New file.
8259 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
8260 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
8261 * sysdeps/powerpc/math-tests.h: Remove file.
8262 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
8264 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
8265 Torvald Riegel <triegel@redhat.com>
8268 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
8269 Update r to include the set wake-request flag if waiters are
8270 remaining after spinning.
8272 2018-08-27 Joseph Myers <joseph@codesourcery.com>
8274 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
8276 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
8279 regex: fix uninitialized memory access
8280 I introduced this bug into gnulib in commit
8281 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
8282 eventually it was merged into glibc. The bug was found by
8283 project-repo <bugs@feusi.co> and reported here:
8284 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
8285 Diagnosis and draft fix reported by Assaf Gordon here:
8286 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
8287 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
8288 * posix/regex_internal.c (build_wcs_upper_buffer):
8289 Fix bug when mbrtowc returns 0.
8291 2018-08-24 Carlos O'Donell <carlos@redhat.com>
8293 * po/be.po: Update translation.
8295 2018-08-24 DJ Delorie <dj@delorie.com>
8297 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
8300 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8303 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
8304 create temporary files in source tree.
8306 2018-08-24 Joseph Myers <joseph@codesourcery.com>
8308 * sysdeps/generic/math-tests-trap.h: New file.
8309 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
8310 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
8311 * sysdeps/aarch64/math-tests.h: Remove file.
8312 * sysdeps/arm/math-tests.h: Likewise.
8313 * sysdeps/riscv/math-tests.h: Likewise.
8314 * sysdeps/aarch64/math-tests-trap.h: New file.
8315 * sysdeps/arm/math-tests-trap.h: Likewise.
8316 * sysdeps/riscv/math-tests-trap.h: Likewise.
8318 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
8320 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
8321 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
8322 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
8323 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
8324 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
8325 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
8326 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8327 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
8328 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
8329 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8330 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8331 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8332 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8333 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
8334 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
8335 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
8336 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8337 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8339 2018-08-23 Joseph Myers <joseph@codesourcery.com>
8341 * sysdeps/generic/math-tests-exceptions.h: New file.
8342 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
8343 (EXCEPTION_TESTS_float): Do not define here.
8344 (EXCEPTION_TESTS_double): Likewise.
8345 (EXCEPTION_TESTS_long_double): Likewise.
8346 (EXCEPTION_TESTS_float128): Likewise.
8347 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
8349 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
8350 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
8351 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
8352 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
8353 * sysdeps/mips/math-tests.h: Likewise.
8354 * sysdeps/nios2/math-tests.h: Likewise.
8355 * sysdeps/riscv/math-tests.h [!__riscv_flen]
8356 (EXCEPTION_TESTS_float): Do not define here.
8357 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
8358 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
8359 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
8361 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
8363 * NEWS: Move optimized sinf entry to 2.29.
8365 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
8367 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
8369 2018-08-22 DJ Delorie <dj@redhat.com>
8371 * Makefile (testroot.pristine): New rules to initialize the
8372 test-in-container "testroot".
8373 * Makerules (all-testsuite): Add tests-container.
8374 * Rules (tests-expected): Add tests-container.
8375 (binaries-all-tests): Likewise.
8376 (tests-container): New, run these tests in the testroot container.
8377 * support/Makefile (others): Add *-container, support_paths.c,
8378 xmkdirp, and links-dso-program.
8379 * support/links-dso-program-c.c: New.
8380 * support/links-dso-program.cc: New.
8381 * support/test-container.c: New.
8382 * support/shell-container.c: New.
8383 * support/echo-container.c: New.
8384 * support/true-container.c: New.
8385 * support/xmkdirp.c: New.
8386 * support/xsymlink.c: New.
8387 * support/support_paths.c: New.
8388 * support/support.h: Add support paths prototypes.
8389 * support/xunistd.h: Add xmkdirp () and xsymlink ().
8391 * nss/tst-nss-test3.c: Convert to test-in-container.
8392 * nss/tst-nss-test3.root/: New.
8394 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
8396 regex: port Gnulib code to z/OS POSIX environment
8397 Problem reported by Arnold Robbins in:
8398 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
8399 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
8402 2018-08-22 Joseph Myers <joseph@codesourcery.com>
8404 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
8405 (ROUNDING_TESTS_double): Remove.
8406 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
8407 (ROUNDING_TESTS_double): Remove.
8408 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
8409 (ROUNDING_TESTS_double): Remove.
8410 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
8411 (ROUNDING_TESTS_float): Remove.
8412 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
8413 (ROUNDING_TESTS_float): Remove.
8414 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
8415 (ROUNDING_TESTS_float): Remove.
8416 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
8418 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8419 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8421 * sysdeps/generic/math-tests-rounding.h: New file.
8422 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
8423 (ROUNDING_TESTS_float): Do not define here.
8424 (ROUNDING_TESTS_double): Likewise.
8425 (ROUNDING_TESTS_long_double): Likewise.
8426 (ROUNDING_TESTS_float128): Likewise.
8427 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
8428 (ROUNDING_TESTS_double): Undefine before defining.
8429 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
8430 (ROUNDING_TESTS_double): Undefine before defining.
8431 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
8432 (ROUNDING_TESTS_double): Undefine before defining.
8433 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
8434 (ROUNDING_TESTS_float): Undefine before defining.
8435 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
8436 (ROUNDING_TESTS_float): Undefine before defining.
8437 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
8438 (ROUNDING_TESTS_float): Undefine before defining.
8439 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
8440 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
8442 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
8443 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
8444 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
8445 * sysdeps/riscv/math-tests.h [!__riscv_flen]
8446 (ROUNDING_TESTS_float): Do not define here.
8447 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
8448 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
8449 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
8450 (ROUNDING_TESTS_float): Likewise.
8451 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
8452 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
8453 * sysdeps/mips/math-tests.h [__mips_soft_float]
8454 (ROUNDING_TESTS_float): Likewise.
8455 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
8456 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
8457 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
8458 (ROUNDING_TESTS_double): Likewise.
8459 (ROUNDING_TESTS_long_double): Likewise.
8461 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
8463 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
8464 (PF_XDP): New macro.
8465 (AF_XDP): New macro.
8466 (SOL_XDP): New macro.
8468 2018-08-21 Joseph Myers <joseph@codesourcery.com>
8470 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
8471 (TCP_INQ): Likewise.
8472 (TCP_CM_INQ): Likewise.
8473 (TCP_REPAIR_ON): Likewise.
8474 (TCP_REPAIR_OFF): Likewise.
8475 (TCP_REPAIR_OFF_NO_WP): Likewise.
8476 (struct tcp_zerocopy_receive): New type.
8478 2018-08-21 Florian Weimer <fweimer@redhat.com>
8480 * support/support.h (support_descriptor_supports_holes): Declare.
8481 * support/Makefile (libsupport-routines): Add
8482 support_descriptor_supports_holes.
8483 * support/support_descriptor_supports_holes.c: New file.
8484 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
8485 and stop testing if holes are not supported.
8486 * io/test-lfs.c (do_prepare): Likewise.
8487 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
8489 * timezone/tst-tzset.c (create_tz_file): Likewise.
8490 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
8492 (do_prepare): Set it.
8493 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
8495 2018-08-21 Florian Weimer <fweimer@redhat.com>
8498 * Makeconfig (+cflags): Do not sort (and deduplicate).
8500 2018-08-21 Florian Weimer <fweimer@redhat.com>
8502 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
8503 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
8505 2018-08-20 Florian Weimer <fweimer@redhat.com>
8507 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
8508 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
8510 2018-08-20 Joseph Myers <joseph@codesourcery.com>
8512 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
8513 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
8514 and ssi_arch members.
8516 * elf/elf.c (NT_VMCOREDD): New macro.
8517 (AT_MINSIGSTKSZ): Likewise.
8519 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8521 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8522 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
8523 s_cosf-ppc64 and s_cosf-power8.
8524 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
8525 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8526 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8527 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
8529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
8530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
8531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
8532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
8533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
8534 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
8535 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
8537 2018-08-17 Florian Weimer <fweimer@redhat.com>
8539 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8541 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
8543 * malloc/malloc.c (_int_malloc): Additional binning code checks.
8545 2018-08-16 Florian Weimer <fweimer@redhat.com>
8547 * configure.ac: Add --with-nonshared-cflags option.
8548 * config.make.in (extra-nonshared-cflags): Set variable.
8549 * Makeconfig (CFLAGS-.oS): Use it.
8550 * manual/install.texi (Configuring and compiling): Document
8551 --with-nonshared-cflags.
8552 * configure: Regenerate.
8553 * INSTALL: Likewise.
8555 2018-08-16 Florian Weimer <fweimer@redhat.com>
8557 * Makeconfig (ASFLAGS): Always append required assembler flags.
8559 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
8561 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
8562 (malloc_consolidate): Likewise.
8564 2018-08-16 Pochang Chen <johnchen902@gmail.com>
8566 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
8568 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
8570 * benchtests/bench-strlen.c (do_test): Allocate buffers before
8573 * benchtests/bench-strlen.c: Print performance numbers in json.
8575 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8577 * sysdeps/powerpc/powerpc64/multiarch/Makefile
8578 (sysdep_routines): Build strcmp-power9 and strncmp-power9
8579 only for little endian.
8580 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8581 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
8582 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
8583 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
8584 Add check for little endian.
8585 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
8586 (__strcmp_power9): Add check for little endian.
8587 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
8588 Add check for little endian.
8589 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
8590 (__strncmp_power9): Add check for little endian.
8591 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
8592 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
8593 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
8594 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
8595 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
8597 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
8599 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
8600 [!STRLEN](STRLEN): Set to __strlen.
8601 * sysdeps/aarch64/multiarch/strlen.c: New file.
8602 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
8603 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
8604 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
8605 (__libc_ifunc_impl_list): Add strlen.
8606 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
8607 strlen_generic and strlen_asimd.
8609 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
8611 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
8612 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
8613 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
8615 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
8617 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
8619 2018-08-14 Florian Weimer <fweimer@redhat.com>
8622 * include/stdio.h (__vfxprintf): Declare.
8623 * stdio-common/fxprintf.c (__vfxprintf): New function.
8624 (__fxprintf): Call it.
8625 * misc/err.c (convert_and_print): Remove function.
8626 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
8627 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
8628 * misc/Makefile (tests): Add tst-warn-wide.
8629 * misc/tst-warn-wide.c: New file.
8631 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
8632 Szabolcs Nagy <szabolcs.nagy@arm.com>
8634 * NEWS: Mention sinf, cosf, sincosf.
8635 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
8636 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
8637 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
8638 constants rather than including generic sincosf.h.
8639 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
8640 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
8641 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
8642 (reduced_cos): Remove.
8643 (sinf_poly): New function.
8644 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
8646 2018-08-14 Florian Weimer <fweimer@redhat.com>
8650 * nss/nss_files/files-alias.c (get_next_alias): During :include:
8651 processing, bail out if no room, and close the stream before
8653 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
8654 (tst-nss-files-alias-leak): Link with libdl.
8655 (tst-nss-files-alias-leak.out): Depend on nss_files.
8657 * nss/tst-nss-files-alias-leak.c: New file.
8659 2018-08-14 Florian Weimer <fweimer@redhat.com>
8661 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
8662 server_user, stat_user.
8664 2018-08-13 Joseph Myers <joseph@codesourcery.com>
8666 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8668 (io_pgetevents): New syscall.
8671 * manual/install.texi (Configuring and compiling): Do not list
8672 tools used for testing pretty printers here.
8673 (Tools for Compilation): List Python, PExpect and GDB here.
8674 Update descriptions of uses of Perl and Python.
8675 * INSTALL: Regenerate.
8677 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8680 2018-08-13 Florian Weimer <fweimer@redhat.com>
8682 * misc/error.c (error): Add missing va_end call.
8683 (error_at_line): Likewise.
8685 2018-08-13 Florian Weimer <fweimer@redhat.com>
8687 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
8689 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
8691 * benchtests/scripts/benchout.schema.json (properties): Add
8694 * benchtests/bench-skeleton.c (main): Add duration and
8695 iterations attributes.
8697 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
8699 regex: Gnulib unibyte RRI uses bytes not chars
8700 Adjust the non-glibc code to agree with what Gawk needs for
8701 rational range interpretation (RRI) for regular expression ranges.
8702 In unibyte locales, Gawk wants ranges to use the underlying byte
8703 rather than the character code point. This change does not affect
8705 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
8706 In unibyte locales, use the byte value rather than
8707 running it through btowc.
8709 2018-08-10 Joseph Myers <joseph@codesourcery.com>
8711 * sysdeps/generic/math-tests-snan.h: New file.
8712 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
8713 (SNAN_TESTS_float): Do not define here.
8714 (SNAN_TESTS_double): Likewise.
8715 (SNAN_TESTS_long_double): Likewise.
8716 (SNAN_TESTS_float128): Likewise.
8717 * sysdeps/i386/fpu/math-tests-snan.h: New file.
8718 * sysdeps/i386/fpu/math-tests.h: Remove file.
8719 * sysdeps/ia64/math-tests-snan.h: New file.
8720 * sysdeps/ia64/math-tests.h: Remove file.
8721 * sysdeps/x86/math-tests.h: Likewise.
8722 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
8724 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8725 Szabolcs Nagy <szabolcs.nagy@arm.com>
8727 * math/Makefile: Add s_sincosf_data.c.
8728 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
8729 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
8730 (sincosf_poly): Likewise.
8731 (reduce_small): Likewise.
8732 (reduce_large): Likewise.
8733 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
8734 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
8735 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
8736 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
8738 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8739 Szabolcs Nagy <szabolcs.nagy@arm.com>
8741 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
8742 (converttoint): Use lround.
8743 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
8744 document the semantics when TOINT_INTRINSICS is set.
8745 (converttoint): Likewise.
8746 (TOINT_RINT): Remove.
8747 (TOINT_SHIFT): Remove.
8748 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
8751 2018-08-10 Florian Weimer <fweimer@redhat.com>
8754 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
8756 (__old_getdents64): Use getdents64. Convert entries without
8758 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
8759 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
8760 tst-readdir64-compat.
8762 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8764 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
8767 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8769 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
8770 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
8771 code to s390x-mcount.h and #include it.
8772 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
8773 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
8776 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8778 * stdlib/Versions: Remove __fentry__.
8779 * sysdeps/i386/Versions: Add __fentry__.
8780 * sysdeps/x86_64/Versions: Add __fentry__.
8782 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8784 * sysdeps/s390/Makefile: Register the new tests.
8785 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
8786 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
8787 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
8788 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
8789 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
8790 * sysdeps/s390/tst-dl-runtime.c: New file.
8792 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8794 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8797 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8799 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8802 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8804 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8807 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8809 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8812 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8814 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8815 Use symbolic offsets for stack variables.
8817 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8819 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8820 Use symbolic offsets for stack variables.
8822 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8824 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8825 Use symbolic offsets for stack variables.
8827 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8829 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8830 Use symbolic offsets for stack variables.
8832 2018-08-09 Joseph Myers <joseph@codesourcery.com>
8834 * math/gen-libm-test.py: New file.
8835 * math/gen-libm-test.pl: Remove.
8836 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
8837 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
8839 ($(libm-test-c-noauto-obj)): Likewise.
8840 ($(libm-test-c-auto-obj)): Likewise.
8841 ($(libm-test-c-narrow-obj)): Likewise.
8842 (regen-ulps): Likewise.
8843 * math/README.libm-test: Update references to gen-libm-test.pl.
8844 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
8845 referencing gen-libm-test.pl.
8846 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
8847 * math/libm-test-support.c: Likewise.
8848 * math/libm-test-support.h: Likewise.
8849 * sysdeps/generic/libm-test-ulps: Likewise.
8851 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
8853 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
8856 2018-08-08 Joseph Myers <joseph@codesourcery.com>
8858 * math/libm-test-nextdown.inc (do_test): Move comment to ....
8859 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
8861 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8863 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
8865 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
8866 __pthread_setspecific): Add hidden proto.
8867 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
8868 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
8870 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
8872 * benchtests/bench-string.h (buf1_size, buf2_size): New
8874 (init_sizes): New function.
8875 (test_init): Use it.
8876 (alloc_buf, exit_error): New functions.
8877 (alloc_bufs): Use ALLOC_BUF.
8878 (realloc_bufs): Remove.
8879 * benchtests/bench-memcmp.c (do_test): Adjust.
8880 * benchtests/bench-memset-large.c (do_test): Likewise.
8881 * benchtests/bench-memset-walk.c (do_test): Likewise.
8882 * benchtests/bench-memset.c (do_test): Likewise.
8883 * benchtests/bench-strncmp.c (do_test): Likewise.
8885 2018-08-06 Andreas Schwab <schwab@suse.de>
8887 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
8888 of CONST_THREAD_AREA.
8890 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
8892 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
8893 (STATE_SAVE_MASK): Likewise.
8894 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
8895 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
8896 (STATE_SAVE_MASK): Likewise.
8897 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
8898 instead of <cpu-features.h>.
8900 2018-08-03 DJ Delorie <dj@redhat.com>
8902 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
8903 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
8905 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
8907 2018-08-03 Joseph Myers <joseph@codesourcery.com>
8909 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
8911 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
8912 * math/libm-test-logb.inc (logb_test_data): Likewise.
8914 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
8916 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
8917 * string/strstr.c (AVAILABLE): Likewise.
8919 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8921 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
8923 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
8924 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
8925 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
8927 2018-08-03 Carlos O'Donell <carlos@redhat.com>
8929 * po/be.po: Update translation.
8931 * po/be.po: Update translation.
8933 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8935 * sysdeps/x86/cpu-features-offsets.sym
8936 (rtld_global_ro_offsetof): Removed.
8937 (CPU_FEATURES_SIZE): Likewise.
8938 (CPUID_OFFSET): Likewise.
8939 (CPUID_SIZE): Likewise.
8940 (CPUID_EAX_OFFSET): Likewise.
8941 (CPUID_EBX_OFFSET): Likewise.
8942 (CPUID_ECX_OFFSET): Likewise.
8943 (CPUID_EDX_OFFSET): Likewise.
8944 (FAMILY_OFFSET): Likewise.
8945 (MODEL_OFFSET): Likewise.
8946 (FEATURE_OFFSET): Likewise.
8947 (FEATURE_SIZ): Likewise.
8948 (COMMON_CPUID_INDEX_1): Likewise.
8949 (COMMON_CPUID_INDEX_7): Likewise.
8950 (FEATURE_INDEX_1): Likewise.
8951 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
8953 2018-08-02 Carlos O'Donell <carlos@redhat.com>
8955 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
8956 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
8957 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
8958 (install-locales): Depend on install-locale-archive.
8959 (install-locale-archive): Define.
8960 (install-locale-files): Define.
8961 (build-one-locale): Define macro.
8962 * manual/install.texi (Running make install): Document.
8963 * manual/INSTALL: Regenerate.
8965 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
8967 * benchtests/scripts/compare_strings.py: Import traceback.
8968 (parse_file): Pretty-print error.
8970 * NEWS: Mention the change.
8971 * elf/dl-tunables.list: Rename tune namespace to cpu.
8972 * sysdeps/powerpc/dl-tunables.list: Likewise.
8973 * sysdeps/x86/dl-tunables.list: Likewise.
8974 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
8976 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
8977 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
8978 * manual/README.tunables: Likewise.
8979 * manual/tunables.texi: Likewise.
8980 * sysdeps/powerpc/cpu-features.c: Likewise.
8981 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
8982 (init_cpu_features): Likewise.
8983 * sysdeps/x86/cpu-features.c: Likewise.
8984 * sysdeps/x86/cpu-features.h: Likewise.
8985 * sysdeps/x86/cpu-tunables.c: Likewise.
8986 * sysdeps/x86_64/Makefile: Likewise.
8987 * sysdeps/x86/dl-cet.c: Likewise.
8989 2018-08-02 Joseph Myers <joseph@codesourcery.com>
8992 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
8993 [__mips_hard_float].
8994 (FE_UNDERFLOW): Likewise.
8995 (FE_OVERFLOW): Likewise.
8996 (FE_DIVBYZERO): Likewise.
8997 (FE_INVALID): Likewise.
8998 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
8999 (FE_TOWARDZERO): Define only if [__mips_hard_float].
9000 (FE_UPWARD): Likewise.
9001 (FE_DOWNWARD): Likewise.
9002 (__FE_UNDEFINED): Define if [!__mips_hard_float]
9003 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
9004 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
9005 [__mips_hard_float].
9006 (FP_ROUNDMODE): Likewise.
9007 (FP_RND_NEAREST): Likewise.
9008 (FP_RND_ZERO): Likewise.
9009 (FP_RND_PINF): Likewise.
9010 (FP_RND_MINF): Likewise.
9011 (FP_EX_INVALID): Likewise.
9012 (FP_EX_OVERFLOW): Likewise.
9013 (FP_EX_UNDERFLOW): Likewise.
9014 (FP_EX_DIVZERO): Likewise.
9015 (FP_EX_INEXACT): Likewise.
9016 (FP_INIT_ROUNDMODE): Likewise.
9017 * sysdeps/mips/nofpu/fesetenv.c: New file.
9018 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
9020 2018-08-01 Joseph Myers <joseph@codesourcery.com>
9022 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
9023 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
9024 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
9025 conditional on [FE_UPWARD].
9027 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
9029 regex: fix memory leak in Gnulib
9030 Problem and fix reported by Assaf Gordon in:
9031 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
9032 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
9033 range_ends members too, as they are defined in 'struct
9034 re_charset_t' even if not _LIBC. This affects only Gnulib.
9036 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
9038 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
9040 (get_common_indices): This.
9041 (init_cpu_features): Updated.
9043 2018-08-01 Joseph Myers <joseph@codesourcery.com>
9045 * sysdeps/generic/math-tests-snan-payload.h: New file.
9046 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
9047 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
9048 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
9049 * sysdeps/generic/math-tests.h: Include
9050 <math-tests-snan-payload.h>.
9051 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
9052 * sysdeps/hppa/math-tests.h: Remove file.
9053 * sysdeps/mips/math-tests.h [!__mips_nan2008]
9054 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
9055 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
9058 * sysdeps/generic/math-tests-snan-cast.h: New file.
9059 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
9060 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
9061 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
9062 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
9064 2018-08-01 Carlos O'Donel <carlos@redhat.com>
9066 * version.h (RELEASE): Set to "development".
9067 (VERSION): Set to "2.28.9000".
9068 * NEWS (2.29): New section.
9070 * version.h (RELEASE): Set to "stable".
9071 (VERSION): Set to "2.28".
9072 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
9073 * NEWS: Add the list of bugs fixed in 2.28.
9075 * po/ca.po: Update to latest version.
9076 * po/cs.po: Likewise
9077 * po/da.po: Likewise
9078 * po/el.po: Likewise
9079 * po/eo.po: Likewise
9080 * po/es.po: Likewise
9081 * po/fi.po: Likewise
9082 * po/fr.po: Likewise
9083 * po/gl.po: Likewise
9084 * po/hu.po: Likewise
9085 * po/ia.po: Likewise
9086 * po/id.po: Likewise
9087 * po/it.po: Likewise
9088 * po/ja.po: Likewise
9089 * po/ko.po: Likewise
9090 * po/lt.po: Likewise
9091 * po/nb.po: Likewise
9092 * po/nl.po: Likewise
9093 * po/pt_BR.po: Likewise
9094 * po/ru.po: Likewise
9095 * po/rw.po: Likewise
9096 * po/sk.po: Likewise
9097 * po/sl.po: Likewise
9098 * po/tr.po: Likewise
9099 * po/zh_CN.po: Likewise
9100 * po/zh_TW.po: Likewise
9102 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
9104 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
9106 (init): ... before initializing libpthread.
9108 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
9109 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
9110 (__mach_setup_tls): ... new function.
9111 (mach_setup_tls): New alias.
9112 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
9113 __mach_setup_thread.
9114 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
9115 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
9116 * mach/Versions [libc] (mach_setup_tls): Add symbol.
9117 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
9119 2018-07-31 Carlos O'Donell <carlos@redhat.com>
9121 * manual/install.texi: Update versions.
9122 * INSTALL: Regenerate.
9124 * manual/contrib.texi (Contributors): Update contributions.
9126 2018-07-31 Carlos O'Donell <carlos@redhat.com>
9128 * po/be.po: Update translations.
9130 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9132 * sysdeps/sh/libm-test-ulps: Update.
9134 2018-07-30 Carlos O'Donell <carlos@redhat.com>
9136 * po/bg.po: Update translations.
9137 * po/de.po: Likewise.
9138 * po/hr.po: Likewise.
9139 * po/pt_BR.po: Likewise.
9140 * po/sv.po: Likewise.
9141 * po/vi.po: Likewise.
9143 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
9146 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
9147 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
9148 (CFLAGS-tst-cet-property-1.o): New.
9149 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
9150 ($(objpfx)tst-cet-property-2): Likewise.
9151 ($(objpfx)tst-cet-property-2.out): Likewise.
9152 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
9153 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
9154 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
9155 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
9156 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
9158 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
9161 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
9163 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
9165 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
9166 __sbrk): Do not set attribute_hidden.
9167 * sysdeps/mach/hurd/not-errno.h: New file.
9168 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
9169 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
9171 2018-07-27 Carlos O'Donell <carlos@redhat.com>
9173 * po/uk.po: Update translations.
9174 * po/cs.po: Likewise.
9175 * po/pl.po: Likewise.
9177 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
9179 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
9180 parse beyond the note end.
9182 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9184 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
9185 kernel does not support OFD locks.
9186 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
9188 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9190 * sysdeps/mach/hurd/Versions (libc): Make __access and
9191 __access_noerrno external so they can override the ld symbols.
9192 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
9193 __writev, __open64, __access_noerrno extern so they can be overrided.
9194 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
9195 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
9197 2018-07-26 Carlos O'Donell <carlos@redhat.com>
9199 * po/libc.pot: Regenerate.
9201 2018-07-26 Joseph Myers <joseph@codesourcery.com>
9203 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
9205 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
9208 * sysdeps/x86/cpu-features.c (get_extended_indices): New
9210 (init_cpu_features): Call get_extended_indices for both Intel
9212 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
9213 Remove "for AMD" comment.
9215 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
9218 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
9219 COMMON_CPUID_INDEX_80000001.
9221 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
9223 * string/tst-xbzero-opt.c (use_test_buffer): New function.
9224 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
9226 2018-07-26 Florian Weimer <fweimer@redhat.com>
9228 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
9229 aliases for symbols not in the implementation namespace.
9231 2018-07-25 Carlos O'Donell <carlos@redhat.com>
9234 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
9235 lowercase in LATIN script.
9236 * localedata/Makefile (test-input): Add en_US.UTF-8.
9237 * localedata/en_US.UTF-8.in: New file.
9238 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
9239 and restore old tests.
9240 * posix/tst-regexloc.c (do_test): Add back range expression test.
9242 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9244 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
9246 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9248 * nptl/threads.h: Move to ...
9249 * sysdeps/nptl/threads.h: ... here.
9250 * sysdeps/hurd/stdc-predef.h: New file.
9252 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9254 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
9255 tst-cet-setcontext-1 if CET is enabled.
9256 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
9257 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
9259 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9261 * include/threads.h: Move to ...
9262 * sysdeps/nptl/threads.h: ... here.
9263 * sysdeps/htl/threads.h: New file.
9264 * conform/Makefile (linknamespace-libs-ISO11): Use
9265 static-thread-library instead of linking libpthread.
9266 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
9268 2018-07-25 Florian Weimer <fweimer@redhat.com>
9270 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
9271 nanoseconds into seconds.
9272 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
9273 (do_test): Likewise.
9274 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
9275 (do_test): Likewise. Avoid nanosecond overflow and spurious
9276 timeouts due to system load.
9277 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
9278 (child_wait): Increment it.
9279 (do_test): Wait as long as necessary until all expected threads
9282 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
9283 H.J. Lu <hongjiu.lu@intel.com>
9285 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
9287 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
9288 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
9289 (__push___start_context): New.
9290 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
9292 (__getcontext): Record the current shadow stack base. Save the
9293 caller's shadow stack pointer and base.
9294 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
9295 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
9296 (__push___start_context): New prototype.
9297 (__makecontext): Call __push___start_context to allocate a new
9298 shadow stack, push __start_context onto the new stack as well
9299 as the new shadow stack.
9300 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
9302 (__setcontext): Restore the target shadow stack.
9303 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
9305 (__swapcontext): Record the current shadow stack base. Save
9306 the caller's shadow stack pointer and base. Restore the target
9308 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9309 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
9310 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
9312 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9314 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
9315 tst-setcontext8 and tst-setcontext9.
9316 * stdlib/tst-setcontext6.c: New file.
9317 * stdlib/tst-setcontext7.c: Likewise.
9318 * stdlib/tst-setcontext8.c: Likewise.
9319 * stdlib/tst-setcontext9.c: Likewise.
9321 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9323 * stdlib/Makefile ((tests): Add tst-setcontext5.
9324 * stdlib/tst-setcontext5.c: New file.
9326 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9328 * stdlib/Makefile (tests): Add tst-setcontext4.
9329 * stdlib/tst-setcontext4.c: New file.
9331 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9333 * stdlib/Makefile (tests): Add tst-swapcontext1.
9334 * stdlib/tst-swapcontext1.c: New test.
9336 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9338 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
9339 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
9340 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
9341 and tst-cet-legacy-4c.
9342 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
9343 and tst-cet-legacy-mod-4.
9344 (CFLAGS-tst-cet-legacy-2.c): New.
9345 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
9346 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
9347 (CFLAGS-tst-cet-legacy-3.c): Likewise.
9348 (CFLAGS-tst-cet-legacy-4.c): Likewise.
9349 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
9350 ($(objpfx)tst-cet-legacy-1): Likewise.
9351 ($(objpfx)tst-cet-legacy-2): Likewise.
9352 ($(objpfx)tst-cet-legacy-2.out): Likewise.
9353 ($(objpfx)tst-cet-legacy-2a): Likewise.
9354 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
9355 ($(objpfx)tst-cet-legacy-4): Likewise.
9356 ($(objpfx)tst-cet-legacy-4.out): Likewise.
9357 ($(objpfx)tst-cet-legacy-4a): Likewise.
9358 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
9359 (tst-cet-legacy-4a-ENV): Likewise.
9360 ($(objpfx)tst-cet-legacy-4b): Likewise.
9361 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
9362 (tst-cet-legacy-4b-ENV): Likewise.
9363 ($(objpfx)tst-cet-legacy-4c): Likewise.
9364 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
9365 (tst-cet-legacy-4c-ENV): Likewise.
9366 * sysdeps/x86/tst-cet-legacy-1.c: New file.
9367 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
9368 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
9369 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
9370 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
9371 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
9372 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
9373 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
9374 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
9375 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
9376 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
9378 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9380 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
9381 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
9383 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
9384 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
9387 2018-07-25 Andreas Schwab <schwab@suse.de>
9390 * locale/weightwc.h (findidx): Handle the case where usrc is a
9391 prefix of cp but one character too short.
9393 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9395 * NEWS: Add ISO C threads addition.
9397 2018-07-24 Florian Weimer <fweimer@redhat.com>
9399 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9400 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
9401 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
9404 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9406 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
9407 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
9408 <sys/prctl.h> and <asm/prctl.h>.
9409 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
9410 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
9412 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
9413 ARCH_CET_LEGACY_BITMAP.
9414 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
9415 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
9416 * sysdeps/x86/libc-start.c: Include <startup.h>.
9418 2018-07-24 Florian Weimer <fweimer@redhat.com>
9420 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
9421 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
9423 2018-07-24 Rical Jasan <rj@2c3t.io>
9424 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9425 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
9428 * manual/debug.texi: Update adjacent chapter name.
9429 * manual/probes.texi: Likewise.
9430 * manual/threads.texi (ISO C Threads): New section.
9431 (POSIX Threads): Convert to a section.
9433 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9434 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
9437 * nptl/Makefile (tests): Add new test files.
9438 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
9439 * nptl/tst-cnd-basic.c: Likewise.
9440 * nptl/tst-cnd-broadcast.c: Likewise.
9441 * nptl/tst-cnd-timedwait.c: Likewise.
9442 * nptl/tst-mtx-basic.c: Likewise.
9443 * nptl/tst-mtx-recursive.c: Likewise.
9444 * nptl/tst-mtx-timedlock.c: Likewise.
9445 * nptl/tst-mtx-trylock.c: Likewise.
9446 * nptl/tst-thrd-basic.c: Likewise.
9447 * nptl/tst-thrd-detach.c: Likewise.
9448 * nptl/tst-thrd-sleep.c: Likewise.
9449 * nptl/tst-tss-basic.c: Likewise.
9451 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9454 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
9455 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
9457 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9458 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9459 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9460 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9461 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9462 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9463 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9464 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9465 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9466 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9467 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9468 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
9475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9476 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9477 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9478 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9479 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9480 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9481 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9482 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9483 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9484 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
9485 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
9486 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
9487 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
9488 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
9490 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
9491 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
9492 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
9493 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
9494 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
9495 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
9496 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
9497 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
9498 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
9499 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
9500 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
9501 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
9503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
9504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9508 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
9509 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
9510 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
9511 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
9512 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
9513 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
9514 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
9515 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
9518 * conform/data/threads.h-data (thread_local): New macro.
9519 (TSS_DTOR_ITERATIONS): Likewise.
9521 (tss_dtor_t): Likewise.
9522 (tss_create): New function.
9523 (tss_get): Likewise.
9524 (tss_set): Likewise.
9525 (tss_delete): Likewise.
9526 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
9527 tss_get, and tss_set objects.
9528 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
9529 * nptl/tss_create.c: New file.
9530 * nptl/tss_delete.c: Likewise.
9531 * nptl/tss_get.c: Likewise.
9532 * nptl/tss_set.c: Likewise.
9533 * sysdeps/nptl/threads.h (thread_local): New define.
9534 (TSS_DTOR_ITERATIONS): Likewise.
9535 (tss_t): New typedef.
9536 (tss_dtor_t): Likewise.
9537 (tss_create): New prototype.
9538 (tss_get): Likewise.
9539 (tss_set): Likewise.
9540 (tss_delete): Likewise.
9543 * conform/data/threads.h-data (cnd_t): New type.
9544 (cnd_init): New function.
9545 (cnd_signal): Likewise.
9546 (cnd_broadcast): Likewise.
9547 (cnd_wait): Likewise.
9548 (cnd_timedwait): Likewise.
9549 (cnd_destroy): Likewise.
9550 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
9551 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
9553 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
9554 * nptl/cnd_broadcast.c: New file.
9555 * nptl/cnd_destroy.c: Likewise.
9556 * nptl/cnd_init.c: Likewise.
9557 * nptl/cnd_signal.c: Likewise.
9558 * nptl/cnd_timedwait.c: Likewise.
9559 * nptl/cnd_wait.c: Likewise.
9560 * sysdeps/nptl/threads.h (cnd_t): New type.
9561 (cnd_init): New prototype.
9562 (cnd_signa): Likewise.
9563 (cnd_broadcast): Likewise.
9564 (cnd_wait): Likewise.
9565 (cnd_timedwait): Likewise.
9566 (cnd_destroy): Likewise.
9569 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
9570 (once_flag): New type.
9571 (call_once): New function.
9572 * nptl/Makefile (libpthread-routines): Add call_once object.
9573 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
9574 * nptl/call_once.c: New file.
9575 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
9576 (once_flag): New type.
9577 (call_once): New prototype.
9580 * conform/data/threads.h-data (mtx_plain): New constant.
9581 (mtx_recursive): Likewise.
9582 (mtx_timed): Likewise.
9584 (mtx_init): New function.
9585 (mtx_lock): Likewise.
9586 (mtx_timedlock): Likewise.
9587 (mtx_trylock): Likewise.
9588 (mtx_unlock): Likewise.
9589 (mtx_destroy): Likewise.
9590 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
9591 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
9592 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
9593 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
9594 * nptl/mtx_destroy.c: New file.
9595 * nptl/mtx_init.c: Likewise.
9596 * nptl/mtx_lock.c: Likewise.
9597 * nptl/mtx_timedlock.c: Likewise.
9598 * nptl/mtx_trylock.c: Likewise.
9599 * nptl/mtx_unlock.c: Likewise.
9600 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
9601 (mtx_recursive): Likewise.
9602 (mtx_timed): Likewise.
9604 (mtx_init): New prototype.
9605 (mtx_lock): Likewise.
9606 (mtx_timedlock): Likewise.
9607 (mtx_trylock): Likewise.
9608 (mtx_unlock): Likewise.
9609 (mtx_destroy): Likewise.
9612 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
9613 (linknamespace-libs-ISO11): Add libpthread.a.
9614 * conform/data/threads.h-data: New file: add C11 thrd_* types and
9616 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
9617 * nptl/Makefile (headers): Add threads.h.
9618 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
9619 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
9621 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
9622 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
9623 thrd_join, thrd_sleep, and thrd_yield symbols.
9624 * nptl/descr.h (struct pthread): Add c11 field.
9625 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
9626 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
9627 routine with expected function prototype.
9628 (__pthread_create_2_1): Add C11 threads check based on attribute
9630 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
9631 * nptl/thrd_create.c: New file.
9632 * nptl/thrd_current.c: Likewise.
9633 * nptl/thrd_detach.c: Likewise.
9634 * nptl/thrd_equal.c: Likewise.
9635 * nptl/thrd_exit.c: Likewise.
9636 * nptl/thrd_join.c: Likewise.
9637 * nptl/thrd_priv.h: Likewise.
9638 * nptl/thrd_sleep.c: Likewise.
9639 * nptl/thrd_yield.c: Likewise.
9640 * include/threads.h: Likewise.
9642 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9644 * bits/indirect-return.h: New file.
9645 * misc/sys/cdefs.h (__glibc_has_attribute): New.
9646 * sysdeps/x86/bits/indirect-return.h: Likewise.
9647 * stdlib/Makefile (headers): Add bits/indirect-return.h.
9648 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
9649 (swapcontext): Add __INDIRECT_RETURN.
9650 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
9651 (prepare_test_buffer): Use it.
9653 2018-07-24 Andreas Schwab <schwab@suse.de>
9656 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
9657 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
9659 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9661 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
9662 Redefine if shadow stack is enabled.
9663 (SYSCALL_ERROR_LABEL): Likewise.
9664 (__vfork): Pop shadow stack and jump back to to caller directly
9665 when shadow stack is in use.
9666 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
9667 Redefine if shadow stack is enabled.
9668 (SYSCALL_ERROR_LABEL): Likewise.
9669 (__vfork): Pop shadow stack and jump back to to caller directly
9670 when shadow stack is in use.
9672 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9674 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
9677 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
9680 2018-07-20 Joseph Myers <joseph@codesourcery.com>
9682 * scripts/build-many-glibcs.py (Context.checkout): Default
9683 binutils version to 2.31 branch.
9685 2018-07-20 Zong Li <zong@andestech.com>
9687 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
9688 URL of gcc's tarball.
9690 2018-07-20 Florian Weimer <fweimer@redhat.com>
9693 * posix/regcomp.c (build_equiv_class): When comparing weights, do
9694 not compare an extra byte after the end of the weights.
9696 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
9698 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
9700 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
9702 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
9703 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
9704 * scripts/check-execstack.awk: Consider `xfail' variable containing a
9705 list of libraries whose stack executability is expected.
9706 * elf/Makefile ($(objpfx)check-execstack.out): Pass
9707 $(check-execstack-xfail) to check-execstack.awk through `xfail'
9709 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
9710 libc.so libpthread.so.
9712 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
9714 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
9716 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
9718 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
9720 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
9722 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9724 * benchtests/scripts/compare_bench.py (__main__): use the argparse
9725 library to improve command line parsing.
9726 (__main__): make schema file as optional parameter (--schema),
9727 defaulting to benchtests/scripts/benchout.schema.json.
9728 (main): move out of the parsing stuff to __main_ and leave it
9729 only as caller of main comparison functions.
9731 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
9733 * NEWS: Add a note for Intel CET status.
9734 * manual/install.texi: Likewise.
9735 * INSTALL: Regenerated.
9737 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
9740 * localedata/locales/oc_FR (mon): Rename to...
9741 (alt_mon): This, then update October (typo fix).
9742 (mon): New content (genitive case, month names preceded by
9746 * localedata/locales/oc_FR (abday): Update all items.
9747 (day): Update Wednesday and Saturday (typo fixes).
9748 (abmon): Update all items, except May.
9749 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
9750 (LC_IDENTIFICATION): Bump the revision number and date.
9751 Keep the "category" entries in alphabetic order.
9752 (LC_ADDRESS): Remove no longer needed comment.
9753 (LC_COLLATE): Use “copy "ca_ES"”.
9754 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
9757 2018-07-18 Joseph Myers <joseph@codesourcery.com>
9759 * grp/tst_fgetgrent.c: Include <unistd.h>.
9760 (main): Use mkstemp instead of tmpnam.
9761 * io/test-utime.c (main): Likewise.
9762 * posix/annexc.c (macrofile): Change to modifiable array.
9763 (main): Remove macrofile here.
9764 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
9766 (check_header): Do not remove macrofile here.
9767 * posix/bug-getopt1.c: Include <stdlib.h>.
9768 (do_test): Use mkstemp instead of tmpnam.
9769 * posix/bug-getopt2.c: Include <stdlib.h>.
9770 (do_test): Use mkstemp instead of tmpnam.
9771 * posix/bug-getopt3.c: Include <stdlib.h>.
9772 (do_test): Use mkstemp instead of tmpnam.
9773 * posix/bug-getopt4.c: Include <stdlib.h>.
9774 (do_test): Use mkstemp instead of tmpnam.
9775 * posix/bug-getopt5.c: Include <stdlib.h>.
9776 (do_test): Use mkstemp instead of tmpnam.
9777 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
9778 (main): Use mkstemp instead of tmpnam.
9779 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
9780 (main): Use mkstemp instead of tmpnam.
9781 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
9782 (main): use mkstemp instead of tmpnam.
9783 * stdlib/isomac.c (macrofile): Change to modifiable array.
9784 (main): Remove macrofile here.
9785 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
9787 (check_header): Do not remove macrofile here.
9789 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9791 * manual/tunables.texi: Document glibc.tune.x86_ibt and
9792 glibc.tune.x86_shstk.
9794 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9796 * NEWS: Mention --enable-cet.
9797 * manual/install.texi: Document --enable-cet.
9798 * INSTALL: Regenerated.
9800 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9802 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
9803 Add _CET_NOTRACK before indirect jump to jump table.
9805 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9807 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
9808 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9811 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9813 * sysdeps/i386/i686/multiarch/strcat-sse2.S
9814 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9817 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9819 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
9820 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9823 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9825 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
9826 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9829 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9831 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
9832 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9834 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
9836 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9838 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
9839 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9842 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9844 * sysdeps/i386/i686/multiarch/memset-sse2.S
9845 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9848 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9850 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
9851 indirect jump to jump table.
9853 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9855 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
9856 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9860 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9862 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
9863 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9867 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9869 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9870 _CET_NOTRACK before indirect jump to jump table.
9872 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9874 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
9875 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9878 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9880 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
9881 indirect jump to jump table.
9883 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
9886 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
9887 (LOCALES): Likewise.
9888 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
9889 * localedata/locales/sah_RU: New file.
9890 * localedata/sah_RU.UTF-8.in: New file.
9892 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9894 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
9896 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9897 _CET_ENDBR to indirect jump targets and adjust jump destination
9899 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
9901 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9902 _CET_ENDBR to indirect jump targets and adjust jump destination
9904 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
9906 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
9907 _CET_ENDBR to indirect jump targets and adjust jump destination
9910 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9912 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9915 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9917 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
9919 (_dl_tlsdesc_undefweak): Likewise.
9920 (_dl_tlsdesc_dynamic): Likewise.
9921 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
9922 (_dl_tlsdesc_resolve_rel): Likewise.
9923 (_dl_tlsdesc_resolve_rela): Likewise.
9924 (_dl_tlsdesc_resolve_hold): Likewise.
9925 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
9926 (_dl_tlsdesc_undefweak): Likewise.
9927 (_dl_tlsdesc_dynamic): Likewise.
9928 (_dl_tlsdesc_resolve_rela): Likewise.
9929 (_dl_tlsdesc_resolve_hold): Likewise.
9931 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9933 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
9935 * sysdeps/x86_64/crti.S (_init): Likewise.
9938 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
9941 * localedata/locales/os_RU (mon): Rename to...
9943 (mon): Import from CLDR (genitive case).
9945 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9947 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
9948 cet-tunables.h> when CET is enabled.
9950 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
9953 * configure.ac: Add --enable-cet.
9954 * configure: Regenerated.
9955 * elf/Makefille (all-built-dso): Add a comment.
9956 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
9957 Include <dl-prop.h>.
9958 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
9960 * elf/dl-open.c: Include <dl-prop.h>.
9961 (dl_open_worker): Call _dl_open_check.
9962 * elf/rtld.c: Include <dl-prop.h>.
9963 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
9965 * sysdeps/generic/dl-prop.h: New file.
9966 * sysdeps/i386/dl-cet.c: Likewise.
9967 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
9968 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
9969 * sysdeps/x86/cet-tunables.h: Likewise.
9970 * sysdeps/x86/check-cet.awk: Likewise.
9971 * sysdeps/x86/configure: Likewise.
9972 * sysdeps/x86/configure.ac: Likewise.
9973 * sysdeps/x86/dl-cet.c: Likewise.
9974 * sysdeps/x86/dl-procruntime.c: Likewise.
9975 * sysdeps/x86/dl-prop.h: Likewise.
9976 * sysdeps/x86/libc-start.h: Likewise.
9977 * sysdeps/x86/link_map.h: Likewise.
9978 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
9980 (_dl_runtime_profile): Likewise.
9981 (_dl_runtime_resolve_shstk): New.
9982 (_dl_runtime_profile_shstk): Likewise.
9983 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
9985 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
9986 (CFLAGS-.os): Likewise.
9987 (CFLAGS-.op): Likewise.
9988 (CFLAGS-.oS): Likewise.
9989 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
9991 (tests-special): Add $(objpfx)check-cet.out.
9992 (cet-built-dso): New.
9993 (+$(cet-built-dso:=.note)): Likewise.
9994 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
9995 ($(objpfx)check-cet.out): New.
9996 (generated): Add check-cet.out.
9997 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
9999 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
10000 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
10001 (init_cpu_features): Call get_cet_status to check CET status
10002 and update dl_x86_feature_1 with CET status. Call
10003 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
10004 (set_x86_shstk). Disable and lock CET in libc.a.
10005 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
10006 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
10007 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
10008 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
10009 (_CET_ENDBR): Define if not defined.
10010 (ENTRY): Add _CET_ENDBR.
10011 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
10013 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
10015 (_dl_runtime_profile): Likewise.
10017 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
10020 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
10021 restore r2 on longjmp.
10022 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
10024 Added rules to build test tst-setjmp-bug21895-static.
10025 Added module setjmp-bug21895 and rules to build a shared object from it.
10026 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
10027 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
10029 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
10031 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
10032 * benchtests/bench-strstr.c: Likewise.
10033 * string/memmem.c (FASTSEARCH): Define.
10034 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
10035 Add support for FASTSEARCH.
10036 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
10037 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
10038 (FASTSEARCH): Define.
10039 * string/test-strcasestr.c: Rename __strnlen to strnlen.
10040 * string/test-strstr.c: Likewise.
10042 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
10044 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
10045 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
10047 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
10048 H.J. Lu <hongjiu.lu@intel.com>
10050 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
10051 (__longjmp): Restore shadow stack pointer if shadow stack is
10052 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
10053 isn't defined for __longjmp_cancel.
10054 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
10055 (_setjmp): Save shadow stack pointer if shadow stack is enabled
10056 and SHADOW_STACK_POINTER_OFFSET is defined.
10057 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
10058 (setjmp): Save shadow stack pointer if shadow stack is enabled
10059 and SHADOW_STACK_POINTER_OFFSET is defined.
10060 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
10061 (__sigsetjmp): Save shadow stack pointer if shadow stack is
10062 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10063 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
10065 (____longjmp_chk): Restore shadow stack pointer if shadow stack
10066 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10067 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
10068 Remove jmp_buf-ssp.sym.
10069 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
10071 (____longjmp_chk): Restore shadow stack pointer if shadow stack
10072 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10073 * sysdeps/x86/Makefile (gen-as-const-headers): Add
10075 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
10076 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
10077 (__longjmp): Restore shadow stack pointer if shadow stack is
10078 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
10079 isn't defined for __longjmp_cancel.
10080 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
10081 (__sigsetjmp): Save shadow stack pointer if shadow stack is
10082 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10084 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
10087 * nptl/pthread_create.c: Include <tls-setup.h>.
10088 (__pthread_create_2_1): Call tls_setup_tcbhead.
10089 * sysdeps/generic/tls-setup.h: New file.
10090 * sysdeps/x86/nptl/tls-setup.h: Likewise.
10091 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
10092 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
10094 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
10096 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
10097 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
10098 (X86_FEATURE_1_SHSTK): Likewise.
10099 (CET_ENABLED): Likewise.
10100 (IBT_ENABLED): Likewise.
10101 (SHSTK_ENABLED): Likewise.
10103 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
10106 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
10107 (LOCALES): Likewise.
10108 * localedata/dsb_DE.UTF-8.in: New file.
10109 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
10111 2018-07-12 Florian Weimer <fweimer@redhat.com>
10113 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
10114 __mprotect, not mprotect.
10116 2018-07-11 Florian Weimer <fweimer@redhat.com>
10118 * io/Makefile (headers): Add bits/statx.h.
10120 2018-07-10 Mike FABIAN <mfabian@redhat.com>
10122 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
10123 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
10125 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
10126 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
10129 2018-07-10 Florian Weimer <fweimer@redhat.com>
10131 * io/Makefile (routines): Add statx.
10132 (tests-internal): Add tst-statx.
10133 * io/Versions (GLIBC_2.28): Export statx.
10134 * io/bits/statx.h: New file.
10135 * io/sys/stat.h [__USE_GNU]: Include it.
10136 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
10137 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
10139 * io/statx.c: New file.
10140 * io/statx_generic.: Likewise.
10141 * io/tst-statx.: Likewise.
10142 * include/bits/statx.h: Likewise.
10143 * sysdeps/unix/sysv/linux/kernel-features.h
10144 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
10145 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10146 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
10147 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
10149 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10150 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
10151 * sysdeps/unix/sysv/linux/statx.c: New file.
10152 * manual/filesys.texi: Note that statx is undocumented.
10153 * sysdeps/**/libc*.abilist: Update.
10155 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10157 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
10158 a kernel issue which lead to test failure in some cases.
10160 2018-07-10 Florian Weimer <fweimer@redhat.com>
10163 * posix/regexec.c (check_node_accept_bytes): When comparing
10164 weights, do not compare an extra byte after the end of the
10167 2018-07-10 Florian Weimer <fweimer@redhat.com>
10169 * libio/readline.c: Fix copyright year.
10170 * libio/tst-readline.c Likewise.
10171 * nss/tst-nss-files-hosts-getent.c: Likewise.
10173 2018-07-06 Florian Weimer <fweimer@redhat.com>
10176 * nss/nss_files/files-XXX.c (internal_getent): Use
10177 __libc_readline_unlocked. Seek back to the start of the line if
10178 parsing failes with ERANGE.
10179 (get_contents_ret, get_contents): Remove.
10180 * nss/tst-nss-files-hosts-getent.c: New file.
10181 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
10182 (tst-nss-files-hosts-getent): Link with -ldl.
10184 2018-07-06 Florian Weimer <fweimer@redhat.com>
10186 * include/stdio.h (__libc_readline_unlocked): Declare.
10187 (__ftello64, __fseeko64): Declare aliases.
10188 * libio/readline.c: New file.
10189 * libio/tst-readline.c: Likewise.
10190 (routines): Add readline.
10191 (tests-internal): Add tst-readlime.
10192 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
10193 __libc_readline_unlocked.
10194 * libio/fseeko.c (__fseeko): Rename from fseeko.
10195 (fseeko): Add alias.
10196 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
10197 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
10198 (fseeko64): Add alias.
10199 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
10200 * libio/ftello64.c (__ftello64): Rename from ftello64.
10201 (ftello64): Add alias.
10203 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
10205 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
10208 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
10210 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
10211 Use dl_hwcap without masking.
10212 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
10213 Remove HWCAP_CPUID.
10215 2018-07-06 Florian Weimer <fweimer@redhat.com>
10217 * conform/conformtest.pl (checknamespace): Escape literal braces
10218 in regular expressions.
10220 2018-07-06 Amit Pawar <amit.pawar@amd.com>
10222 * sysdeps/x86/cpu-features.c (get_common_indeces):
10223 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
10224 * sysdeps/x86/cpu-features.c (init_cpu_features):
10225 AVX_Fast_Unaligned_Load is disabled for Excavator core.
10227 2018-07-05 Florian Weimer <fweimer@redhat.com>
10229 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
10231 (CFLAGS-elf-init.oS): Likewise.
10233 2018-07-05 Florian Weimer <fweimer@redhat.com>
10234 Carlos O'Donell <carlos@redhat.com>
10236 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
10237 $(no-stack-protector). stack_chk_fail_local.c can be compiled
10238 with stack protector enabled because there is no risk of infinite
10241 2018-07-05 Maciej W. Rozycki <macro@mips.com>
10245 * libc-abis (ABSOLUTE): New ABI.
10246 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
10247 * NEWS: Mention the new ABI.
10249 2018-07-05 Florian Weimer <fweimer@redhat.com>
10252 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
10253 (RENAME_WHITEOUT): Define.
10254 [__USE_GNU] (renameat2): Declare.
10255 * stdio-common/Makefile (routines): Add renameat2.
10256 (tests): Add tst-renameat2.
10257 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
10258 * stdio-common/renameat2.c: New file.
10259 * stdio-common/tst-renameat2.c: Likewise.
10260 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
10261 * manual/filesys.texi (Temporary Files): Note that renameat2 is
10263 * sysdeps/unix/sysv/linux/kernel-features.h
10264 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
10265 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10266 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
10267 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10268 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
10269 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10270 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
10271 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10272 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
10273 * include/stdio.h (__renameat): Add alias for renameat.
10274 * stdio-common/renameat.c (__renameat): Rename from renameat.
10275 Add hidden definition and alias.
10276 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
10277 * sysdeps/mach/hurd/renameat.c: Likewise.
10278 * sysdeps/**/libc*.abilist: Add renameat2.
10280 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10282 * posix/bug-regex33.c: Fix build after regex sync.
10284 2018-07-04 Carlos O'Donell <carlos@redhat.com>
10287 * localedata/tst-langinfo-setlocale.c: New file.
10288 * localedata/tst-langinfo-setlocale-static.c: New file.
10289 * localedata/tst-langinfo-newlocale.c: New file.
10290 * localedata/tst-langinfo-newlocale-static.c: New file.
10291 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
10292 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
10293 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
10294 (tests-static): Remove tst-langinfo-static. Add
10295 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
10296 (tests-special): Remove $(objpfx)tst-langinfo.out,
10297 $(objpfx)tst-langinfo-static.out. Add
10298 $(objpfx)tst-langinfo-setlocale.out,
10299 $(objpfx)tst-langinfo-newlocale.out,
10300 $(objpfx)tst-langinfo-setlocale-static.out,
10301 $(objpfx)tst-langinfo-newlocale-static.out.
10302 ($(objpfx)tst-langinfo.out): Remove.
10303 ($(objpfx)tst-langinfo-static.out): Remove.
10304 ($(objpfx)tst-langinfo-newlocale.out): New target.
10305 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
10306 (test-xfail-tst-langinfo-newlocale-static): Add.
10307 ($(objpfx)tst-langinfo-setlocale.out): New target.
10308 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
10309 * localedata/tst-langinfo.c: Call test_locale.
10310 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
10313 2018-07-04 Florian Weimer <fweimer@redhat.com>
10315 testrun.sh: Implement --tool=strace, --tool=valgrind
10316 * Makefile (testrun-script): Define variable.
10317 (testrun.sh): Use variable.
10318 * manual/install.texi (Tools for Compilation): make 4.0 or later
10320 * configure.ac: Check for make 4.0 or later.
10321 * INSTALL: Regenerate.
10322 * configure: Likewise.
10324 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10330 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
10331 * posix/PCRE.tests: Remove invalid test.
10332 * posix/bug-regex28.c: Fix expected values for used syntax.
10333 * posix/bug-regex37.c: New file.
10334 * posix/bug-regex38.c: Likewise.
10335 * posix/regcomp.c: Sync with gnulib.
10336 * posix/regex.c: Likewise.
10337 * posix/regex.h: Likewise.
10338 * posix/regex_internal.c: Likewise.
10339 * posix/regex_internal.h: Likewise.
10340 * posix/regexec.c: Likewise.
10342 2018-06-26 Mike FABIAN <mfabian@redhat.com>
10345 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
10346 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
10347 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
10348 * localedata/unicode-gen/PropList.txt: likewise.
10349 * localedata/unicode-gen/UnicodeData.txt: likewise.
10350 * localedata/charmaps/UTF-8: Regenerate.
10351 * localedata/locales/i18n_ctype: likewise.
10352 * localedata/locales/tr_TR: likewise.
10353 * localedata/locales/translit_circle: likewise.
10354 * localedata/locales/translit_cjk_compat: likewise.
10355 * localedata/locales/translit_combining: likewise.
10356 * localedata/locales/translit_compat: likewise.
10357 * localedata/locales/translit_font: likewise.
10358 * localedata/locales/translit_fraction: likewise.
10360 2018-07-03 Florian Weimer <fweimer@redhat.com>
10363 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
10364 * stdio-common/tst-printf.sh: Adjust expected output.
10365 * LICENSES: Update.
10367 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10369 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
10372 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10374 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
10375 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
10376 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
10377 * stdio-common/tst-printfsz-islongdouble.c: New file.
10378 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
10379 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
10380 [subdir == stdio-common] (routines): Add ieee128-printf_size.
10381 [subdir == stdio-common] (tests-internal): Add
10382 test-printf-size-ieee128, and test-printf-size-ibm128.
10383 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
10384 (CFLAGS-test-printf-size-ibm128.c): New variables.
10385 [subdir == stdio-common] (tests-special): Add
10386 $(objpfx)test-printf-size-ieee128.out and
10387 $(objpfx)test-printf-size-ibm128.out.
10388 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
10389 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
10390 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
10391 __printf_sizeieee128.
10392 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
10394 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
10396 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
10399 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
10401 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
10402 (exp2f_inline): Likewise.
10403 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
10404 (__math_uflowf): Likewise.
10405 (__math_may_uflowf): Likewise.
10406 (__math_divzerof): Likewise.
10407 (__math_invalidf): Likewise.
10408 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
10409 (__math_oflowf): Likewise.
10410 (__math_uflowf): Likewise.
10411 (__math_may_uflowf): Likewise.
10412 (__math_divzerof): Likewise.
10413 (__math_invalidf): Likewise.
10415 2018-06-29 DJ Delorie <dj@redhat.com>
10416 Carlos O'Donell <carlos@redhat.com>
10419 * include/libc-symbols.h: Comment the freeres framework.
10420 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
10421 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
10422 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
10423 * dlfcn/dlerror.c: Include libc-symbols.h
10424 (__dlerror_main_freeres): New function.
10425 * dlfcn/dlfreeres.c: New file.
10426 * dlfcn/sdlfreeres.c: New file.
10427 * include/dlfcn.h: Declare __dlerror_main_freeres.
10428 * malloc/set-freeres.c: Declare __libdl_freeres, and
10429 __libpthread_freeres.
10430 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
10431 the releavant libraries are loaded.
10432 * malloc/thread-freeres.c: Add comments.
10433 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
10434 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
10435 * nptl/allocatestack.c (__nptl_free_stacks): New function.
10436 (__free_stacks): Rename to...
10437 (free_stacks): ...this. Mark static.
10438 (queue_stack): Call free_stacks.
10439 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
10440 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
10441 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
10442 ptr_freeres element from struct.
10443 (pthread_functions): Remove .ptr_freeres from struct initializer.
10444 [SHARED] (nptl_freeres): Remove.
10445 * nptl/nptlfreeres.c: New file.
10447 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
10448 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
10450 (__free_stacks): Rename to...
10451 (__nptl_stacks_freeres): ...this.
10452 (__shm_directory_freeres): Declare.
10453 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
10454 (__nptl_unwind_freeres): ...this.
10455 * resolv/res-close.c: Add comment.
10456 * resolv/resolv_conf.c: Include libc-symbols.h.
10457 * string/strerror_l.c: Include libc-symbols.h.
10458 * sunrpc/rpc_thread.c: Include libc-symbols.h.
10459 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
10460 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
10461 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
10463 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10465 * stdlib/tst-strfmon_l.c: Add tests for long double.
10467 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
10470 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
10471 * localedata/locales/dsb_DE: New file.
10473 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
10476 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
10478 (alt_mon): New entry, import from CLDR (nominative case).
10480 2018-06-29 Sylvain Lesage <severo@rednegra.net>
10483 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
10485 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
10487 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
10488 Use vector registers.
10490 * sysdeps/aarch64/multiarch/memmove_falkor.S
10491 (__memcpy_falkor): Use vector registers.
10493 2018-06-29 Martin Sebor <msebor@redhat.com>
10495 * manual/stdio.texi (Customizing Printf): Mention interaction
10496 with GCC built-ins.
10498 2018-06-29 Maciej W. Rozycki <macro@mips.com>
10501 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
10502 `st_value' is 0 if `st_shndx' is SHN_ABS.
10503 * elf/tst-absolute-zero.c: New file.
10504 * elf/tst-absolute-zero-lib.c: New file.
10505 * elf/tst-absolute-zero-lib.lds: New file.
10506 * elf/Makefile (tests): Add `tst-absolute-zero'.
10507 (modules-names): Add `tst-absolute-zero-lib'.
10508 (LDLIBS-tst-absolute-zero-lib.so): New variable.
10509 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
10510 ($(objpfx)tst-absolute-zero: New dependency.
10512 2018-06-29 Zack Weinberg <zackw@panix.com>
10514 * configure.ac: New command-line option --disable-crypt.
10515 Force --disable-nss-crypt when --disable-crypt is given, with a
10516 warning if it was explicitly enabled.
10517 * configure: Regenerate.
10518 * config.make.in: New boolean substitution variable $(build-crypt).
10519 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
10520 when $(build-crypt).
10521 * manual/install.texi: Document --disable-crypt.
10522 * INSTALL: Regenerate.
10524 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
10525 which is never set.
10526 * conform/Makefile: Only include libcrypt.a in
10527 linknamespace-libs-xsi and linknamespace-libs-XPG4
10528 when $(build-crypt).
10529 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
10530 USE_CRYPT to 1 when $(build-crypt).
10531 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
10532 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
10533 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
10535 2018-06-29 Zack Weinberg <zackw@panix.com>
10537 * crypt/crypt.h, posix/unistd.h: Update comments and
10538 prototypes for crypt and crypt_r.
10540 * manual/crypt.texi (Cryptographic Functions): New initial
10542 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
10543 (Unpredictable Bytes): Improve initial exposition. Clarify error
10544 behavior of getentropy and getrandom.
10545 * manual/examples/genpass.c: Generate a salt using getentropy
10546 instead of the current time. Use hash $5$ (SHA-2-256).
10547 * manual/examples/testpass.c: Demonstrate validation against
10548 hashes generated with three different one-way functions.
10550 * manual/intro.texi: crypt.texi does not need an overview
10553 * manual/nss.texi, manual/memory.texi, manual/socket.texi
10554 * manual/terminal.texi: Consistently refer to "passphrases"
10555 * instead of "passwords", and to the "user database" instead
10556 * of the "password database".
10557 * manual/users.texi: Similarly. Add notes about how actual
10558 passphrase hashes are now stored in the shadow database.
10559 Remove 20-year-old junk todo note.
10561 2018-06-29 Zack Weinberg <zackw@panix.com>
10563 * manual/crypt.texi: Use a normal top-level @node declaration.
10564 Move most of the introductory text to the 'crypt' section.
10565 Move the example programs below the @deftypefun for 'crypt_r'.
10566 Move the 'getpass' section...
10567 * manual/terminal.texi: ...here.
10569 2018-06-29 Zack Weinberg <zackw@panix.com>
10570 Florian Weimer <fweimer@redhat.com>
10572 * posix/unistd.h: Do not declare encrypt.
10573 (_XOPEN_CRYPT): Remove macro definition.
10574 (crypt): Declare only for _USE_MISC.
10575 * stdlib/stdlib.h: Do not declare setkey.
10576 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
10577 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
10579 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
10580 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
10581 into compat symbols. Don't define initial_perm if it's not
10583 * crypt/cert.c: Link explicitly with the expected versions for
10584 setkey and encrypt. If they are not available at all, mark
10585 the test as unsupported.
10587 * sunrpc/des_crypt.c: Unconditionally block linkage with
10588 cbc_crypt and ecb_crypt for new binaries.
10589 * sunrpc/des_soft.c: Unconditionally block linkage with
10590 des_setparity for new binaries.
10592 * manual/crypt.texi: Remove the entire "DES Encryption"
10593 section. Also remove the paragraph talking about FIPS 140-2
10594 from the introduction.
10595 * manual/string.texi (strfry, memfrob): Revise. Recommend use
10596 of libgcrypt for "real" encryption, not DES.
10597 * manual/conf.texi (Constants for Sysconf): Mention that
10598 _XOPEN_CRYPT is no longer impelemented.
10600 * conform/data/unistd.h-data: Remove crypt function declaration.
10602 2018-06-29 Florian Weimer <fweimer@redhat.com>
10605 * malloc/hooks.c: Update comments on restoring of dumped heaps.
10606 (disallow_malloc_check): Remove variable.
10607 (__malloc_check_init): Adjust.
10608 (malloc_set_state): Update comment.
10609 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
10612 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
10615 * localedata/locales/ast_ES (mon): Rename to...
10617 (mon): Import from CLDR (genitive case).
10619 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
10620 Jakub Sitnicki <jkbs@redhat.com>
10623 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
10624 on NLM_F_DUMP_INTR.
10626 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
10628 * manual/llio.texi: Remove spurious space.
10630 2018-06-28 Florian Weimer <fweimer@redhat.com>
10633 * time/bits/types/struct_timespec.h: Change header inclusion guard to
10636 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10638 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
10639 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
10640 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
10641 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
10642 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
10643 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
10644 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
10646 2018-06-27 Maciej W. Rozycki <macro@mips.com>
10649 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
10650 Copy and null-terminate entries that are not terminated, in
10651 addition to empty ones.
10653 2018-06-27 Florian Weimer <fweimer@redhat.com>
10656 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
10657 (extend_alloca_account): Remove.
10658 * manual/stdio.texi (Variable Arguments Output): Update comment.
10660 2018-06-27 Joseph Myers <joseph@codesourcery.com>
10662 * nptl/sockperf.c: Remove file.
10664 2018-06-27 Florian Weimer <fweimer@redhat.com>
10667 * elf/dl-deps.c (_dl_map_object_deps): Use struct
10668 scratch_buffer instead of extend_alloca.
10670 2018-06-27 Florian Weimer <fweimer@redhat.com>
10673 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
10674 scratch_buffer instead of extend_alloca. Update comments.
10676 2018-06-27 Florian Weimer <fweimer@redhat.com>
10679 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
10680 instead of extend_alloca.
10682 2018-06-26 Joseph Myers <joseph@codesourcery.com>
10685 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
10686 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
10688 * scripts/test-installation.pl: Put temporary files in build
10689 directory, not /tmp.
10690 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
10691 (CFLAGS-bug4.c): Likewise.
10692 (CFLAGS-bug5.c): Likewise.
10693 (CFLAGS-test-fseek.c): Likewise.
10694 (CFLAGS-test-popen.c): Likewise.
10695 (CFLAGS-test_rdwr.c): Likewise.
10696 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
10698 * stdio-common/bug4.c (main): Likewise.
10699 * stdio-common/bug5.c (main): Likewise.
10700 * stdio-common/test-fseek.c (TESTFILE): Likewise.
10701 * stdio-common/test-popen.c (do_test): Likewise.
10702 * stdio-common/test_rdwr.c (main): Likewise.
10704 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
10706 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
10707 (sem_open): Set sem.newsem.pad to zero for valgrind.
10709 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10712 * NEWS: Mention fcntl64 addition.
10713 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
10714 * login/utmp_file.c: Likewise.
10715 * sysdeps/posix/fdopendir.c: Likewise.
10716 * sysdeps/posix/opendir.c: Likewise.
10717 * sysdeps/unix/pt-fcntl.c: Likewise.
10718 * include/fcntl.h (__libc_fcntl64, __fcntl64,
10719 __fcntl64_nocancel_adjusted): New prototype.
10720 (__fcntl_nocancel_adjusted): Remove prototype.
10721 * io/Makefile (routines): Add fcntl64.
10722 (CFLAGS-fcntl64.c): New rule.
10723 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
10724 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
10725 * io/fcntl.h (fcntl64): Add prototype and redirect if
10726 __USE_FILE_OFFSET64 is defined.
10727 * io/fcntl64.c: New file.
10728 * manual/llio.text: Add a note for which commands fcntl acts a
10729 cancellation point.
10730 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
10731 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
10732 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
10734 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
10735 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
10737 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
10738 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
10739 to __fcntl64_nocancel.
10740 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
10741 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
10742 to __fcntl64_nocancel.
10743 * sysdeps/generic/not-cancel.h: Likewise.
10744 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
10745 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
10746 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
10747 (fcntl64): New symbol.
10748 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10749 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10750 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10753 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10754 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10755 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10756 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10757 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10758 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
10759 fcntl64): Likewise.
10760 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10761 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
10762 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10763 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10764 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10765 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10766 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10767 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10768 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10773 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10774 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10775 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10777 2018-06-26 Florian Weimer <fweimer@redhat.com>
10779 Run thread shutdown functions in an explicit order.
10780 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
10782 (__libc_thread_freeres): Call thread shutdown functions
10784 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
10785 * include/string.h (__strerror_thread_freeres): Declare.
10786 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
10787 arena_thread_freeres. No longer static. Remove thread shutdown
10789 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
10791 * resolv/res-close.c (__res_thread_freeres): Renamed from
10792 res_thread_freeres. No longer static. Remove thread shutdown
10794 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
10795 * resolv/resolv_conf.c (freeres): Remove incorrect section
10796 attribute and use libc_freeres_fn.
10797 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
10798 strerror_thread_freeres. No longer static. Remove thread
10799 shutdown hook registration.
10800 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
10801 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
10802 shutdown hook registration.
10803 * Makerules (shlib.lds): Do not provide section boundary symbols
10804 for __libc_thread_subfreeres.
10805 * manual/memory.texi (Basic Allocation): Update comment.
10807 2018-06-26 Florian Weimer <fweimer@redhat.com>
10809 Remove always-defined _RPC_THREAD_SAFE_ macro.
10810 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
10811 Do not define _RPC_THREAD_SAFE_.
10812 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
10814 * sunrpc/clnt_perr.c: Likewise.
10815 * sunrpc/clnt_raw.c: Likewise.
10816 * sunrpc/clnt_simp.c: Likewise.
10817 * sunrpc/key_call.c: Likewise.
10818 * sunrpc/rpc_common.c: Likewise.
10819 * sunrpc/rpc_main.c: Likewise.
10820 * sunrpc/rpc_thread.c: Likewise.
10821 * sunrpc/svc.c: Likewise.
10822 * sunrpc/svc_raw.c: Likewise.
10823 * sunrpc/svc_simple.c: Likewise.
10824 * sumrpc/svcauth_des.c: Likewise.
10826 2018-06-26 Florian Weimer <fweimer@redhat.com>
10828 * libio/Makefile (tests-internal): Add tst-vtables,
10829 tst-vtables-interposed.
10830 * libio/tst-vtables.c: New file.
10831 * libio/tst-vtables-common.c: Likewise.
10832 * libio/tst-vtables-interposed.c: Likewise.
10834 2018-06-26 Florian Weimer <fweimer@redhat.com>
10836 * support/support_test_main.c (support_test_main): Only call
10837 setvbuf if not disables.
10838 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
10839 * support/test-driver.h (struct test_config): Add no_setvbuf member.
10841 2018-06-26 Florian Weimer <fweimer@redhat.com>
10844 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
10846 2018-06-25 Florian Weimer <fweimer@redhat.com>
10849 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10850 Use struct scratch_buffer instead of extend_alloca.
10852 2018-06-25 Florian Weimer <fweimer@redhat.com>
10855 * nss/getent.c (initgroups_keys): Use dynarray instead of
10858 2018-06-25 Florian Weimer <fweimer@redhat.com>
10861 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
10862 Use struct scratch_buffer instead of extend_alloca.
10864 2018-06-25 Florian Weimer <fweimer@redhat.com>
10867 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
10868 back to malloc directly, without stack allocations.
10870 2018-06-25 Florian Weimer <fweimer@redhat.com>
10873 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
10876 2018-06-25 Florian Weimer <fweimer@redhat.com>
10879 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
10881 * nscd/hstcache.c (addhstbyX): Likewise.
10882 * nscd/pwdcache.c (addpwbyX): Likewise.
10883 * nscd/servicescache.c (addservbyX): Likewise.
10885 2018-06-25 Florian Weimer <fweimer@redhat.com>
10888 * nscd/connections.c (read_cmdline): New function.
10889 (restart): Use it. Update comment.
10891 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10894 * localedata/locales/csb_PL (mon): Rename to...
10896 (abmon): Rename to...
10897 (ab_alt_mon): This.
10898 (mon): Add with proper genitive forms, copy from Wikipedia.
10901 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10904 * localedata/locales/csb_PL (mon): Fix typos:
10905 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
10906 (yesstr): Add, value is "jo".
10907 (nostr): Add, value is "nié".
10909 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10911 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
10912 all log1p and significand functions on m680x0.
10913 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
10914 of s_significand.c..
10915 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
10916 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
10917 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
10918 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
10919 s_log1p.c and include it..
10921 2018-06-21 Vincent Chen <vincentc@andestech.com>
10923 * elf/elf.h (R_NDS32_NONE): New define.
10924 (R_NDS32_32_RELA): Likewise.
10925 (R_NDS32_COPY): Likewise.
10926 (R_NDS32_GLOB_DAT): Likewise.
10927 (R_NDS32_JUMP_SLOT): Likewise.
10928 (R_NDS32_RELATIVE): Likewise.
10929 (R_NDS32_TLS_TPOFF): Likewise.
10930 (R_NDS32_TLS_DESC): Likewise.
10932 2018-06-21 Mark Wielaard <mark@klomp.org>
10934 * elf/elf.h (R_BPF_MAP_FD): Removed.
10935 (R_BPF_64_64, R_BPF_64_32): New.
10937 2018-06-21 Florian Weimer <fweimer@redhat.com>
10940 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
10941 Renamed from libc_feholdsetround_ctx.
10942 (default_libc_feresetround_ctx): Renamed from
10943 libc_feresetround_ctx.
10944 (default_libc_feholdsetround_noex_ctx): Renamed from
10945 libc_feholdsetround_noex_ctx.
10946 (default_libc_feresetround_noex_ctx): Renamed from
10947 libc_feresetround_noex_ctx.
10948 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
10949 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
10950 forwardning to the old implementations under the new names.
10951 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
10952 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
10953 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
10954 (libc_feresetround_ctx): Forward to default implements for i386
10955 and MATH_SET_BOTH_ROUNDING_MODES.
10956 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
10957 Add -DMATH_SET_BOTH_ROUNDING_MODES.
10959 2018-06-20 Joseph Myers <joseph@codesourcery.com>
10961 * string/tst-cmp.c: Include <libc-diag.h>.
10962 (strncmp_max): Disable -Wstringop-overflow= around call to
10964 (strncasecmp_max): Disable -Wstringop-overflow= around call to
10967 * string/bug-strpbrk1.c: Include <libc-diag.h>.
10968 (main): Disable -Wunused-value around call to strpbrk.
10969 * string/bug-strspn1.c: Include <libc-diag.h>.
10970 (main): Disable -Wunused-value around call to strspn.
10972 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10973 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10975 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
10976 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
10978 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10980 * math/Makefile (libm-calls): Move s_significandF to...
10981 (gen-libm-calls): ... here.
10982 * math/s_significand_template.c: New file.
10983 * math/s_significand.c: Removed.
10984 * math/s_significandf.c: Removed.
10985 * math/s_significandl.c: Removed.
10986 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
10987 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
10989 * math/e_exp2_template.c (declare_mgen_finite_alias,
10990 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
10991 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
10992 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
10994 2018-06-20 Florian Weimer <fweimer@redhat.com>
10996 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
10998 2018-06-19 Joseph Myers <joseph@codesourcery.com>
11001 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
11002 floating-point number to strtod functions rather than possibly
11003 negating result of those functions.
11004 * stdio-common/tst-scanf-round.c: New file.
11005 * stdio-common/Makefile (tests): Add tst-scanf-round.
11006 ($(objpfx)tst-scanf-round): Depend on $(libm).
11008 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
11010 * sysdeps/mach/hurd/localplt.data: Move to...
11011 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
11012 R_386_GLOB_DAT like on Linux i386.
11014 2018-06-18 Joseph Myers <joseph@codesourcery.com>
11016 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
11017 (SHM_STAT_ANY): New macro.
11018 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
11019 (SHM_STAT_ANY): Likewise.
11020 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
11021 (SHM_STAT_ANY): Likewise.
11022 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
11023 (SHM_STAT_ANY): Likewise.
11024 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
11025 (SHM_STAT_ANY): Likewise.
11026 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
11027 (SHM_STAT_ANY): Likewise.
11028 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
11029 (SHM_STAT_ANY): Likewise.
11030 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
11031 (SHM_STAT_ANY): Likewise.
11032 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
11033 (SHM_STAT_ANY): Likewise.
11034 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
11035 (SHM_STAT_ANY): Likewise.
11036 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
11037 (SHM_STAT_ANY): Likewise.
11038 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
11039 (SHM_STAT_ANY): Likewise.
11041 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
11042 (SEM_STAT_ANY): New macro.
11043 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
11044 (SEM_STAT_ANY): Likewise.
11045 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
11046 (SEM_STAT_ANY): Likewise.
11047 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
11048 (SEM_STAT_ANY): Likewise.
11049 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
11050 (SEM_STAT_ANY): Likewise.
11051 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
11052 (SEM_STAT_ANY): Likewise.
11053 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
11054 (SEM_STAT_ANY): Likewise.
11055 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
11056 (SEM_STAT_ANY): Likewise.
11057 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
11058 (SEM_STAT_ANY): Likewise.
11059 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
11060 (SEM_STAT_ANY): Likewise.
11062 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
11063 (MSG_STAT_ANY): New macro.
11064 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
11065 (MSG_STAT_ANY): Likewise.
11066 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
11067 (MSG_STAT_ANY): Likewise.
11068 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
11069 (MSG_STAT_ANY): Likewise.
11070 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
11071 (MSG_STAT_ANY): Likewise.
11072 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
11073 (MSG_STAT_ANY): Likewise.
11074 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
11075 (MSG_STAT_ANY): Likewise.
11076 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
11077 (MSG_STAT_ANY): Likewise.
11078 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
11079 (MSG_STAT_ANY): Likewise.
11080 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
11081 (MSG_STAT_ANY): Likewise.
11083 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
11084 (MAP_TYPE): Change value to 0x2b.
11086 2018-06-18 Florian Weimer <fweimer@redhat.com>
11089 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
11090 socket with SOCK_CLOEXEC.
11092 2018-06-18 Joseph Myers <joseph@codesourcery.com>
11095 * sysdeps/powerpc/powerpc64/le/Makefile
11096 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
11097 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
11098 (gnulib-tests): Also add $(f128-loader-link) for
11099 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
11101 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
11103 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
11104 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
11106 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
11107 (sendfile64): New strong alias.
11108 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
11109 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
11110 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
11111 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
11113 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
11114 ___pthread_get_cleanup_stack.
11115 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
11116 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
11117 * mach/shortcut.awk: Make syscall stubs include
11118 <mach-shortcuts-hidden.h> and add hidden definition.
11119 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
11120 (__mach_msg): Add hidden prototype.
11121 * mach/msg.c: Include <mach.h>.
11122 (__mach_msg): Add hidden definition.
11123 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
11124 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
11125 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
11126 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
11127 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
11128 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
11129 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
11130 prototype and definition.
11131 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
11132 hidden target for _hurd_self_sigstate.
11134 2018-06-15 Joseph Myers <joseph@codesourcery.com>
11137 * stdlib/tst-strtod-nan-sign-main.c: New file.
11138 * stdlib/tst-strtod-nan-sign.c: Likewise.
11139 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
11140 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
11141 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
11142 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
11143 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
11145 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
11148 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
11151 2018-06-14 Florian Weimer <fweimer@redhat.com>
11154 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
11155 that the result stays within the ISO-8859-1 range.
11156 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
11157 characters are defined in IBM273.
11159 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
11161 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
11162 __mach_task_self): Remove attribute_hidden.
11164 2018-06-14 Joseph Myers <joseph@codesourcery.com>
11166 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
11167 ignore -Wrestrict for one test.
11169 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
11170 Szabolcs Nagy <szabolcs.nagy@arm.com>
11172 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
11174 2018-06-14 Florian Weimer <fweimer@redhat.com>
11176 * scripts/update-abilist.sh: Accept empty list of files to patch.
11178 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
11180 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
11181 test-xfail-check-abi-libmachuser): Add.
11182 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
11183 __libc_read and __libc_write to __read and __write.
11184 * sysdeps/hurd/include/hurd/port.h: New file.
11185 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
11186 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
11187 __thread_switch, __evc_wait): Move declarations to...
11188 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
11190 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
11191 use PLT to call _hurd_self_sigstate.
11193 2018-06-13 Joseph Myers <joseph@codesourcery.com>
11196 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
11197 MAX_EXP as overflowing.
11198 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
11200 (round_str): Output also whether result overflows in each rounding
11202 * stdlib/tst-strtod-round-data: Add more tests.
11203 * stdlib/tst-strtod-round-data.h: Regenerated.
11204 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
11205 (TEST): Handle extra arguments for overflow flags.
11206 (struct test_overflow): New type.
11207 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
11208 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
11209 (test_in_one_mode): Take argument with overflow information.
11210 (do_test): Update calls to test_in_one_mode.
11212 2018-06-12 Carlos O'Donell <carlos@redhat.com>
11214 * elf/dl-load (_dl_dst_substitute): Correct comment.
11215 (_dl_dst_count): Likewise.
11217 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
11218 lll_futex_timed_wait.
11220 2018-06-12 Joseph Myers <joseph@codesourcery.com>
11223 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
11225 * math/test-nan-const.c: New file.
11226 * math/Makefile (tests): Add test-nan-const.
11227 (CFLAGS-test-nan-const.c): New variable.
11229 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
11231 * benchtests/scripts/compare_strings.py (process_results): Add
11232 funcs argument. Compare only functions which are selected.
11233 (main): Check if base function is among selected functions.
11234 Pass selected functions to process_results.
11235 (__main__): Add -f/--functions argument.
11237 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
11238 Hongbo Zhang <hongbo.zhang@linaro.org>
11240 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
11241 __memcpy_falkor for phecda core.
11242 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
11243 __memmove_falkor for phecda core.
11244 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
11245 __memset_falkor for phecda core.
11246 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
11248 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
11249 macro to identify phecda core.
11251 2018-06-12 Carlos O'Donell <carlos@redhat.com>
11252 Andreas Schwab <schwab@suse.de>
11253 Dmitry V. Levin <ldv@altlinux.org>
11254 Florian Weimer <fweimer@redhat.com>
11261 * elf/dl-dst.h: Remove DL_DST_COUNT.
11262 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
11263 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
11264 (is_dst): Comment. Support ELF gABI.
11265 (_dl_dst_count): Comment. Simplify and count DSTs.
11266 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
11267 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
11270 2018-06-12 Zack Weinberg <zackw@panix.com>
11272 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
11273 * sysdeps/unix/sysv/linux/dl-sysdep.c
11274 Include not-cancel.h. Use __close_nocancel instead of __close,
11275 __open64_nocancel instead of __open, __read_nocancel instead of
11276 __libc_read, and __write_nocancel instead of __libc_write.
11278 * csu/check_fds.c (check_one_fd)
11279 * sysdeps/posix/fdopendir.c (__fdopendir)
11280 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
11281 instead of __fcntl and/or __libc_fcntl.
11283 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
11284 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
11285 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
11286 Use __open64_nocancel instead of __open_nocancel.
11288 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
11289 hidden_proto declarations to the end and issue them if either
11290 IS_IN(libc) or IS_IN(rtld).
11291 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
11292 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
11293 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
11294 read_nocancel, waitpid_nocancel, write_nocancel.
11296 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
11297 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
11298 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
11300 * nptl/pt-fcntl.c: New file.
11301 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
11302 (libpthread-routines): Add pt-fcntl.
11303 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
11304 (__libc_fcntl): Remove attribute_hidden.
11305 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
11306 __fcntl_nocancel_adjusted, not fcntl_common.
11307 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
11308 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
11309 to fcntl_nocancel.c.
11310 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
11311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
11312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11313 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
11315 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
11316 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
11317 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
11318 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
11319 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
11320 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
11321 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
11322 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
11323 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
11324 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
11325 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
11326 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
11327 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
11328 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
11329 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
11330 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
11331 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
11332 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
11333 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
11334 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
11336 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
11337 libpthread-routines.
11338 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
11341 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
11342 __libc_read, and __write instead of __libc_write. Define
11343 __open64 in addition to __open.
11345 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
11349 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
11350 to _private_tm[3] and add __glibc_reserved2.
11351 Add _Static_assert of offset of __private_ss == 0x30.
11352 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
11353 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
11355 2018-06-12 Florian Weimer <fweimer@redhat.com>
11357 x86: Make strncmp usable from rtld.
11358 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
11359 __strncmp_ia32 if in libc (and not in rtld).
11360 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
11361 strncmp if not in libc (and not to __strncmp_sse2).
11363 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
11366 * localedata/locales/gd_GB (mon): Rename to...
11368 (mon): Import from CLDR (genitive case).
11369 * localedata/locales/hsb_DE (mon): Rename to...
11371 (mon): Import from CLDR (genitive case).
11372 * localedata/locales/wa_BE (mon): Rename to...
11374 (mon): Add, fill with the proper genitive forms, but CLDR data
11375 is incomplete; completed according to the comments in this file.
11376 (d_t_fmt): Do not use "di" before the month name, no longer needed.
11378 * localedata/locales/wa_BE (country_name): Reword
11379 "Beljike" -> "Beldjike".
11381 2018-06-11 Joseph Myers <joseph@codesourcery.com>
11384 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
11385 cases of non-finite arguments.
11386 * math/libm-test-fma.inc (fma_test_data): Add more tests.
11388 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
11391 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
11393 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11396 * include/unistd.h (__execvpex): New prototype.
11397 * posix/Makefile (tests): Add tst-spawn4.
11398 (tests-internal): Add tst-spawn4-compat.
11399 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
11400 * posix/tst-spawn4-compat.c: New file.
11401 * posix/tst-spawn4.c: Likewise.
11402 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
11403 binaries as shell scripts.
11404 * sysdeps/posix/spawni.c (__spawni): Likewise.
11406 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
11409 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
11410 ($(all-built-dso:=.dynsym): New target.
11411 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
11412 ($(objpfx)check-initfini.out): New target.
11413 (generated): Add check-initfini.out.
11414 * scripts/check-initfini.awk: New file.
11415 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
11417 * sysdeps/alpha/crti.S (_init): Mark as hidden.
11419 * sysdeps/arm/crti.S (_init): Mark as hidden.
11421 * sysdeps/hppa/crti.S (_init): Mark as hidden.
11423 * sysdeps/i386/crti.S (_init): Mark as hidden.
11425 * sysdeps/ia64/crti.S (_init): Mark as hidden.
11427 * sysdeps/m68k/crti.S (_init): Mark as hidden.
11429 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
11431 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
11433 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
11435 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
11437 * sysdeps/nios2/crti.S (_init): Mark as hidden.
11439 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
11441 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
11443 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
11445 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
11447 * sysdeps/sh/crti.S (_init): Mark as hidden.
11449 * sysdeps/sparc/crti.S (_init): Mark as hidden.
11451 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
11454 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11456 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
11457 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
11458 and TF redirection to KFtype and KF only when the default
11459 long double type is not the IEEE 128-bit floating point type.
11461 2018-06-05 Joseph Myers <joseph@codesourcery.com>
11463 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
11465 (HWCAP_USCAT): Likewise.
11466 (HWCAP_ILRCPC): Likewise.
11467 (HWCAP_FLAGM): Likewise.
11468 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
11470 (_dl_aarch64_cap_flags): Add new flag names.
11472 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
11473 (MAP_FIXED_NOREPLACE): New macro.
11474 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
11475 (MAP_FIXED_NOREPLACE): Likewise.
11476 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
11477 (MAP_FIXED_NOREPLACE): Likewise.
11478 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
11479 (MAP_FIXED_NOREPLACE): Likewise.
11480 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
11481 (MAP_FIXED_NOREPLACE): Likewise.
11482 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
11483 (MAP_FIXED_NOREPLACE): Likewise.
11484 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
11485 (MAP_FIXED_NOREPLACE): Likewise.
11486 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
11487 (MAP_FIXED_NOREPLACE): Likewise.
11488 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
11489 (MAP_FIXED_NOREPLACE): Likewise.
11490 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
11491 (MAP_FIXED_NOREPLACE): Likewise.
11492 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
11493 (MAP_FIXED_NOREPLACE): Likewise.
11494 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
11495 (MAP_FIXED_NOREPLACE): Likewise.
11496 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
11497 (MAP_FIXED_NOREPLACE): Likewise.
11498 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
11499 (MAP_FIXED_NOREPLACE): Likewise.
11500 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
11501 (MAP_FIXED_NOREPLACE): Likewise.
11503 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11506 2018-06-04 Joseph Myers <joseph@codesourcery.com>
11508 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11511 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11513 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
11515 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
11517 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11519 * benchtests/scripts/compare_string.py: (process_results) Catch
11520 exception in non-existent base_func and catch exception in
11521 non-existent attribute.
11522 (parse_file) Catch exception if input file does not exist.
11524 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11526 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
11527 options to avoid diff calculation and omit header, respectively.
11528 (main): process --no-diff and --no-header
11530 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11531 H.J. Lu <hongjiu.lu@intel.com>
11533 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11534 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
11536 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11537 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
11538 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
11539 and __wcsncmp_sse2.
11540 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
11541 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
11542 AVX unaligned load is fast and vzeroupper is preferred.
11543 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
11544 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
11545 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
11546 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
11547 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
11548 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
11549 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
11550 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
11551 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
11552 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
11555 2018-06-01 Florian Weimer <fweimer@redhat.com>
11557 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
11558 configuring with --disable-multi-arch, building with
11559 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
11562 2018-06-01 Florian Weimer <fweimer@redhat.com>
11564 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
11565 results from building with “-march=x86-64 -mtune=generic
11566 -mfpmath=sse” and running on a Haswell-era CPU.
11568 2018-06-01 Joseph Myers <joseph@codesourcery.com>
11571 * soft-fp/sqrttf2.c: Remove file.
11572 * soft-fp/sqrtdf2.c: Move to ....
11573 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
11575 (__sqrtdf2): Make conditional on
11576 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
11578 * soft-fp/sqrtsf2.c: Move to ....
11579 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
11581 (__sqrtsf2): Make conditional on
11582 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
11584 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
11585 (gcc-double-routines): Remove sqrtdf2.
11586 (gcc-quad-routines): Remove sqrttf2.
11587 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
11588 Do not filter out sqrtsf2 and sqrtdf2.
11589 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11590 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
11592 2018-06-01 Florian Weimer <fweimer@redhat.com>
11594 * sysdeps/generic/libcidn.abilist: Remove file.
11596 2018-06-01 Florian Weimer <fweimer@redhat.com>
11599 * libio/strfile.h (struct _IO_str_fields): Rename members to
11600 discourage their use and add comment.
11601 (_IO_STR_DYNAMIC): Remove unused macro.
11602 * libio/strops.c (_IO_str_init_static_internal): Do not use
11603 callback pointers. Call malloc and free.
11604 (_IO_str_overflow): Do not use callback pointers. Call malloc
11606 (enlarge_userbuf): Likewise.
11607 (_IO_str_finish): Call free.
11608 * libio/wstrops.c (_IO_wstr_init_static): Initialize
11609 _allocate_buffer_unused.
11610 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
11612 (enlarge_userbuf): Likewise.
11613 (_IO_wstr_finish): Call free.
11614 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
11615 _allocate_buffer_unused, _free_buffer_unused.
11616 * libio/memstream.c (__open_memstream): Likewise.
11617 * libio/vasprintf.c (_IO_vasprintf): Likewise.
11618 * libio/wmemstream.c (open_wmemstream): Likewise.
11620 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
11622 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
11625 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11627 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
11628 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
11629 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
11631 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
11633 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
11635 2018-05-29 Florian Weimer <fweimer@redhat.com>
11637 * support/Makefile (libsupport-routines): Add
11638 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
11639 xpthread_barrierattr_setpshared.
11640 * support/xpthread_barrierattr_destroy.c: New file.
11641 * support/xpthread_barrierattr_init.c: Likewise.
11642 * support/xpthread_barrierattr_setpshared.c: Likewise.
11644 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
11647 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
11648 _r_debug and update DT_DEBUG for debugger.
11650 2018-05-29 Florian Weimer <fweimer@redhat.com>
11652 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
11653 (tst-strtod5i.out): Likewise.
11655 2018-05-25 Joseph Myers <joseph@codesourcery.com>
11657 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
11658 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
11659 (sparc64-quad-routines): New variable. Moved from ....
11660 [$(subdir) = soft-fp] (sysdep_routines): Add
11661 $(sparc64-quad-routines). Moved from ....
11662 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
11663 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
11664 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
11666 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
11667 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
11668 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
11669 * sysdeps/sparc/sparc64/qp_add.c: ... here.
11670 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
11671 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
11672 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
11673 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
11674 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
11675 * sysdeps/sparc/sparc64/qp_div.c: ... here.
11676 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
11677 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
11678 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
11679 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
11680 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
11681 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
11682 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
11683 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
11684 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
11685 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
11686 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
11687 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
11688 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
11689 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
11690 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
11691 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
11692 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
11693 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
11694 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
11695 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
11696 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
11697 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
11698 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
11699 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
11700 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
11701 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
11702 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
11703 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
11704 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
11705 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
11706 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
11707 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
11708 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
11709 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
11710 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
11711 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
11712 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
11713 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
11714 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
11715 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
11716 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
11717 * sysdeps/sparc/sparc64/qp_util.c: ... here.
11718 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
11719 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
11720 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
11721 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
11722 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
11723 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
11725 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
11726 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
11727 (sparc32-quad-routines): New variable. Moved from ....
11728 [$(subdir) = soft-fp] (sysdep_routines): Add
11729 $(sparc32-quad-routines). Moved from ....
11730 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
11731 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
11733 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
11734 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
11735 * sysdeps/sparc/sparc32/q_add.c: ... here.
11736 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
11737 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
11738 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
11739 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
11740 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
11741 * sysdeps/sparc/sparc32/q_div.c: ... here.
11742 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
11743 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
11744 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
11745 * sysdeps/sparc/sparc32/q_feq.c: ... here.
11746 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
11747 * sysdeps/sparc/sparc32/q_fge.c: ... here.
11748 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
11749 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
11750 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
11751 * sysdeps/sparc/sparc32/q_fle.c: ... here.
11752 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
11753 * sysdeps/sparc/sparc32/q_flt.c: ... here.
11754 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
11755 * sysdeps/sparc/sparc32/q_fne.c: ... here.
11756 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
11757 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
11758 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
11759 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
11760 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
11761 * sysdeps/sparc/sparc32/q_mul.c: ... here.
11762 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
11763 * sysdeps/sparc/sparc32/q_neg.c: ... here.
11764 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
11765 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
11766 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
11767 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
11768 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
11769 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
11770 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
11771 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
11772 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
11773 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
11774 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
11775 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
11776 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
11777 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
11778 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
11779 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
11780 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
11781 * sysdeps/sparc/sparc32/q_sub.c: ... here.
11782 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
11783 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
11784 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
11785 * sysdeps/sparc/sparc32/q_util.c: ... here.
11786 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
11787 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
11788 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
11789 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
11791 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11792 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11794 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
11795 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
11796 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
11797 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
11799 2018-05-24 Joseph Myers <joseph@codesourcery.com>
11801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
11803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11805 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
11806 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
11808 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11811 * math/math.h [C++] (iseqsig): Fix parameter type for the long
11814 2018-05-23 Joseph Myers <joseph@codesourcery.com>
11816 * sysdeps/sh/Implies: Remove sh/soft-fp.
11817 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
11818 * sysdeps/sh/sfp-machine.h: ... here.
11820 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11822 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11823 (__mempcpy_erms): Skip zero length.
11824 (__memmove_erms): Likewise.
11825 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11826 (__memset_erms): Likewise.
11828 2018-05-23 Joseph Myers <joseph@codesourcery.com>
11830 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
11831 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
11832 Add functions moved from ....
11833 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
11834 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
11835 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
11837 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
11838 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
11839 * sysdeps/alpha/e_sqrtl.c: ... here.
11840 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
11841 * sysdeps/alpha/local-soft-fp.h: ... here.
11842 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
11843 * sysdeps/alpha/ots_add.c: ... here.
11844 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
11845 * sysdeps/alpha/ots_cmp.c: ... here.
11846 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
11847 * sysdeps/alpha/ots_cmpe.c: ... here.
11848 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
11849 * sysdeps/alpha/ots_cvtqux.c: ... here.
11850 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
11851 * sysdeps/alpha/ots_cvtqx.c: ... here.
11852 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
11853 * sysdeps/alpha/ots_cvttx.c: ... here.
11854 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
11855 * sysdeps/alpha/ots_cvtxq.c: ... here.
11856 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
11857 * sysdeps/alpha/ots_cvtxt.c: ... here.
11858 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
11859 * sysdeps/alpha/ots_div.c: ... here.
11860 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
11861 * sysdeps/alpha/ots_mul.c: ... here.
11862 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
11863 * sysdeps/alpha/ots_nintxq.c: ... here.
11864 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
11865 * sysdeps/alpha/ots_sub.c: ... here.
11866 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
11867 * sysdeps/alpha/sfp-machine.h: ... here.
11869 2018-05-23 Florian Weimer <fweimer@redhat.com>
11877 Switch to extern IDNA implementation (libidn2).
11878 * libidn: Remove subdirectory.
11879 * LICENSES: Do not mention licensing conditions for the removed
11881 * config.h.in (HAVE_LIBIDN): Remove.
11882 * include/dlfcn.h (__libc_dlopen): Update comment.
11883 * include/idna.h: Remove file.
11884 * inet/Makefile (routines): Add idna.
11885 (tests-static, tests-internal): Add tst-idna_name_classify.
11886 (LOCALES): Generate locales for tests.
11887 (tst-idna_name_classify.out): Depend on generated locales.
11888 * inet/idna_name_classify.c: New file.
11889 * inet/tst-idna_name_classify.c: Likewise.
11890 * inet/net-internal.h (__idna_to_dns_encoding)
11891 (__idna_from_dns_encoding): Declare.
11892 * inet/net-internal.h (enum idna_name_classification): Define.
11893 (__idna_name_classify): Declare.
11894 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
11895 __idna_from_dns_encoding.
11896 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
11897 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
11898 name as a fallback in case of encoding errors.
11899 (getnameinfo): Use DEPRECATED_NI_IDN.
11900 * inet/idna.c: New file.
11901 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
11902 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
11903 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
11904 (modules-names): Add tst-no-libidn2.
11905 (extra-test-objs): Add tst-no-libidn2.os.
11906 (LDFLAGS-tst-no-libidn2.so): Set soname.
11907 (LOCALES): Set, and generate locales.
11908 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
11909 (tst-resolv-ai_idn-latin1): Likewise.
11910 (tst-resolv-ai_idn-nolibidn2): Likewise.
11911 (tst-resolv-ai_idn.out): Depend on locales.
11912 (tst-resolv-ai_idn-latin1.out): Depend on locales.
11913 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
11915 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
11916 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
11917 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
11918 * resolv/tst-resolv-ai_idn.c: New file.
11919 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
11920 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
11921 * resolv/tst-no-libidn2.c: Likewise.
11922 * support/support_format_addrinfo.c (format_ai_flags): Do not
11923 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
11924 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
11925 (gaih_inet): Call __idna_to_dns_encoding and
11926 __idna_from_dns_encoding, and use the original (punycode) name if
11927 __idna_from_dns_encoding fails due to an encoding error.
11928 (getaddrinfo): Use DEPRECATED_AI_IDN.
11929 * sysdeps/unix/inet/Subdirs (libidn): Remove.
11930 * sysdeps/unix/inet/configure: Remove file.
11931 * sysdeps/unix/inet/configure.ac: Likewise.
11933 2018-05-23 Florian Weimer <fweimer@redhat.com>
11935 Implement allocate_once.
11936 * include/allocate_once.h: New file.
11937 * misc/allocate_once.c: Likewise.
11938 * misc/tst-allocate_once.c: Likewise.
11939 * misc/Makefile (routines): Add allocate_once.
11940 (tests-internal): Add tst-allocate_once.
11941 (generated): Add tst-allocate_once.mtrace,
11942 tst-allocate_once-mem.out.
11943 (tests-special): Add tst-allocate_once-mem.out.
11944 (tst-allocate_once-ENV): Set MALLOC_TRACE.
11945 (tst-allocate_once-mem.out): Call mtrace.
11946 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
11948 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11951 * string/test-memcpy.c (do_test1): New function.
11952 (test_main): Call it.
11954 2018-05-23 Andreas Schwab <schwab@suse.de>
11958 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
11959 (L(preloop_large)): Save initial destination pointer in %r11 and
11960 use it instead of %rax after the loop.
11961 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
11963 2018-05-22 Joseph Myers <joseph@codesourcery.com>
11965 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
11966 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
11967 -I../soft-fp. Moved from ....
11968 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
11969 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
11970 * sysdeps/aarch64/e_sqrtl.c: ... here.
11971 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
11972 * sysdeps/aarch64/sfp-machine.h: ... here.
11974 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
11975 -Wmaybe-uninitialized around access to fq[0].
11976 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11980 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
11981 aliases for non-libc case of versioned symbols.
11982 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
11983 (llseek): Define as compat symbol if
11984 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
11986 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
11987 Make into a compat symbol, disabled for minimum symbol version
11988 GLIBC_2.28 and later.
11989 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
11991 2018-05-22 Florian Weimer <fweimer@redhat.com>
11993 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
11994 not add -mpreferred-stack-boundary=4.
11995 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
11996 (stack-align-test-flags): Likewise.
11997 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
11999 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
12000 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
12001 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
12002 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
12003 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
12004 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
12005 (CFLAGS-tst-align2.c): Likewise.
12007 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
12009 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
12010 (index_arch_Prefer_FSRM): Likewise.
12011 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
12012 Also check Prefer_FSRM.
12013 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
12014 Also return OPTIMIZE (erms) for Prefer_FSRM.
12016 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
12018 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
12019 (index_cpu_FSRM): Likewise.
12020 (reg_FSRM): Likewise.
12022 2018-05-18 Joseph Myers <joseph@codesourcery.com>
12024 * math/gen-tgmath-tests.py: Import sys.
12025 (Tests.__init__): Initialize macros_seen.
12026 (Tests.add_tests): Add macro to macros_seen. Only generate tests
12027 if requested to do so for this macro.
12028 (Tests.add_all_tests): Take argument for macro for which to
12030 (Tests.check_macro_list): New function.
12031 (main): Handle check-list argument and argument specifying macro
12032 for which to generate tests.
12033 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
12034 [PYTHON] (tgmath3-macro-tests): Likewise.
12035 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
12036 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
12037 not test-tgmath3.c.
12038 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
12039 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
12041 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
12042 [PYTHON] ($(foreach
12043 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
12045 [PYTHON] (tests-special): Add
12046 $(objpfx)test-tgmath3-macro-list.out.
12047 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
12049 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
12050 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
12054 * time/tzset.c (SECSPERDAY): Cast to time_t.
12055 * time/tst-y2039.c: New file.
12056 * time/Makefile (tests): Add tst-y2039.
12058 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12060 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12061 (PREFETCH_ONE_SET): Remove duplicate line.
12063 2018-05-17 Florian Weimer <fweimer@redhat.com>
12065 * sysdeps/generic/math-type-macros-double.h: Include
12066 <math-nan-payload-double.h> after <libm-alias-double.h>.
12067 * sysdeps/generic/math-type-macros-float.h: Include
12068 <math-nan-payload-float.h> after <libm-alias-float.h>.
12069 * sysdeps/generic/math-type-macros-float128.h: Include
12070 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
12071 * sysdeps/generic/math-type-macros-ldouble.h: Include
12072 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
12074 2018-05-17 Andreas Schwab <schwab@suse.de>
12076 * resolv/res_send.c (__res_context_send): Don't set errno when
12077 returing error after malloc failure.
12079 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
12081 * nptl/allocatestack.c (allocate_stack): Remove the
12082 !__ASSUME_PRIVATE_FUTEX paths.
12083 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
12084 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12086 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
12087 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
12088 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
12089 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
12090 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
12091 !__ASSUME_PRIVATE_FUTEX path.
12092 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
12093 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
12094 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
12095 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
12096 !__ASSUME_PRIVATE_FUTEX macros.
12097 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12098 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
12099 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
12100 * sysdeps/unix/sysv/linux/kernel-features.h
12101 (__ASSUME_PRIVATE_FUTEX): Removed.
12103 2018-05-17 Joseph Myers <joseph@codesourcery.com>
12105 * math/Makefile (libm-narrow-fns): Add div.
12106 (libm-test-funcs-narrow): Likewise.
12107 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
12108 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
12109 * math/gen-auto-libm-tests.c (test_functions): Add div.
12110 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
12111 (NARROW_DIV_ROUND_TO_ODD): Likewise.
12112 (NARROW_DIV_TRIVIAL): Likewise.
12113 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
12115 (__ddivl): Likewise.
12116 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
12118 (CFLAGS-nldbl-ddiv.c): New variable.
12119 (CFLAGS-nldbl-fdiv.c): Likewise.
12120 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12122 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
12124 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
12125 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
12126 * math/auto-libm-test-in: Add tests of div.
12127 * math/auto-libm-test-out-narrow-div: New generated file.
12128 * math/libm-test-narrow-div.inc: New file.
12129 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
12130 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
12131 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
12132 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
12133 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
12134 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
12135 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
12136 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
12137 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
12138 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
12139 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
12140 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
12141 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
12142 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
12143 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
12144 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
12145 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
12146 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
12147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12148 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12149 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12150 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12151 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12152 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12153 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12154 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12155 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12156 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12157 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12158 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12159 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12160 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12165 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12166 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12167 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12168 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12169 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12170 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12171 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12172 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12174 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12177 * nscd/nscd-client.h (sendfileall): Remove prototype.
12178 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
12179 (handle_request): Use writeall instead of sendfileall.
12180 * nscd/aicache.c (addhstaiX): Likewise.
12181 * nscd/grpcache.c (cache_addgr): Likewise.
12182 * nscd/hstcache.c (cache_addhst): Likewise.
12183 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12184 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
12185 * nscd/pwdcache.c (cache_addpw): Likewise.
12186 * nscd/servicescache.c (cache_addserv): Likewise.
12187 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
12188 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
12189 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
12192 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
12194 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
12195 Include <string/strncat.c>.
12196 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
12198 (__GI___strncat): New hidden alias.
12200 2018-05-16 Joseph Myers <joseph@codesourcery.com>
12202 * sysdeps/mips/mips32/libm-test-ulps: Update.
12203 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12205 2018-05-16 Florian Weimer <fweimer@redhat.com>
12207 * support/Makefile (libsupport-routines): Add support_quote_blob,
12208 support_test_compare_blob.
12209 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
12210 * support/check.h (TEST_COMPARE_BLOB): Define.
12211 (support_test_compare_blob): Declare.
12212 * support/support.h (support_quote_blob): Declare.
12213 * support/support_quote_blob.c: New file.
12214 * support/support_test_compare_blob.c: Likewise.
12215 * support/tst-support_quote_blob.c: Likewise.
12216 * support/tst-test_compare_blob.c: Likewise.
12218 2018-05-16 Florian Weimer <fweimer@redhat.com>
12220 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
12221 of <strtod_nan_double.h>.
12222 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
12223 instead of SET_MANTISSA.
12224 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
12225 of include <strtod_nan_float.h>.
12226 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
12227 instead of <strtod_nan_ldouble.h>.
12228 * stdlib/strtod_nan_double.h: Move to ...
12229 * sysdeps/generic/math-nan-payload-double.h: ... here.
12230 (FLOAT): Remove definition.
12231 (SET_MANTISSA): Rename to ...
12232 (SET_NAN_PAYLOAD): ... this.
12233 * stdlib/strtod_nan_float.h: Move to ...
12234 * sysdeps/generic/math-nan-payload-float.h: ... here.
12235 (FLOAT): Remove definition.
12236 (SET_MANTISSA): Rename to ...
12237 (SET_NAN_PAYLOAD): ... this.
12238 * sysdeps/generic/math-type-macros-double.h: Include
12239 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
12240 instead of <math-svid-compat.h>.
12241 * sysdeps/generic/math-type-macros-float.h: Include
12242 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
12243 instead of <math-svid-compat.h>.
12244 * sysdeps/generic/math-type-macros-float128.h: Include
12245 <math-nan-payload-float128.h>.
12246 * sysdeps/generic/math-type-macros-ldouble.h: Include
12247 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
12248 instead of <math-svid-compat.h>.
12249 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
12250 check for definition.
12251 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
12252 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
12253 Include <ieee754_float128.h>.
12254 (FLOAT): Remove definition.
12255 (SET_MANTISSA): Rename to ...
12256 (SET_NAN_PAYLOAD): ... this.
12257 * sysdeps/ieee754/float128/strtof128_nan.c: Include
12258 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
12259 Do not include <float128_private.h>.
12260 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
12261 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
12262 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
12263 (FLOAT): Remove definition.
12264 (SET_MANTISSA): Rename to ...
12265 (SET_NAN_PAYLOAD): ... this.
12266 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
12267 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
12268 (FLOAT): Remove definition.
12269 (SET_MANTISSA): Rename to ...
12270 (SET_NAN_PAYLOAD): ... this.
12271 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
12272 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
12273 (FLOAT): Remove definition.
12274 (SET_MANTISSA): Rename to ...
12275 (SET_NAN_PAYLOAD): ... this.
12276 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
12277 of "../stdlib/strtod_nan_double.h".
12278 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
12279 of "../stdlib/strtod_nan_float.h".
12280 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
12281 instead of "../stdlib/strtod_nan_ldouble.h".
12282 * manual/arith.texi (Parsing of Floats): Adjust comment.
12284 2018-05-16 Joseph Myers <joseph@codesourcery.com>
12286 * math/Makefile (libm-narrow-fns): Add mul.
12287 (libm-test-funcs-narrow): Likewise.
12288 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
12289 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
12290 * math/gen-auto-libm-tests.c (test_functions): Add mul.
12291 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
12292 (NARROW_MUL_ROUND_TO_ODD): Likewise.
12293 (NARROW_MUL_TRIVIAL): Likewise.
12294 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
12295 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
12297 (__dmull): Likewise.
12298 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
12300 (CFLAGS-nldbl-dmul.c): New variable.
12301 (CFLAGS-nldbl-fmul.c): Likewise.
12302 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12304 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
12306 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
12307 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
12308 * math/auto-libm-test-in: Add tests of mul.
12309 * math/auto-libm-test-out-narrow-mul: New generated file.
12310 * math/libm-test-narrow-mul.inc: New file.
12311 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
12312 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
12313 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
12314 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
12315 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
12316 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
12317 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
12318 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
12319 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
12320 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
12321 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
12322 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
12323 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
12324 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
12325 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
12326 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
12327 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
12328 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
12329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12330 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12331 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12332 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12333 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12334 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12335 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12336 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12337 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12338 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12339 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12340 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12341 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12342 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12347 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12348 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12349 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12350 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12351 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12352 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12353 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12354 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12356 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12358 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
12359 with *%eax in call.
12361 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12363 * sysdeps/i386/ldsodefs.h: Removed.
12364 * sysdeps/x86_64/ldsodefs.h: Moved to ...
12365 * sysdeps/x86/ldsodefs.h: This.
12366 (La_i86_regs): New.
12367 (La_i86_retval): Likewise.
12368 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
12369 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
12371 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12373 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
12376 2018-05-13 Alan Modra <amodra@gmail.com>
12378 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
12379 R_PARISC_TLS_DTPOFF32 reloc addend.
12381 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12383 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
12384 * math/math.h: Restrict the prototype definition for the functions
12385 issignaling(_Float128) and iszero(_Float128); and template
12386 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
12387 __HAVE_FLOAT128_UNLIKE_LDBL.
12388 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
12389 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
12390 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
12391 __f128() constants; define the type _Float128 as long double;
12392 and reuse long double in __CFLOAT128.
12394 2018-05-11 Joseph Myers <joseph@codesourcery.com>
12396 * sysdeps/generic/math_private.h: Do not include
12398 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
12400 * math/fromfp.h: Include <math-barriers.h>.
12401 * math/math-narrow.h: Likewise.
12402 * math/s_nextafter.c: Likewise.
12403 * math/s_nexttowardf.c: Likewise.
12404 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
12405 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
12406 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
12407 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
12408 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12409 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12410 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12411 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12412 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12413 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12414 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12415 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12416 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12417 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12418 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12419 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12420 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12421 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12422 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12423 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12424 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12425 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12426 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12427 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12428 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12429 * sysdeps/ieee754/k_standardl.c: Likewise.
12430 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12431 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12432 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12433 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12434 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12435 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12436 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12437 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12438 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12439 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12440 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12441 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12442 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12443 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12444 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12445 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12446 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12447 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12448 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12449 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12450 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
12451 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
12453 2018-05-11 Florian Weimer <fweimer@redhat.com>
12455 Use 64-bit epoch values in the time zone file parser.
12456 * include/time.h (internal_time_t): Define.
12457 (__tzfile_compute): Use it.
12458 * time/tzfile.c (struct leap): Use internal_time_t for epoch
12460 (transitions): Switch to internal_time_t.
12461 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
12463 (__tzfile_compute): Use internal_time_t for timer argument. Check
12464 for truncation before calling __offtime.
12466 2018-05-11 Florian Weimer <fweimer@redhat.com>
12469 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
12470 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
12472 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
12473 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
12474 export without --enable-obsolete-rpc.
12475 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
12476 symbol. This should not have been exported, ever.
12478 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
12481 * localedata/locales/gd_GB (abmon): Fix typo in May:
12482 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
12484 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
12486 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
12487 Use multiple registers to copy data in loop tail.
12489 * sysdeps/aarch64/multiarch/memmove_falkor.S
12490 (__memmove_falkor): Use multiple registers to move data in
12493 2018-05-10 Joseph Myers <joseph@codesourcery.com>
12495 * math/math-underflow.h: New file.
12496 * sysdeps/generic/math_private.h: Do not include <float.h>.
12497 (fabs_tg): Remove macro. Moved to math-underflow.h.
12498 (min_of_type_f): Likewise.
12499 (min_of_type_): Likewise.
12500 (min_of_type_l): Likewise.
12501 (min_of_type_f128): Likewise.
12502 (min_of_type): Likewise.
12503 (math_check_force_underflow): Likewise.
12504 (math_check_force_underflow_nonneg): Likewise.
12505 (math_check_force_underflow_complex): Likewise.
12506 * math/e_exp2_template.c: Include <math-underflow.h>.
12507 * math/k_casinh_template.c: Likewise.
12508 * math/s_catan_template.c: Likewise.
12509 * math/s_catanh_template.c: Likewise.
12510 * math/s_ccosh_template.c: Likewise.
12511 * math/s_cexp_template.c: Likewise.
12512 * math/s_clog10_template.c: Likewise.
12513 * math/s_clog_template.c: Likewise.
12514 * math/s_csin_template.c: Likewise.
12515 * math/s_csinh_template.c: Likewise.
12516 * math/s_csqrt_template.c: Likewise.
12517 * math/s_ctan_template.c: Likewise.
12518 * math/s_ctanh_template.c: Likewise.
12519 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12520 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12521 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12522 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12523 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12524 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12525 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12526 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12527 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12528 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12529 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12530 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12531 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12532 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12533 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12534 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12535 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12536 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12537 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12538 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12539 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12540 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12541 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12542 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12543 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12544 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12545 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12546 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12547 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12548 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12549 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12550 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12551 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12552 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12553 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12554 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12555 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12556 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12557 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12558 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12559 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12560 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12561 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12562 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12563 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12564 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12565 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12566 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12567 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12568 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12569 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12570 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12571 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12572 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
12573 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12574 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12575 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12576 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12577 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12578 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12579 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12580 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
12581 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12582 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12583 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12584 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12585 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12586 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12587 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12588 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12589 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12590 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12591 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12592 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
12593 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12594 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12595 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12596 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12597 * sysdeps/x86/fpu/powl_helper.c: Likewise.
12598 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
12599 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
12600 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
12601 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
12602 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
12604 2018-05-09 Joseph Myers <joseph@codesourcery.com>
12606 * sysdeps/generic/math-barriers.h: New file.
12607 * sysdeps/generic/math_private.h [!math_opt_barrier]
12608 (math_opt_barrier): Move to math-barriers.h.
12609 [!math_opt_barrier] (math_force_eval): Likewise.
12610 * sysdeps/aarch64/fpu/math-barriers.h: New file.
12611 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
12613 (math_force_eval): Likewise.
12614 * sysdeps/alpha/fpu/math-barriers.h: New file.
12615 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
12617 (math_force_eval): Likewise.
12618 * sysdeps/x86/fpu/math-barriers.h: New file.
12619 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
12621 (math_force_eval): Likewise.
12622 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
12623 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
12624 multiple-include guard for rename.
12625 * sysdeps/powerpc/fpu/math-barriers.h: New file.
12626 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
12628 (math_force_eval): Likewise.
12630 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
12634 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
12636 * stdlib/Makefile (test-bz22786): New test.
12637 * stdlib/test-bz22786.c: New test.
12639 2018-05-09 Joseph Myers <joseph@codesourcery.com>
12641 * include/math-narrow-eval.h: New file. Contents moved from ....
12642 * sysdeps/generic/math_private.h: ... here.
12643 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
12644 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
12645 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
12646 * stdlib/strtod_l.c: Likewise.
12647 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
12648 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12649 * sysdeps/i386/fpu/s_fdim.c: Likewise.
12650 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12651 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12652 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12653 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12654 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12655 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12656 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
12657 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12658 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
12659 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12660 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12661 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12662 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12663 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12664 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12665 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12666 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12667 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12668 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12669 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12670 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12671 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12672 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12673 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12674 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12675 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
12677 2018-05-08 Andreas Schwab <schwab@suse.de>
12679 * sysdeps/nptl/internaltypes.h: Fix comment.
12681 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
12683 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12684 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
12687 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
12689 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
12690 of I into loop header.
12691 * benchtests/bench-memmove-walk.c
12692 (test_main): Likewise.
12694 2018-05-07 Alexandre Oliva <oliva@gnu.org>
12697 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
12698 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
12700 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12703 * elf/dl-load.c (open_verify): Fix stack overflow.
12704 * elf/Makefile (tst-big-note): New test.
12705 * elf/tst-big-note-lib.S: New.
12706 * elf/tst-big-note.c: New.
12708 2018-05-04 Joseph Myers <joseph@codesourcery.com>
12710 * scripts/abilist.awk: Ignore absolute symbols.
12711 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
12712 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
12713 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
12714 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
12715 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
12716 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
12717 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12718 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
12719 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
12720 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
12721 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
12722 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
12723 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
12724 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
12725 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
12726 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
12727 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
12728 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
12729 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12730 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
12731 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
12732 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
12733 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
12734 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
12735 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
12736 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
12737 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
12738 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
12739 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12740 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
12741 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
12742 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12743 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
12744 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
12745 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
12746 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
12747 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
12748 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
12749 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
12750 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
12751 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
12752 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12753 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
12754 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
12755 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12756 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
12757 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
12758 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
12759 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
12760 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
12761 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
12762 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
12763 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
12764 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
12765 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12766 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
12767 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
12768 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12769 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
12770 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
12771 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
12772 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
12773 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
12774 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
12775 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
12776 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
12777 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
12778 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12779 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
12780 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
12781 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12782 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
12783 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
12784 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
12785 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
12786 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
12787 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
12788 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
12789 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
12790 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
12791 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12792 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
12793 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
12794 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12795 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
12796 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
12797 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
12798 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
12799 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
12800 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
12801 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
12802 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
12804 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
12805 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12806 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
12807 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
12808 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12809 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
12810 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
12811 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
12812 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
12813 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
12814 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
12815 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
12816 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
12818 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
12819 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12820 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
12821 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
12822 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12823 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
12824 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
12825 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
12826 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
12827 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
12828 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
12829 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
12830 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
12831 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
12832 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12833 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
12834 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
12835 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12836 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
12837 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
12838 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
12839 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
12840 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
12841 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
12842 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12843 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
12844 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
12846 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
12847 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
12848 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
12849 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
12850 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12851 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
12852 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
12853 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
12854 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
12855 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
12856 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
12857 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
12858 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
12859 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
12860 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
12861 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
12862 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
12863 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
12864 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12865 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
12867 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
12868 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
12869 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
12870 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12871 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
12872 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
12873 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
12874 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
12875 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
12876 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
12877 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12878 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
12879 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
12880 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12881 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
12882 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
12883 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
12884 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
12885 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12886 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
12887 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
12888 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12889 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
12890 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
12891 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
12892 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
12893 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
12894 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
12895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
12896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
12898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
12900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
12901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
12902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
12903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
12904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
12906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
12908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
12909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
12911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
12912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
12917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
12918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
12920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
12922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
12924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
12925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
12929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
12930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
12931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
12932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
12936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
12937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
12943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
12945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
12946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
12947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
12949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
12951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
12953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
12954 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
12955 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
12957 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
12958 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12959 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
12960 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
12961 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12962 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
12963 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
12964 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
12965 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
12966 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
12967 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
12968 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
12969 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
12970 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
12972 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12973 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
12974 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
12975 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12976 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
12977 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
12978 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
12979 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
12980 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
12981 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
12982 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
12983 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
12985 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12986 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
12987 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
12988 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12989 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
12990 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
12991 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
12992 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
12993 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
12994 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
12995 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
12996 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
12997 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
12998 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12999 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
13000 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
13001 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13002 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
13003 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
13004 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
13005 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
13006 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
13007 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
13008 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
13009 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
13011 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
13012 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13013 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
13014 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
13015 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13016 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
13017 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
13018 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
13019 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
13020 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
13021 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
13022 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
13023 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
13025 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
13026 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13027 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
13028 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
13029 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13030 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
13031 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
13032 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
13033 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
13034 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
13035 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
13036 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
13037 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
13038 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
13039 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13040 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
13041 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
13042 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13043 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
13044 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
13045 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
13046 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
13047 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
13048 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
13049 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
13050 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
13051 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
13052 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
13053 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13054 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
13055 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
13056 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13057 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
13058 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
13059 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
13060 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
13061 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
13062 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
13064 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
13067 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
13068 Use atomic_load_acquire to load __tid.
13070 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13072 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
13073 Restore the pointer into %rdx, after syscall and use %rdx,
13074 instead of %rsi, to restore context.
13076 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13078 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
13079 Pop the pointer into %rdx after syscall and use %rdx, instead
13080 of %rsi, to restore context.
13082 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13084 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
13085 handlers after setjmp.
13086 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
13088 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
13089 <libc-pointer-arith.h>.
13090 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
13091 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
13092 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
13093 _JUMP_BUF_SIGSET_BITS_PER_WORD.
13094 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
13095 * sysdeps/x86/__longjmp_cancel.S: New file.
13096 * sysdeps/x86/longjmp.c: Likewise.
13097 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
13099 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13101 * NEWS: Add ustat.h deprecation entry.
13102 * bits/ustat.h: Remove file.
13103 * misc/sys/ustat.h: Likewise.
13104 * misc/ustat.h: Likewise.
13105 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
13106 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
13107 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
13108 compatibility mode.
13109 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
13110 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
13111 generic Linux implementation.
13113 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13115 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
13116 * math/w_expl_compat.c: Likewise.
13117 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
13119 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
13121 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
13123 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13125 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
13126 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
13127 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
13129 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
13130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13131 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13132 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
13133 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
13136 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13138 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
13140 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
13141 * math/w_asin_template.c: Likewise.
13142 * math/w_atanh_template.c: Likewise.
13144 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13146 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
13147 to powerpc/powerpc64/be for big-endian.
13148 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
13151 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
13152 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
13153 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
13154 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
13155 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
13156 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
13157 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
13158 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
13159 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
13160 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13161 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
13162 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
13163 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
13164 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
13165 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
13166 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
13167 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
13168 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
13169 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
13170 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
13171 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
13172 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13173 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
13174 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
13175 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
13176 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13177 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
13178 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
13179 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
13180 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
13181 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
13182 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
13184 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
13185 adjusted to imply powerpc64 and older processors on powerpc64/be.
13186 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
13187 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
13188 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
13189 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
13190 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
13191 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
13192 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
13193 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
13194 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
13195 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
13196 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
13197 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
13198 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
13199 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
13200 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
13201 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
13202 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
13203 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
13204 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
13205 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
13206 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
13207 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
13208 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
13209 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
13210 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
13211 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
13212 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
13213 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
13214 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
13215 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
13216 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
13218 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
13219 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
13220 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
13221 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
13223 * sysdeps/powerpc/powerpc64/be/Implies: New file.
13224 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
13225 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
13226 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
13228 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
13229 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
13230 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
13231 * sysdeps/powerpc/powerpc64le/configure: Likewise.
13232 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
13233 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
13234 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
13235 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
13236 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
13237 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
13238 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
13240 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
13241 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
13242 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
13243 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
13244 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
13245 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
13246 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
13247 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
13248 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
13249 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
13250 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
13252 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
13253 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
13254 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
13255 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
13256 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
13257 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
13258 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
13259 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
13260 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
13261 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
13262 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
13263 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
13265 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
13266 and adjusted to imply olders processors.
13267 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
13268 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
13269 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
13270 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
13271 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
13272 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
13273 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
13274 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
13275 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
13276 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
13277 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
13279 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
13281 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
13282 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
13284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
13286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
13287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
13289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
13291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
13293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
13295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
13296 powerpc64 and adjusted.
13297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
13298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
13299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
13302 2018-04-27 Joseph Myers <joseph@codesourcery.com>
13304 * sysdeps/tile: Remove.
13305 * sysdeps/unix/sysv/linux/tile: Likewise.
13306 * README (tilegx-*-linux-gnu): Remove from list of supported
13308 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
13309 contribution of support for generic Linux kernel syscall
13311 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
13312 tilegx configurations.
13313 (Config.install_linux_headers): Do not handle tile.
13314 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
13316 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
13317 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
13318 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
13319 conditional undefine and redefine.
13320 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
13322 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
13323 conditional undefine and redefine.
13325 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
13327 * signal/tst-sigaction.c: New file to test BZ #23069.
13328 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
13330 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13333 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
13334 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
13335 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
13336 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
13338 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13340 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
13341 _DIRENT_MATCHES_DIRENT64 is not defined.
13342 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
13343 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
13345 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
13346 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
13348 2018-04-25 Joseph Myers <joseph@codesourcery.com>
13350 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
13351 version to GCC 8 branch.
13353 2018-04-24 Joseph Myers <joseph@codesourcery.com>
13355 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
13356 (check_no_hidden): Use type of original function when declaring
13359 * sysdeps/unix/sysv/linux/sys/ptrace.h
13360 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
13361 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
13362 (struct __ptrace_seccomp_metadata): New type.
13363 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
13364 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13365 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
13366 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13367 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
13368 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13369 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
13370 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13371 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
13372 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13373 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
13374 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13375 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
13376 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13377 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
13378 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13380 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13382 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
13384 * dirent/versionsort.c (versionsort): Likewise.
13385 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
13386 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
13387 * dirent/versionsort64.c (versionsort64): Likewise.
13388 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
13389 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
13390 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
13391 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
13392 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
13393 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
13394 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
13395 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
13396 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
13397 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
13398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
13399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
13400 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
13401 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
13403 2018-04-23 Joseph Myers <joseph@codesourcery.com>
13405 * elf/elf.h (NT_PPC_PKEY): New macro.
13407 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
13410 * localedata/locales/hr_HR: fix thousands_sep and
13413 2018-04-20 Joseph Myers <joseph@codesourcery.com>
13415 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
13416 (XTABS): Define to TAB3.
13418 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13420 * sysdeps/hppa/fpu/libm-test-ulps: Update.
13422 * dirent/scandir-tail-common.c: New file.
13423 * dirent/scandir-tail.c: Use scandir-tail-common.c.
13424 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
13425 * dirent/scandir.c: Use scandir-tail-common.c.
13426 * dirent/scandirat.c: Likewise.
13427 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
13428 * dirent/scandir64.c (scandir64): Always build and alias to scandir
13429 if _DIRENT_MATCHES_DIRENT64 is defined.
13430 * dirent/scandirat64.c (scandirat64): Likewise.
13431 * include/dirent.h (__scandir_tail): Only define iff
13432 _DIRENT_MATCHES_DIRENT64 is not defined.
13433 (__scandir64_tail): Define regardless.
13434 (__scandirat, scandirat64): Remove libc_hidden_proto.
13435 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
13436 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
13437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
13438 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
13439 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13440 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
13441 * sysdeps/unix/sysv/linux/scandir64.c: New file.
13443 2018-04-20 Joseph Myers <joseph@codesourcery.com>
13445 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
13447 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
13449 (_dl_aarch64_cap_flags): Add asimdfhm.
13451 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
13453 * sysdeps/nios2/libm-test-ulps: Update.
13455 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13457 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
13458 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
13460 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
13462 (_DIRENT_MATCHES_DIRENT64): Undef
13463 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
13464 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
13465 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
13466 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
13467 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
13468 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
13469 use getdents64 syscalls as base.
13470 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
13471 symbol if required.
13472 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
13473 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
13474 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
13475 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
13476 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
13477 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
13478 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
13479 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
13480 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13481 (__get_clockfreq_via_proc_openprom): Use __getdents64.
13482 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
13484 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13486 * scripts/test_printers_common.py (init_test): Disable lock elision.
13488 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13490 * math/test-tgmath.c (count_double, count_float,
13491 count_ldouble, count_cdouble, count_cfloat,
13492 count_cldouble): Use volatile int.
13494 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
13496 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
13497 (conformtest-xfail-conds): Add i386-gnu.
13498 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
13500 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
13501 ipc_perm.cuid, ipc_perm.cgid): Likewise.
13502 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
13503 msqid_ds.msg_lrpid): Likewise.
13504 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
13506 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
13507 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
13508 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
13509 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
13511 (struct statvfs64): Likewise.
13512 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
13514 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
13515 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
13516 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
13517 instead of wait_queue.
13518 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
13519 instead of vm_area_struct.
13520 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
13521 struct sched_param definition to it.
13522 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13523 * bits/types/struct_sched_param.h: New file.
13524 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
13525 <bits/types/struct_sched_param.h> instead of <sched.h>.
13526 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
13527 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
13528 generic version but include <bits/pthreadtypes.h> to make struct
13529 sigevent's sigev_notify_attributes field a pthread_attr_t*.
13530 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
13532 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
13533 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
13534 [__USE_XOPEN] (OFDEL): New macro.
13535 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
13536 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
13537 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
13539 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
13540 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
13541 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
13543 * sysdeps/i386/sys/ucontext.h: Likewise.
13544 * sysdeps/m68k/sys/ucontext.h: Likewise.
13545 * sysdeps/mips/sys/ucontext.h: Likewise.
13546 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
13547 * sysdeps/mach/hurd/i386/Makefile
13548 (test-xfail-POSIX/fcntl.h/conform): Add.
13549 (test-xfail-POSIX/signal.h/conform): Add.
13550 (test-xfail-POSIX/semaphore.h/conform): Add.
13551 (test-xfail-POSIX/regex.h/conform): Add.
13552 (test-xfail-POSIX/aio.h/conform): Add.
13553 (test-xfail-POSIX/mqueue.h/conform): Add.
13554 (test-xfail-POSIX/sys/types.h/conform): Add.
13555 (test-xfail-UNIX98/fcntl.h/conform): Add.
13556 (test-xfail-UNIX98/netdb.h/conform): Add.
13557 (test-xfail-UNIX98/signal.h/conform): Add.
13558 (test-xfail-UNIX98/semaphore.h/conform): Add.
13559 (test-xfail-UNIX98/regex.h/conform): Add.
13560 (test-xfail-UNIX98/aio.h/conform): Add.
13561 (test-xfail-UNIX98/ftw.h/conform): Add.
13562 (test-xfail-UNIX98/mqueue.h/conform): Add.
13563 (test-xfail-UNIX98/netinet/in.h/conform): Add.
13564 (test-xfail-UNIX98/sys/wait.h/conform): Add.
13565 (test-xfail-UNIX98/sys/sem.h/conform): Add.
13566 (test-xfail-UNIX98/sys/uio.h/conform): Add.
13567 (test-xfail-UNIX98/sys/socket.h/conform): Add.
13568 (test-xfail-UNIX98/sys/types.h/conform): Add.
13569 (test-xfail-UNIX98/stdlib.h/conform): Add.
13570 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
13571 (test-xfail-POSIX2008/fcntl.h/conform): Add.
13572 (test-xfail-POSIX2008/netdb.h/conform): Add.
13573 (test-xfail-POSIX2008/signal.h/conform): Add.
13574 (test-xfail-POSIX2008/semaphore.h/conform): Add.
13575 (test-xfail-POSIX2008/regex.h/conform): Add.
13576 (test-xfail-POSIX2008/aio.h/conform): Add.
13577 (test-xfail-POSIX2008/mqueue.h/conform): Add.
13578 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
13579 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
13580 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
13581 (test-xfail-POSIX2008/sys/types.h/conform): Add.
13582 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
13583 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
13584 (test-xfail-XOPEN2K/netdb.h/conform): Add.
13585 (test-xfail-XOPEN2K/signal.h/conform): Add.
13586 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
13587 (test-xfail-XOPEN2K/regex.h/conform): Add.
13588 (test-xfail-XOPEN2K/aio.h/conform): Add.
13589 (test-xfail-XOPEN2K/ftw.h/conform): Add.
13590 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
13591 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
13592 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
13593 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
13594 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
13595 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
13596 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
13597 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
13598 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
13599 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
13600 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
13601 (test-xfail-XOPEN2K8/signal.h/conform): Add.
13602 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
13603 (test-xfail-XOPEN2K8/regex.h/conform): Add.
13604 (test-xfail-XOPEN2K8/aio.h/conform): Add.
13605 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
13606 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
13607 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
13608 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
13609 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
13610 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
13611 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
13612 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
13613 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
13614 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
13615 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
13617 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
13618 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
13620 2018-04-18 Joseph Myers <joseph@codesourcery.com>
13622 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
13623 --enable-obsolete for powerpc-linux-gnuspe.
13625 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13627 * conform/data/sys/un.h-data: Allow sun_ prefix.
13628 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
13630 * sysdeps/mach/include/mach.h: Likewise.
13631 * sysdeps/mach/include/mach/mig_support.h: Likewise.
13632 * sysdeps/mach/include/mach_error.h: Likewise.
13634 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13636 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
13637 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
13638 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
13639 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
13641 2018-04-16 Andreas Schwab <schwab@suse.de>
13644 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
13646 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
13648 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
13649 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
13651 2018-04-12 DJ Delorie <dj@redhat.com>
13653 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13656 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
13658 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
13659 (struct kernel_sigaction): Use the same definition on 31bit as is used
13662 2018-04-09 Florian Weimer <fweimer@redhat.com>
13665 * resolv/res_send.c (send_dg): Use designated initializers instead
13666 of assignment to zero-initialize other fields of struct mmsghdr.
13668 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13670 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
13671 __READDIR_ALIAS): Undefine after usage.
13672 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
13673 __READDIR_R_ALIAS): Likewise.
13674 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
13675 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
13676 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
13677 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
13678 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
13679 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
13680 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13681 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13682 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
13683 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
13684 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
13685 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
13686 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13687 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
13688 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
13689 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
13690 * sysdeps/unix/sysv/linux/readdir.c: New file.
13691 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
13692 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
13693 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
13695 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
13697 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
13699 * manual/charset.texi (Converting a Character): Fix typo.
13701 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13703 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13705 * sysdeps/arm/libm-test-ulps: Update.
13707 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
13708 as base implementation.
13709 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13710 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13711 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13712 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13713 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13714 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
13715 remove unrequired definitions and update comments.
13716 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
13717 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
13718 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
13719 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
13720 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
13721 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
13722 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
13723 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
13724 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
13725 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
13726 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
13727 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13728 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13729 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
13730 and RESET_SA_RESTORER hooks.
13732 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
13734 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13736 2018-04-05 Florian Weimer <fweimer@redhat.com>
13738 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
13739 integer overflow, memory leak on error, and indeterminate errno
13740 value. Add a null wide character to terminate the result string.
13741 * manual/charset.texi (Converting a Character): Mention embedded
13742 null bytes in the mbrtowc input string. Explain what happens in
13743 the -2 result case. Do not claim that mbrtowc is simple or
13744 obvious to use. Adjust the description of the code example. Use
13745 @code, not @var, for concrete variables.
13747 2018-04-05 Florian Weimer <fweimer@redhat.com>
13749 * manual/examples/mbstouwcs.c: New file.
13750 * manual/charset.texi (Converting a Character): Include it.
13752 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13754 * include/dirent.h (dirfd): Add hidden proto.
13755 * dirent/dirfd.c (dirfd): Add hidden def.
13756 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
13757 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
13759 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13761 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
13762 sin, cos and sincos to 1 ULP.
13764 2018-04-04 Maciej W. Rozycki <macro@mips.com>
13767 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
13769 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
13770 * elf/tst-absolute-sym.c: New file.
13771 * elf/tst-absolute-sym-lib.c: New file.
13772 * elf/tst-absolute-sym-lib.lds: New file.
13773 * elf/Makefile (tests): Add `tst-absolute-sym'.
13774 (modules-names): Add `tst-absolute-sym-lib'.
13775 (LDLIBS-tst-absolute-sym-lib.so): New variable.
13776 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
13777 ($(objpfx)tst-absolute-sym): New dependency.
13780 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
13782 (SYMBOL_ADDRESS): New macro.
13783 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
13784 SYMBOL_ADDRESS for symbol address calculation.
13785 * elf/dl-runtime.c (_dl_fixup): Likewise.
13786 (_dl_profile_fixup): Likewise.
13787 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
13788 * elf/rtld.c (dl_main): Likewise.
13789 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
13790 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
13791 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
13792 (elf_machine_rela): Likewise.
13793 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
13794 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
13795 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13796 (elf_machine_rela): Likewise.
13797 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13798 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
13799 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
13800 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
13802 (elf_machine_reloc): Likewise.
13803 (elf_machine_got_rel): Likewise.
13804 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
13805 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
13806 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13808 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13810 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
13811 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13813 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13815 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13816 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13818 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13820 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
13821 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13823 2018-04-04 Zack Weinberg <zackw@panix.com>
13825 * sysdeps/generic/internal-signals.h: Include signal.h,
13826 sigsetops.h, and stdbool.h.
13827 (__libc_signal_block_all): Actually block all signals.
13828 (__libc_signal_block_app): Likewise.
13829 (__libc_signal_restore_set): Actually restore the signal mask.
13831 2018-04-04 Florian Weimer <fweimer@redhat.com>
13833 inet: Actually build and run tst-deadline.
13834 * inet/Makefile (tests-internal): Add tst-deadline and do not
13835 overwrite the variable.
13836 (tests-static-internal): Remove variable.
13838 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
13841 * bits/uio-ext.h (RWF_APPEND): New.
13842 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
13843 * manual/llio.texi: Document RWF_APPEND.
13844 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
13845 (RWF_SUPPORTED): Add RWF_APPEND.
13847 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13850 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
13851 check for internal nptl signals.
13852 * nptl/sigaction.c (__sigaction): Likewise.
13853 * signal/sigaddset.c (sigaddset): Likewise.
13854 * signal/sigdelset.c (sigdelset): Likewise.
13855 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
13856 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
13858 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
13859 to filter out internal nptl signals.
13860 * signal/tst-sigset.c (do_test): Check ech signal indidually and
13861 also check realtime signals using standard macros.
13862 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
13863 __is_internal_signal, __libc_signal_block_all,
13864 __libc_signal_block_app, __libc_signal_restore_set): New functions.
13865 * sysdeps/nptl/sigfillset.c: Remove file.
13866 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
13867 Change return to bool.
13868 (__clear_internal_signals): Remove SIGTIMER clean since it is
13869 equal to SIGCANEL on Linux.
13870 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
13871 signal set was constructed using standard functions.
13873 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
13875 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
13876 ifname is too long.
13877 * hurd/hurdsig.c (interrupted_reply_port_location): Use
13878 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
13879 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
13881 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
13882 * signal/sigaddset.c: Include <sigsetopts.h>.
13883 * signal/sigdelset.c: Likewise.
13885 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13887 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
13889 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
13890 logic as sin and cos.
13892 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13894 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
13895 inputs. Return correct sign.
13896 (do_sincos): Remove small input check before do_sin, let do_sin set
13901 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13903 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
13904 (do_cos_slow): Likewise.
13905 (do_sin_slow): Likewise.
13906 (reduce_and_compute): Likewise.
13911 (sloww1): Likewise.
13912 (sloww2): Likewise.
13914 (bslow1): Likewise.
13915 (bslow2): Likewise.
13916 (cslow2): Likewise.
13918 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13920 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
13921 (do_cos): Remove corp parameter and calculations.
13922 (do_sin): Likewise.
13923 (do_sincos): Remove cor variable.
13924 (__sin): Use do_sincos for huge inputs.
13926 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13927 (reduce_and_compute_sincos): Remove unused function.
13929 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13931 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
13932 reduce_sincos, improve accuracy to 136 bits.
13933 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
13934 (__sin): Use improved reduction and simplified do_sincos calculation.
13936 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13938 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13940 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
13941 (do_sincos_2): Likewise.
13942 (__sin): Remove middle range reduction case.
13944 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
13947 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13949 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
13950 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
13953 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
13955 2018-04-03 Joseph Myers <joseph@codesourcery.com>
13957 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13960 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13962 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
13963 Remove definitions.
13964 (opendir_oflags): Use O_DIRECTORY regardless.
13965 (__opendir, __opendirat): Remove need_isdir_precheck usage.
13966 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
13968 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13970 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
13971 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
13973 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
13974 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
13975 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
13976 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
13977 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
13978 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
13980 * htl/Makefile: Bump licence to LGPL 2.1+.
13981 * htl/alloca_cutoff.c: Likewise.
13982 * htl/cthreads-compat.c: Likewise.
13983 * htl/lockfile.c: Likewise.
13984 * htl/pt-alloc.c: Likewise.
13985 * htl/pt-cancel.c: Likewise.
13986 * htl/pt-cleanup.c: Likewise.
13987 * htl/pt-create.c: Likewise.
13988 * htl/pt-dealloc.c: Likewise.
13989 * htl/pt-detach.c: Likewise.
13990 * htl/pt-exit.c: Likewise.
13991 * htl/pt-getattr.c: Likewise.
13992 * htl/pt-initialize.c: Likewise.
13993 * htl/pt-internal.h: Likewise.
13994 * htl/pt-join.c: Likewise.
13995 * htl/pt-self.c: Likewise.
13996 * htl/pt-setcancelstate.c: Likewise.
13997 * htl/pt-setcanceltype.c: Likewise.
13998 * htl/pt-sigmask.c: Likewise.
13999 * htl/pt-spin-inlines.c: Likewise.
14000 * htl/pt-testcancel.c: Likewise.
14001 * htl/pt-yield.c: Likewise.
14002 * htl/tests/test-1.c: Likewise.
14003 * htl/tests/test-10.c: Likewise.
14004 * htl/tests/test-11.c: Likewise.
14005 * htl/tests/test-12.c: Likewise.
14006 * htl/tests/test-13.c: Likewise.
14007 * htl/tests/test-14.c: Likewise.
14008 * htl/tests/test-15.c: Likewise.
14009 * htl/tests/test-16.c: Likewise.
14010 * htl/tests/test-17.c: Likewise.
14011 * htl/tests/test-2.c: Likewise.
14012 * htl/tests/test-3.c: Likewise.
14013 * htl/tests/test-4.c: Likewise.
14014 * htl/tests/test-5.c: Likewise.
14015 * htl/tests/test-6.c: Likewise.
14016 * htl/tests/test-7.c: Likewise.
14017 * htl/tests/test-8.c: Likewise.
14018 * htl/tests/test-9.c: Likewise.
14019 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
14020 * sysdeps/htl/bits/cancelation.h: Likewise.
14021 * sysdeps/htl/bits/pthread-np.h: Likewise.
14022 * sysdeps/htl/bits/pthread.h: Likewise.
14023 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
14024 * sysdeps/htl/bits/semaphore.h: Likewise.
14025 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
14026 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
14027 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
14028 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
14029 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
14030 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
14031 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
14032 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
14033 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
14034 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
14035 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
14036 * sysdeps/htl/old_pt-atfork.c: Likewise.
14037 * sysdeps/htl/pt-atfork.c: Likewise.
14038 * sysdeps/htl/pt-attr-destroy.c: Likewise.
14039 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
14040 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
14041 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
14042 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
14043 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
14044 * sysdeps/htl/pt-attr-getscope.c: Likewise.
14045 * sysdeps/htl/pt-attr-getstack.c: Likewise.
14046 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
14047 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
14048 * sysdeps/htl/pt-attr-init.c: Likewise.
14049 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
14050 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
14051 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
14052 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
14053 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
14054 * sysdeps/htl/pt-attr-setscope.c: Likewise.
14055 * sysdeps/htl/pt-attr-setstack.c: Likewise.
14056 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
14057 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
14058 * sysdeps/htl/pt-attr.c: Likewise.
14059 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
14060 * sysdeps/htl/pt-barrier-init.c: Likewise.
14061 * sysdeps/htl/pt-barrier-wait.c: Likewise.
14062 * sysdeps/htl/pt-barrier.c: Likewise.
14063 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
14064 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
14065 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
14066 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
14067 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
14068 * sysdeps/htl/pt-cond-destroy.c: Likewise.
14069 * sysdeps/htl/pt-cond-init.c: Likewise.
14070 * sysdeps/htl/pt-cond-signal.c: Likewise.
14071 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
14072 * sysdeps/htl/pt-cond-wait.c: Likewise.
14073 * sysdeps/htl/pt-cond.c: Likewise.
14074 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
14075 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
14076 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
14077 * sysdeps/htl/pt-condattr-init.c: Likewise.
14078 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
14079 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
14080 * sysdeps/htl/pt-destroy-specific.c: Likewise.
14081 * sysdeps/htl/pt-equal.c: Likewise.
14082 * sysdeps/htl/pt-getconcurrency.c: Likewise.
14083 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
14084 * sysdeps/htl/pt-getschedparam.c: Likewise.
14085 * sysdeps/htl/pt-getspecific.c: Likewise.
14086 * sysdeps/htl/pt-init-specific.c: Likewise.
14087 * sysdeps/htl/pt-key-create.c: Likewise.
14088 * sysdeps/htl/pt-key-delete.c: Likewise.
14089 * sysdeps/htl/pt-key.h: Likewise.
14090 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
14091 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
14092 * sysdeps/htl/pt-mutex-init.c: Likewise.
14093 * sysdeps/htl/pt-mutex-lock.c: Likewise.
14094 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
14095 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
14096 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
14097 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
14098 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
14099 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
14100 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
14101 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
14102 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
14103 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
14104 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
14105 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
14106 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
14107 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
14108 * sysdeps/htl/pt-mutexattr.c: Likewise.
14109 * sysdeps/htl/pt-once.c: Likewise.
14110 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
14111 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
14112 * sysdeps/htl/pt-rwlock-init.c: Likewise.
14113 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
14114 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
14115 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
14116 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
14117 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
14118 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
14119 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
14120 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
14121 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
14122 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
14123 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
14124 * sysdeps/htl/pt-setconcurrency.c: Likewise.
14125 * sysdeps/htl/pt-setschedparam.c: Likewise.
14126 * sysdeps/htl/pt-setschedprio.c: Likewise.
14127 * sysdeps/htl/pt-setspecific.c: Likewise.
14128 * sysdeps/htl/pt-spin.c: Likewise.
14129 * sysdeps/htl/pt-startup.c: Likewise.
14130 * sysdeps/htl/pthread.h: Likewise.
14131 * sysdeps/htl/sem-close.c: Likewise.
14132 * sysdeps/htl/sem-destroy.c: Likewise.
14133 * sysdeps/htl/sem-getvalue.c: Likewise.
14134 * sysdeps/htl/sem-init.c: Likewise.
14135 * sysdeps/htl/sem-open.c: Likewise.
14136 * sysdeps/htl/sem-post.c: Likewise.
14137 * sysdeps/htl/sem-timedwait.c: Likewise.
14138 * sysdeps/htl/sem-trywait.c: Likewise.
14139 * sysdeps/htl/sem-unlink.c: Likewise.
14140 * sysdeps/htl/sem-wait.c: Likewise.
14141 * sysdeps/hurd/htl/pt-kill.c: Likewise.
14142 * sysdeps/i386/htl/pt-machdep.h: Likewise.
14143 * sysdeps/mach/htl/pt-block.c: Likewise.
14144 * sysdeps/mach/htl/pt-spin.c: Likewise.
14145 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
14146 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
14147 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
14148 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
14149 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
14150 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
14151 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
14152 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
14153 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
14154 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
14155 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
14156 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
14157 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
14158 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
14159 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
14160 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
14161 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
14162 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
14163 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
14164 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
14165 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
14166 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
14167 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
14168 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
14169 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
14170 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
14171 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
14172 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
14173 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
14174 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
14175 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
14176 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
14177 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
14178 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
14179 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
14180 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
14181 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
14182 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
14183 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
14184 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
14185 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
14186 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
14187 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
14189 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
14190 * README: Remove the mention of out-of-tree patches needed for
14193 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
14194 (UTIME_NOW, UTIME_OMIT): Define macros.
14196 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
14197 instead of pthread_detach.
14198 (__cthread_fork): Call __pthread_create instead of pthread_create.
14199 (__cthread_keycreate): Call __pthread_key_create instead of
14200 pthread_key_create.
14201 (__cthread_getspecific): Call __pthread_getspecific instead of
14202 pthread_getspecific.
14203 (__cthread_setspecific): Call __pthread_setspecific instead of
14204 pthread_setspecific.
14205 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
14206 __pthread_mutex_unlock instead of pthread_mutex_lock and
14207 pthread_mutex_unlock.
14208 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
14209 ___pthread_get_cleanup_stack.
14210 (__pthread_get_cleanup_stack): New strong alias.
14211 * htl/pt-create.c: Include <pthreadP.h>.
14212 (entry_point): Call __pthread_exit instead of pthread_exit.
14213 (pthread_create): Rename to __pthread_create.
14214 (pthread_create): New strong alias.
14215 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
14216 (pthread_detach): New strong alias.
14217 (__pthread_detach): Call __pthread_cond_broadcast instead of
14218 pthread_cond_broadcast.
14219 * htl/pt-exit.c: Include <pthreadP.h>.
14220 (__pthread_exit): Call __pthread_setcancelstate and
14221 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
14222 __pthread_get_cleanup_stack.
14223 * htl/pt-testcancel.c: Include <pthreadP.h>.
14224 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
14225 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
14226 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
14227 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
14228 pthread_attr_getstacksize.
14229 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
14230 Rename to __pthread_attr_getstackaddr.
14231 (pthread_attr_getstackaddr): New strong alias.
14232 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
14233 Rename to __pthread_attr_getstacksize.
14234 (pthread_attr_getstacksize): New strong alias.
14235 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
14236 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
14237 (pthread_attr_setstack): New strong alias.
14238 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
14239 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
14240 pthread_attr_getstacksize, pthread_attr_setstacksize and
14241 pthread_attr_setstackaddr.
14242 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
14243 Rename to __pthread_attr_setstackaddr.
14244 (pthread_attr_setstackaddr): New strong alias.
14245 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
14246 Rename to __pthread_attr_setstacksize.
14247 (pthread_attr_setstacksize): New strong alias.
14248 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
14249 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
14251 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
14252 (__pthread_key_create): New hidden def.
14253 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
14254 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
14255 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
14256 __pthread_exit, __pthread_key_create, __pthread_getspecific,
14257 __pthread_setspecific, __pthread_setcancelstate,
14258 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
14259 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
14260 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
14262 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
14263 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
14264 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
14265 (pthread_attr_setstackaddr): New strong alias.
14266 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
14267 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
14268 (pthread_attr_setstacksize): New strong alias.
14269 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
14270 (call_exit): Call __pthread_exit instead of pthread_exit.
14271 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
14272 (_pthread_mutex_init): New hidden definition.
14273 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
14274 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
14275 instead of pthread_attr_init and pthread_attr_setstack.
14277 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
14278 __vm_deallocate instead of vm_allocate and vm_deallocate.
14279 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
14281 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
14283 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
14285 * hurd/siginfo.c: Include <libioP.h>.
14286 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
14287 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
14289 * mach/devstream.c: Include <libioP.h>.
14290 (dealloc_ref): Call __mach_port_deallocate instead of
14291 mach_port_deallocate.
14292 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
14293 Call __mach_port_deallocate instead of mach_port_deallocate.
14294 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
14296 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
14298 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
14299 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
14300 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
14302 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
14304 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
14305 instead of sysconf.
14306 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
14307 __clock_gettime instead of clock_gettime.
14308 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
14309 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
14310 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
14311 * sysdeps/unix/bsd/stty.c (stty): Likewise.
14312 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
14314 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
14315 __clock_gettime and __nanosleep instead of clock_gettime and
14317 * hurd/catch-signal.c (hurd_catch_signal): Rename to
14318 __hurd_catch_signal.
14319 (hurd_catch_signal): New strong alias.
14320 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
14321 __hurd_catch_signal instead of hurd_catch_signal.
14322 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
14323 * hurd/hurdexec.c (_hurd_init): Add hidden def.
14324 * hurd/hurdinit.c (_hurd_init): Add hidden def.
14325 * hurd/hurdsig.c: Include <mach/mig_support.h>.
14326 (_hurd_thread_sigstate): Add hidden def.
14327 (_hurd_internal_post_signal): Use __mutex_unlock instead of
14329 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
14330 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
14331 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
14332 __hurd_file_name_path_lookup.
14333 (hurd_file_name_path_lookup): New strong alias.
14334 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
14335 hurd_file_name_path_lookup.
14336 * mach/errstring.c (mach_error_type): Add hidden def.
14337 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
14338 * mach/mutex-init.c (__mutex_init): Add hidden def.
14339 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
14340 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
14341 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
14342 * sysdeps/mach/hurd/getcwd.c
14343 (_hurd_canonicalize_directory_name_internal): Rename to
14344 __hurd_canonicalize_directory_name_internal.
14345 (_hurd_canonicalize_directory_name_internal): New strong alias.
14346 (__canonicalize_directory_name_internal, __getcwd): Call
14347 __hurd_canonicalize_directory_name_internal instead of
14348 _hurd_canonicalize_directory_name_internal.
14349 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
14350 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
14352 * sysdeps/hurd/include/hurd.h: New file.
14353 * sysdeps/hurd/include/hurd/fd.h: New file.
14354 * sysdeps/hurd/include/hurd/signal.h: New file.
14355 * sysdeps/mach/include/lock-intern.h: New file.
14356 * sysdeps/mach/include/mach.h: New file.
14357 * sysdeps/mach/include/mach/mig_support.h: New file.
14358 * sysdeps/mach/include/mach_error.h: New file.
14359 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
14361 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
14362 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
14363 _HEADER_H_HIDDEN_DEF macro.
14364 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
14365 _hurd_fd_error_signal): Add hidden prototype.
14366 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
14368 * libio/iolibio.h (_IO_puts): New hidden prototype.
14369 * libio/ioputs.c (_IO_puts): New hidden def.
14370 * sysdeps/mach/hurd/localplt.data: New file.
14372 2018-04-02 Agustina Arzille <avarzille@riseup.net>
14373 Amos Jeffries <squid3@treenet.co.nz>
14374 David Michael <fedora.dm0@gmail.com>
14375 Marco Gerards <marco@gnu.org>
14376 Marcus Brinkmann <marcus@gnu.org>
14377 Neal H. Walfield <neal@gnu.org>
14378 Pino Toscano <toscano.pino@tiscali.it>
14379 Richard Braun <rbraun@sceen.net>
14380 Roland McGrath <roland@gnu.org>
14381 Samuel Thibault <samuel.thibault@ens-lyon.org>
14382 Thomas DiModica <ricinwich@yahoo.com>
14383 Thomas Schwinge <tschwinge@gnu.org>
14385 * htl: New directory.
14386 * sysdeps/htl: New directory.
14387 * sysdeps/hurd/htl: New directory.
14388 * sysdeps/i386/htl: New directory.
14389 * sysdeps/mach/htl: New directory.
14390 * sysdeps/mach/hurd/htl: New directory.
14391 * sysdeps/mach/hurd/i386/htl: New directory.
14392 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
14393 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
14394 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
14396 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14398 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
14399 signals in thread created for runing timers.
14401 2018-04-01 Florian Weimer <fweimer@redhat.com>
14403 * support/support_format_addrinfo.c (support_format_addrinfo):
14404 Include unknown error number in formatted result.
14406 2018-03-29 Florian Weimer <fweimer@redhat.com>
14408 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
14411 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14413 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
14414 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
14415 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14416 (__ASSUME_CLONE_BACKWARDS): Define.
14418 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
14421 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
14422 early when linux sentinel value is set.
14424 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14426 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
14428 2018-03-27 Andreas Schwab <schwab@suse.de>
14431 * resolv/res_send.c (__res_context_send): Return ENOMEM if
14432 allocation of private copy of nsaddr_list fails.
14434 2018-03-26 Joseph Myers <joseph@codesourcery.com>
14437 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
14438 * sysdeps/unix/sysv/linux/umount.c: ... here.
14439 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
14440 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
14441 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
14442 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
14443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
14444 * sysdeps/unix/sysv/linux/umount.S: Likewise.
14445 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
14447 2018-03-26 Andreas Schwab <schwab@suse.de>
14449 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
14450 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
14451 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
14452 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
14453 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
14454 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
14455 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
14456 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
14457 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
14458 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
14459 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
14460 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
14461 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
14462 (R_RISCV_NUM): Define.
14464 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
14466 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
14467 TLS declaration of errno.
14468 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
14470 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
14471 (ARCH_SETUP_TLS): Likewise.
14472 * sysdeps/mach/hurd/libc-start.h: New file copied from
14473 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
14474 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
14475 instead of __libc_setup_tls.
14476 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
14477 __libc_setup_tls before initializing libpthread and running _hurd_init
14478 which starts the signal thread.
14479 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
14481 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14483 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
14486 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
14487 after it is defined.
14489 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
14490 Max Horn <max@quendi.de>
14494 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
14496 * string/test-memmove.c (do_test2): New testcase.
14498 2018-03-22 Joseph Myers <joseph@codesourcery.com>
14500 * sysdeps/generic/frame.h: Remove file.
14501 * sysdeps/arm/frame.h: Likewise.
14502 * sysdeps/hppa/frame.h: Likewise.
14503 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
14505 (GET_FRAME): Likewise.
14506 (GET_STACK): Likewise.
14507 (CALL_SIGHANDLER): Likewise.
14508 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
14510 (GET_FRAME): Likewise.
14511 (GET_STACK): Likewise.
14512 (CALL_SIGHANDLER): Likewise.
14513 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
14514 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14515 (GET_FRAME): Likewise.
14516 (GET_STACK): Likewise.
14517 (CALL_SIGHANDLER): Likewise.
14518 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
14519 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14520 (GET_FRAME): Likewise.
14521 (GET_STACK): Likewise.
14522 (ADVANCE_STACK_FRAME): Likewise.
14523 (CALL_SIGHANDLER): Likewise.
14524 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
14525 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14526 (GET_FRAME): Likewise.
14527 (GET_STACK): Likewise.
14528 (CALL_SIGHANDLER): Likewise.
14529 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
14530 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14531 (GET_FRAME): Likewise.
14532 (GET_STACK): Likewise.
14533 (CALL_SIGHANDLER): Likewise.
14534 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
14535 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14536 (GET_FRAME): Likewise.
14537 (GET_STACK): Likewise.
14538 (CALL_SIGHANDLER): Likewise.
14539 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
14540 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14541 (GET_FRAME): Likewise.
14542 (GET_STACK): Likewise.
14543 (CALL_SIGHANDLER): Likewise.
14544 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
14545 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14546 (GET_FRAME): Likewise.
14547 (GET_STACK): Likewise.
14548 (CALL_SIGHANDLER): Likewise.
14549 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
14550 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14551 (GET_FRAME): Likewise.
14552 (GET_STACK): Likewise.
14553 (CALL_SIGHANDLER): Likewise.
14554 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
14555 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14556 (GET_FRAME): Likewise.
14557 (GET_STACK): Likewise.
14558 (CALL_SIGHANDLER): Likewise.
14559 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
14560 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14561 (GET_FRAME): Likewise.
14562 (GET_STACK): Likewise.
14563 (CALL_SIGHANDLER): Likewise.
14564 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
14565 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14566 (GET_FRAME): Likewise.
14567 (GET_STACK): Likewise.
14568 (CALL_SIGHANDLER): Likewise.
14569 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
14570 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14571 (FIRST_FRAME_POINTER): Likewise.
14572 (ADVANCE_STACK_FRAME): Likewise.
14573 (GET_STACK): Likewise.
14574 (GET_FRAME): Likewise.
14575 (CALL_SIGHANDLER): Likewise.
14576 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
14577 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14578 (ADVANCE_STACK_FRAME): Likewise.
14579 (GET_STACK): Likewise.
14580 (GET_FRAME): Likewise.
14581 (CALL_SIGHANDLER): Likewise.
14582 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
14583 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14584 (GET_FRAME): Likewise.
14585 (GET_STACK): Likewise.
14586 (CALL_SIGHANDLER): Likewise.
14587 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
14588 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14589 (GET_FRAME): Likewise.
14590 (GET_STACK): Likewise.
14591 (CALL_SIGHANDLER): Likewise.
14593 2018-03-21 Joseph Myers <joseph@codesourcery.com>
14595 * sysdeps/x86_64/backtrace.c: Move to ....
14596 * debug/backtrace.c: ... here.
14597 * sysdeps/aarch64/backtrace.c: Remove file.
14598 * sysdeps/alpha/backtrace.c: Likewise.
14599 * sysdeps/hppa/backtrace.c: Likewise.
14600 * sysdeps/ia64/backtrace.c: Likewise.
14601 * sysdeps/mips/backtrace.c: Likewise.
14602 * sysdeps/nios2/backtrace.c: Likewise.
14603 * sysdeps/riscv/backtrace.c: Likewise.
14604 * sysdeps/sh/backtrace.c: Likewise.
14605 * sysdeps/tile/backtrace.c: Likewise.
14607 2018-03-20 Joseph Myers <joseph@codesourcery.com>
14610 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
14613 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
14616 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
14617 possibly overflowing computations.
14619 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
14621 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
14622 values from Linux-specific section now that it is in the GNU section.
14623 * sysdeps/gnu/errlist.c: Regenerate.
14625 2018-03-20 Joseph Myers <joseph@codesourcery.com>
14627 * math/Makefile (libm-narrow-fns): Add sub.
14628 (libm-test-funcs-narrow): Likewise.
14629 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
14630 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
14631 * math/gen-auto-libm-tests.c (test_functions): Add sub.
14632 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
14633 (NARROW_SUB_ROUND_TO_ODD): Likewise.
14634 (NARROW_SUB_TRIVIAL): Likewise.
14635 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
14637 (__dsubl): Likewise.
14638 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
14640 (CFLAGS-nldbl-dsub.c): New variable.
14641 (CFLAGS-nldbl-fsub.c): Likewise.
14642 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14644 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
14646 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
14647 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
14648 * math/auto-libm-test-in: Add tests of sub.
14649 * math/auto-libm-test-out-narrow-sub: New generated file.
14650 * math/libm-test-narrow-sub.inc: New file.
14651 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14652 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
14653 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
14654 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
14655 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
14656 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
14657 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
14658 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
14659 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
14660 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
14661 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
14662 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
14663 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
14664 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
14665 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
14666 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
14667 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
14668 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
14669 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14670 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14671 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14672 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14673 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14674 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14675 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14676 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14677 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14678 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14679 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14680 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14681 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14682 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14687 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14688 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14689 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14690 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14691 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14692 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14693 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
14694 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
14695 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14696 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14698 2018-03-19 Joseph Myers <joseph@codesourcery.com>
14701 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
14703 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
14705 * benchtests/bench-timing.h (attribute_hidden): Undefine.
14707 2018-03-18 Richard Braun <rbraun@sceen.net>
14709 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
14712 2018-03-18 Agustina Arzille <avarzille@riseup.net>
14714 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
14715 (__libc_cleanup_fct): Define function.
14716 (__libc_cleanup_region_start, __libc_cleanup_region_end,
14717 __libc_cleanup_end): Rewrite implementation using
14718 __attribute__ ((__cleanup__)).
14719 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
14720 * hurd/Makefile (routines): Add hurdlock.
14721 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
14723 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
14724 * hurd/hurdpid.c: Include <lowlevellock.h>
14725 (_S_msg_proc_newids): Use lll_wait to synchronize.
14726 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
14727 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
14728 * mach/Makefile (lock-headers): Remove machine-lock.h.
14729 * mach/lock-intern.h: Include <lowlevellock.h> instead of
14731 (__spin_lock_t): New type.
14732 (__SPIN_LOCK_INITIALIZER): New macro.
14733 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
14734 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
14735 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
14736 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
14737 (__mutex_init): Initialize with lll.
14738 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
14739 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
14741 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14742 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
14743 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
14744 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
14745 (__setpgid): Use lll for synchronization.
14746 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
14747 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
14748 instead of <cthreads.h>.
14749 (_IO_lock_inexpensive): New macro
14750 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
14751 (__libc_lock_self0): New declaration.
14752 (__libc_lock_owner_self): New macro.
14753 (__libc_key_t): Remove type.
14754 (_LIBC_LOCK_INITIALIZER): New macro.
14755 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
14756 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
14757 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
14758 __libc_lock_define_initialized_recursive,
14759 __rtld_lock_define_initialized_recursive,
14760 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
14761 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
14762 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
14763 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
14764 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
14765 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
14766 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
14768 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
14769 * hurd/hurdlock.c: New file.
14770 * hurd/hurdlock.h: New file.
14771 * mach/lowlevellock.h: New file
14773 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14775 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
14776 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
14777 when opening a symlink with O_NOFOLLOW.
14778 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
14779 path when flags contains O_NOFOLLOW.
14780 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
14781 if flags contains O_DIRECTORY and the result is a directory.
14782 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
14783 oneself when the pointer given in D is nul (as set by ext2fs).
14784 * sysdeps/mach/hurd/mlockall.c: New file.
14785 * sysdeps/mach/hurd/munlockall.c: New file.
14787 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
14789 * hurd/hurdsig.c: Include <pthread.h>.
14790 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
14791 get the signal thread stack layout.
14792 * hurd/Makefile (headers): Remove threadvar.h.
14793 (inline-headers): Remove threadvar.h.
14794 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
14795 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
14796 __hurd_threadvar_max, __hurd_errno_location.
14797 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
14798 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
14799 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
14800 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
14801 unless TLS is not initialized yet, in which case we do not need a
14802 critical section yet anyway.
14803 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
14805 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
14807 (__hurd_threadvar_index): Remove enum.
14808 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
14809 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
14811 (__hurd_reply_port0): New variable declaration.
14812 (__hurd_local_reply_port): New macro.
14813 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
14814 (interrupted_reply_port_location): Add thread_t parameter. Use it
14815 with THREAD_TCB to access thread-local variables.
14816 (_hurdsig_abort_rpcs): Pass ss->thread to
14817 interrupted_reply_port_location.
14818 (_hurd_internal_post_signal): Likewise.
14819 (_hurdsig_init): Use presence of cthread_fork instead of
14820 __hurd_threadvar_stack_mask to start signal thread by hand.
14821 Remove signal thread threadvar initialization.
14822 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
14823 * hurd/sigunwind.c: Include <hurd/threadvar.h>
14824 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
14826 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
14828 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
14829 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
14830 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
14831 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
14832 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
14833 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
14834 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
14836 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
14837 <hurd/threadvar.h>.
14838 [IS_IN(rtld)] (rtld_errno): New variable.
14839 [IS_IN(rtld)] (__errno_location): New weak function.
14840 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
14841 * sysdeps/mach/hurd/errno.c: Remove file.
14842 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
14843 (__fork): Remove THREADVAR_SPACE macro and its use.
14844 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
14846 (init): Do not initialize threadvar.
14847 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
14849 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
14850 __hurd_local_reply_port instead of threadvar.
14851 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
14852 _hurd_sigstate fields.
14853 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
14854 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
14855 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
14856 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
14857 instead of threadvar.
14858 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
14859 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
14860 (use_threadvar, global_reply_port): Remove variables.
14861 (__hurd_reply_port0): New variable.
14862 (__mig_get_reply_port): Use __hurd_local_reply_port and
14863 __hurd_reply_port0 instead of threadvar.
14864 (__mig_dealloc_reply_port): Likewise.
14865 (__mig_init): Do not initialize threadvar.
14866 * sysdeps/mach/hurd/profil.c: Fix comment.
14867 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
14868 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
14869 cthread_keycreate, cthread_getspecific, cthread_setspecific to
14870 __cthread_fork, __cthread_detach, __pthread_getattr_np,
14871 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
14872 __cthread_setspecific.
14873 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
14874 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
14875 __cthread_t instead of cthread_fork, cthread_detach,
14876 pthread_getattr_np, pthread_attr_getstack.
14877 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
14878 __cthread_keycreate.
14879 (cthread_getspecific): Rename to __cthread_getspecific.
14880 (cthread_setspecific): Rename to __cthread_setspecific.
14881 (__libc_getspecific): Use __cthread_getspecific instead of
14882 cthread_getspecific.
14883 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
14884 __cthread_keycreate instead of cthread_keycreate.
14885 (__libc_setspecific): Use __cthread_setspecific instead of
14886 cthread_setspecific.
14887 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
14889 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
14890 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
14891 testing whether it is defined.
14893 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14895 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
14897 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
14898 * sysdeps/mach/i386/thread_state.h
14899 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
14901 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
14903 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
14905 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
14906 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
14908 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
14910 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
14911 descriptor instead of creating a new one.
14912 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
14914 * mach/setup-thread.c: Include <ldsodefs.h>.
14915 (__mach_setup_thread): Call _dl_allocate_tls, pass
14916 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
14917 MACHINE_THREAD_STATE_FLAVOR, before getting
14918 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
14919 MACHINE_THREAD_STATE_FLAVOR with the result.
14920 * hurd/hurdfault.c (_hurdsig_fault_init): Call
14921 MACHINE_THREAD_STATE_FIX_NEW.
14922 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
14923 too. Add original thread parameter.
14925 2018-03-16 Joseph Myers <joseph@codesourcery.com>
14927 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
14928 Remove inline function.
14930 * sysdeps/i386/fpu/libm-test-ulps: Update.
14931 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
14933 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
14935 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
14938 2018-03-15 Joseph Myers <joseph@codesourcery.com>
14940 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
14941 (__sincos_code): Remove define and undefine.
14942 [__FAST_MATH__] (__sincos): Remove inline function.
14943 [__FAST_MATH__] (__sincosf): Remove inline function.
14944 [__FAST_MATH__] (__sincosl): Remove inline function.
14945 (__atan2l): Remove inline functions.
14946 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
14947 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
14949 (floor): Remove inline function.
14951 [__FAST_MATH__] (__ldexp_code): Remove macro.
14952 [__FAST_MATH__] (ldexp): Remove inline function.
14953 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
14954 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
14955 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
14956 [__USE_ISOC99] (__lrint_code): Remove macro.
14957 [__USE_ISOC99] (__llrint_code): Likewise.
14958 [__USE_ISOC99] (lrintf): Remove inline function.
14959 [__USE_ISOC99] (lrint): Likewise.
14960 [__USE_ISOC99] (lrintl): Likewise.
14961 [__USE_ISOC99] (llrint): Likewise.
14962 [__USE_ISOC99] (llrintf): Likewise.
14963 [__USE_ISOC99] (llrintl): Likewise.
14965 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14967 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
14968 (__ieee754_sqrtf): Remove.
14969 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
14970 (__ieee754_sqrtf): Remove.
14971 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
14972 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14973 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
14974 (__ieee754_sqrtf): Remove.
14975 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
14976 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
14979 (__ieee754_sqrt): Remove.
14980 (__ieee754_sqrtf): Remove.
14981 (__ieee754_sqrtl): Remove.
14982 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14983 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
14984 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
14985 (__ieee754_sqrtf): Remove.
14986 (__ieee754_sqrtl): Remove.
14988 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14990 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
14991 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
14992 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
14993 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
14994 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
14995 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14996 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14997 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
14999 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
15000 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
15001 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
15002 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
15003 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
15004 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
15005 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
15006 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
15007 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
15008 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
15009 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
15010 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
15011 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
15012 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
15013 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
15014 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15015 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15016 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
15017 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
15018 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
15019 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15020 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15021 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
15022 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
15023 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
15024 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
15025 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15026 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15027 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
15028 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
15029 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
15030 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
15031 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
15032 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
15033 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
15034 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15035 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
15036 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
15037 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
15038 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
15040 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15042 * include/math.h (sqrt): Declare with asm redirect.
15045 (sqrtf128): Likewise.
15046 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
15047 nonlib and libnldbl with -fmath-errno.
15048 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
15049 * math/w_sqrt_template.c: Likewise.
15050 * math/w_sqrtf_compat.c: Likewise.
15051 * math/w_sqrtl_compat.c: Likewise.
15052 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
15053 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
15054 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
15057 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15059 * benchtests/Makefile: Define _ISOMAC.
15060 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
15061 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
15062 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
15063 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
15064 * benchtests/bench-timing.h: Define attribute_hidden.
15066 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
15068 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
15071 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15074 * localedata/locales/cs_CZ (mon): Rename to...
15076 (mon): Import from CLDR (genitive case).
15078 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15081 * localedata/locales/el_CY (abmon): Rename to...
15082 (ab_alt_mon): This.
15083 (abmon): Import from CLDR (abbreviated genitive case).
15084 * localedata/locales/el_GR (abmon): Rename to...
15085 (ab_alt_mon): This.
15086 (abmon): Import from CLDR (abbreviated genitive case).
15088 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15091 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
15093 2018-03-15 Robert Buj <robert.buj@gmail.com>
15096 * localedata/locales/ca_ES (abmon): Rename to...
15097 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
15098 (mon): Rename to...
15100 (abmon): Import from CLDR (genitive case, month names preceded by
15103 (abday): Synchronize with CLDR.
15104 (d_t_fmt): Likewise.
15108 (LC_TIME): Improve indentation.
15109 (LC_TELEPHONE): Likewise.
15110 (LC_NAME): Likewise.
15111 (LC_ADDRESS): Likewise.
15113 2018-03-14 Joseph Myers <joseph@codesourcery.com>
15115 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
15116 (lrintf): Remove definitions used only with old GCC.
15117 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
15118 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
15119 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
15120 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
15121 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
15122 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
15123 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
15124 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
15125 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
15126 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
15127 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
15128 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
15129 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
15130 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
15131 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
15132 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
15133 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
15134 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
15135 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
15136 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
15137 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
15138 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
15139 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
15140 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
15141 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
15142 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
15143 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
15144 [__FAST_MATH__] (__M_SQRT2): Remove macro.
15146 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
15148 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
15149 instruction to unbreak builds with binutils 2.26 and older.
15151 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
15153 * sysdeps/aarch64/strncmp.S (count): New macro.
15154 (strncmp): Store misaligned length in SRC1 in COUNT.
15155 (mutual_align): Adjust.
15156 (misaligned8): Load dword at a time when it is safe.
15158 2018-03-12 Zack Weinberg <zackw@panix.com>
15162 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
15163 if the _IO_EOF_SEEN bit is already set; update commentary.
15164 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
15165 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
15167 * support/support_openpty.c, support/tty.h: New files.
15168 * support/Makefile (libsupport-routines): Add support_openpty.
15170 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
15172 * libio/Makefile (tests): Add tst-fgetc-after-eof.
15173 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
15175 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
15177 * po/pt_BR.po: Update translations.
15179 2018-03-12 David Michael <fedora.dm0@gmail.com>
15181 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
15182 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
15183 get a port to the startup server.
15185 2018-03-11 Zack Weinberg <zackw@panix.com>
15187 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
15188 before nldbl-compat.h.
15190 2018-03-10 Zack Weinberg <zackw@panix.com>
15192 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
15193 math.h or math_private.h.
15195 * sysdeps/alpha/fpu/s_isnan.c
15196 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
15197 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
15198 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
15199 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
15200 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
15201 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
15202 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
15203 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
15204 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
15205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
15206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
15207 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
15208 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
15209 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
15210 Include math_private.h.
15212 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
15213 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
15214 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
15215 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
15216 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
15217 * sysdeps/powerpc/power7/fpu/s_logb.c:
15218 Include math.h and math_private.h.
15220 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
15221 uses of $at in .set noat / .set at.
15223 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
15225 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
15226 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
15227 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
15228 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
15231 2018-03-09 Florian Weimer <fweimer@redhat.com>
15233 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
15236 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
15239 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
15240 Add nop before __startcontext, add explaining comments.
15242 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15245 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
15247 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
15248 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
15249 Do not build hardware transactional code for __SPE__.
15250 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15251 (__lll_trylock_elision): Likewise.
15252 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
15253 (__lll_unlock_elision): Likewise.
15255 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
15256 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
15257 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
15258 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
15259 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
15260 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
15261 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
15262 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
15263 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
15264 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
15265 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
15266 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
15267 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
15268 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
15269 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
15270 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
15271 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
15272 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
15273 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
15274 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
15275 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
15276 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15277 (__ASSUME_CLONE_BACKWARDS): Define.
15278 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
15279 __clone2 if __NR_clone2 is defined.
15280 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15281 (__ASSUME_CLONE_BACKWARDS): Likewise.
15282 * sysdeps/unix/sysv/linux/i386/kernel-features.h
15283 (__ASSUME_CLONE_BACKWARDS): Likewise.
15284 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15285 (__ASSUME_CLONE2): Likewise.
15286 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15287 (__ASSUME_CLONE_BACKWARDS3): Likewise.
15288 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
15289 variants and the define architecture can use.
15290 (__ASSUME_CLONE_DEFAULT): Define as default.
15291 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15292 (__ASSUME_CLONE_BACKWARDS): Likewise.
15293 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15294 (__ASSUME_CLONE_BACKWARDS): Likewise.
15295 * sysdeps/unix/sysv/linux/s390/kernel-features.h
15296 (__ASSUME_CLONE_BACKWARDS2): Likewise.
15298 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
15300 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
15302 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
15305 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
15306 (do_test_limit): Likewise.
15308 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
15309 for every implementation.
15310 (do_test): Likewise.
15312 * benchtests/bench-strncmp.c: Convert output to json.
15314 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15316 * io/futimens.c: Add missing start-of-file descriptive comment.
15317 * io/utime.c: Likewise.
15318 * misc/futimesat.c: Likewise.
15319 * misc/utimes.c: Likewise.
15320 * sysdeps/mach/hurd/futimesat.c: Likewise.
15321 * sysdeps/mach/hurd/utimes.c: Likewise.
15322 * sysdeps/posix/utime.c: Likewise.
15323 * sysdeps/posix/utimes.c: Likewise.
15324 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
15325 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
15326 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
15327 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
15329 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15331 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
15333 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
15334 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
15335 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
15336 (__futimens): Move implementation to...
15337 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
15338 utime_tvalue_from_tspec): ... new helper functions.
15339 (hurd_futimens): New function.
15340 * sysdeps/mach/hurd/futimesat.c: New file.
15341 * sysdeps/mach/hurd/utimensat.c: New file.
15343 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
15345 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
15346 UTIME_OMIT): New macros.
15347 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
15348 before reverting to converting time spec to time value and calling
15350 * sysdeps/mach/hurd/utime-helper.c: New file.
15351 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
15352 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
15353 reverting to utime_tvalue_from_tval and __file_utimes.
15354 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
15355 (__lutimes): Just call hurd_futimens after lookup.
15356 * sysdeps/mach/hurd/utimes.c: Likewise.
15358 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15360 * bits/sigaction.h: Add include guard.
15361 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
15362 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
15363 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
15364 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
15365 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
15366 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
15367 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
15368 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
15369 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
15371 2018-03-05 Joseph Myers <joseph@codesourcery.com>
15373 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
15374 -Wmaybe-uninitialized for -Os.
15375 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
15378 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15380 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
15381 __INO_T_MATCHES_INO64_T is defined.
15382 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
15383 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
15385 * dirent/alphasort64.c: Likewise.
15386 * dirent/scandir.c: Likewise.
15387 * dirent/scandir64-tail.c: Likewise.
15388 * dirent/scandir64.c: Likewise.
15389 * dirent/scandirat.c: Likewise.
15390 * dirent/scandirat64.c: Likewise.
15391 * dirent/versionsort.c: Likewise.
15392 * dirent/versionsort64.c: Likewise.
15393 * include/dirent.h: Likewise.
15395 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
15396 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
15397 for socketpair endpoint.
15398 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
15399 WRITE_BUFFER_SIZE as buffer size for sending socket.
15400 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
15401 issue on system where send is implemented with sendto syscall.
15402 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
15403 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
15404 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
15405 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
15408 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
15409 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
15410 sa_restorer for vDSO case.
15411 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
15413 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15415 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
15416 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
15417 * hurd/hurd/ioctl.h: Include <mach/port.h>
15418 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
15419 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
15420 <mach/mach_types.h> and <mach/message.h>.
15421 (headers): Move mach/param.h to bits/mach/param.h.
15422 * sysdeps/mach/i386/mach/param.h: Move file to ...
15423 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
15424 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
15426 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
15427 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
15428 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
15429 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
15430 trivial, for C++ conformity.
15431 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
15432 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
15433 Process mig output through $(migheadersed).
15434 * hurd/Makefile (migheadersed): Define variable.
15435 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
15436 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
15438 * hurd/hurd.h: Include <bits/types/sigset_t.h>
15439 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
15440 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
15441 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
15442 <bits/types/sigset_t.h>.
15443 [!defined __USE_GNU]: Do not #error out.
15444 (struct hurd_sigstate): Use _NSIG instead of NSIG.
15445 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
15446 Include <stddef.h> and <bits/types/sigset_t.h>
15447 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
15448 instead of sighandler_t.
15449 * stdlib/errno.h (error_t): Move definition to...
15450 * bits/types/error_t.h: ... new header.
15451 * stdlib/Makefile (headers): Add bits/types/error_t.h.
15452 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
15453 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
15454 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
15455 * hurd/hurd.h: Include <bits/types/error_t.h>
15456 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
15457 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
15458 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
15459 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
15460 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
15461 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
15462 * sysdeps/mach/hurd/futimens.c: New file.
15464 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
15467 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
15468 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
15469 * nscd/gai.c (__nss_hosts_database): Readd definition.
15470 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
15471 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
15472 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
15474 2018-03-02 Joseph Myers <joseph@codesourcery.com>
15476 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
15477 (ifunc_one): Likewise.
15479 2018-03-01 DJ Delorie <dj@delorie.com>
15482 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
15485 2018-03-01 Maciej W. Rozycki <macro@mips.com>
15487 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
15488 `match_pid' parameter.
15489 (td_ta_thr_iter): Update accordingly.
15491 2018-03-01 Florian Weimer <fweimer@redhat.com>
15493 * nptl/Makefile (install-lib-ldscripts): Remove.
15494 (install): Remove rule.
15495 ($(inst_libdir)/libpthread.so): Likewise.
15497 2018-03-01 Mike FABIAN <mfabian@redhat.com>
15500 * localedata/locales/an_ES: update month and day names,
15501 improve d_fmt, improve postal_fmt, add country_post,
15504 2018-03-01 Mike FABIAN <mfabian@redhat.com>
15506 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
15507 Ukrainian instead of Bulgarian.
15509 2018-03-01 Florian Weimer <fweimer@redhat.com>
15511 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
15514 2018-03-01 Florian Weimer <fweimer@redhat.com>
15516 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
15517 * nptl/Makefile (routines): Add pthread_atfork.
15518 (static-only-routines): Set to pthread_atfork.
15519 (libpthread-routines): Remove pthread_atfork.
15520 (libpthread-static-only-routines): Remove.
15521 (install): Update comment.
15522 (libpthread.so): Do not install libpthread_nonshared.a.
15523 (tests): Do not link with libpthread_nonshared.a.
15524 (generated): Remove libpthread_nonshared.a.
15525 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
15526 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
15527 with libpthread_nonshared.a.
15529 2018-02-28 Joseph Myers <joseph@codesourcery.com>
15532 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
15533 (libc_feholdexcept_setroundf128): New macro.
15534 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
15537 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
15539 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
15540 * include/inttypes.h: New file.
15542 2018-02-27 Joseph Myers <joseph@codesourcery.com>
15544 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
15545 -Os in two more places.
15547 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15549 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
15550 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
15551 be sorted correctly at the moment because of a bug.
15553 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15555 [BZ #22550] - es_ES locale (and other es_* locales): collation should
15556 treat ñ as a primary different character, sync the collation
15557 for Spanish with CLDR.
15558 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
15559 * localedata/Makefile: Add new test files.
15560 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
15561 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
15563 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
15564 * localedata/am_ET.UTF-8.in: New test file.
15565 * localedata/az_AZ.UTF-8.in: Likewise.
15566 * localedata/be_BY.UTF-8.in: Likewise.
15567 * localedata/ber_DZ.UTF-8.in: Likewise.
15568 * localedata/ber_MA.UTF-8.in: Likewise.
15569 * localedata/bg_BG.UTF-8.in: Likewise.
15570 * localedata/br_FR.UTF-8.in: Likewise.
15571 * localedata/cmn_TW.UTF-8.in: Likewise.
15572 * localedata/crh_UA.UTF-8.in: Likewise.
15573 * localedata/csb_PL.UTF-8.in: Likewise.
15574 * localedata/cv_RU.UTF-8.in: Likewise.
15575 * localedata/cy_GB.UTF-8.in: Likewise.
15576 * localedata/dz_BT.UTF-8.in: Likewise.
15577 * localedata/eo.UTF-8.in: Likewise.
15578 * localedata/es_ES.UTF-8.in: Likewise.
15579 * localedata/fa_IR.UTF-8.in: Likewise.
15580 * localedata/fi_FI.UTF-8.in: Likewise.
15581 * localedata/fil_PH.UTF-8.in: Likewise.
15582 * localedata/fur_IT.UTF-8.in: Likewise.
15583 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
15584 * localedata/ha_NG.UTF-8.in: Likewise.
15585 * localedata/ig_NG.UTF-8.in: Likewise.
15586 * localedata/ik_CA.UTF-8.in: Likewise.
15587 * localedata/kk_KZ.UTF-8.in: Likewise.
15588 * localedata/ku_TR.UTF-8.in: Likewise.
15589 * localedata/ky_KG.UTF-8.in: Likewise.
15590 * localedata/ln_CD.UTF-8.in: Likewise.
15591 * localedata/mi_NZ.UTF-8.in: Likewise.
15592 * localedata/ml_IN.UTF-8.in: Likewise.
15593 * localedata/mn_MN.UTF-8.in: Likewise.
15594 * localedata/mr_IN.UTF-8.in: Likewise.
15595 * localedata/mt_MT.UTF-8.in: Likewise.
15596 * localedata/nb_NO.UTF-8.in: Likewise.
15597 * localedata/om_KE.UTF-8.in: Likewise.
15598 * localedata/os_RU.UTF-8.in: Likewise.
15599 * localedata/ps_AF.UTF-8.in: Likewise.
15600 * localedata/ro_RO.UTF-8.in: Likewise.
15601 * localedata/ru_RU.UTF-8.in: Likewise.
15602 * localedata/sc_IT.UTF-8.in: Likewise.
15603 * localedata/se_NO.UTF-8.in: Likewise.
15604 * localedata/sq_AL.UTF-8.in: Likewise.
15605 * localedata/sv_SE.UTF-8.in: Likewise.
15606 * localedata/szl_PL.UTF-8.in: Likewise.
15607 * localedata/tg_TJ.UTF-8.in: Likewise.
15608 * localedata/tk_TM.UTF-8.in: Likewise.
15609 * localedata/tt_RU.UTF-8.in: Likewise.
15610 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
15611 * localedata/ug_CN.UTF-8.in: Likewise.
15612 * localedata/uz_UZ.UTF-8.in: Likewise.
15613 * localedata/vi_VN.UTF-8.in: Likewise.
15614 * localedata/yi_US.UTF-8.in: Likewise.
15615 * localedata/yo_NG.UTF-8.in: Likewise.
15616 * localedata/zh_CN.UTF-8.in: Likewise.
15617 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
15618 file and fix bugs in the collation.
15619 * localedata/locales/az_AZ: Likewise.
15620 * localedata/locales/be_BY: Likewise.
15621 * localedata/locales/ber_DZ: Likewise.
15622 * localedata/locales/ber_MA: Likewise.
15623 * localedata/locales/bg_BG: Likewise.
15624 * localedata/locales/br_FR: Likewise.
15625 * localedata/locales/br_FR@euro: Likewise.
15626 * localedata/locales/ca_ES: Likewise.
15627 * localedata/locales/cns11643_stroke: Likewise.
15628 * localedata/locales/crh_UA: Likewise.
15629 * localedata/locales/cs_CZ: Likewise.
15630 * localedata/locales/csb_PL: Likewise.
15631 * localedata/locales/cv_RU: Likewise.
15632 * localedata/locales/cy_GB: Likewise.
15633 * localedata/locales/da_DK: Likewise.
15634 * localedata/locales/dz_BT: Likewise.
15635 * localedata/locales/en_CA: Likewise.
15636 * localedata/locales/eo: Likewise.
15637 * localedata/locales/es_CU: Likewise.
15638 * localedata/locales/es_EC: Likewise.
15639 * localedata/locales/es_ES: Likewise.
15640 * localedata/locales/es_US: Likewise.
15641 * localedata/locales/et_EE: Likewise.
15642 * localedata/locales/fa_IR: Likewise.
15643 * localedata/locales/fi_FI: Likewise.
15644 * localedata/locales/fil_PH: Likewise.
15645 * localedata/locales/fur_IT: Likewise.
15646 * localedata/locales/gez_ER@abegede: Likewise.
15647 * localedata/locales/ha_NG: Likewise.
15648 * localedata/locales/hr_HR: Likewise.
15649 * localedata/locales/hsb_DE: Likewise.
15650 * localedata/locales/hu_HU: Likewise.
15651 * localedata/locales/ig_NG: Likewise.
15652 * localedata/locales/ik_CA: Likewise.
15653 * localedata/locales/is_IS: Likewise.
15654 * localedata/locales/iso14651_t1_pinyin: Likewise.
15655 * localedata/locales/kk_KZ: Likewise.
15656 * localedata/locales/ku_TR: Likewise.
15657 * localedata/locales/ky_KG: Likewise.
15658 * localedata/locales/ln_CD: Likewise.
15659 * localedata/locales/lt_LT: Likewise.
15660 * localedata/locales/lv_LV: Likewise.
15661 * localedata/locales/mi_NZ: Likewise.
15662 * localedata/locales/ml_IN: Likewise.
15663 * localedata/locales/mn_MN: Likewise.
15664 * localedata/locales/mr_IN: Likewise.
15665 * localedata/locales/mt_MT: Likewise.
15666 * localedata/locales/nb_NO: Likewise.
15667 * localedata/locales/om_KE: Likewise.
15668 * localedata/locales/os_RU: Likewise.
15669 * localedata/locales/pl_PL: Likewise.
15670 * localedata/locales/ps_AF: Likewise.
15671 * localedata/locales/ro_RO: Likewise.
15672 * localedata/locales/ru_RU: Likewise.
15673 * localedata/locales/ru_UA: Likewise.
15674 * localedata/locales/sc_IT: Likewise.
15675 * localedata/locales/se_NO: Likewise.
15676 * localedata/locales/si_LK: Likewise.
15677 * localedata/locales/sq_AL: Likewise.
15678 * localedata/locales/sv_FI: Likewise.
15679 * localedata/locales/sv_FI@euro: Likewise.
15680 * localedata/locales/sv_SE: Likewise.
15681 * localedata/locales/szl_PL: Likewise.
15682 * localedata/locales/tg_TJ: Likewise.
15683 * localedata/locales/ti_ER: Likewise.
15684 * localedata/locales/tk_TM: Likewise.
15685 * localedata/locales/tl_PH: Likewise.
15686 * localedata/locales/tr_TR: Likewise.
15687 * localedata/locales/tt_RU: Likewise.
15688 * localedata/locales/tt_RU@iqtelif: Likewise.
15689 * localedata/locales/ug_CN: Likewise.
15690 * localedata/locales/uk_UA: Likewise.
15691 * localedata/locales/uz_UZ: Likewise.
15692 * localedata/locales/uz_UZ@cyrillic: Likewise.
15693 * localedata/locales/vi_VN: Likewise.
15694 * localedata/locales/yi_US: Likewise.
15695 * localedata/locales/yo_NG: Likewise.
15697 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15699 * gen-locales.mk: Make test files which contain @ modifiers in their
15701 * localedata/gen-locale.sh: Likewise.
15703 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15705 * posix/tst-fnmatch.input: Fix results for range expressions
15707 * posix/tst-regexloc.c: Do not use a range expression for
15708 de_DE.ISO-8859-1 locale.
15710 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15712 * posix/bug-regex5.c: Fix test case because with the new
15713 iso14651_t1_common file, the da_DK locale now has 6 collating elements
15714 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
15717 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15719 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
15720 downloaded from ISO, the collation order of @-. and space has changed.
15721 Therefore, this test file needed to be adapted.
15722 * localedata/fr_CA.UTF-8.in: Likewise.
15723 * localedata/fr_FR.UTF-8.in: Likewise.
15724 * localedata/uk_UA.UTF-8.in: Likewise.
15726 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15728 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
15729 order of ȥ in the new iso14651_t1_common file.
15730 * localedata/pl_PL.UTF-8.in: Likewise.
15732 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15734 * localedata/locales/iso14651_t1_common: Add sections for various
15735 scripts to the iso14651_t1_common file.
15737 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15739 * localedata/locales/iso14651_t1_common: Use the code point of a
15740 character in the fourth collation level instead of IGNORE for all
15741 entries which have IGNORE on all 4 levels.
15743 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15745 * localedata/locales/iso14651_t1_common: Add some convenient collation
15746 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
15747 rules similar to those in CLDR.
15749 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15751 * localedata/locales/iso14651_t1_common: The new version of this
15752 file downloaded from ISO contained several syntax errors which
15753 are fixed by this patch.
15755 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15757 * localedata/locales/iso14651_t1_common: replace all <U.....>
15758 with <U000.....> because glibc understands only 4 digit or 8 digit
15760 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15762 * localedata/locales/iso14651_t1_common: Necessary changes
15763 to make the file downloaded from ISO usable by glibc.
15765 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15768 * localedata/locales/iso14651_t1_common: Update file to
15769 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
15771 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15773 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
15774 of <nptl/pthreadP.h>
15775 (thread_attr_compare): Move function to...
15776 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
15777 * sysdeps/nptl/timer_routines.h: ... new header.
15778 * sysdeps/mach/hurd/gai_misc.h: New file.
15780 2018-02-26 Joseph Myers <joseph@codesourcery.com>
15782 * string/strcoll_l.c: Include <libc-diag.h>.
15783 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
15784 declarations of seq1 and seq2.
15787 * stdlib/atoi.c (atoi): Use libc_hidden_def.
15788 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
15790 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
15794 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
15795 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
15796 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
15797 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
15798 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
15799 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
15801 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15803 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
15804 macros used in __ptrace_request.
15806 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
15809 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
15811 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
15812 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
15813 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
15816 2018-02-23 Joseph Myers <joseph@codesourcery.com>
15819 * ctype/ctype.c (tolower): Use libc_hidden_def.
15820 (toupper): Likewise.
15821 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
15822 [!_ISOMAC] (toupper): Likewise.
15824 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15826 * localedata/Makefile: Remove --quiet argument when
15829 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15832 * localedata/locales/pt_BR (LC_TIME): use / instead of -
15834 * localedata/locales/pt_PT (LC_TIME): likewise
15836 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15839 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
15840 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
15841 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
15843 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15845 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15847 * nptl/Makefile (routines): Remove unregister-atfork.
15848 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
15849 (fork_handler_alloc): Remove function.
15850 (fork_handlers, fork_handler_init): New variables.
15851 (__fork_lock): Rename to atfork_lock.
15852 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
15853 to use a dynamic array to add/remove atfork handlers.
15854 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15855 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
15856 Remove declaration.
15857 (fork_handler): Remove next, refcntr, and need_signal member.
15858 (__run_fork_handler_type): New enum.
15859 (__run_fork_handlers): New prototype.
15860 * nptl/register-atfork.c: Remove file.
15861 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
15863 * sysdeps/nptl/nptl-signals.h: Move to ...
15864 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
15866 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
15867 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
15868 unnecessary check for SIGTIMER.
15869 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
15870 remove unnecessary removal of SIGTIMER.
15871 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
15872 include-signals.h rename.
15873 * nptl/pthreadP.h: Likewise.
15874 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
15875 __is_internal_signal instead of __nptl_is_internal_signal.
15877 2018-02-22 Andrew Waterman <andrew@sifive.com>
15880 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
15881 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
15882 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
15883 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
15885 2018-02-22 DJ Delorie <dj@delorie.com>
15887 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
15889 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
15891 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
15892 do_misaligned, not misaligned8.
15894 2018-02-22 Steve Ellcey <sellcey@cavium.com>
15896 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
15897 Add memcpy_thunderx2.
15898 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
15900 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
15901 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
15902 and IS_THUNDERX2PA checks.
15903 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
15904 Use macro to set name appropriately.
15905 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
15906 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
15907 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
15909 (IS_THUNDERX2): New macro.
15911 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
15913 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15915 2018-02-21 Zack Weinberg <zackw@panix.com>
15917 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
15918 Define here, unconditionally.
15919 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
15920 * libio/libioP.h: Remove #if 0 blocks.
15921 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
15922 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
15923 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
15925 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
15926 Assume weak_alias is always defined.
15928 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
15929 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
15930 Remove #if 0 and #ifdef TODO blocks.
15931 Assume text_set_element is always defined.
15933 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
15934 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
15935 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
15937 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
15938 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
15939 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
15940 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
15941 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
15942 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
15943 Reformat bit flags for _flags field to make occupancy clearer.
15945 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
15946 Keep definitions consistent with those in libio/libio.h.
15948 * libio/libio.h (_IO_file_flags): Remove macro.
15949 All uses changed to _flags.
15951 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
15952 (__HAVE_COLUMN, _IO_BE): Don't define.
15953 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
15954 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
15955 * libio/libioP.h (EOF): Don't define.
15956 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
15957 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
15958 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
15959 testing _IO_UNIFIED_JUMPTABLES.
15961 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
15962 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
15963 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
15964 (_IO_size_t): Delete; all uses changed to size_t.
15965 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
15966 (_IO_off_t): Delete; all uses changed to off_t.
15967 (_IO_off64_t): Delete; all uses changed to off64_t.
15968 (_IO_pid_t): Delete; all uses changed to pid_t.
15969 (_IO_uid_t): Delete; all uses changed to uid_t.
15970 (_IO_wint_t): Delete; all uses changed to wint_t.
15971 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
15972 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
15973 (_IO_cookie_io_functions_t): Delete; all uses changed to
15974 cookie_io_functions_t.
15975 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
15976 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
15977 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
15978 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
15980 * libio/iofopncook.c: Remove unnecessary forward declarations.
15981 * libio/iolibio.h: Correct outdated commentary.
15982 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
15983 * stdio-common/fxprintf.c (__fxprintf_nocancel):
15984 Remove unnecessary casts.
15985 * stdio-common/getline.c: Use _IO_getdelim directly.
15986 Don't redefine ssize_t.
15987 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
15988 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
15989 Remove outdated comments.
15990 * stdio-common/vfscanf.c: Don't redefine va_list.
15992 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
15993 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
15994 Remove preprocessor conditionals on _LIBC and __USE_GNU,
15995 which are always true, and __cplusplus, which is always false.
15997 2018-02-21 Joseph Myers <joseph@codesourcery.com>
16001 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
16002 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
16003 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
16004 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
16006 [!_ISOMAC] (putc_unlocked): Likewise.
16007 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
16008 define inline if [__USE_EXTERN_INLINES].
16009 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
16014 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
16015 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
16016 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
16017 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
16018 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
16020 * time/tzfile.c (__tzfile_read): Likewise.
16022 2018-02-21 Mike FABIAN <mfabian@redhat.com>
16025 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
16027 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
16029 * io/fcntl.h: Fix a typo in a comment.
16031 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
16034 * include/features.h: Add _ISOC11_SOURCE to test for whether to
16035 define _DEFAULT_SOURCE.
16036 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
16038 2018-02-21 Florian Weimer <fweimer@redhat.com>
16041 * elf/cache.c (save_cache): Call fsync on temporary file before
16043 (save_aux_cache): Call fdatasync on temporary file before renaming
16046 2018-02-21 Florian Weimer <fweimer@redhat.com>
16049 * include/caller.h: Remove file.
16050 * elf/dl-caller.c: Likewise.
16051 * elf/Makefile (dl-routines): Remove dl-caller.
16052 (shared-only-routines): Do not add dl-caller.
16053 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
16055 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
16057 (dl_open_worker): Do not call __check_caller.
16058 (_dl_open): Do not set caller_dl_open member.
16059 * elf/rtld.c (_rtld_global_ro): Do not initialize
16060 _dl_check_caller member.
16061 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
16062 _dl_check_caller member.
16063 (_dl_check_caller): Remove declaration.
16064 * sysdeps/unix/sysv/linux/dl-execstack.c
16065 (_dl_make_stack_executable): Do not call __check_caller.
16067 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
16069 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
16070 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
16072 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
16074 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
16077 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
16080 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
16081 of 199606L, 200112L, and 200809L.
16082 (_XOPEN_SOURCE): Document special values of 600 and 700.
16083 (_ISOC11_SOURCE): Document macro.
16084 (_ATFILE_SOURCE): Likewise.
16085 (_FORTIFY_SOURCE): Likewise.
16087 2018-02-19 Joseph Myers <joseph@codesourcery.com>
16091 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
16092 and define as weak alias of __ferror_unlocked. Use
16094 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
16096 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
16097 function if [__USE_EXTERN_INLINES].
16098 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
16101 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
16104 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
16106 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
16109 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
16110 the GLIBC_2.1 version.
16112 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
16115 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
16116 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
16117 intl/tst-gettext-de.po from po/de.po by removing the
16118 POT-Creation-Date line.
16119 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
16121 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
16124 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
16126 * mach/Makefile (headers): Add mach/param.h.
16127 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
16128 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
16129 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
16130 (__ptsname_r): Move implementation to...
16131 (__ptsname_internal): ... new function. Add filling the STP
16134 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
16136 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
16139 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
16141 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
16144 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
16146 * nptl/Makefile (tst-mutex8-ENV): Delete.
16147 * nptl/tst-mutex8.c (check_type):
16148 Add runtime check if mutex will be elided.
16150 2018-02-15 Joseph Myers <joseph@codesourcery.com>
16154 * manual/install.texi (Configuring and compiling): Describe
16155 passing CC and CFLAGS on configure command line, not as
16156 environment variables. Use @code markup on those variables.
16157 Specify what options go in CC and what go in CFLAGS. Note the
16158 requirement to compile with optimization.
16159 * INSTALL: Regenerated.
16162 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
16163 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
16164 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
16165 __sigprocmask instead of sigprocmask.
16166 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
16168 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
16169 __sigsetjmp and sigprocmask.
16172 * include/argz.h (argz_next): Use libc_hidden_proto.
16173 (__argz_next): Likewise.
16174 * string-argz-next.c (__argz_next): Use libc_hidden_def.
16175 (argz_next): Use libc_hidden_weak.
16178 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
16180 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
16184 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
16186 * libio/iofputs.c (fputs): Use libc_hidden_weak.
16190 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
16191 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
16192 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
16193 (__feof_unlocked): New declaration, and inline function if
16194 [__USE_EXTERN_INLINES].
16195 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
16196 instead of feof_unlocked.
16197 * intl/localealias.c [_LIBC] (FEOF): Likewise.
16198 * nss/nsswitch.c (nss_parse_file): Likewise.
16199 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
16201 * time/getdate.c (__getdate_r): Likewise.
16202 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
16203 Define as macro to call __feof_unlocked.
16205 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
16207 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
16209 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
16211 * math/Makefile: Remove mpexp.c and mplog.c
16212 * sysdeps/i386/fpu/mpexp.c: Delete file.
16213 * sysdeps/i386/fpu/mplog.c: Likewise.
16214 * sysdeps/ia64/fpu/mpexp.c: Likewise.
16215 * sysdeps/ia64/fpu/mplog.c: Likewise.
16216 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
16217 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
16218 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
16219 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16220 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
16221 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
16222 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
16223 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
16224 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
16225 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16226 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
16227 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
16228 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16229 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
16230 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
16231 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16233 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
16235 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16237 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16239 * sysdeps/sh/libm-test-ulps: Update.
16241 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16243 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
16246 2018-02-12 Zack Weinberg <zackw@panix.com>
16249 * posix/sys/types.h: Don't include sys/sysmacros.h.
16250 * misc/sys/sysmacros.h: Remove the conditional deprecation
16251 warnings for the macros defined by this header.
16253 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
16255 * manual/probes.texi: Remove slowexp probes.
16256 * math/Makefile: Remove slowexp.
16257 * sysdeps/generic/math_private.h (__slowexp): Remove.
16258 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
16259 document error bounds.
16260 * sysdeps/i386/fpu/slowexp.c: Remove.
16261 * sysdeps/ia64/fpu/slowexp.c: Remove.
16262 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
16263 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
16264 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
16265 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
16266 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
16267 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
16268 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
16269 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
16270 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
16271 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
16272 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
16274 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
16277 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
16278 * benchtests/pow-inputs: Update comment for slow path cases.
16279 * manual/probes.texi (slowpow_p10): Delete removed probe.
16280 (slowpow_p10): Likewise.
16281 * math/Makefile: Remove halfulp.c and slowpow.c.
16282 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
16283 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
16284 (__halfulp): Remove.
16285 (__slowpow): Remove.
16286 * sysdeps/i386/fpu/halfulp.c: Delete file.
16287 * sysdeps/i386/fpu/slowpow.c: Likewise.
16288 * sysdeps/ia64/fpu/halfulp.c: Likewise.
16289 * sysdeps/ia64/fpu/slowpow.c: Likewise.
16290 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
16291 improve comments and add error analysis.
16292 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
16293 (power1): Remove function:
16294 (log1): Remove error argument, add error analysis.
16295 (my_log2): Remove function.
16296 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
16297 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16298 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
16299 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
16300 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
16301 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
16302 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
16303 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
16304 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
16305 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
16306 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
16307 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16308 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
16309 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16311 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
16313 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
16314 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
16316 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
16319 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
16320 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
16321 and PTRACE_SETHBPREGS.
16323 2018-02-10 Zack Weinberg <zackw@panix.com>
16326 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
16328 * malloc/tst-malloc-stats-cancellation.c: New test case.
16329 * malloc/Makefile: Add new test case.
16331 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
16333 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
16335 2018-02-10 Joseph Myers <joseph@codesourcery.com>
16337 * math/Makefile (libm-narrow-fns): Add add.
16338 (libm-test-funcs-narrow): Likewise.
16339 * math/Versions (GLIBC_2.28): Add narrowing add functions.
16340 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
16341 * math/gen-auto-libm-tests.c (test_functions): Add add.
16342 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
16343 (NARROW_ADD_ROUND_TO_ODD): Likewise.
16344 (NARROW_ADD_TRIVIAL): Likewise.
16345 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
16347 (__daddl): Likewise.
16348 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
16350 (CFLAGS-nldbl-dadd.c): New variable.
16351 (CFLAGS-nldbl-fadd.c): Likewise.
16352 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16354 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
16356 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
16357 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
16358 * math/auto-libm-test-in: Add tests of add.
16359 * math/auto-libm-test-out-narrow-add: New generated file.
16360 * math/libm-test-narrow-add.inc: New file.
16361 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
16362 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
16363 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
16364 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
16365 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
16366 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
16367 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
16368 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
16369 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
16370 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
16371 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
16372 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
16373 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
16374 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
16375 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
16376 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
16377 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
16378 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
16379 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16380 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16381 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16382 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16383 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16384 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16385 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16386 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16387 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16388 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16389 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16390 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16391 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16392 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16397 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16398 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16399 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16400 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16401 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16402 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16403 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
16404 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
16405 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16406 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16408 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
16409 (f128-pairs): New variable.
16410 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
16411 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
16413 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
16414 Also make tests add $(f128-loader-link) to gnulib-tests.
16416 2018-02-09 DJ Delorie <dj@redhat.com>
16419 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
16420 64-bit ELF type for 64-bit ELF objects.
16422 2018-02-09 Joseph Myers <joseph@codesourcery.com>
16424 * math/libm-test-driver.c (snan_tests_arg): New variable.
16425 * math/libm-test-support.h (snan_tests_arg): New declaration.
16426 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
16428 * math/Makefile (test-type-pairs): New variable.
16429 (test-type-pairs-f64xf128-yes): Likewise.
16430 (tests): Add test-narrow-macros.
16431 (libm-test-funcs-narrow): New variable.
16432 (libm-test-c-narrow): Likewise.
16433 (generated): Add $(libm-test-c-narrow).
16434 (libm-tests-base-narrow): New variable.
16435 (libm-tests-narrow): Likewise.
16436 (libm-tests): Add $(libm-tests-narrow).
16437 (libm-tests-for-type): Handle $(libm-tests-narrow).
16438 (libm-test-c-narrow-obj): New variable.
16439 ($(libm-test-c-narrow-obj)): New rule.
16440 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
16441 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
16442 $(o-iterator) to set dependencies and CFLAGS.
16443 * math/gen-auto-libm-tests.c: Document use for narrowing
16445 (output_for_one_input_case): Take argument NARROW.
16446 (generate_output): Likewise. Update call to
16447 output_for_one_input_case.
16448 (main): Take --narrow option. Update call to generate_output.
16449 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
16450 (apply_lit): Update call to _apply_lit.
16451 (apply_arglit): New function.
16452 (parse_args): Handle "a" arguments.
16453 (parse_auto_input): Handle format names using ":".
16454 * math/README.libm-test: Document "a" parameter type.
16455 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
16456 (ARG_TYPE_TRUE_MIN): Likewise.
16457 (ARG_TYPE_MAX): Likwise.
16458 (ARG_MIN_EXP): Likewise.
16459 (ARG_MAX_EXP): Likewise.
16460 (ARG_MANT_DIG): Likewise.
16461 (TEST_COND_arg_ibm128): Likewise.
16462 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
16463 (TEST_COND_arg_fmt): New macro.
16464 (init_max_error): Update prototype.
16465 * math/libm-test-support.c (test_ibm128): New variable.
16466 (init_max_error): Take argument testing_ibm128 and set test_ibm128
16467 instead of using [TEST_COND_ibm128] conditional.
16468 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
16469 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
16470 [TEST_NARROW] (TEST_MSG): New definition.
16471 (arg_plus_zero): New macro.
16472 (arg_minus_zero): Likewise.
16473 (arg_plus_infty): Likewise.
16474 (arg_minus_infty): Likewise.
16475 (arg_qnan_value_pl): Likewise.
16476 (arg_qnan_value): Likewise.
16477 (arg_snan_value_pl): Likewise.
16478 (arg_snan_value): Likewise.
16479 (arg_max_value): Likewise.
16480 (arg_min_value): Likewise.
16481 (arg_min_subnorm_value): Likewise.
16482 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
16483 (RUN_TEST_LOOP_aa_f): New macro.
16484 (TEST_SUFF): New macro.
16485 (TEST_SUFF_STR): Likewise.
16486 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
16487 (TEST_COND_any_ibm128): New macro.
16488 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
16489 this_func. Update call to init_max_error.
16490 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
16491 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
16492 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
16493 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
16494 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
16495 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
16496 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
16497 * math/test-math-scalar.h (TEST_NARROW): Likewise.
16498 * math/test-math-vector.h (TEST_NARROW): Likewise.
16499 * math/test-arg-double.h: New file.
16500 * math/test-arg-float128.h: Likewise.
16501 * math/test-arg-float32x.h: Likewise.
16502 * math/test-arg-float64.h: Likewise.
16503 * math/test-arg-float64x.h: Likewise.
16504 * math/test-arg-ldouble.h: Likewise.
16505 * math/test-math-narrow.h: Likewise.
16506 * math/test-narrow-macros.c: Likewise.
16507 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
16508 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
16509 test-narrow-macros-ldbl-64.
16510 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
16512 * math/bits/mathcalls-narrow.h: New file.
16513 * include/bits/mathcalls-narrow.h: Likewise.
16514 * math/math-narrow.h: Likewise.
16515 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
16516 (__MATHCALL_NARROW_ARGS_2): Likewise.
16517 (__MATHCALL_NARROW_ARGS_3): Likewise.
16518 (__MATHCALL_NARROW_NORMAL): Likewise.
16519 (__MATHCALL_NARROW_REDIR): Likewise.
16520 (__MATHCALL_NARROW): Likewise.
16521 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
16522 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
16524 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
16525 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
16526 (libm-narrow-fns): New variable.
16527 (libm-narrow-types-basic): Likewise.
16528 (libm-narrow-types-ldouble-yes): Likewise.
16529 (libm-narrow-types-float128-yes): Likewise.
16530 (libm-narrow-types-float128-alias-yes): Likewise.
16531 (libm-narrow-types): Likewise.
16532 (libm-routines): Add narrowing functions.
16533 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
16534 (libc_feholdexcept_setroundf128): New macro.
16535 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
16536 * sysdeps/ieee754/float128/float128_private.h: Include
16537 <math/math-narrow.h>.
16538 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
16539 Undefine and redefine.
16540 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
16541 (libm_alias_float_ldouble): Undefine and redefine.
16542 (libm_alias_double_ldouble): Likewise.
16544 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
16546 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
16548 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
16551 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
16553 * manual/creature.texi: Convert references to gcc.info to gcc.
16554 * manual/stdio.texi: Likewise.
16555 * manual/string.texi: Likewise.
16557 2018-02-07 Joseph Myers <joseph@codesourcery.com>
16560 * posix/bits/types.h (__int_least8_t): New typedef.
16561 (__uint_least8_t): Likewise.
16562 (__int_least16_t): Likewise.
16563 (__uint_least16_t): Likewise.
16564 (__int_least32_t): Likewise.
16565 (__uint_least32_t): Likewise.
16566 (__int_least64_t): Likewise.
16567 (__uint_least64_t): Likewise.
16568 * sysdeps/generic/stdint.h (int_least8_t): Define using
16570 (int_least16_t): Define using __int_least16_t.
16571 (int_least32_t): Define using __int_least32_t.
16572 (int_least64_t): Define using __int_least64_t.
16573 (uint_least8_t): Define using __uint_least8_t.
16574 (uint_least16_t): Define using __uint_least16_t.
16575 (uint_least32_t): Define using __uint_least32_t.
16576 (uint_least64_t): Define using __uint_least64_t.
16577 * wcsmbs/uchar.h: Include <bits/types.h>.
16578 (char16_t): Define using __uint_least16_t conditional only on
16580 (char32_t): Define using __uint_least32_t conditional only on
16582 * wcsmbs/test-char-types.c: New file.
16583 * wcsmbs/Makefile (tests): Add test-char-types.
16585 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
16588 2018-02-07 Zack Weinberg <zackw@panix.com>
16590 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
16591 Delete all contents except for definitions of _G_HAVE_MMAP and
16592 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
16593 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
16594 sysdeps/unix/sysv/linux/_G_config.h. Make same content
16597 * libio/libio.h: Don't include bits/_G_config.h here.
16598 Include stddef.h with __need_wchar_t defined. Include
16599 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
16600 Define _IO_iconv_t here, directly.
16601 Don't define _IO_HAVE_ST_BLKSIZE.
16602 * libio/libioP.h: Include _G_config.h here. Move include of
16603 shlib-compat.h up with rest of includes. Simplify conditionals
16604 controlling definition of _IO_JUMPS_OFFSET.
16606 * csu/init.c: Remove always-true #if around entire file.
16607 Don't include stdio.h. Set _IO_stdin_used to hardwired
16608 constant 0x20001, and update commentary.
16609 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
16610 Replace all uses of _G_va_list with __gnuc_va_list.
16611 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
16612 instead of #if _IO_HAVE_ST_BLKSIZE.
16613 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
16614 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
16617 * libio/bits/libio.h: Move back to libio/libio.h and adjust
16618 multiple-include guard to match.
16619 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
16621 Remove preprocessor conditionals that are always true and/or
16622 redundant to other preprocessor conditionals in the same nest.
16623 Include shlib-compat.h unconditionally.
16624 Error out if _LIBC is not defined, or if _ISOMAC is defined,
16625 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
16626 defined after including stdio.h.
16627 Use __BEGIN_DECLS/__END_DECLS.
16629 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
16630 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
16631 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
16633 2018-02-07 Zack Weinberg <zackw@panix.com>
16635 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
16636 New single-type headers split from _G_config.h.
16637 * libio/bits/types/cookie_io_functions_t.h
16638 * libio/bits/types/struct_FILE.h
16639 New single-type headers split from libio.h.
16641 * libio/Makefile: Install the above new headers. Don't install
16642 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
16644 * libio/_G_config.h, libio/libio.h: Delete file.
16646 * libio/bits/libio.h: Remove improper-inclusion guard.
16647 Include stdio.h and don't repeat anything that it does.
16648 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
16649 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
16650 __io_read_fn as cookie_read_function_t,
16651 __io_write_fn as cookie_write_function_t,
16652 __io_seek_fn as cookie_seek_function_t,
16653 __io_close_fn as cookie_close_function_t,
16654 and _IO_cookie_io_functions_t as cookie_io_functions_t.
16655 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
16656 here, in the "compatibility defines" section. Remove an #if 0
16657 block. Use the "body" macros from bits/types/struct_FILE.h to
16658 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
16659 and _IO_ferror_unlocked.
16660 Move prototypes of __uflow and __overflow...
16662 * libio/stdio.h: ...here. Don't include bits/libio.h.
16663 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
16664 directly from stdarg.h. Include bits/types/__fpos_t.h,
16665 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
16666 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
16667 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
16668 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
16669 cookie_io_functions_t, not _IO_cookie_io_functions_t;
16670 __ssize_t, not _IO_ssize_t. Unconditionally define
16671 BUFSIZ as 8192 and EOF as (-1).
16673 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
16674 macros from bits/types/struct_FILE.h instead of _IO_* macros
16675 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
16676 instead of _IO_ssize_t.
16677 * libio/bits/stdio2.h: Similarly.
16679 * libio/iolibio.h: Add multiple-include guard.
16680 Include bits/libio.h after stdio.h.
16681 * libio/libioP.h: Add multiple-include guard.
16682 Include stdio.h and bits/libio.h before iolibio.h.
16684 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
16685 * include/bits/types/cookie_io_functions_t.h
16686 * include/bits/types/struct_FILE.h: New wrappers.
16688 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
16689 Get definitions of _G_fpos_t and _G_fpos64_t from
16690 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
16691 respectively. Remove improper-inclusion guards.
16693 * conform/data/stdio.h-data: Update expectations of va_list.
16694 * scripts/check-installed-headers.sh: Remove special case for
16695 libio.h and _G_config.h.
16697 2018-02-07 Joseph Myers <joseph@codesourcery.com>
16701 * include/sys/sysmacros.h [!_ISOMAC]
16702 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
16703 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
16704 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
16705 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
16707 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
16708 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
16710 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
16711 Undefine and redefine to add use __gnu_dev_ prefix.
16712 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
16714 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
16715 and define as hidden inline function.
16716 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
16718 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
16720 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
16721 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
16722 (gnu_dev_minor): Likewise.
16723 (gnu_dev_makedev): Likewise.
16724 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
16726 * posix/wordexp.c (exec_comm_child): Likewise.
16727 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
16728 instead of minor and __gnu_dev_major instead of major.
16729 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
16730 __gnu_dev_major instead of major.
16731 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
16732 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
16733 instead of gnu_dev_minor.
16734 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
16735 (SLAVE_P): Likewise.
16736 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
16737 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
16741 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
16743 * locale/weightwc.h (findidx): Likewise.
16745 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
16747 * manual/probes.texi (slowlog): Delete documentation of removed probe.
16748 (slowlog_inexact): Likewise
16749 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
16750 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
16752 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
16755 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
16756 missing second underscore to parameter name.
16758 2018-02-06 Joseph Myers <joseph@codesourcery.com>
16764 * bits/byteswap.h: Update file comment. Do not include
16765 <bits/byteswap-16.h>.
16766 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
16768 (__bswap_16): Define as inline function.
16769 (__bswap_constant_32): Reformat definition.
16770 (__bswap_32): Always define as inline function, not macro, using
16771 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
16772 otherwise __bswap_constant_32.
16773 (__bswap_constant_64): Reformat definition. Do not use
16774 __extension__ here.
16775 (__bswap_64): Always define as inline function, not macro. Use
16776 __extension__ on function definition. Use __builtin_bswap64 if
16777 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
16778 * string/test-endian-file-scope.c: New file.
16779 * string/test-endian-sign-conversion.c: Likewise.
16780 * string/Makefile (headers): Remove bits/byteswap-16.h.
16781 (tests): Add test-endian-file-scope and
16782 test-endian-sign-conversion.
16783 (CFLAGS-test-endian-sign-conversion.c): New variable.
16784 * bits/byteswap-16.h: Remove file.
16785 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
16786 * sysdeps/ia64/bits/byteswap.h: Likewise.
16787 * sysdeps/m68k/bits/byteswap.h: Likewise.
16788 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16789 * sysdeps/s390/bits/byteswap.h: Likewise.
16790 * sysdeps/tile/bits/byteswap.h: Likewise.
16791 * sysdeps/x86/bits/byteswap-16.h: Likewise.
16792 * sysdeps/x86/bits/byteswap.h: Likewise.
16795 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
16796 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
16797 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
16798 199901L] (__restrict): Define to restrict.
16801 * string/testcopy.c: Include <support/support.h>. Do not include
16802 <malloc.h>. Use <support/test-driver.c>.
16803 (main): Rename to do_test. Make static. Use xmalloc instead of
16807 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
16808 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
16809 (SSIZE_MAX): Define to INT_MAX.
16810 * posix/test-ssize-max.c: New file.
16811 * posix/Makefile (tests): Add test-ssize-max.
16814 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
16815 <support/support.h>. Do not include <malloc.h>.
16816 (query_auxv): Use xmalloc instead of malloc.
16819 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
16820 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
16823 2018-02-06 Florian Weimer <fweimer@redhat.com>
16826 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16827 Use scratch_buffer instead of extend_alloca.
16829 2018-02-06 Zack Weinberg <zackw@panix.com>
16831 * libio/stdio.h: Don't define getc or putc as macros.
16832 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
16833 not _IO_getc and _IO_putc.
16835 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
16836 * stdio-common/tstgetln.c: Don't redefine ssize_t.
16838 2018-02-06 Joseph Myers <joseph@codesourcery.com>
16840 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
16841 (TCP_FASTOPEN_NO_COOKIE): Likewise.
16843 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
16846 * elf/elf.h (NT_PRFPREG): New macro.
16847 (NT_S390_VXRS_LOW): Likewise.
16848 (NT_S390_VXRS_HIGH): Likewise.
16849 (NT_S390_GS_CB): Likewise.
16850 (NT_S390_GS_BC): Likewise.
16851 (NT_S390_RI_CB): Likewise.
16853 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
16854 (MAP_SYNC): New macro.
16855 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
16857 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
16858 (MAP_SYNC): Likewise.
16859 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
16860 (MAP_SYNC): Likewise.
16861 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
16862 (MAP_SYNC): Likewise.
16863 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
16864 (MAP_SYNC): Likewise.
16865 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
16866 (MAP_SYNC): Likewise.
16867 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
16868 (MAP_SYNC): Likewise.
16869 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
16871 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
16874 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
16875 (MAP_SHARED_VALIDATE): New macro.
16876 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16877 (MAP_SHARED_VALIDATE): Likewise.
16879 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16881 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
16882 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
16883 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
16885 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16887 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
16888 (DT_NUM): Updated to 35.
16890 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16892 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
16893 __builtin_expect with __glibc_likely and __glibc_unlikely.
16894 (elf_machine_rela): Likewise.
16895 (elf_machine_lazy_rel): Likewise.
16897 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16899 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
16900 __builtin_expect with __glibc_likely and __glibc_unlikely.
16901 (elf_machine_lazy_rel): Likewise.
16903 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16906 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
16908 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
16910 2018-02-05 Andreas Schwab <schwab@suse.de>
16913 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
16916 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16918 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
16919 not check against PTHREAD_STACK_MIN.
16921 2018-02-02 Sean McKean <smckean83@gmail.com>
16924 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
16926 2018-02-02 Florian Weimer <fweimer@redhat.com>
16929 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
16930 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
16931 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
16932 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
16933 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
16934 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
16935 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
16936 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
16937 * manual/llio.texi (Scatter-Gather): Mention offset -1.
16938 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
16939 * misc/tst-preadvwritev2.c (do_test): Call it.
16940 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
16942 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
16944 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
16946 * benchtests/bench-memcmp.c: Print json instead of plain text.
16948 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
16951 2018-02-01 Joseph Myers <joseph@codesourcery.com>
16953 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16955 (s390_sthyi): New syscall.
16957 * sysdeps/generic/ldbl-classify-compat.h: New file.
16958 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
16959 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
16960 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
16961 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
16962 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
16963 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
16964 * sysdeps/ieee754/dbl-64/s_finite.c: Include
16965 <ldbl-classify-compat.h>.
16966 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16967 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
16968 <ldbl-classify-compat.h>.
16969 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16970 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
16971 <ldbl-classify-compat.h>.
16972 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16973 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
16974 <ldbl-classify-compat.h>.
16975 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16976 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
16977 <ldbl-classify-compat.h>.
16978 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16979 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
16980 <ldbl-classify-compat.h>.
16981 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16982 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
16983 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
16984 * sysdeps/m68k/coldfire/math_private.h: Remove file.
16985 * sysdeps/microblaze/math_private.h: Likewise.
16986 * sysdeps/nios2/math_private.h: Likewise.
16987 * sysdeps/sh/math_private.h: Likewise.
16989 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
16990 * sysdeps/m68k/coldfire/math_private.h: ... here.
16991 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
16992 * sysdeps/tile/math_private.h: Likewise.
16993 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
16995 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
16998 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
17000 (libc_fetestexcept): Likewise.
17001 (libc_feupdateenv_test): Likewise.
17002 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
17003 (libc_fetestexcept): Likewise.
17004 (libc_feupdateenv_test): Likewise.
17005 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
17006 (libc_fetestexcept): Likewise.
17007 (libc_feupdateenv_test): Likewise.
17008 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
17009 (libc_fetestexcept): Likewise.
17010 (libc_feupdateenv_test): Likewise.
17012 * sysdeps/generic/math_private.h
17013 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
17014 New inline function.
17015 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
17018 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
17019 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
17020 * sysdeps/generic/math_private.h
17021 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
17023 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
17025 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
17027 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
17029 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
17031 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
17033 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
17034 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
17035 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
17036 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
17037 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
17038 (__fegetenv): Likewise.
17039 (fesetenv): Likewise.
17040 (__fesetenv): Likewise.
17041 (feupdateenv): Likewise.
17042 (__feupdateenv): Likewise.
17043 (fegetround): Likewise.
17044 (__fegetround): Likewise.
17045 (fesetround): Likewise.
17046 (__fesetround): Likewise.
17048 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
17049 (feraiseexcept): New macro.
17050 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
17051 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
17053 (__feraiseexcept): Likewise.
17054 (feclearexcept): Likewise.
17055 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
17056 (__feraiseexcept): Likewise.
17057 (feclearexcept): Likewise.
17058 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
17059 (__feraiseexcept): Likewise.
17060 (feclearexcept): Likewise.
17061 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
17062 (__feraiseexcept): Likewise.
17063 (feclearexcept): Likewise.
17064 (fetestexcept): Likewise.
17066 * sysdeps/m68k/coldfire/math-tests.h: New file.
17068 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
17069 * sysdeps/m68k/bits/fenv.h: ... here.
17070 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
17072 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
17074 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
17076 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
17078 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
17080 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
17082 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
17083 (__FE_UNDEFINED): New enum constant.
17084 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
17086 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
17088 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
17090 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
17091 to match generic bits/fenv.h.
17092 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
17095 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
17097 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
17098 * soft-fp/half.h (union _FP_UNION_H): Likewise.
17099 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
17100 * soft-fp/single.h (union _FP_UNION_S): Likewise.
17102 2018-02-01 Carlos O'Donell <carlos@redhat.com>
17103 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
17104 Joseph Myers <joseph@codesourcery.com>
17107 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
17108 (__log1p): Disable -Wmaybe-uninitialized for -Os around
17109 computation using c.
17110 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
17111 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
17112 computation using c.
17114 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
17116 * version.h (RELEASE): Set to "development".
17117 (VERSION): Set to "2.27.9000".
17118 * NEWS (2.28): New section.
17120 * version.h (RELEASE): Set to "stable".
17121 (VERSION): Set to "2.27".
17122 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
17124 * NEWS: Add the list of bugs fixed in 2.27.
17126 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17128 * stdlib/test-atexit-race-common.c (do_test): Check stack size
17129 against PTHREAD_STACK_MIN.
17131 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
17133 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
17135 (Rafal Luzynski, Andreas Schwab): Update.
17137 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
17140 * NEWS: List the languages which actually use the alternative
17141 months feature in this release. Also explain that "alt_mon" and
17142 "ab_alt_mon" are optional.
17144 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
17147 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
17149 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
17151 * manual/install.texi (Tools for Compilation): Update the newest
17152 versions of gcc, binutils, texinfo, gawk, bison, and sed.
17153 * INSTALL: Regenerated.
17155 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17157 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
17158 instead of __builtin_expect.
17160 2018-01-30 Florian Weimer <fweimer@redhat.com>
17162 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
17164 * nss/tst-nss-getpwent.c (do_test): Likewise.
17166 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
17169 * localedata/locales/hr_HR (mon): Rename to...
17171 (mon): Import from CLDR (genitive case).
17172 (d_t_fmt): Update the comment.
17174 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
17176 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
17177 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
17178 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
17180 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17182 * mach/Versions: Fix version when __mach_host_self_ was added.
17183 * hurd/Versions: Fix version when _hurd_exec_paths was added.
17184 * sysdeps/mach/hurd/i386/ld.abilist: New file.
17185 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
17186 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
17187 * sysdeps/mach/hurd/i386/libc.abilist: New file.
17188 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
17189 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
17190 * sysdeps/mach/hurd/i386/libm.abilist: New file.
17191 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
17192 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
17193 * sysdeps/mach/hurd/i386/librt.abilist: New file.
17194 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
17195 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
17196 || to respect codestyle.
17197 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
17198 (do_test_bz20181): Rename accordingly.
17199 * malloc/malloc.c: Include <assert.h>.
17200 (assert): Do not define.
17201 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
17202 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
17203 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
17204 * sysdeps/mach/hurd/hp-timing.h: New file.
17205 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
17207 2018-01-29 Darius Rad <darius@bluespec.com>
17209 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
17211 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
17213 * sysdeps/init_array/crti.S (.section .init_array): Add
17214 PREINIT_FUNCTION when defined.
17215 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
17216 * config.h.in: Regenerate.
17217 * manual/platform.texi: Add RISC-V documenation for
17218 __riscv_flush_icache.
17219 * sysdeps/riscv/__longjmp.S: New file.
17220 * sysdeps/riscv/backtrace.c: Likewise.
17221 * sysdeps/riscv/bits/endian.h: Likewise.
17222 * sysdeps/riscv/bits/setjmp.h: Likewise.
17223 * sysdeps/riscv/bits/wordsize.h: Likewise.
17224 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
17225 * sysdeps/riscv/bsd-setjmp.c: Likewise.
17226 * sysdeps/riscv/dl-trampoline.S: Likewise.
17227 * sysdeps/riscv/gccframe.h: Likewise.
17228 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
17229 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
17230 * sysdeps/riscv/machine-gmon.h: Likewise.
17231 * sysdeps/riscv/memusage.h: Likewise.
17232 * sysdeps/riscv/setjmp.S: Likewise.
17233 * sysdeps/riscv/sys/asm.h: Likewise.
17234 * sysdeps/riscv/tls-macros.h: Likewise.
17235 * sysdeps/riscv/dl-tls.h: New file.
17236 * sysdeps/riscv/libc-tls.c: Likewise.
17237 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
17238 * sysdeps/riscv/nptl/tls.h: Likewise.
17239 * sysdeps/riscv/stackinfo.h: Likewise.
17240 * sysdeps/riscv/bits/fenv.h: New file.
17241 * sysdeps/riscv/e_sqrtl.c: Likewise.
17242 * sysdeps/riscv/fpu_control.h: Likewise.
17243 * sysdeps/riscv/math-tests.h: Likewise.
17244 * sysdeps/riscv/nofpu/Implies: Likewise.
17245 * sysdeps/riscv/sfp-machine.h: Likewise.
17246 * sysdeps/riscv/tininess.h: Likewise.
17247 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
17248 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
17249 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
17250 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
17251 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
17252 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
17253 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
17254 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
17255 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
17256 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
17257 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
17258 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
17259 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
17260 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
17261 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
17262 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
17263 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
17264 * sysdeps/riscv/rvd/s_finite.c: Likewise.
17265 * sysdeps/riscv/rvd/s_fma.c: Likewise.
17266 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
17267 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
17268 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
17269 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
17270 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
17271 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
17272 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
17273 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
17274 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
17275 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
17276 * sysdeps/riscv/rvf/fegetround.c: Likewise.
17277 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
17278 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
17279 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
17280 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
17281 * sysdeps/riscv/rvf/fesetround.c: Likewise.
17282 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
17283 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
17284 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
17285 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
17286 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
17287 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
17288 * sysdeps/riscv/rvf/math_private.h: Likewise.
17289 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
17290 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
17291 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
17292 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
17293 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
17294 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
17295 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
17296 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
17297 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
17298 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
17299 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
17300 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
17301 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
17302 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
17303 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
17304 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
17305 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
17306 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
17307 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
17308 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
17309 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
17310 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
17311 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
17312 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
17313 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
17314 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
17315 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
17316 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
17317 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
17318 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
17319 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
17320 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
17321 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
17322 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
17323 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
17324 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
17325 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
17326 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
17327 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
17328 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
17329 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
17330 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
17331 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
17332 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
17333 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
17334 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
17335 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
17336 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
17337 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
17338 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
17339 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
17340 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
17341 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
17342 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
17343 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
17344 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
17345 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
17346 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
17347 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
17348 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
17349 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
17350 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
17351 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
17352 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
17353 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17354 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
17355 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
17356 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
17357 * sysdeps/riscv/Implies: New file.
17358 * sysdeps/riscv/Makefile: Likewise.
17359 * sysdeps/riscv/configure: Likewise.
17360 * sysdeps/riscv/configure.ac: Likewise.
17361 * sysdeps/riscv/nptl/Makefile: Likewise.
17362 * sysdeps/riscv/preconfigure: Likewise.
17363 * sysdeps/riscv/rv64/Implies-after: Likewise.
17364 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
17365 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
17366 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
17367 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
17368 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
17369 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
17370 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
17371 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
17372 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
17373 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
17374 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
17375 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
17376 (Config): Likewise.
17378 2018-01-29 Florian Weimer <fweimer@redhat.com>
17381 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
17382 libnsl_hidden_proto.
17383 * include/rpcsvc/yp.h (yp_xdrall): Declare with
17384 libnsl_hidden_proto.
17385 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
17386 * nis/Makefile (libnsl-routines): Add nss-default only for
17387 build-obsolete-nsl.
17388 * nis/nis_defaults.c (__nis_default_ttl): Add
17389 libnsl_hidden_nolink_def.
17390 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
17392 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
17393 * nis/ypclnt.c (yp_maplist): Likewise.
17395 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
17397 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17398 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
17400 2018-01-29 Joseph Myers <joseph@codesourcery.com>
17402 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
17403 clean -dxfq for git updates when replacing sources.
17405 * scripts/build-many-glibcs.py (Config.build_gcc): Use
17406 --disable-libcilkrts unconditionally, not just for the final GCC
17409 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
17412 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17415 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
17418 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17421 * localedata/locales/be_BY (mon): Rename to...
17422 (alt_mon): This, then synchronize with CLDR (nominative case).
17423 (abmon): Rename to...
17424 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
17425 (mon): Import from CLDR (genitive case).
17427 * localedata/locales/be_BY@latin (mon): Rename to...
17429 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
17431 * localedata/locales/be_BY@latin (lang_name): Reworded to
17432 "biełaruskaja mova".
17434 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17437 * localedata/locales/el_CY (mon): Renamed to...
17439 (mon): Import from CLDR (genitive case).
17440 * localedata/locales/el_GR: Likewise.
17442 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17445 * localedata/locales/ru_RU (mon): Rename to...
17447 (abmon): Rename to...
17448 (ab_alt_mon): This.
17449 (mon): Import from CLDR (genitive case).
17450 (abmon): Copy from the old content except the 5th month which is
17451 now in the genitive case, even when abbreviated.
17452 * localedata/locales/ru_UA: Likewise.
17453 * time/tst-strptime.c (day_tests): Add an actual example of
17454 a difference between %b and %Ob in Russian.
17456 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17458 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
17459 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
17461 * resolv/res-close.c: Include <stdlib.h>.
17462 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
17463 <sys/wait.h>, <time.h>, <sys/uio.h>.
17464 (NOT_CANCEL_H): Add inclusion guard.
17465 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
17466 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
17467 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
17469 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
17470 vm_address_t * to ElfW(Addr) * for dl_main parameter.
17471 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
17473 * sysdeps/pthread/timer_create.c (timer_create): Do not use
17474 timer_ptr2id to cast struct timer_node * to void *.
17475 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
17476 --disable-libcilkrts to gcc configure.
17477 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
17478 and make them the default for now.
17479 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
17480 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
17481 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
17482 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
17483 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
17485 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
17486 __task_terminate would ever return successfully.
17487 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
17489 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
17490 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
17491 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
17492 critical section to make code simpler and avoid warning.
17493 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
17494 critical section to make code simpler and avoid warning.
17495 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
17496 const char * instead of char *.
17497 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
17498 __hurd_file_name_split, hurd_file_name_split,
17499 __hurd_directory_name_split, hurd_directory_name_split,
17500 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
17501 hurd_file_name_path_lookup): Make lookup function parameter take a
17502 const char *name instead of char *name.
17503 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
17504 __hurd_directory_name_split): Likewise.
17505 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
17506 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
17507 * sysdeps/mach/hurd/check_native.c: New file.
17508 * sysdeps/mach/hurd/check_pf.c: New file.
17509 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
17510 (__freeifaddrs): Define macro to freeifaddrs.
17511 * sysdeps/mach/hurd/libhurduser.abilist: New file.
17512 * sysdeps/mach/libmachuser.abilist: New file.
17513 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
17514 (do_test_bz20181): Rename accordingly.
17515 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
17516 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
17518 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
17519 version only if __USE_EXTERN_INLINES is defined.
17520 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
17521 __hurd_sockfail): Likewise.
17522 (_hurd_fd_get): Always declare functions, and provide inline versions
17523 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
17524 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
17525 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
17526 _hurd_port_set): Always declare functions, and provide inline versions
17527 only if __USE_EXTERN_INLINES and _LIBC are defined and
17529 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
17530 _hurd_critical_section_unlock): Likewise.
17531 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
17532 * __hurd_threadvar_location): Likewise.
17533 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
17534 _hurd_userlink_clear): Likewise.
17535 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
17536 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
17537 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
17538 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
17539 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
17540 __spin_lock_locked): Likewise.
17541 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
17542 __spin_lock_locked): Likewise.
17543 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
17544 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
17545 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
17546 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
17547 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
17548 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
17549 _POSIX_NO_TRUNC): Define to 0.
17550 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
17551 check size against PTHREAD_STACK_MIN.
17552 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
17553 IS_IN(libpthread)]: Include <sigsetops.h>.
17554 * mach/Makefile (user-interfaces): Add mach/gnumach.
17555 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
17556 * sysdeps/mach/configure (mach_interface_list): Regenerate.
17557 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
17558 instead of invalid -1.
17559 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
17560 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
17561 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
17564 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
17566 * hurd/fcntl-internal.h: New file.
17568 2018-01-27 James Clarke <jrtc27@jrtc27.com>
17570 * sysdeps/hppa/fpu/libm-test-ulps: Update.
17572 * sysdeps/alpha/fpu/libm-test-ulps: Update.
17574 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
17577 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
17578 Build only shared objects.
17580 2018-01-26 Carlos O'Donell <carlos@redhat.com>
17582 * README: Update for hppa.
17584 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17586 * sysdeps/sparc/fpu/libm-test-ulps: Update
17587 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
17589 2018-01-26 Carlos O'Donell <carlos@redhat.com>
17593 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17596 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17597 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
17598 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17599 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
17602 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17605 * bits/types/__cancel_jmp_buf_tag.h: New file.
17606 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
17607 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
17608 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
17609 * nptl/Makefile (headers): Add
17610 bits/types/__cancel_jmp_buf_tag.h.
17611 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
17612 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
17613 * sysdeps/nptl/pthread.h: Include
17614 <bits/types/__cancel_jmp_buf_tag.h>.
17615 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
17617 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
17619 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
17622 * localedata/locales/uk_UA (mon): Renamed to...
17624 (alt_digits): "0" removed and then renamed to...
17626 (date_fmt): Definition changed not to use the alternative
17629 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
17631 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
17632 FLAG_RISCV_FLOAT_ABI_DOUBLE.
17633 * elf/elf.h (EF_RISCV_RVC): New define.
17634 (EF_RISCV_FLOAT_ABI): Likewise.
17635 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
17636 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
17637 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17638 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
17639 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
17641 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17643 2018-01-25 Andreas Schwab <schwab@suse.de>
17645 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
17647 * sysdeps/gnu/configure: Regenerate.
17648 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
17649 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17651 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
17652 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
17653 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
17654 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
17655 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
17657 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
17659 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
17660 URL, and run autoconf, make it the default for now.
17662 2018-01-24 Joseph Myers <joseph@codesourcery.com>
17664 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17665 soft-float ColdFire configuration.
17667 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
17668 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
17669 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
17671 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
17674 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
17676 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
17678 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
17681 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
17682 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
17683 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
17686 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
17689 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
17690 Rename to __reserved and add comment.
17691 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
17692 Rename to __reserved.
17694 2018-01-24 Joseph Myers <joseph@codesourcery.com>
17696 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17697 i686-gnu configurations.
17698 (Context.run_builds): Include mig, gnumach and hurd in components
17700 (Context.checkout): Add mig, gnumach and hurd to components.
17701 (Context.checkout_tar): Add URL mappings for mig, gnumach and
17703 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
17704 (Config.build): Install gnumach headers, build mig and install
17705 hurd headers for 'gnu' OS.
17706 (Config.install_gnumach_headers): New function.
17707 (Config.install_hurd_headers): Likewise.
17708 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
17709 when building for 'gnu' OS.
17711 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
17713 * manual/tunables.texi (Hardware Capability Tunables): Fix
17716 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
17718 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
17719 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
17720 (ALTMON_11, ALTMON_12): Improve documentation.
17721 * manual/time.texi (strftime): Likewise.
17723 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17726 * localedata/locales/pl_PL: Alternative month names added,
17727 primary month names are genitive now.
17728 * time/tst-strptime.c (day_tests): Actually use a genitive case
17729 of a month name in Polish language.
17731 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17734 * manual/locale.texi: Document ALTMON_1..12 constants for
17735 nl_langinfo. Specify when to use ALTMON instead of MON.
17736 * manual/time.texi (strftime, strptime): Document GNU extension
17737 permitting O modifier with %B and %b. Specify when to use
17740 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17743 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
17744 names, define them as the same as abbreviated month names explicitly.
17745 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
17746 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
17747 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
17748 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
17749 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
17750 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
17751 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
17752 _NL_WABALTMON_12): New enum constants.
17753 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
17754 wab_alt_mon, and ab_alt_mon_defined members.
17755 (time_output): Output ab_alt_mon and wab_alt_mon members.
17756 (time_read): Read them, initialize them as copies of abmon and wabmon
17757 respectively if they are missing, initialize ab_alt_mon_defined.
17758 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
17759 * locale/programs/locfile-kw.h: Regenerate.
17760 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
17761 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
17763 * time/strftime_l.c (a_altmonth, aam_len): New macros.
17764 [!COMPILE_WIDE] (ABALTMON_1): New macro.
17765 (__strftime_internal): Handle %Ob and %Oh formats.
17766 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
17767 (__strptime_internal): Handle %Ob and %Oh formats.
17768 * time/tst-strptime.c (day_tests): Add more tests to parse different
17769 forms of month names including the new %Ob format specifier.
17771 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17774 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
17775 define them as the same as primary full month names explicitly.
17776 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
17777 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
17778 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
17779 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
17780 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
17781 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
17782 _NL_WALTMON_12): New enum constants.
17783 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
17784 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
17786 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
17787 walt_mon, and alt_mon_defined members.
17788 (time_output): Output alt_mon and walt_mon members.
17789 (time_read): Read them, initialize them as copies of mon and wmon
17790 respectively if they are missing, initialize alt_mon_defined.
17791 * locale/programs/locfile-kw.gperf (alt_mon): Define.
17792 * locale/programs/locfile-kw.h: Regenerate.
17793 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
17794 * localedata/tst-langinfo.c (map): Add tests for the new constants
17795 ALTMON_1 .. ALTMON_12.
17796 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
17798 * time/strftime_l.c (f_altmonth): New macro.
17799 (__strftime_internal): Handle %OB format.
17800 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
17801 (__strptime_internal): Handle %OB format.
17802 * time/tst-strptime.c (day_tests): Add tests to parse different forms
17803 of month names including the new %OB format specifier.
17805 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17808 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
17809 from ABORT_TRANSACTION.
17810 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
17811 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
17812 ABORT_TRANSACTION_IMPL): Likewise.
17813 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
17814 Linux code, but remove the code that aborts transactions.
17816 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
17818 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
17820 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
17822 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
17823 in date: "2004-14-09" should be "2004-09-14".
17824 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
17825 "2003-15-09" should be "2003-09-15".
17827 2018-01-18 Arjun Shankar <arjun@redhat.com>
17833 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
17835 (_int_memalign): check for integer overflow before calling
17837 * malloc/tst-malloc-too-large.c: New test.
17838 * malloc/Makefile: Add tst-malloc-too-large.
17840 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
17842 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
17843 in date: "2017-24-07" should be "2017-07-24".
17844 * localedata/locales/mai_IN: Likewise.
17845 * localedata/locales/mai_NP: Likewise.
17847 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
17849 * po/ru.po: Update translations.
17851 2018-01-17 Joseph Myers <joseph@codesourcery.com>
17854 * sysdeps/hppa/backtrace.c: New file.
17856 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
17859 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
17860 align La_x86_64_retval to VEC_SIZE.
17862 2018-01-16 Joseph Myers <joseph@codesourcery.com>
17864 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
17865 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
17867 2018-01-16 Florian Weimer <fweimer@redhat.com>
17869 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
17870 Move tst-thread-exit-clobber ...
17871 [$(CXX)] (tests-unsupported): ... to here.
17873 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17875 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
17876 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
17877 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17878 (_dl_aarch64_cap_flags): Update.
17879 (_DL_HWCAP_COUNT): Update.
17881 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17883 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
17884 (_DL_HWCAP_LAST): Remove.
17885 (_DL_HWCAP_COUNT): Move to ...
17886 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17887 (_DL_HWCAP_COUNT): ... here.
17889 2018-01-16 Florian Weimer <fweimer@redhat.com>
17891 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
17892 mode with GNU extensions.
17894 2018-01-15 Alan Hayward <alan.hayward@arm.com>
17896 * elf/elf.h (NT_ARM_SVE): Define.
17898 2018-01-15 Florian Weimer <fweimer@redhat.com>
17901 * nptl/tst-minstack-throw.cc: New file.
17902 * nptl/Makefile (tests): Add tst-minstack-throw.
17903 (LDLIBS-tst-minstack-throw): Link with libstdc++.
17904 [!CXX] (tests-unsupported): Add tst-minstack-throw.
17906 2018-01-15 Joseph Myers <joseph@codesourcery.com>
17908 * scripts/build-many-glibcs.py (Context.checkout): Default
17909 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
17912 2018-01-13 Carlos O'Donell <carlos@redhat.com>
17915 * elf/elf.h (DF_1_STUB): Define.
17916 (DF_1_PIE): Define.
17918 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17921 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
17922 Do not add 0.5 to integer or out-of-range arguments.
17924 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17926 * po/bg.po: Update translations.
17927 * po/cs.po: Likewise.
17928 * po/de.po: Likewise.
17929 * po/ko.po: Likewise.
17930 * po/pl.po: Likewise.
17931 * po/sv.po: Likewise.
17932 * po/uk.po: Likewise.
17933 * po/vi.po: Likewise.
17935 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17937 * aarch64/start.S (_start): Use __wrap_main.
17938 (__wrap_main): New local symbol.
17940 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17944 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
17945 generic_getcwd if the path returned by getcwd syscall is not absolute.
17946 * io/tst-getcwd-abspath.c: New test.
17947 * io/Makefile (tests): Add tst-getcwd-abspath.
17949 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
17951 * malloc/malloc.c (malloc_consolidate): Add size check.
17953 2018-01-12 Florian Weimer <fweimer@redhat.com>
17955 * support/write_message.c (write_message): Preserve errno.
17956 * support/check.c (print_failure): Likewise.
17957 * support/support_test_verify_impl.c (support_test_verify_impl):
17959 * support/support_test_compare_failure.c
17960 (support_test_compare_failure): Likewise.
17962 2018-01-12 Florian Weimer <fweimer@redhat.com>
17965 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
17966 Prevent installation of libnsl.so.
17967 (libnsl-inhibit-o): Do not build (or install) static libraries.
17969 2018-01-12 Egmont Koblinger <egmont@gmail.com>
17972 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
17973 before the day number which may produce a double space.
17974 (date_fmt): Likewise.
17976 2018-01-12 Joseph Myers <joseph@codesourcery.com>
17978 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
17979 instead of fegetenv.
17981 2018-01-11 Joseph Myers <joseph@codesourcery.com>
17984 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
17985 comment to say exceptions are discarded.
17986 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
17988 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
17991 2018-01-11 Florian Weimer <fweimer@redhat.com>
17993 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
17996 2018-01-11 Florian Weimer <fweimer@redhat.com>
17999 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
18000 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
18002 2018-01-10 Joseph Myers <joseph@codesourcery.com>
18005 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
18006 negative arguments in test for NaN or infinity argument.
18008 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
18010 * po/libc.pot: Regenerate.
18012 2018-01-10 Florian Weimer <fweimer@redhat.com>
18015 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
18016 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
18018 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18020 * hurd/hurd/fd.h: Include <fcntl.h>
18021 (__hurd_at_flags): New function.
18022 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
18023 with call to __hurd_at_flags.
18024 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
18025 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
18027 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
18028 (__access_noerrno): Use __faccessat_common instead of access_common.
18029 (__access): Likewise.
18030 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
18031 with a call to __faccessat.
18032 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
18033 (__faccessat_common): ... this. Move implementation of __access into it when
18034 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
18035 reauthenticate_cwdir_at helper to implement AT mechanism.
18036 (__faccessat_noerrno): New function, just calls __faccessat_common.
18037 (__faccessat): New function, just calls __faccessat_common.
18038 (faccessat): Define weak alias.
18040 2018-01-10 Joseph Myers <joseph@codesourcery.com>
18043 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18044 (CFLAGS-s_fmaxmagl.c): New variable.
18045 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
18048 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
18049 long int for arguments of possibly overflowing addition or
18051 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18053 2018-01-09 Joseph Myers <joseph@codesourcery.com>
18056 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18057 (CFLAGS-e_remainderl.c): New variable.
18060 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
18062 (CFLAGS-s_cacoshl.c): Likewise.
18063 (CFLAGS-s_casinhl.c): Likewise.
18064 (CFLAGS-s_catanl.c): Likewise.
18065 (CFLAGS-s_catanhl.c): Likewise.
18066 (CFLAGS-s_cexpl.c): Likewise.
18067 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
18068 (CFLAGS-s_csinhl.c): Likewise.
18069 (CFLAGS-s_clogl.c): Likewise.
18070 (CFLAGS-s_clog10l.c): Likewise.
18071 (CFLAGS-s_csinl.c): Likewise.
18072 (CFLAGS-s_csqrtl.c): Likewise.
18074 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
18075 2017-01-09 Svante Signell <svante.signell@gmail.com>
18077 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
18078 (_hurd_exec_paths): New function.
18079 * hurd/hurd.h (_hurd_exec): Deprecate function.
18080 (_hurd_exec_paths): Declare function.
18081 * hurd/Versions: Export _hurd_exec_paths.
18082 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
18083 (__execve): Use __getcwd to build absolute path, and use
18084 _hurd_exec_paths instead of _hurd_exec.
18085 * sysdeps/mach/hurd/spawni.c: Likewise.
18086 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
18089 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
18091 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
18092 test instead of failing in case of ENOENT returned by posix_openpt.
18094 2018-01-08 Florian Weimer <fweimer@redhat.com>
18096 resolv: Support binary labels in test framework.
18097 * support/resolv_test.c (struct to_be_freed): Remove.
18098 (struct compressed_name): New.
18099 (allocate_compressed_name, ascii_tolower)
18100 (compare_compressed_name): New functions.
18101 (struct resolv_response_builder): Update type of
18102 compression_offsets for use with tsearch. Rempve to_be_freed.
18103 (response_push_pointer_to_free): Remove function.
18104 (resolv_response_add_name): Rewrite using struct compressed_name
18105 and tsearch instead of hsearch_r.
18106 (response_builder_allocate): Remove initialization of
18107 compression_offsets.
18108 (response_builder_free): Update for removal of to_be_freed. Use
18109 tdestroy instead of hdestroy_r.
18110 * resolv/Makefile (tests): Add tst-resolv-binary.
18111 (tst-resolv-binary): Link with -lresolv -lpthread.
18113 2018-01-08 Florian Weimer <fweimer@redhat.com>
18115 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
18116 time. Pass positive flag instead of negative flag to
18117 support_test_compare_failure.
18118 (support_test_compare_failure): Change negative parameter to
18120 * support/support_test_compare_failure.c (report)
18121 (support_test_compare_failure): Likewise.
18122 * support/tst-test_compare.c (return_ssize_t, return_int): New.
18123 (do_test): Check int/size_t, ssize_t/size_t comparisons.
18125 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
18128 * nptl/descr.h (stackblock, stackblock_size): Update comments.
18129 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
18130 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
18132 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
18134 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
18136 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18137 Add s_sincosf-sse2 and s_sincosf-fma.
18138 (CFLAGS-s_sincosf-fma.c): New.
18139 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
18140 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
18141 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
18142 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
18143 __sincosf is defined.
18145 2018-01-08 Florian Weimer <fweimer@redhat.com>
18147 * nptl/tst-thread-exit-clobber.cc: New file.
18148 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
18150 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
18151 (tests): Add tst-thread-exit-clobber.
18152 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
18154 2018-01-08 Florian Weimer <fweimer@redhat.com>
18156 * support/check.h (support_static_assert): Define.
18157 (TEST_COMPARE): Use it.
18159 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
18161 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
18162 [!__RLIM_T_MATCHES_RLIM64_T]
18163 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
18164 __getrlimit64. Add libc_hidden_weak.
18166 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
18168 * elf/elf.h (R_RISCV_NONE): New define.
18169 (R_RISCV_32): Likewise.
18170 (R_RISCV_64): Likewise.
18171 (R_RISCV_RELATIVE): Likewise.
18172 (R_RISCV_COPY): Likewise.
18173 (R_RISCV_JUMP_SLOT): Likewise.
18174 (R_RISCV_TLS_DTPMOD32): Likewise.
18175 (R_RISCV_TLS_DTPMOD64): Likewise.
18176 (R_RISCV_TLS_DTPREL32): Likewise.
18177 (R_RISCV_TLS_DTPREL64): Likewise.
18178 (R_RISCV_TLS_TPREL32): Likewise.
18179 (R_RISCV_TLS_TPREL64): Likewise.
18180 * Makerules (make-link-multidir): Make directories before linking into
18182 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
18184 (VDSO_HASH_LINUX_4_15): Likewise.
18185 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
18186 in subdirectories of lib.
18187 * nptl/Makefile (/librt.so): Always depend on
18188 "$(shared-thread-library)".
18190 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18192 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
18193 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
18194 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
18196 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
18197 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
18199 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
18200 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
18201 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
18202 * sysdeps/gnu/glob-lstat-compat.c: New file.
18203 * sysdeps/gnu/glob64-lstat-compat.c: New file.
18204 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
18206 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18208 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
18209 Reserve 16 chars to reloc_addr before calling _itoa_word.
18211 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18214 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
18215 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
18217 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
18218 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
18220 * resource/tst-getrlimit.c: Add copyright header.
18222 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18223 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18225 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
18226 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
18227 Define __GI_getrlimit64 as weak alias of __getrlimit64.
18228 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
18230 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
18231 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
18232 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
18233 RLIM64_INFINITY): Fix values to match the kernel ones.
18234 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
18235 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
18236 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
18237 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
18238 getrlimit64@@GLIBC_2_27.
18239 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
18241 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
18242 getrlimit, setrlimit, getrlimit64 and setrlimit64.
18243 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
18244 setrlimit, getrlimit64 and setrlimit64.
18246 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18249 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
18250 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
18252 2018-01-04 Joseph Myers <joseph@codesourcery.com>
18254 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
18255 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
18256 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
18258 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18262 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
18263 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
18267 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
18268 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
18269 * sysdeps/alpha/fpu/s_floor.c: Likewise.
18270 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
18272 2018-01-04 Florian Weimer <fweimer@redhat.com>
18275 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
18276 Align the stack before calling exit.
18277 * stdlib/tst-makecontext-align.c: New file.
18278 * stdlib/Makefile (tests): Add tst-makecontext-align.
18280 2018-01-04 Florian Weimer <fweimer@redhat.com>
18282 Add support for calling dlvsym from libc.so.
18283 * include/dlfcn.h (__libc_dlvsym): Declare.
18284 * elf/Makefile (tests-static-internal): Add
18285 tst-libc_dlvsym-static.
18286 (tests-internal): Add tst-libc_dlvsym.
18287 (modules-names): Add tst-libc_dlvsym-dso.
18288 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
18289 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
18290 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
18291 object tst-libc_dlvsym-dso.so needs to be built before running
18293 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
18294 * elf/Versions: Export __libc_dlvsym.
18295 * elf/dl-libc.c (struct do_dlvsym_args): New.
18296 (do_dlvsym, __libc_dlvsym): New functions.
18297 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
18298 (_dl_open_hook2): New variable.
18299 (__libc_register_dl_open_hook): Set it.
18300 * elf/tst-libc_dlvsym-dso.c: New file.
18301 * elf/tst-libc_dlvsym-static.c: Likewise.
18302 * elf/tst-libc_dlvsym.c: Likewise.
18303 * elf/tst-libc_dlvsym.h: Likewise.
18305 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18307 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
18308 include <sys/mount.h>.
18310 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
18312 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
18313 Add __NO_MATH_ERRNO__ check.
18315 2018-01-02 Joseph Myers <joseph@codesourcery.com>
18317 * sysdeps/mips/mips32/libm-test-ulps: Update.
18318 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18320 2018-01-02 Florian Weimer <fweimer@redhat.com>
18322 * misc/tst-pselect.c: Add copyright header.
18324 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
18326 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
18328 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
18330 (settrlimit): Rename into setrlimit.
18331 (__sttrlimit): Rename into __setrlimit.
18333 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
18334 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
18335 never defined in that case.
18337 2018-01-02 Joseph Myers <joseph@codesourcery.com>
18339 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
18341 * sysdeps/arm/libm-test-ulps: Update.
18343 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
18344 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
18346 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18348 * NEWS: Add cosf and sincosf to list of optimized functions.
18350 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
18353 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
18354 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
18355 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
18356 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
18358 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
18361 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
18363 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
18364 making a copy of it.
18366 2018-01-01 Joseph Myers <joseph@codesourcery.com>
18368 * manual/texinfo.tex: Update to version 2017-12-26.21 with
18369 trailing whitespace removed.
18370 * scripts/config.guess: Update to version 2018-01-01.
18371 * scripts/config.sub: Update to version 2018-01-01.
18372 * scripts/move-if-change: Update from gnulib.
18374 * NEWS: Update copyright dates.
18375 * catgets/gencat.c (print_version): Likewise.
18376 * csu/version.c (banner): Likewise.
18377 * debug/catchsegv.sh: Likewise.
18378 * debug/pcprofiledump.c (print_version): Likewise.
18379 * debug/xtrace.sh (do_version): Likewise.
18380 * elf/ldconfig.c (print_version): Likewise.
18381 * elf/ldd.bash.in: Likewise.
18382 * elf/pldd.c (print_version): Likewise.
18383 * elf/sotruss.sh: Likewise.
18384 * elf/sprof.c (print_version): Likewise.
18385 * iconv/iconv_prog.c (print_version): Likewise.
18386 * iconv/iconvconfig.c (print_version): Likewise.
18387 * locale/programs/locale.c (print_version): Likewise.
18388 * locale/programs/localedef.c (print_version): Likewise.
18389 * login/programs/pt_chown.c (print_version): Likewise.
18390 * malloc/memusage.sh (do_version): Likewise.
18391 * malloc/memusagestat.c (print_version): Likewise.
18392 * malloc/mtrace.pl: Likewise.
18393 * manual/libc.texinfo: Likewise.
18394 * nptl/version.c (banner): Likewise.
18395 * nscd/nscd.c (print_version): Likewise.
18396 * nss/getent.c (print_version): Likewise.
18397 * nss/makedb.c (print_version): Likewise.
18398 * posix/getconf.c (main): Likewise.
18399 * scripts/test-installation.pl: Likewise.
18400 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
18402 * All files with FSF copyright notices: Update copyright dates
18403 using scripts/update-copyrights.
18404 * locale/programs/charmap-kw.h: Regenerated.
18405 * locale/programs/locfile-kw.h: Likewise.
18407 2017-12-31 Zack Weinberg <zackw@panix.com>
18409 * libio/bits/libio-ldbl.h: Correct check for improper
18410 inclusion. Add own multiple include guard.
18412 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
18413 Dmitry V. Levin <ldv@altlinux.org>
18417 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
18418 string token expansion. Check for NULL pointer or empty string possibly
18419 returned by expand_dynamic_string_token.
18420 (decompose_rpath): Check for empty path after dynamic string
18423 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
18426 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
18428 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
18429 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
18430 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
18431 and PTRACE_SYSCALL.
18432 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
18433 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18434 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18435 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18436 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18437 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
18439 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
18440 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
18441 __ptrace_peeksiginfo_flags, ptrace): Move to ...
18442 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
18443 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18444 bits/ptrace-shared.h.
18445 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
18446 <bits/ptrace-shared.h>.
18447 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
18448 __ptrace_peeksiginfo_flags, ptrace): Remove.
18449 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18450 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18451 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18452 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18453 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
18455 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
18458 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
18459 end of the loop. Improve comments.
18461 2017-12-29 Zack Weinberg <zackw@panix.com>
18464 * manual/errno.texi (Checking for Errors): Explicitly say that errno
18465 might be set on success.
18467 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
18470 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
18471 is unchanged on success.
18473 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
18475 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
18477 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
18478 expand_dynamic_string_token): Likewise.
18479 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
18482 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
18485 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
18486 is set and name contains ':', and all code depending on these checks.
18488 2017-12-24 Zack Weinberg <zackw@panix.com>
18490 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
18491 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
18493 * libio/libio.h: Rename the original version of this file to
18494 libio/bits/libio.h. Error out if not included by stdio.h or the
18496 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
18497 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
18498 if not included by bits/libio.h or the stub _G_config.h.
18499 * sysdeps/unix/sysv/linux/_G_config.h: Move to
18500 sysdeps/unix/sysv/linux/bits. Error out if not included by
18501 bits/libio.h or the stub _G_config.h.
18502 * libio/stdio.h: Include bits/libio.h, not libio.h.
18503 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
18504 well as libio.h and _G_config.h.
18506 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
18507 * libio/strfile.h, stdio-common/vfscanf.c
18508 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
18509 Include stdio.h, not _G_config.h nor libio.h.
18510 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
18511 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
18513 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
18515 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
18518 * stdlib/getrandom.c (getrandom): Fix comment.
18519 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
18521 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
18524 * manual/arith.texi (strtoul): Fix a typo.
18527 * manual/arith.texi (finite): Fix the description of the return
18530 2017-12-22 Eric Blake <ebb9@byu.net>
18532 Avoid gcc warnings on cygwin
18533 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
18534 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
18535 Avoid unused variable.
18537 2017-12-22 Florian Weimer <fweimer@redhat.com>
18539 * io/Makefile (routines): Add copy_file_range.
18540 (tests): Add tst-copy_file_range.
18541 (tests-static, tests-internal): Add tst-copy_file_range-compat.
18542 * io/Versions (GLIBC_2.27): Export copy_file_range.
18543 * io/copy_file_range-compat.c: New file.
18544 * io/copy_file_range.c: Likewise.
18545 * io/tst-copy_file_range-compat.c: Likewise.
18546 * io/tst-copy_file_range.c: Likewise.
18547 * manual/llio.texi (Copying File Data): New section.
18548 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
18549 * support/Makefile (libsupport-routines): Add support-xfstat,
18550 xftruncate, xlseek.
18551 * support/support-xfstat.c: New file.
18552 * support/xftruncate.c: Likewise.
18553 * support/xlseek.c: Likewise.
18554 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
18555 * sysdeps/unix/sysv/linux/**.abilist: Update.
18556 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
18558 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
18560 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18561 disable-multi-arch variant to aarch64-linux-gnu.
18563 2017-12-20 Joseph Myers <joseph@codesourcery.com>
18565 * manual/texinfo.tex: Update to version 2017-12-18.20 with
18566 trailing whitespace removed.
18567 * scripts/config.guess: Update to version 2017-12-17.
18568 * scripts/config.sub: Update to version 2017-11-23.
18569 * scripts/install-sh: Update to version 2017-09-23.17.
18570 * scripts/move-if-change: Update to version 2017-09-13 06:45.
18572 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18574 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
18575 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
18576 * sysdeps/tile/_mcount.S (__mcount): Likewise.
18577 * sysdeps/tile/crti.S (_init, _fini): Likewise.
18578 * sysdeps/tile/crtn.S: Likewise.
18579 * sysdeps/tile/dl-start.S (_start): Likewise.
18580 * sysdeps/tile/dl-trampoline.S: Likewise.
18581 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
18582 * sysdeps/tile/start.S (_start): Likewise.
18583 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
18584 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
18585 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
18586 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
18587 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
18588 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
18589 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
18591 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
18593 * sysdeps/tile/preconfigure: Remove tilegx folder.
18594 * sysdeps/tile/tilegx/Implies: Move definitions to ...
18595 * sysdeps/tile/Implies: ... here.
18596 * sysdeps/tile/tilegx/Makefile: Move rules to ...
18597 * sysdeps/tile/Makefile: ... here.
18598 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
18599 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
18600 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
18601 * sysdeps/tile/bits/wordsize.h: ... here.
18602 * sysdeps/tile/tilegx/*: Move to ...
18603 * sysdeps/tile/*: ... here.
18604 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
18605 * sysdeps/tile/tilegx32/Implies: ... here.
18606 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
18607 * sysdeps/tile/tilegx64/Implies: ... here.
18608 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
18610 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18611 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
18612 * sysdeps/unix/sysv/linux/tile/*: ... here.
18613 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
18614 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
18615 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
18616 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
18618 * README: Remove tilepro-*-linux-gnu from supported architecture.
18619 * scripts/build-many-glibcs.py: Likewise.
18620 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
18621 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
18622 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
18623 elf_machine_matches_host, elf_machine_dynamic,
18624 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
18625 howto, elf_machine_rela): Likewise.
18626 * sysdeps/tile/dl-start.S (_start): Likewise.
18627 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
18628 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
18629 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
18630 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
18631 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
18632 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
18634 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
18635 * sysdeps/tile/preconfigure: Likewise.
18636 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
18637 POINTER_CHK_GUARD): Likewise.
18638 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
18639 * sysdeps/tile/start.S (_start): Likewise.
18640 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
18642 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
18643 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
18645 * sysdeps/unix/sysv/linux/tile/bits/environments.h
18646 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
18647 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
18649 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
18650 * sysdeps/tile/tilepro/Implies: Remove file.
18651 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
18652 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
18653 * sysdeps/tile/tilepro/memchr.c: Likewise.
18654 * sysdeps/tile/tilepro/memcpy.S: Likewise.
18655 * sysdeps/tile/tilepro/memset.c: Likewise.
18656 * sysdeps/tile/tilepro/memusage.h: Likewise.
18657 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
18658 * sysdeps/tile/tilepro/strchr.c: Likewise.
18659 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
18660 * sysdeps/tile/tilepro/strlen.c: Likewise.
18661 * sysdeps/tile/tilepro/strrchr.c: Likewise.
18662 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
18663 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
18664 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
18665 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
18666 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
18667 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18669 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
18670 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18671 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
18672 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
18673 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18674 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
18675 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
18676 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
18677 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
18678 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
18679 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
18680 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
18681 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
18682 tilepro mention in comment.
18684 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
18685 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
18686 * nptl/pthread_join_common.c: New file: common function used on
18687 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
18688 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
18689 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
18690 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
18691 (cleanup): Move definition to pthread_join_common.c.
18692 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
18693 Remove superflous checks.
18694 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
18697 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
18699 * sysdeps/aarch64/libm-test-ulps: Update.
18701 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18703 * sysdeps/aarch64/memset.S (MEMSET): Define.
18705 2017-12-20 Florian Weimer <fweimer@redhat.com>
18708 nptl: Provide full implementation of pthread_self in libc.so.
18709 * nptl/Makefile (routines): Add pthread_self.
18710 (libpthread-routines): Replace pthread_self with
18711 compat-pthread_self.
18712 * nptl/forward.c (pthread_self): Remove.
18713 * nptl/nptl-init.c (pthread_functions): Do not initialize
18715 * nptl/pthread_self.c (pthread_self): Remove weak alias.
18716 * nptl/compat-pthread_self.c: New file.
18717 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
18718 Remove ptr_pthread_self.
18720 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
18722 * posix/regcomp.c: Fix spelling in comments.
18723 * posix/regex.h: Likewise.
18724 * posix/regex_internal.c: Likewise.
18725 * posix/regexec.c: Likewise.
18727 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18730 * math/Makefile [C++] (tests): Add test for iseqsig.
18731 * math/math.h [C++] (iseqsig): New implementation, which does
18732 not rely on __MATH_TG/__builtin_types_compatible_p.
18733 * math/test-math-iseqsig.cc: New file.
18734 * sysdeps/powerpc/powerpc64le/Makefile
18735 (CFLAGS-test-math-iseqsig.cc): New variable.
18737 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
18739 * elf/dl-load.c (is_trusted_path): Remove.
18740 (fillin_rpath): Remove check_trusted argument and its use,
18741 all callers changed.
18743 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18746 * Makeconfig (link-pie-before-libc): Replace -pie with
18747 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
18748 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
18749 (tst-dlopen-aout-no-pie): New.
18750 (LDFLAGS-tst-prelink): Removed.
18751 (tst-prelink-no-pie): New.
18752 (LDFLAGS-tst-main1): Removed.
18753 (tst-main1-no-pie): New.
18754 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
18755 (tst-gmon-no-pie): New.
18757 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18759 * manual/install.texi: Document that --enable-static-pie
18761 * INSTALL: Regenerated.
18763 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
18766 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
18769 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18773 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18775 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18777 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18779 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18780 <errno.h>. Include "eexp.tbl".
18781 (half): New constant.
18783 (__ieee754_exp): Rewrite.
18784 (__slowexp): Remove prototype.
18785 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18786 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18787 * sysdeps/i386/fpu/slowexp.c: Likewise.
18788 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18789 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18790 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18791 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18792 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18793 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18794 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18796 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18797 (CPPFLAGS-slowexp.c): Remove variable.
18798 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18799 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18800 (CFLAGS-slowexp-fma.c): Remove variable.
18801 (CFLAGS-slowexp-fma4.c): Likewise.
18802 (CFLAGS-slowexp-avx.c): Likewise.
18803 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18805 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18806 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18807 * math/Makefile (type-double-routines): Remove slowexp.
18808 * manual/probes.texi (slowexp_p6): Remove.
18809 (slowexp_p32): Likewise.
18811 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18813 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
18816 * lib/glob.c (glob): Do not pass NULL to mempcpy.
18818 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18820 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18822 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18824 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18825 <errno.h>. Include "eexp.tbl".
18826 (half): New constant.
18828 (__ieee754_exp): Rewrite.
18829 (__slowexp): Remove prototype.
18830 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18831 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18832 * sysdeps/i386/fpu/slowexp.c: Likewise.
18833 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18834 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18835 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18836 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18837 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18838 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18839 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18841 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18842 (CPPFLAGS-slowexp.c): Remove variable.
18843 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18844 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18845 (CFLAGS-slowexp-fma.c): Remove variable.
18846 (CFLAGS-slowexp-fma4.c): Likewise.
18847 (CFLAGS-slowexp-avx.c): Likewise.
18848 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18850 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18851 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18852 * math/Makefile (type-double-routines): Remove slowexp.
18853 * manual/probes.texi (slowexp_p6): Remove.
18854 (slowexp_p32): Likewise.
18856 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18857 James Clarke <jrtc27@jrtc27.com>
18860 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
18863 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18866 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
18869 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18872 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18873 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
18874 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18875 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
18878 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18881 * bits/types/__cancel_jmp_buf_tag.h: New file.
18882 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
18883 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
18884 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
18885 * nptl/Makefile (headers): Add
18886 bits/types/__cancel_jmp_buf_tag.h.
18887 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
18888 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
18889 * sysdeps/nptl/pthread.h: Include
18890 <bits/types/__cancel_jmp_buf_tag.h>.
18891 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
18893 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
18895 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18897 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18898 --enable-static-pie variants to x86_64, x32 and i686.
18900 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18903 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
18904 argument for attrubutes. All callers changed.
18905 (__inline_mathop1): Likewise. All callers changed.
18906 (__inline_mathop): Likewise. All callers changed.
18907 [__USE_MISC] (scalbn): Use __inline_forward instead of
18908 __inline_forward_c.
18909 [__USE_ISOC99] (scalbln): Likewise.
18910 [__USE_ISOC99] (nearbyint): Likewise.
18911 [__USE_ISOC99] (lrint): Likewise.
18912 [__USE_MISC] (scalbnf): Likewise.
18913 [__USE_ISOC99] (scalblnf): Likewise.
18914 [__USE_ISOC99] (nearbyintf): Likewise.
18915 [__USE_ISOC99] (lrintf): Likewise.
18916 [__USE_MISC] (scalbnl): Likewise.
18917 [__USE_ISOC99] (scalblnl): Likewise.
18918 [__USE_ISOC99] (nearbyintl): Likewise.
18919 [__USE_ISOC99] (lrintl): Likewise.
18920 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
18921 __inline_mathop and __m81_defun changed.
18923 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
18924 CPU or FPU for ARM hard-float configurations.
18926 2017-12-18 Joseph Myers <joseph@codesourcery.com>
18928 * nptl/tst-attr3.c: Include <libc-diag.h>.
18929 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
18931 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
18933 * string/tester.c (test_strncat): Also disable -Warray-bounds
18934 warnings for two tests.
18936 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18939 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
18940 $(cc-pie-default) == yes.
18941 * config.make.in (cc-pie-default): New.
18942 * configure.ac (libc_cv_pie_default): Renamed to ...
18943 (libc_cv_cc_pie_default): This.
18944 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
18945 * configure: Regenerated.
18947 2017-12-18 Florian Weimer <fweimer@redhat.com>
18950 ld.so: Harden dl-libc/libdl hooks.
18951 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
18952 (rtld_active): New function.
18953 * dlfcn/dladdr.c (__dladdr): Call it.
18954 * dlfcn/dladdr1.c (__dladdr1): Likewise.
18955 * dlfcn/dlclose.c (__dlcose): Likewise.
18956 * dlfcn/dlerror.c (__dlerror): Likewise.
18957 * dlfcn/dlinfo.c (__dlinfo): Likewise.
18958 * dlfcn/dlmopen.c (__dlmopen): Likewise.
18959 * dlfcn/dlopen.c (__dlopen): Likewise.
18960 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18961 * dlfcn/dlsym.c (__dlsym): Likewise.
18962 * dlfcn/dlvsym.c (__dlvsym): Likewise.
18963 * libio/vtables.c (_IO_vtable_check): Likewise.
18964 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
18965 (__libc_dlclose): Likewise.
18966 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
18969 2017-12-18 Joseph Myers <joseph@codesourcery.com>
18972 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
18973 buffers for readlink input and output.
18975 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
18978 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
18979 inhibit_stack_protector.
18982 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
18983 inhibit_stack_protector.
18985 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
18988 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
18989 code and invocation.
18991 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
18993 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
18995 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
18998 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
19000 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19002 * sysdeps/s390/fpu/libm-test-ulps: Update.
19004 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19006 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19008 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19010 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
19011 constants to s_sincosf.h file.
19012 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19013 * sysdeps/ieee754/flt-32/s_sincosf.c: New
19015 * sysdeps/ieee754/flt-32/s_sincosf.h:
19018 2017-12-12 Carlos O'Donell <carlos@redhat.com>
19021 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
19024 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
19027 * INSTALL: Regenerated.
19028 * Makeconfig (real-static-start-installed-name): New.
19029 (pic-default): Updated for --enable-static-pie.
19030 (pie-default): New for --enable-static-pie.
19031 (default-pie-ldflag): Likewise.
19032 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
19033 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
19034 Replace $(static-start-installed-name) with
19035 $(real-static-start-installed-name).
19036 (+prectorT): Updated for --enable-static-pie.
19037 (+postctorT): Likewise.
19038 (CFLAGS-.o): Add $(pie-default).
19039 (CFLAGS-.op): Likewise.
19040 * NEWS: Mention --enable-static-pie.
19041 * config.h.in (ENABLE_STATIC_PIE): New.
19042 * configure.ac (--enable-static-pie): New configure option.
19043 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
19044 (have-static-pie): Likewise.
19045 Enable static PIE if linker supports --no-dynamic-linker.
19046 (ENABLE_STATIC_PIE): New AC_DEFINE.
19047 (enable-static-pie): New LIBC_CONFIG_VAR.
19048 * configure: Regenerated.
19049 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
19050 gr$(start-installed-name) for --enable-static-pie.
19051 (extra-objs): Likewise.
19052 (install-lib): Likewise.
19053 (extra-objs): Add static-reloc.o and static-reloc.os
19054 ($(objpfx)$(start-installed-name)): Also depend on
19055 $(objpfx)static-reloc.o.
19056 ($(objpfx)r$(start-installed-name)): New.
19057 ($(objpfx)g$(start-installed-name)): Also depend on
19058 $(objpfx)static-reloc.os.
19059 ($(objpfx)gr$(start-installed-name)): New.
19060 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
19062 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
19064 * csu/static-reloc.c: New file.
19065 * elf/Makefile (routines): Add dl-reloc-static-pie.
19066 (elide-routines.os): Likewise.
19067 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
19068 (tst-tls1-static-non-pie-no-pie): New.
19069 * elf/dl-reloc-static-pie.c: New file.
19070 * elf/dl-support.c (_dl_get_dl_main_map): New function.
19071 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
19072 STATIC_PIE_BOOTSTRAP.
19073 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
19074 * gmon/Makefile (tests): Add tst-gmon-static-pie.
19075 (tests-static): Likewise.
19076 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
19077 (tst-gmon-static-no-pie): New.
19078 (CFLAGS-tst-gmon-static-pie.c): Likewise.
19079 (CRT-tst-gmon-static-pie): Likewise.
19080 (tst-gmon-static-pie-ENV): Likewise.
19081 (tests-special): Likewise.
19082 ($(objpfx)tst-gmon-static-pie.out): Likewise.
19083 (clean-tst-gmon-static-pie-data): Likewise.
19084 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
19085 * gmon/tst-gmon-static-pie.c: New file.
19086 * manual/install.texi: Document --enable-static-pie.
19087 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
19088 (_dl_get_dl_main_map): Likewise.
19089 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
19090 * sysdeps/x86_64/configure.ac: Likewise.
19091 * sysdeps/i386/configure: Regenerated.
19092 * sysdeps/x86_64/configure: Likewise.
19093 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
19094 (ASFLAGS-.op): Likewise.
19096 2017-12-15 Joseph Myers <joseph@codesourcery.com>
19098 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
19099 * posix/tst-mmap-offset.c (fname): Use /tmp.
19100 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
19102 2017-12-15 Steve Ellcey <sellcey@cavium.com>
19104 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
19106 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
19108 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
19111 2017-12-15 Joseph Myers <joseph@codesourcery.com>
19113 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
19114 --with-float=hard for arm-linux-gnueabihf configurations.
19117 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
19118 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
19119 ($(mo-installed)): Use $(objpfx)%.mo.
19120 (realclean): Remove rule.
19122 * po/Makefile (linguas): Remove rule and dependencies.
19123 (linguas.mo): Likewise.
19124 (.PHONY): Do not depend on linguas and linguas.mo.
19125 (podir): Remove variable.
19126 (pofiles): Likewise.
19127 [$(pofiles)] (%.po): Remove rule.
19129 * sysdeps/sparc/sparc32/Makefile
19130 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
19131 start-of-line whitespace in argument of echo.
19132 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
19133 with whitespace. Generate __wrap_.udiv alias.
19134 * sysdeps/sparc/sparc32/rem.S: Regenerated.
19135 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19136 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19137 * sysdeps/sparc/sparc32/urem.S: Likewise.
19139 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19141 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
19142 for aligned inputs.
19144 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
19146 * benchtests/bench-strcmp.c: Print output in JSON format.
19148 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
19150 2017-12-14 Florian Weimer <fweimer@redhat.com>
19154 * elf/dl-load.c (_dl_init_paths): Compute number of components in
19155 the expanded path string.
19157 2017-12-14 Florian Weimer <fweimer@redhat.com>
19161 * elf/dl-load.c (system_dirs): Update comment.
19162 (nsystem_dirs_len): Use array_length.
19163 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
19165 2017-12-14 Florian Weimer <fweimer@redhat.com>
19167 Simplify compiling most of support/ outside of glibc.
19168 * support/check_addrinfo.c: Include <string.h>.
19169 * support/check_dns_packet.c: Likewise.
19170 * support/check_hostent.c: Likewise.
19171 * support/support_can_chroot.c: Include <support/xunistd.h>.
19172 * support/support_format_addrinfo.c: Include <stdlib.h>
19173 * support/support_format_dns_packet.c: Include <stdbool.h>.
19174 * support/support_format_hostent.c: Include <stdlib.h>.
19175 * support/support_format_netent.c: Likewise.
19176 * support/support_write_string.c: Include <support/xunistd.h>.
19177 * support/xdlfcn.c: Include <stddef.h>.
19179 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
19181 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
19183 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19184 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19186 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19187 (sysdeps_routines): Add memset-niagara7.
19188 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
19190 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
19192 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
19193 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
19194 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
19195 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
19196 Add niagara7 option.
19197 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
19200 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19201 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
19202 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
19204 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
19206 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
19207 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
19208 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
19209 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
19210 and __memmove_niagara7.
19211 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
19212 Add niagara7 option.
19213 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
19214 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
19215 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
19216 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
19217 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
19219 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
19221 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
19222 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
19223 * sysdeps/sparc/sparc64/memmove.S: Likewise.
19224 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
19226 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
19227 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
19228 _dl_sparc_cap_flags array.
19229 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
19231 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
19233 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
19234 time whenever possible.
19236 2017-12-12 Carlos O'Donell <carlos@redhat.com>
19238 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
19239 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
19241 2017-12-12 Joseph Myers <joseph@codesourcery.com>
19243 * soft-fp/fmadf4.c: Move to ....
19244 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
19245 * soft-fp/fmasf4.c: Move to ....
19246 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
19247 * soft-fp/fmatf4.c: Move to ....
19248 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
19249 * sysdeps/ieee754/soft-fp/Makefile: New file.
19250 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
19251 * sysdeps/arm/preconfigure: Regenerated.
19252 * sysdeps/arm/nofpu/Implies: New file.
19253 * sysdeps/arm/s_fma.c: Remove file.
19254 * sysdeps/arm/s_fmaf.c: Likewise.
19255 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
19256 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
19257 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
19258 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
19259 * sysdeps/microblaze/s_fma.c: Remove file.
19260 * sysdeps/microblaze/s_fmaf.c: Likewise.
19261 * sysdeps/mips/mips32/nofpu/Implies: New file.
19262 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
19263 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
19264 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
19265 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
19266 * sysdeps/mips/ieee754/s_fma.c: Remove file.
19267 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
19268 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
19270 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
19271 * sysdeps/nios2/s_fma.c: Remove file.
19272 * sysdeps/nios2/s_fmaf.c: Likewise.
19273 * sysdeps/sh/nofpu/Implies: New file.
19274 * sysdeps/sh/s_fma.c: Remove file.
19275 * sysdeps/sh/s_fmaf.c: Likewise.
19276 * sysdeps/tile/Implies: Add ieee754/soft-fp.
19277 * sysdeps/tile/s_fma.c: Remove file.
19278 * sysdeps/tile/s_fmaf.c: Likewise.
19280 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
19282 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19283 Add s_cosf-sse2 and s_cosf-fma.
19284 (CFLAGS-s_cosf-fma.c): New.
19285 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
19286 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
19287 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
19289 2017-12-12 Steve Ellcey <sellcey@cavium.com>
19291 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
19293 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19295 * libio/Makefile (tests): Add tst-bz22415.
19296 (tst-bz22415-ENV): New rule.
19297 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
19298 (tests-special): Add tst-bz22415-mem.out.
19299 ($(objpfx)tst-bz22415-mem.out): New rule.
19300 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
19301 in case of a successful seek operation.
19302 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19303 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
19304 buffer is required.
19305 * libio/tst-bz22415.c: New test.
19307 * sysdeps/ia64/fpu/libm-test-ulps: Update.
19309 2017-12-12 James Clarke <jrtc27@jrtc27.com>
19311 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
19312 __IPC_64 to 0 to avoid IPC_64 being set.
19314 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19317 * math/bits/mathcalls.h (nextafter): Remove const.
19318 (nexttoward): Likewise.
19320 2017-12-12 Joseph Myers <joseph@codesourcery.com>
19322 * configure.ac (--with-fp): Remove configure option.
19323 (with_fp_cond): New variable.
19324 (libc_cv_with_fp): New configure test. Use this variable instead
19326 * configure: Regenerated.
19327 * config.make.in (with-fp): Use @libc_cv_with_fp@.
19328 * manual/install.texi (Configuring and compiling): Remove
19330 * INSTALL: Regenerated.
19331 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
19332 * sysdeps/mips/preconfigure (with_fp_cond): Define.
19333 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
19334 * sysdeps/sh/preconfigure (with_fp_cond): Define.
19335 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
19336 use --without-fp to configure glibc.
19338 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
19340 * manual/locale.texi (nl_langinfo): Fix a typo.
19342 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
19345 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
19347 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
19349 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
19350 (CFLAGS-argp-parse.c): Likewise.
19351 (CFLAGS-argp-fmtstream.c): Likewise.
19352 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
19353 (CPPFLAGS-sha512-crypt.c): Likewise.
19354 (CPPFLAGS-md5-crypt.c): Likewise.
19355 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
19356 (CFLAGS-stack_chk_fail_local.c): Likewise.
19357 (CFLAGS-backtrace.c): Likewise.
19358 (CFLAGS-sprintf_chk.c): Likewise.
19359 (CFLAGS-snprintf_chk.c): Likewise.
19360 (CFLAGS-vsprintf_chk.c): Likewise.
19361 (CFLAGS-vsnprintf_chk.c): Likewise.
19362 (CFLAGS-asprintf_chk.c): Likewise.
19363 (CFLAGS-vasprintf_chk.c): Likewise.
19364 (CFLAGS-obprintf_chk.c): Likewise.
19365 (CFLAGS-dprintf_chk.c): Likewise.
19366 (CFLAGS-vdprintf_chk.c): Likewise.
19367 (CFLAGS-printf_chk.c): Likewise.
19368 (CFLAGS-fprintf_chk.c): Likewise.
19369 (CFLAGS-vprintf_chk.c): Likewise.
19370 (CFLAGS-vfprintf_chk.c): Likewise.
19371 (CFLAGS-gets_chk.c): Likewise.
19372 (CFLAGS-fgets_chk.c): Likewise.
19373 (CFLAGS-fgets_u_chk.c): Likewise.
19374 (CFLAGS-fread_chk.c): Likewise.
19375 (CFLAGS-fread_u_chk.c): Likewise.
19376 (CFLAGS-swprintf_chk.c): Likewise.
19377 (CFLAGS-vswprintf_chk.c): Likewise.
19378 (CFLAGS-wprintf_chk.c): Likewise.
19379 (CFLAGS-fwprintf_chk.c): Likewise.
19380 (CFLAGS-vwprintf_chk.c): Likewise.
19381 (CFLAGS-vfwprintf_chk.c): Likewise.
19382 (CFLAGS-fgetws_chk.c): Likewise.
19383 (CFLAGS-fgetws_u_chk.c): Likewise.
19384 (CFLAGS-read_chk.c): Likewise.
19385 (CFLAGS-pread_chk.c): Likewise.
19386 (CFLAGS-pread64_chk.c): Likewise.
19387 (CFLAGS-recv_chk.c): Likewise.
19388 (CFLAGS-recvfrom_chk.c): Likewise.
19389 (CFLAGS-tst-longjmp_chk.c): Likewise.
19390 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
19391 (CFLAGS-tst-longjmp_chk2.c): Likewise.
19392 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
19393 (CFLAGS-tst-longjmp_chk3.c): Likewise.
19394 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19395 (CFLAGS-tst-chk1.c): Likewise.
19396 (CFLAGS-tst-chk2.c): Likewise.
19397 (CFLAGS-tst-chk3.c): Likewise.
19398 (CFLAGS-tst-chk4.cc): Likewise.
19399 (CFLAGS-tst-chk5.cc): Likewise.
19400 (CFLAGS-tst-chk6.cc): Likewise.
19401 (CFLAGS-tst-lfschk1.c): Likewise.
19402 (CFLAGS-tst-lfschk2.c): Likewise.
19403 (CFLAGS-tst-lfschk3.c): Likewise.
19404 (CFLAGS-tst-lfschk4.cc): Likewise.
19405 (CFLAGS-tst-lfschk5.cc): Likewise.
19406 (CFLAGS-tst-lfschk6.cc): Likewise.
19407 (CFLAGS-tst-ssp-1.c): Likewise.
19408 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
19409 (CFLAGS-scandir64.c): Likewise.
19410 (CFLAGS-scandir-tail.c): Likewise.
19411 (CFLAGS-scandir64-tail.c): Likewise.
19412 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
19413 (CFLAGS-dl-tunables.c): Likewise.
19414 (CFLAGS-dl-runtime.c): Likewise.
19415 (CFLAGS-dl-lookup.c): Likewise.
19416 (CFLAGS-dl-iterate-phdr.c): Likewise.
19417 (CFLAGS-vismain.c): Likewise.
19418 (CFLAGS-tst-linkall-static.c): Likewise.
19419 (CFLAGS-tst-linkall-static.c): Likewise.
19420 (CPPFLAGS-dl-load.c): Likewise.
19421 (CFLAGS-ldconfig.c): Likewise.
19422 (CFLAGS-dl-cache.c): Likewise.
19423 (CFLAGS-cache.c): Likewise.
19424 (CFLAGS-rtld.c): Likewise.
19425 (CFLAGS-multiload.c): Likewise.
19426 (CFLAGS-filtmod1.c): Likewise.
19427 (CFLAGS-tst-align.c): Likewise.
19428 (CFLAGS-tst-align2.c): Likewise.
19429 (CFLAGS-tst-alignmod.c): Likewise.
19430 (CFLAGS-tst-alignmod2.c): Likewise.
19431 (CPPFLAGS-tst-execstack.c): Likewise.
19432 (CFLAGS-tst-ptrguard1-static.c): Likewise.
19433 (CFLAGS-tst-latepthreadmod.c): Likewise.
19434 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
19435 (CFLAGS-getgrnam_r.c): Likewise.
19436 (CFLAGS-getgrent_r.c): Likewise.
19437 (CFLAGS-getgrent.c): Likewise.
19438 (CFLAGS-fgetgrent.c): Likewise.
19439 (CFLAGS-fgetgrent_r.c): Likewise.
19440 (CFLAGS-putgrent.c): Likewise.
19441 (CFLAGS-initgroups.c): Likewise.
19442 (CFLAGS-getgrgid.c): Likewise.
19443 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
19444 (CFLAGS-getsgent.c): Likewise.
19445 (CFLAGS-fgetsgent.c): Likewise.
19446 (CFLAGS-fgetsgent_r.c): Likewise.
19447 (CFLAGS-putsgent.c): Likewise.
19448 (CFLAGS-getsgnam.c): Likewise.
19449 (CFLAGS-getsgnam_r.c): Likewise.
19450 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
19451 (CFLAGS-iconv_charmap.c): Likewise.
19452 (CFLAGS-dummy-repertoire.c): Likewise.
19453 (CFLAGS-charmap.c): Likewise.
19454 (CFLAGS-linereader.c): Likewise.
19455 (CFLAGS-simple-hash.c): Likewise.
19456 (CFLAGS-gconv_conf.c): Likewise.
19457 (CFLAGS-iconvconfig.c): Likewise.
19458 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19459 (CFLAGS-gethstbyad.c): Likewise.
19460 (CFLAGS-gethstbynm_r.c): Likewise.
19461 (CFLAGS-gethstbynm.c): Likewise.
19462 (CFLAGS-gethstbynm2_r.c): Likewise.
19463 (CFLAGS-gethstbynm2.c): Likewise.
19464 (CFLAGS-gethstent_r.c): Likewise.
19465 (CFLAGS-gethstent.c): Likewise.
19466 (CFLAGS-rcmd.c): Likewise.
19467 (CFLAGS-getnetbynm_r.c): Likewise.
19468 (CFLAGS-getnetbynm.c): Likewise.
19469 (CFLAGS-getnetbyad_r.c): Likewise.
19470 (CFLAGS-getnetbyad.c): Likewise.
19471 (CFLAGS-getnetent_r.c): Likewise.
19472 (CFLAGS-getnetent.c): Likewise.
19473 (CFLAGS-getaliasent_r.c): Likewise.
19474 (CFLAGS-getaliasent.c): Likewise.
19475 (CFLAGS-getrpcent_r.c): Likewise.
19476 (CFLAGS-getrpcent.c): Likewise.
19477 (CFLAGS-getservent_r.c): Likewise.
19478 (CFLAGS-getservent.c): Likewise.
19479 (CFLAGS-getprtent_r.c): Likewise.
19480 (CFLAGS-getprtent.c): Likewise.
19481 (CFLAGS-either_ntoh.c): Likewise.
19482 (CFLAGS-either_hton.c): Likewise.
19483 (CFLAGS-getnetgrent.c): Likewise.
19484 (CFLAGS-getnetgrent_r.c): Likewise.
19485 (CFLAGS-tst-checks-posix.c): Likewise.
19486 (CFLAGS-tst-sockaddr.c): Likewise.
19487 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
19488 (CFLAGS-tst-translit.c): Likewise.
19489 (CFLAGS-tst-gettext2.c): Likewise.
19490 (CFLAGS-tst-codeset.c): Likewise.
19491 (CFLAGS-tst-gettext3.c): Likewise.
19492 (CFLAGS-tst-gettext4.c): Likewise.
19493 (CFLAGS-tst-gettext5.c): Likewise.
19494 (CFLAGS-tst-gettext6.c): Likewise.
19495 * io/Makefile (CFLAGS-open.c): Likewise.
19496 (CFLAGS-open64.c): Likewise.
19497 (CFLAGS-creat.c): Likewise.
19498 (CFLAGS-creat64.c): Likewise.
19499 (CFLAGS-fcntl.c): Likewise.
19500 (CFLAGS-poll.c): Likewise.
19501 (CFLAGS-ppoll.c): Likewise.
19502 (CFLAGS-lockf.c): Likewise.
19503 (CFLAGS-statfs.c): Likewise.
19504 (CFLAGS-fstatfs.c): Likewise.
19505 (CFLAGS-statvfs.c): Likewise.
19506 (CFLAGS-fstatvfs.c): Likewise.
19507 (CFLAGS-fts.c): Likewise.
19508 (CFLAGS-fts64.c): Likewise.
19509 (CFLAGS-ftw.c): Likewise.
19510 (CFLAGS-ftw64.c): Likewise.
19511 (CFLAGS-lockf.c): Likewise.
19512 (CFLAGS-posix_fallocate.c): Likewise.
19513 (CFLAGS-posix_fallocate64.c): Likewise.
19514 (CFLAGS-fallocate.c): Likewise.
19515 (CFLAGS-fallocate64.c): Likewise.
19516 (CFLAGS-read.c): Likewise.
19517 (CFLAGS-write.c): Likewise.
19518 (CFLAGS-test-stat.c): Likewise.
19519 (CFLAGS-test-lfs.c): Likewise.
19520 * libio/Makefile (CFLAGS-fileops.c): Likewise.
19521 (CFLAGS-fputc.c): Likewise.
19522 (CFLAGS-fputwc.c): Likewise.
19523 (CFLAGS-freopen64.c): Likewise.
19524 (CFLAGS-freopen.c): Likewise.
19525 (CFLAGS-fseek.c): Likewise.
19526 (CFLAGS-fseeko64.c): Likewise.
19527 (CFLAGS-fseeko.c): Likewise.
19528 (CFLAGS-ftello64.c): Likewise.
19529 (CFLAGS-ftello.c): Likewise.
19530 (CFLAGS-fwide.c): Likewise.
19531 (CFLAGS-genops.c): Likewise.
19532 (CFLAGS-getc.c): Likewise.
19533 (CFLAGS-getchar.c): Likewise.
19534 (CFLAGS-getwc.c): Likewise.
19535 (CFLAGS-getwchar.c): Likewise.
19536 (CFLAGS-iofclose.c): Likewise.
19537 (CFLAGS-iofflush.c): Likewise.
19538 (CFLAGS-iofgetpos64.c): Likewise.
19539 (CFLAGS-iofgetpos.c): Likewise.
19540 (CFLAGS-iofgets.c): Likewise.
19541 (CFLAGS-iofgetws.c): Likewise.
19542 (CFLAGS-iofputs.c): Likewise.
19543 (CFLAGS-iofputws.c): Likewise.
19544 (CFLAGS-iofread.c): Likewise.
19545 (CFLAGS-iofsetpos64.c): Likewise.
19546 (CFLAGS-iofsetpos.c): Likewise.
19547 (CFLAGS-ioftell.c): Likewise.
19548 (CFLAGS-iofwrite.c): Likewise.
19549 (CFLAGS-iogetdelim.c): Likewise.
19550 (CFLAGS-iogetline.c): Likewise.
19551 (CFLAGS-iogets.c): Likewise.
19552 (CFLAGS-iogetwline.c): Likewise.
19553 (CFLAGS-ioputs.c): Likewise.
19554 (CFLAGS-ioseekoff.c): Likewise.
19555 (CFLAGS-ioseekpos.c): Likewise.
19556 (CFLAGS-iosetbuffer.c): Likewise.
19557 (CFLAGS-iosetvbuf.c): Likewise.
19558 (CFLAGS-ioungetc.c): Likewise.
19559 (CFLAGS-ioungetwc.c): Likewise.
19560 (CFLAGS-oldfileops.c): Likewise.
19561 (CFLAGS-oldiofclose.c): Likewise.
19562 (CFLAGS-oldiofgetpos64.c): Likewise.
19563 (CFLAGS-oldiofgetpos.c): Likewise.
19564 (CFLAGS-oldiofsetpos64.c): Likewise.
19565 (CFLAGS-oldiofsetpos.c): Likewise.
19566 (CFLAGS-peekc.c): Likewise.
19567 (CFLAGS-putc.c): Likewise.
19568 (CFLAGS-putchar.c): Likewise.
19569 (CFLAGS-putwc.c): Likewise.
19570 (CFLAGS-putwchar.c): Likewise.
19571 (CFLAGS-rewind.c): Likewise.
19572 (CFLAGS-wfileops.c): Likewise.
19573 (CFLAGS-wgenops.c): Likewise.
19574 (CFLAGS-oldiofopen.c): Likewise.
19575 (CFLAGS-iofopen.c): Likewise.
19576 (CFLAGS-iofopen64.c): Likewise.
19577 (CFLAGS-oldtmpfile.c): Likewise.
19578 (CFLAGS-tst_putwc.c): Likewise.
19579 * locale/Makefile (CFLAGS-md5.c): Likewise.
19580 (CFLAGS-charmap.c): Likewise.
19581 (CFLAGS-locfile.c): Likewise.
19582 (CFLAGS-charmap-dir.c): Likewise.
19583 * login/Makefile (CFLAGS-grantpt.c): Likewise.
19584 (CFLAGS-getpt.c): Likewise.
19585 (CFLAGS-pt_chown.c): Likewise.
19586 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
19587 (CFLAGS-obstack.c): Likewise.
19588 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
19589 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
19590 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
19591 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
19592 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
19593 (CFLAGS-test-tgmath.c): Likewise.
19594 (CFLAGS-test-tgmath2.c): Likewise.
19595 (CFLAGS-test-tgmath-ret.c): Likewise.
19596 (CFLAGS-test-powl.c): Likewise.
19597 (CFLAGS-test-snan.c): Likewise.
19598 (CFLAGS-test-signgam-finite.c): Likewise.
19599 (CFLAGS-test-signgam-finite-c99.c): Likewise.
19600 (CFLAGS-test-signgam-finite-c11.c): Likewise.
19601 (CFLAGS-test-signgam-uchar.c): Likewise.
19602 (CFLAGS-test-signgam-uchar-init.c): Likewise.
19603 (CFLAGS-test-signgam-uchar-static.c): Likewise.
19604 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
19605 (CFLAGS-test-signgam-uint.c): Likewise.
19606 (CFLAGS-test-signgam-uint-init.c): Likewise.
19607 (CFLAGS-test-signgam-uint-static.c): Likewise.
19608 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
19609 (CFLAGS-test-signgam-ullong.c): Likewise.
19610 (CFLAGS-test-signgam-ullong-init.c): Likewise.
19611 (CFLAGS-test-signgam-ullong-static.c): Likewise.
19612 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
19613 (CFLAGS-test-math-cxx11.cc): Likewise.
19614 (CFLAGS-test-math-isinff.cc): Likewise.
19615 (CFLAGS-test-math-iszero.cc): Likewise.
19616 (CFLAGS-test-math-issignaling.cc): Likewise.
19617 (CFLAGS-test-math-iscanonical.cc): Likewise.
19618 (CFLAGS-test-iszero-excess-precision.c): Likewise.
19619 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
19620 (CFLAGS-test-flt-eval-method.c): Likewise.
19621 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
19622 (CFLAGS-test-finite-macros.c): Likewise.
19623 * misc/Makefile (CFLAGS-select.c): Likewise.
19624 (CFLAGS-tsearch.c): Likewise.
19625 (CFLAGS-lsearch.c): Likewise.
19626 (CFLAGS-pselect.c): Likewise.
19627 (CFLAGS-readv.c): Likewise.
19628 (CFLAGS-writev.c): Likewise.
19629 (CFLAGS-preadv.c): Likewise.
19630 (CFLAGS-preadv64.c): Likewise.
19631 (CFLAGS-pwritev.c): Likewise.
19632 (CFLAGS-pwritev64.c): Likewise.
19633 (CFLAGS-preadv2.c): Likewise.
19634 (CFLAGS-preadv64v2.c): Likewise.
19635 (CFLAGS-pwritev2.c): Likewise.
19636 (CFLAGS-pwritev64v2.c): Likewise.
19637 (CFLAGS-usleep.c): Likewise.
19638 (CFLAGS-syslog.c): Likewise.
19639 (CFLAGS-error.c): Likewise.
19640 (CFLAGS-getpass.c): Likewise.
19641 (CFLAGS-mkstemp.c): Likewise.
19642 (CFLAGS-mkstemp64.c): Likewise.
19643 (CFLAGS-getsysstats.c): Likewise.
19644 (CFLAGS-getusershell.c): Likewise.
19645 (CFLAGS-err.c): Likewise.
19646 (CFLAGS-tst-tsearch.c): Likewise.
19647 (CFLAGS-msync.c): Likewise.
19648 (CFLAGS-fdatasync.c): Likewise.
19649 (CFLAGS-fsync.c): Likewise.
19650 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
19651 (CFLAGS-unwind.c): Likewise.
19652 (CFLAGS-unwind-forcedunwind.c): Likewise.
19653 (CFLAGS-pthread_cancel.c): Likewise.
19654 (CFLAGS-pthread_setcancelstate.c): Likewise.
19655 (CFLAGS-pthread_setcanceltype.c): Likewise.
19656 (CFLAGS-cancellation.c): Likewise.
19657 (CFLAGS-libc-cancellation.c): Likewise.
19658 (CFLAGS-pthread_exit.c): Likewise.
19659 (CFLAGS-forward.c): Likewise.
19660 (CFLAGS-pthread_testcancel.c): Likewise.
19661 (CFLAGS-pthread_join.c): Likewise.
19662 (CFLAGS-pthread_timedjoin.c): Likewise.
19663 (CFLAGS-pthread_once.c): Likewise.
19664 (CFLAGS-pthread_cond_wait.c): Likewise.
19665 (CFLAGS-sem_wait.c): Likewise.
19666 (CFLAGS-sem_timedwait.c): Likewise.
19667 (CFLAGS-fcntl.c): Likewise.
19668 (CFLAGS-lockf.c): Likewise.
19669 (CFLAGS-pread.c): Likewise.
19670 (CFLAGS-pread64.c): Likewise.
19671 (CFLAGS-pwrite.c): Likewise.
19672 (CFLAGS-pwrite64.c): Likewise.
19673 (CFLAGS-wait.c): Likewise.
19674 (CFLAGS-waitpid.c): Likewise.
19675 (CFLAGS-sigwait.c): Likewise.
19676 (CFLAGS-msgrcv.c): Likewise.
19677 (CFLAGS-msgsnd.c): Likewise.
19678 (CFLAGS-tcdrain.c): Likewise.
19679 (CFLAGS-open.c): Likewise.
19680 (CFLAGS-open64.c): Likewise.
19681 (CFLAGS-pause.c): Likewise.
19682 (CFLAGS-recv.c): Likewise.
19683 (CFLAGS-send.c): Likewise.
19684 (CFLAGS-accept.c): Likewise.
19685 (CFLAGS-sendto.c): Likewise.
19686 (CFLAGS-connect.c): Likewise.
19687 (CFLAGS-recvfrom.c): Likewise.
19688 (CFLAGS-recvmsg.c): Likewise.
19689 (CFLAGS-sendmsg.c): Likewise.
19690 (CFLAGS-close.c): Likewise.
19691 (CFLAGS-read.c): Likewise.
19692 (CFLAGS-write.c): Likewise.
19693 (CFLAGS-nanosleep.c): Likewise.
19694 (CFLAGS-sigsuspend.c): Likewise.
19695 (CFLAGS-msync.c): Likewise.
19696 (CFLAGS-fdatasync.c): Likewise.
19697 (CFLAGS-fsync.c): Likewise.
19698 (CFLAGS-pt-system.c): Likewise.
19699 (CFLAGS-tst-cleanup2.c): Likewise.
19700 (CFLAGS-tst-cleanupx2.c): Likewise.
19701 (CFLAGS-flockfile.c): Likewise.
19702 (CFLAGS-ftrylockfile.c): Likewise.
19703 (CFLAGS-funlockfile.c): Likewise.
19704 (CFLAGS-tst-initializers1.c): Likewise.
19705 (CFLAGS-tst-initializers1-c89.c): Likewise.
19706 (CFLAGS-tst-initializers1-c99.c): Likewise.
19707 (CFLAGS-tst-initializers1-c11.c): Likewise.
19708 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
19709 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
19710 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
19711 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
19712 (CFLAGS-nscd_getgr_r.c): Likewise.
19713 (CFLAGS-nscd_gethst_r.c): Likewise.
19714 (CFLAGS-nscd_getai.c): Likewise.
19715 (CFLAGS-nscd_initgroups.c): Likewise.
19716 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
19717 (CFLAGS-pause.c): Likewise.
19718 (CFLAGS-pread.c): Likewise.
19719 (CFLAGS-pread64.c): Likewise.
19720 (CFLAGS-pwrite.c): Likewise.
19721 (CFLAGS-pwrite64.c): Likewise.
19722 (CFLAGS-sleep.c): Likewise.
19723 (CFLAGS-wait.c): Likewise.
19724 (CFLAGS-waitid.c): Likewise.
19725 (CFLAGS-waitpid.c): Likewise.
19726 (CFLAGS-getopt.c): Likewise.
19727 (CFLAGS-wordexp.c): Likewise.
19728 (CFLAGS-sysconf.c): Likewise.
19729 (CFLAGS-pathconf.c): Likewise.
19730 (CFLAGS-fpathconf.c): Likewise.
19731 (CFLAGS-spawn.c): Likewise.
19732 (CFLAGS-spawnp.c): Likewise.
19733 (CFLAGS-spawni.c): Likewise.
19734 (CFLAGS-glob.c): Likewise.
19735 (CFLAGS-glob64.c): Likewise.
19736 (CFLAGS-getconf.c): Likewise.
19737 (CFLAGS-nanosleep.c): Likewise.
19738 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
19739 (CFLAGS-getpwent.c): Likewise.
19740 (CFLAGS-getpw.c): Likewise.
19741 (CFLAGS-fgetpwent_r.c): Likewise.
19742 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
19743 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
19744 (CFLAGS-mq_timedreceive.c): Likewise.
19745 (CFLAGS-mq_timedsend.c): Likewise.
19746 (CFLAGS-clock_nanosleep.c): Likewise.
19747 (CFLAGS-librt-cancellation.c): Likewise.
19748 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
19749 (CFLAGS-getspent.c): Likewise.
19750 (CFLAGS-fgetspent.c): Likewise.
19751 (CFLAGS-fgetspent_r.c): Likewise.
19752 (CFLAGS-putspent.c): Likewise.
19753 (CFLAGS-getspnam.c): Likewise.
19754 (CFLAGS-getspnam_r.c): Likewise.
19755 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
19756 (CFLAGS-sigsuspend.c): Likewise.
19757 (CFLAGS-sigtimedwait.c): Likewise.
19758 (CFLAGS-sigwait.c): Likewise.
19759 (CFLAGS-sigwaitinfo.c): Likewise.
19760 (CFLAGS-sigreturn.c): Likewise.
19761 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
19762 (CFLAGS-vfwprintf.c): Likewise.
19763 (CFLAGS-tmpfile.c): Likewise.
19764 (CFLAGS-tmpfile64.c): Likewise.
19765 (CFLAGS-tempname.c): Likewise.
19766 (CFLAGS-psignal.c): Likewise.
19767 (CFLAGS-vprintf.c): Likewise.
19768 (CFLAGS-cuserid.c): Likewise.
19769 (CFLAGS-errlist.c): Likewise.
19770 (CFLAGS-siglist.c): Likewise.
19771 (CFLAGS-scanf15.c): Likewise.
19772 (CFLAGS-scanf17.c): Likewise.
19773 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
19774 (CFLAGS-msort.c): Likewise.
19775 (CFLAGS-qsort.c): Likewise.
19776 (CFLAGS-system.c): Likewise.
19777 (CFLAGS-fmtmsg.c): Likewise.
19778 (CFLAGS-strfmon.c): Likewise.
19779 (CFLAGS-strfmon_l.c): Likewise.
19780 (CFLAGS-strfromd.c): Likewise.
19781 (CFLAGS-strfromf.c): Likewise.
19782 (CFLAGS-strfroml.c): Likewise.
19783 (CFLAGS-tst-bsearch.c): Likewise.
19784 (CFLAGS-tst-qsort.c): Likewise.
19785 (CFLAGS-tst-makecontext2.c): Likewise.
19786 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
19787 (CFLAGS-xnlm_prot.c): Likewise.
19788 (CFLAGS-xrstat.c): Likewise.
19789 (CFLAGS-xyppasswd.c): Likewise.
19790 (CFLAGS-xklm_prot.c): Likewise.
19791 (CFLAGS-xrex.c): Likewise.
19792 (CFLAGS-xsm_inter.c): Likewise.
19793 (CFLAGS-xmount.c): Likewise.
19794 (CFLAGS-xrusers.c): Likewise.
19795 (CFLAGS-xspray.c): Likewise.
19796 (CFLAGS-xnfs_prot.c): Likewise.
19797 (CFLAGS-xrquota.c): Likewise.
19798 (CFLAGS-xkey_prot.c): Likewise.
19799 (CFLAGS-auth_unix.c): Likewise.
19800 (CFLAGS-key_call.c): Likewise.
19801 (CFLAGS-pmap_rmt.c): Likewise.
19802 (CFLAGS-clnt_perr.c): Likewise.
19803 (CFLAGS-openchild.c): Likewise.
19804 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
19805 (CFLAGS-msgsnd.c): Likewise.
19806 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
19807 * time/Makefile (CFLAGS-tzfile.c): Likewise.
19808 (CFLAGS-tzset.c): Likewise.
19809 (CFLAGS-getdate.c): Likewise.
19810 (CFLAGS-test_time.c): Likewise.
19811 (CPPFLAGS-tst-tzname.c): Likewise.
19812 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
19813 (CFLAGS-zic.c): Likewise.
19814 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
19815 (CFLAGS-wcswidth.c): Likewise.
19816 (CFLAGS-wcstol.c): Likewise.
19817 (CFLAGS-wcstoul.c): Likewise.
19818 (CFLAGS-wcstoll.c): Likewise.
19819 (CFLAGS-wcstoull.c): Likewise.
19820 (CFLAGS-wcstod.c): Likewise.
19821 (CFLAGS-wcstold.c): Likewise.
19822 (CFLAGS-wcstof128.c): Likewise.
19823 (CFLAGS-wcstof.c): Likewise.
19824 (CFLAGS-wcstol_l.c): Likewise.
19825 (CFLAGS-wcstoul_l.c): Likewise.
19826 (CFLAGS-wcstoll_l.c): Likewise.
19827 (CFLAGS-wcstoull_l.c): Likewise.
19828 (CFLAGS-wcstod_l.c): Likewise.
19829 (CFLAGS-wcstold_l.c): Likewise.
19830 (CFLAGS-wcstof128_l.c): Likewise.
19831 (CFLAGS-wcstof_l.c): Likewise.
19832 (CPPFLAGS-tst-wchar-h.c): Likewise.
19833 (CPPFLAGS-wcstold_l.c): Likewise.
19835 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
19837 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
19839 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19840 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19842 * manual/tunables.texi (Hardware Capability Tunables): Document
19843 glibc.tune.cached_memopt.
19844 * sysdeps/powerpc/cpu-features.c: New file.
19845 * sysdeps/powerpc/cpu-features.h: New file.
19846 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
19847 _dl_powerpc_cpu_features.
19848 * sysdeps/powerpc/dl-tunables.list: New file.
19849 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
19850 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
19851 (INIT_ARCH): Initialize use_aligned_memopt.
19852 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
19853 IS_IN(rtld))]: Restrict dl_platform_init availability and
19854 initialize CPU features used by tunables.
19855 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
19856 Add memcpy-power8-cached.
19857 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
19858 __memcpy_power8_cached.
19859 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
19860 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
19863 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
19865 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
19866 (CFLAGS-noinl-tester.c): Likewise.
19867 (CFLAGS-tst-strlen.c): Likewise.
19868 (CFLAGS-stratcliff.c): Likewise.
19869 (CFLAGS-test-ffs.c): Likewise.
19870 (CFLAGS-tst-inlcall.c): Likewise.
19871 (CFLAGS-tst-xbzero-opt.c): Likewise.
19872 (CFLAGS-memcpy.c): Likewise.
19873 (CFLAGS-wordcopy.c): Likewise.
19875 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19877 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
19878 Store r15 on stack and add cfi rule.
19879 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
19882 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
19885 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
19888 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19890 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19891 Add s_sinf-sse2 and s_sinf-fma.
19892 (CFLAGS-s_sinf-fma.c): New.
19893 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
19894 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
19895 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
19897 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19899 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
19901 2017-12-07 Joseph Myers <joseph@codesourcery.com>
19904 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
19905 part of result to imaginary part of argument if it is zero and the
19906 real part of the argument is not finite.
19907 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
19908 of result to real part of argument if it is zero and the imaginary
19909 part of the argument is not finite.
19911 2017-12-07 Mike FABIAN <mfabian@redhat.com>
19914 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
19915 and to the list of locales to be built for testing.
19916 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
19917 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
19918 and build the collation rules upon that.
19920 2017-12-07 Joseph Myers <joseph@codesourcery.com>
19922 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
19923 * manual/math.texi (Mathematics): Document support for _Float32.
19924 * math/Makefile (test-types): Add float32.
19925 * math/Versions (GLIBC_2.27): Add _Float32 functions.
19926 * stdlib/Versions (GLIBC_2.27): Likewise.
19927 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19928 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19929 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19930 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19931 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19932 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19933 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19934 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19935 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19936 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19937 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19938 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19939 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19940 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19941 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19942 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19943 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19944 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19945 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19946 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19947 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19948 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
19950 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19951 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19952 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19953 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19954 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
19968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19972 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19973 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19974 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19975 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19976 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19977 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19978 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19979 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19980 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19981 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19982 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19986 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19988 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19990 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19991 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19992 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19993 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19994 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19995 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19996 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19997 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19999 2017-12-06 Joseph Myers <joseph@codesourcery.com>
20001 * stdlib/strtof.c: Include <bits/floatn.h>
20002 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
20003 and later undefine as macro. Define as weak alias if
20005 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
20006 and later undefine as macro. Define as weak alias if
20008 * stdlib/strtof_l.c: Include <bits/floatn.h>
20009 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
20010 and later undefine as macro. Define as weak alias if
20012 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
20013 and later undefine as macro. Define as weak alias if
20016 * stdlib/strfromf.c: Include <bits/floatn.h>.
20017 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
20018 and later undefine as macro and define as weak alias.
20020 * math/test-float32.h: New file.
20022 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
20023 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
20024 (libm_alias_float_other_r): Create f32 alias.
20025 (libm_alias_float_r): Use semicolon before call to
20026 libm_alias_float_other_r.
20028 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
20029 second argument to libm_alias_float_other.
20030 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
20031 second argument to libm_alias_float_other.
20032 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
20033 argument to libm_alias_float_other.
20036 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
20037 real part of result for argument 0 + i * NaN.
20038 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
20039 results for tests of 0 + i * NaN.
20041 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20043 * sysdeps/alpha/fpu/libm-test-ulps: Update.
20045 2017-12-06 David S. Miller <davem@davemloft.net>
20047 * sysdeps/sparc/fpu/libm-test-ulps: Update
20048 exp_{downward,towardzero,upward} ulps.
20050 2017-12-06 Joseph Myers <joseph@codesourcery.com>
20052 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
20055 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
20057 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
20059 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
20061 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
20064 2017-12-06 Mike FABIAN <mfabian@redhat.com>
20067 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
20068 and to the list of locales to be built for testing.
20069 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
20070 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
20071 and build the collation rules upon that.
20073 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20075 * NEWS: Add sinf to list of optimized functions.
20077 2017-12-06 Joseph Myers <joseph@codesourcery.com>
20079 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
20080 (__HAVE_FLOAT32X): Likewise.
20081 * manual/math.texi (Mathematics): Document support for _Float64
20083 * math/Makefile (test-types): Add float64 and float32x.
20084 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
20086 * stdlib/Versions (GLIBC_2.27): Likewise.
20087 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20088 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20089 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20090 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20091 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20092 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20093 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20094 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20095 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20096 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20097 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20098 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20099 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20100 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20101 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20102 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20103 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20104 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20105 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20106 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20107 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20108 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
20110 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20111 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20112 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20113 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20114 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
20127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20131 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20132 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20133 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20134 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20135 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20136 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20137 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20138 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20139 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20140 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20141 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
20143 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20145 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20147 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20149 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20150 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20151 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20152 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20153 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20154 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20155 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20156 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20158 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20160 * bits/floatn-common.h: Include <bits/long-double.h>.
20161 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20162 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
20163 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20164 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
20165 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20166 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
20167 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20168 (__builtin_huge_valf64): Use __builtin_huge_vall.
20169 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20170 (__builtin_inff64): Use __builtin_infl.
20171 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20172 (__builtin_nanf64): Use __builtin_nanl.
20173 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20174 (__builtin_nansf64): Use __builtin_nansl.
20176 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
20177 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20178 Carlos O'Donnell <carlos@redhat.com>
20180 * elf/dl-tunables.list: Add elision parameters.
20181 * manual/tunables.texi: Add entries about elision tunable.
20182 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
20183 Add callback functions to dynamically enable/disable elision.
20184 Add multiple callbacks functions to set elision parameters.
20185 Deleted __libc_enable_secure check.
20186 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
20187 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
20188 * configure: Regenerated.
20189 * configure.ac: Option enable_lock_elision was deleted.
20190 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
20191 * config.make.in: Remove references to enable_lock_elision.
20192 * manual/install.texi: Elision configure option was removed.
20193 * INSTALL: Regenerated to remove enable_lock_elision.
20195 Disable elision so it can verify error case for destroying a mutex.
20196 * sysdeps/powerpc/nptl/elide.h:
20197 Cleanup ENABLE_LOCK_ELISION check.
20198 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
20199 * sysdeps/s390/configure: Regenerated.
20200 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
20201 * nptl/tst-mutex8.c:
20202 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
20203 * sysdeps/powerpc/powerpc32/sysdep.h:
20204 Deleted all ENABLE_LOCK_ELISION checks.
20205 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20206 * sysdeps/powerpc/sysdep.h: Likewise.
20207 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
20208 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
20209 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20210 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20211 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20212 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
20213 enable-lock-elision.
20215 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20217 * stdlib/strtod.c: Include <bits/floatn.h>.
20218 (BUILD_DOUBLE): New macro.
20219 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20220 (strtof64): Define and later undefine as macro. Define as weak
20221 alias if [!USE_WIDE_CHAR].
20222 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20223 (wcstof64): Define and later undefine as macro. Define as weak
20224 alias if [USE_WIDE_CHAR].
20225 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20226 (strtof32x): Define and later undefine as macro. Define as weak
20227 alias if [!USE_WIDE_CHAR].
20228 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20229 (wcstof32x): Define and later undefine as macro. Define as weak
20230 alias if [USE_WIDE_CHAR].
20231 * stdlib/strtod_l.c: Include <bits/floatn.h>.
20232 (BUILD_DOUBLE): New macro.
20233 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20234 (strtof64_l): Define and later undefine as macro. Define as weak
20235 alias if [!USE_WIDE_CHAR].
20236 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20237 (wcstof64_l): Define and later undefine as macro. Define as weak
20238 alias if [USE_WIDE_CHAR].
20239 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20240 (strtof32x_l): Define and later undefine as macro. Define as weak
20241 alias if [!USE_WIDE_CHAR].
20242 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20243 (wcstof32x_l): Define and later undefine as macro. Define as weak
20244 alias if [USE_WIDE_CHAR].
20246 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20248 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
20249 (reduced): Use ones as double instead of integer.
20251 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
20253 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
20255 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20257 * stdlib/strfromd.c: Include <bits/floatn.h>.
20258 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
20259 and later undefine as macro and define as weak alias.
20260 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
20263 * math/test-float32x.h: New file.
20264 * math/test-float64.h: Likewise.
20266 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
20267 (libm_alias_double_other_r_f64): New macro.
20268 (libm_alias_double_other_r_f32x): Likewise.
20269 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
20270 libm_alias_double_other_r_f32x.
20271 (libm_alias_double_r): Use semicolon before call to
20272 libm_alias_double_other_r.
20273 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
20275 (libm_alias_double_other_r_f64): New macro.
20276 (libm_alias_double_other_r_f32x): Likewise.
20277 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
20278 libm_alias_double_other_r_f32x.
20280 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
20282 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
20284 (SINF_FUNC): Likewise. Replace floor with simple casts.
20286 2017-12-05 Mike FABIAN <mfabian@redhat.com>
20289 * localedata/Makefile: Add et_EE.UTF-8 to test-input
20290 and to the list of locales to be built for testing.
20291 * localedata/et_EE.UTF-8.in: New file for testing the collation.
20292 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
20293 and build the collation rules upon that.
20295 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
20297 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
20298 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
20299 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
20300 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
20301 instead of __insn__xxx.
20302 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
20303 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
20304 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
20305 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
20306 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
20307 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
20309 2017-12-05 Florian Weimer <fweimer@redhat.com>
20311 Linux: Implement interfaces for memory protection keys
20312 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
20314 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
20315 * support/xunistd.h (xsysconf): Declare.
20316 * support/xraise.c: New file.
20317 * support/xsigaction.c: Likewise.
20318 * support/xsignal.c: Likewise.
20319 * support/xsysconf.c: Likewise.
20320 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
20321 pkey_set, pkey_get, pkey_mprotect.
20322 [misc] (tests): Add tst-pkey.
20323 (tst-pkey): Link with -lpthread.
20324 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
20325 pkey_free, pkey_set, pkey_get, pkey_mprotect.
20326 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
20327 (PKEY_DISABLE_WRITE): Define.
20328 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
20330 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
20331 (SEGV_PKUERR): Add.
20332 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
20333 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
20334 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
20335 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
20337 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
20338 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
20339 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
20340 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
20341 * sysdeps/unix/sysv/linux/**.abilist: Update.
20343 2017-12-05 Florian Weimer <fweimer@redhat.com>
20345 * support/tst-test_compare.c (subprocess): Use long long instead
20346 of long argument for consistent type width across 32-bit and
20347 64-bit architectures.
20348 (do_test): Adjust expected output.
20350 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20352 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
20353 (cosf): Define using libm_alias_float.
20354 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
20355 (fabsf): Define using libm_alias_float.
20356 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
20357 (fmaf): Define using libm_alias_float.
20358 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
20359 (rintf): Define using libm_alias_float.
20360 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
20361 (sinf): Define using libm_alias_float.
20362 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
20363 <libm-alias-float.h>.
20364 (modff): Define using libm_alias_float.
20365 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
20366 <libm-alias-float.h>.
20367 (logbf): Define using libm_alias_float.
20368 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
20369 <libm-alias-float.h>.
20370 (ceilf): Define using libm_alias_float.
20371 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
20372 <libm-alias-float.h>.
20373 (copysignf): Define using libm_alias_float.
20374 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
20375 <libm-alias-float.h>.
20376 (floorf): Define using libm_alias_float.
20377 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
20378 <libm-alias-float.h>.
20379 (llrintf): Define using libm_alias_float.
20380 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
20381 <libm-alias-float.h>.
20382 (llroundf): Define using libm_alias_float.
20383 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
20384 <libm-alias-float.h>.
20385 (lrintf): Define using libm_alias_float.
20386 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
20387 <libm-alias-float.h>.
20388 (lroundf): Define using libm_alias_float.
20389 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
20390 <libm-alias-float.h>.
20391 (nearbyintf): Define using libm_alias_float.
20392 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
20393 <libm-alias-float.h>.
20394 (rintf): Define using libm_alias_float.
20395 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
20396 <libm-alias-float.h>.
20397 (roundf): Define using libm_alias_float.
20398 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
20399 <libm-alias-float.h>.
20400 (truncf): Define using libm_alias_float.
20401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
20402 Include <libm-alias-float.h>.
20403 (ceilf): Define using libm_alias_float.
20404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
20405 Include <libm-alias-float.h>.
20406 (copysignf): Define using libm_alias_float.
20407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
20408 Include <libm-alias-float.h>.
20409 (floorf): Define using libm_alias_float.
20410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
20411 Include <libm-alias-float.h>.
20412 (llrintf): Define using libm_alias_float.
20413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
20414 Include <libm-alias-float.h>.
20415 (llroundf): Define using libm_alias_float.
20416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
20417 Include <libm-alias-float.h>.
20418 (logbf): Define using libm_alias_float.
20419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
20420 Include <libm-alias-float.h>.
20421 (lrintf): Define using libm_alias_float.
20422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
20423 Include <libm-alias-float.h>.
20424 (lroundf): Define using libm_alias_float.
20425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
20426 Include <libm-alias-float.h>.
20427 (modff): Define using libm_alias_float.
20428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
20429 Include <libm-alias-float.h>.
20430 (roundf): Define using libm_alias_float.
20431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
20432 Include <libm-alias-float.h>.
20433 (truncf): Define using libm_alias_float.
20434 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
20435 <libm-alias-float.h>.
20436 (llrintf): Define using libm_alias_float.
20437 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20438 <libm-alias-float.h>.
20439 (llroundf): Define using libm_alias_float.
20440 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
20441 <libm-alias-float.h>.
20442 (ceilf): Define using libm_alias_float.
20443 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
20444 <libm-alias-float.h>.
20445 (floorf): Define using libm_alias_float.
20446 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20447 <libm-alias-float.h>.
20448 (llroundf): Define using libm_alias_float.
20449 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20450 <libm-alias-float.h>.
20451 (lroundf): Define using libm_alias_float.
20452 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
20453 <libm-alias-float.h>.
20454 (roundf): Define using libm_alias_float.
20455 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
20456 <libm-alias-float.h>.
20457 (truncf): Define using libm_alias_float.
20458 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20459 <libm-alias-float.h>.
20460 (copysignf): Define using libm_alias_float.
20461 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
20462 <libm-alias-float.h>.
20463 (llrintf): Define using libm_alias_float.
20464 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20465 <libm-alias-float.h>.
20466 (llroundf): Define using libm_alias_float.
20467 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
20468 <libm-alias-float.h>.
20469 (lrintf): Define using libm_alias_float.
20470 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
20471 <libm-alias-float.h>.
20472 (lroundf): Define using libm_alias_float.
20473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
20474 <libm-alias-float.h>.
20475 (ceilf): Define using libm_alias_float.
20476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
20477 <libm-alias-float.h>.
20478 (copysignf): Define using libm_alias_float.
20479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
20480 <libm-alias-float.h>.
20481 (cosf): Define using libm_alias_float.
20482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
20483 <libm-alias-float.h>.
20484 (floorf): Define using libm_alias_float.
20485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
20486 <libm-alias-float.h>.
20487 (llrintf): Define using libm_alias_float.
20488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
20489 <libm-alias-float.h>.
20490 (llroundf): Define using libm_alias_float.
20491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
20492 <libm-alias-float.h>.
20493 (logbf): Define using libm_alias_float.
20494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
20495 <libm-alias-float.h>.
20496 (modff): Define using libm_alias_float.
20497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
20498 <libm-alias-float.h>.
20499 (roundf): Define using libm_alias_float.
20500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
20501 <libm-alias-float.h>.
20502 (sinf): Define using libm_alias_float.
20503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
20504 <libm-alias-float.h>.
20505 (truncf): Define using libm_alias_float.
20506 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
20507 <libm-alias-float.h>.
20508 (ceilf): Define using libm_alias_float.
20509 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
20510 <libm-alias-float.h>.
20511 (copysignf): Define using libm_alias_float.
20512 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
20513 <libm-alias-float.h>.
20514 (floorf): Define using libm_alias_float.
20515 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
20516 <libm-alias-float.h>.
20517 (llrintf): Define using libm_alias_float.
20518 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
20519 <libm-alias-float.h>.
20520 (llroundf): Define using libm_alias_float.
20521 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
20522 <libm-alias-float.h>.
20523 (nearbyintf): Define using libm_alias_float.
20524 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
20525 <libm-alias-float.h>.
20526 (rintf): Define using libm_alias_float.
20527 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
20528 <libm-alias-float.h>.
20529 (roundf): Define using libm_alias_float.
20530 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
20531 <libm-alias-float.h>.
20532 (truncf): Define using libm_alias_float.
20533 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
20534 <libm-alias-float.h>.
20535 (ceilf): Define using libm_alias_float.
20536 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
20537 <libm-alias-float.h>.
20538 (floorf): Define using libm_alias_float.
20539 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
20540 <libm-alias-float.h>.
20541 (llroundf): Define using libm_alias_float.
20542 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
20543 <libm-alias-float.h>.
20544 (roundf): Define using libm_alias_float.
20545 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
20546 <libm-alias-float.h>.
20547 (truncf): Define using libm_alias_float.
20548 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
20549 <libm-alias-float.h>.
20550 (copysignf): Define using libm_alias_float.
20551 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
20552 <libm-alias-float.h>.
20553 (llrintf): Define using libm_alias_float.
20554 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
20555 <libm-alias-float.h>.
20556 (llroundf): Define using libm_alias_float.
20557 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
20558 <libm-alias-float.h>.
20559 (cosf): Define using libm_alias_float.
20560 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
20561 <libm-alias-float.h>.
20562 (llrintf): Define using libm_alias_float.
20563 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
20564 <libm-alias-float.h>.
20565 (llroundf): Define using libm_alias_float.
20566 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
20567 <libm-alias-float.h>.
20568 (sinf): Define using libm_alias_float.
20570 2017-12-04 Florian Weimer <fweimer@redhat.com>
20572 * support/check.h (TEST_COMPARE): Define.
20573 (support_test_compare_failure): Declare.
20574 * support/Makefile (libsupport-routines): Add
20575 support_test_compare_failure.
20576 (tests): Add tst-test_compare.
20577 * support /support_test_compare_failure.c: New file.
20578 * support/tst-test_compare.c: Likewise.
20580 2017-12-04 Mike FABIAN <mfabian@redhat.com>
20583 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
20584 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
20585 available, this rewrite of the collation rules does reproduce
20586 the test file in the same order.
20588 2017-12-04 Mike FABIAN <mfabian@redhat.com>
20591 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
20592 digraphs in the month and day names. Using single code points for
20593 digraphs is deprecated. While there are dedicated Unicode
20594 codepoints, for the digraphs, these are included for backwards
20595 compatibility and modern texts use a sequence of Basic Latin
20596 characters. See: https://www.unicode.org/faq/ligature_digraph.html
20597 This makes the month and day names agree exactly with CLDR now,
20598 CLDR does not use the single code points for the digraphs either.
20600 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
20602 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
20604 2017-12-04 Joseph Myers <joseph@codesourcery.com>
20606 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
20609 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
20611 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
20612 Define only for libc.so.
20614 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
20616 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20617 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
20618 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
20619 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
20620 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20622 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20625 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
20627 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
20630 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
20631 PREINIT_FUNCTION_WEAK is nonzero.
20632 (gmon_initializer): New function. Put procedure label for it in
20633 .init_array section.
20634 (_init): Don't call PREINIT_FUNCTION.
20635 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
20636 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
20637 value when map argument is null.
20639 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
20640 depi instruction from PIC pc-relative sequence.
20641 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
20642 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
20643 (elf_machine_load_address): Likewise.
20644 (elf_machine_runtime_setup): Likewise.
20646 2017-12-02 Joseph Myers <joseph@codesourcery.com>
20648 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
20649 <libm-alias-double.h>.
20650 (logb): Define using libm_alias_double.
20651 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
20652 <libm-alias-double.h>.
20653 (copysign): Define using libm_alias_double.
20654 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
20655 <libm-alias-double.h>.
20656 (llrint): Define using libm_alias_double.
20657 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
20658 <libm-alias-double.h>.
20659 (llround): Define using libm_alias_double.
20660 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
20661 <libm-alias-double.h>.
20662 (lrint): Define using libm_alias_double.
20663 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
20664 <libm-alias-double.h>.
20665 (lround): Define using libm_alias_double.
20666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
20667 Include <libm-alias-double.h>.
20668 (copysign): Define using libm_alias_double.
20669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
20670 Include <libm-alias-double.h>.
20671 (llrint): Define using libm_alias_double.
20672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
20673 Include <libm-alias-double.h>.
20674 (llround): Define using libm_alias_double.
20675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
20676 <libm-alias-double.h>.
20677 (logb): Define using libm_alias_double.
20678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
20679 Include <libm-alias-double.h>.
20680 (lrint): Define using libm_alias_double.
20681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
20682 Include <libm-alias-double.h>.
20683 (lround): Define using libm_alias_double.
20684 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
20685 <libm-alias-double.h>.
20686 (llrint): Define using libm_alias_double.
20687 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20688 <libm-alias-double.h>.
20689 (llround): Define using libm_alias_double.
20690 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20691 <libm-alias-double.h>.
20692 (llround): Define using libm_alias_double.
20693 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20694 <libm-alias-double.h>.
20695 (lround): Define using libm_alias_double.
20696 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20697 <libm-alias-double.h>.
20698 (copysign): Define using libm_alias_double.
20699 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
20700 <libm-alias-double.h>.
20701 (llrint): Define using libm_alias_double.
20702 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20703 <libm-alias-double.h>.
20704 (llround): Define using libm_alias_double.
20705 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
20706 <libm-alias-double.h>.
20707 (lrint): Define using libm_alias_double.
20708 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
20709 <libm-alias-double.h>.
20710 (lround): Define using libm_alias_double.
20711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
20712 <libm-alias-double.h>.
20713 (copysign): Define using libm_alias_double.
20714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
20715 <libm-alias-double.h>.
20716 (llrint): Define using libm_alias_double.
20718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
20719 <libm-alias-double.h>.
20720 (llround): Define using libm_alias_double.
20721 (lround): Likewise.
20722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
20723 <libm-alias-double.h>.
20724 (logb): Define using libm_alias_double.
20725 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
20726 <libm-alias-double.h>.
20727 (copysign): Define using libm_alias_double.
20728 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
20729 <libm-alias-double.h>.
20730 (llrint): Define using libm_alias_double.
20732 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
20733 <libm-alias-double.h>.
20734 (llround): Define using libm_alias_double.
20735 (lround): Likewise.
20736 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
20737 <libm-alias-double.h>.
20738 (llround): Define using libm_alias_double.
20739 (lround): Likewise.
20740 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
20741 <libm-alias-double.h>.
20742 (copysign): Define using libm_alias_double.
20743 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
20744 <libm-alias-double.h>.
20745 (llrint): Define using libm_alias_double.
20747 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
20748 <libm-alias-double.h>.
20749 (llround): Define using libm_alias_double.
20750 (lround): Likewise.
20751 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
20752 <libm-alias-double.h>.
20753 (llrint): Define using libm_alias_double.
20755 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
20756 <libm-alias-double.h>.
20757 (llround): Define using libm_alias_double.
20758 (lround): Likewise.
20760 2017-12-01 Joseph Myers <joseph@codesourcery.com>
20762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
20763 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
20764 compat symbol based on llround.
20766 * sysdeps/powerpc/power7/fpu/s_logb.c
20767 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
20768 symbol based on __logb, not on logb.
20769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
20770 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
20771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
20772 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
20774 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
20775 (rint): Define using libm_alias_double.
20776 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
20777 <libm-alias-double.h>.
20778 (modf): Define using libm_alias_double.
20779 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
20780 <libm-alias-double.h>.
20781 (ceil): Define using libm_alias_double.
20782 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
20783 <libm-alias-double.h>.
20784 (floor): Define using libm_alias_double.
20785 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
20786 <libm-alias-double.h>.
20787 (nearbyint): Define using libm_alias_double.
20788 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
20789 <libm-alias-double.h>.
20790 (rint): Define using libm_alias_double.
20791 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
20792 <libm-alias-double.h>.
20793 (round): Define using libm_alias_double.
20794 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
20795 <libm-alias-double.h>.
20796 (trunc): Define using libm_alias_double.
20797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
20798 <libm-alias-double.h>.
20799 (ceil): Define using libm_alias_double.
20800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
20801 Include <libm-alias-double.h>.
20802 (floor): Define using libm_alias_double.
20803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
20804 <libm-alias-double.h>.
20805 (modf): Define using libm_alias_double.
20806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
20807 Include <libm-alias-double.h>.
20808 (round): Define using libm_alias_double.
20809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
20810 Include <libm-alias-double.h>.
20811 (trunc): Define using libm_alias_double.
20812 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
20813 <libm-alias-double.h>.
20814 (ceil): Define using libm_alias_double.
20815 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
20816 <libm-alias-double.h>.
20817 (floor): Define using libm_alias_double.
20818 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
20819 <libm-alias-double.h>.
20820 (round): Define using libm_alias_double.
20821 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
20822 <libm-alias-double.h>.
20823 (trunc): Define using libm_alias_double.
20824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
20825 <libm-alias-double.h>.
20826 (ceil): Define using libm_alias_double.
20827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
20828 <libm-alias-double.h>.
20829 (floor): Define using libm_alias_double.
20830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
20831 <libm-alias-double.h>.
20832 (modf): Define using libm_alias_double.
20833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
20834 <libm-alias-double.h>.
20835 (round): Define using libm_alias_double.
20836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
20837 <libm-alias-double.h>.
20838 (trunc): Define using libm_alias_double.
20839 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
20840 <libm-alias-double.h>.
20841 (ceil): Define using libm_alias_double.
20842 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
20843 <libm-alias-double.h>.
20844 (floor): Define using libm_alias_double.
20845 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
20846 <libm-alias-double.h>.
20847 (nearbyint): Define using libm_alias_double.
20848 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
20849 <libm-alias-double.h>.
20850 (rint): Define using libm_alias_double.
20851 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
20852 <libm-alias-double.h>.
20853 (round): Define using libm_alias_double.
20854 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
20855 <libm-alias-double.h>.
20856 (trunc): Define using libm_alias_double.
20857 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
20858 <libm-alias-double.h>.
20859 (ceil): Define using libm_alias_double.
20860 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
20861 <libm-alias-double.h>.
20862 (floor): Define using libm_alias_double.
20863 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
20864 <libm-alias-double.h>.
20865 (round): Define using libm_alias_double.
20866 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
20867 <libm-alias-double.h>.
20868 (trunc): Define using libm_alias_double.
20870 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
20871 (fabs): Define using libm_alias_double.
20872 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
20873 (fma): Define using libm_alias_double.
20874 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
20875 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
20876 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
20877 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
20879 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20881 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
20883 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
20884 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
20885 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
20887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
20888 due redirect macro.
20890 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
20892 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
20894 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20896 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
20897 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
20898 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
20899 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
20901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20902 (libm-sysdep_routines): Add s_nearbyintf-generic and
20903 s_nearbyint-generic.
20904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
20906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
20907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
20909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
20911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
20913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
20916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20917 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
20918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
20920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
20921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
20923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
20924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
20925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
20927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20928 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
20929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
20931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
20932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
20934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
20935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
20936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
20938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20939 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
20940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
20942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
20943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
20945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
20946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
20947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
20949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20950 (sysdep_calls): New rule.
20951 (sysdep_routines): Use sysdep_calls as base.
20952 (libm-sysdep_routines): Add generic rule for symbols shared with
20953 libc. Add s_copysign-generic and s_copysign-generic objects.
20954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
20956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
20957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
20959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
20960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
20961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
20963 2017-12-01 Mike FABIAN <mfabian@redhat.com>
20966 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
20967 the list of locales to be built for testing.
20968 * localedata/is_IS.UTF-8.in: New file.
20969 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
20972 2017-12-01 Joseph Myers <joseph@codesourcery.com>
20974 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
20975 <libm-alias-float.h>.
20976 (fabsf): Define using libm_alias_float.
20978 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
20980 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
20982 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20984 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
20985 <libm-alias-float.h>.
20986 (fabsf): Define using libm_alias_float.
20987 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
20988 <libm-alias-float.h>.
20989 (lrintf): Define using libm_alias_float.
20990 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
20991 <libm-alias-float.h>.
20992 (rintf): Define using libm_alias_float.
20994 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
20995 <libm-alias-double.h>.
20996 (fabs): Define using libm_alias_double.
20997 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
20998 <libm-alias-double.h>.
20999 (lrint): Define using libm_alias_double.
21000 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
21001 <libm-alias-double.h>.
21002 (rint): Define using libm_alias_double.
21004 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
21005 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
21006 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
21007 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
21008 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
21009 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
21010 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
21011 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
21012 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
21013 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
21014 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
21015 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
21016 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
21017 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
21018 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
21019 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
21020 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
21021 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
21023 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
21024 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
21025 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
21027 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
21028 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
21029 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
21031 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
21032 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
21033 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
21034 s_expm1_template.c.
21035 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
21036 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
21037 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
21039 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
21040 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
21041 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
21042 s_floor_template.c.
21043 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
21044 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
21045 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
21046 s_frexp_template.c.
21047 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
21048 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
21049 s_lrint_template.c.
21050 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
21051 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
21052 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
21054 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
21055 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
21056 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
21057 s_nearbyint_template.c.
21058 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
21059 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
21060 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
21061 s_remquo_template.c.
21062 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
21063 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
21064 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
21066 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
21067 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
21068 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
21070 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
21071 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
21072 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
21073 s_sincos_template.c.
21074 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
21075 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
21076 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
21078 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
21079 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
21080 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
21082 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
21083 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
21084 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
21085 s_trunc_template.c.
21086 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
21087 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
21088 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
21089 s_atan.c instead of including s_atan.c.
21090 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
21091 s_atanf.c instead of including s_atanf.c.
21092 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
21093 s_atanl.c instead of including s_atanl.c.
21094 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
21095 instead of s_atan.c.
21096 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
21097 instead of s_atanf.c.
21098 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
21099 instead of s_atanl.c.
21101 * scripts/update-copyrights: Do not handle intl/plural.c
21104 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
21107 * configure.ac (BISON): Require to be present.
21108 * configure: Regenerated.
21109 * intl/Makefile (generated): Add plural.c.
21110 [$(BISON) != no]: Make code unconditional.
21111 (plural.c): Change rule to $(objpfx)plural.c.
21112 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
21113 * intl/plural.c: Remove.
21114 * manual/install.texi (Tools for Compilation): Document bison as
21116 * INSTALL: Regenerated.
21118 2017-11-30 Joseph Myers <joseph@codesourcery.com>
21120 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
21121 <libm-alias-double.h>.
21122 (llrint): Define using libm_alias_double.
21123 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
21124 <libm-alias-float.h>.
21125 (llrintf): Define using libm_alias_float.
21126 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
21127 <libm-alias-ldouble.h>.
21128 (llrintl): Define using libm_alias_ldouble.
21130 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
21131 declare_mgen_alias instead of weak_alias.
21132 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
21133 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
21134 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
21136 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21138 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21140 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
21141 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
21142 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
21144 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21145 Add submul_1-generic.
21146 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
21147 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
21148 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
21150 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21151 Add addmul_1-generic.
21152 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
21153 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
21154 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
21156 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21158 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
21159 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
21160 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
21162 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21164 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
21165 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
21166 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
21168 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21170 According to CLDR, collation rules for Serbian and Bosnian
21171 should be the same as for Croatian.
21174 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
21175 and to the list of locales to be built for testing.
21176 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
21177 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
21178 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
21179 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
21181 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21183 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
21184 to make test case pass.
21185 * localedata/hr_HR.UTF-8.in: Add more test strings.
21187 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21189 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
21191 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
21193 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
21194 the list of locales to built for testing.
21195 * localedata/hr_HR.UTF-8.in: New file.
21197 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
21200 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
21202 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
21203 CLDR (except use ligatures for the digraphs, CLDR does not use
21204 the ligatures), add first_workday, some fixes in the date and time
21206 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
21208 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
21209 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
21210 Add int_p_cs_precedes and int_n_cs_precedes.
21211 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
21212 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
21214 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
21215 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
21217 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
21218 and lang_lib. Change postal_fmt.
21220 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
21222 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
21224 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
21225 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
21226 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
21227 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
21228 * sysdeps/generic/setjmpP.h: New file.
21229 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
21230 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
21231 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
21232 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
21233 Add jmp_buf-ssp.sym.
21234 (tests): Add tst-saved_mask-1.
21236 2017-11-30 Arjun Shankar <arjun@redhat.com>
21240 * malloc/malloc.c (__libc_malloc): Use checked_request2size
21241 instead of request2size.
21243 2017-11-30 Joseph Myers <joseph@codesourcery.com>
21245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
21246 (__lllrint): Remove alias.
21247 (lllrint): Likewise.
21248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
21249 (__lllrintf): Likewise.
21250 (lllrintf): Likewise.
21252 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
21253 <libm-alias-float.h>.
21254 (copysignf): Define using libm_alias_float.
21255 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
21256 <libm-alias-float.h>.
21257 (fabsf): Define using libm_alias_float.
21258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21259 Include <libm-alias-float.h>.
21260 (copysignf): Define using libm_alias_float.
21261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
21262 <libm-alias-float.h>.
21263 (fabsf): Define using libm_alias_float.
21264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
21265 <libm-alias-float.h>.
21266 (fdimf): Define using libm_alias_float.
21267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
21268 <libm-alias-float.h>.
21269 (fmaf): Define using libm_alias_float.
21270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
21271 <libm-alias-float.h>.
21272 (llrintf): Define using libm_alias_float.
21273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
21274 Include <libm-alias-float.h>.
21275 (nearbyintf): Define using libm_alias_float.
21276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
21277 <libm-alias-float.h>.
21278 (rintf): Define using libm_alias_float.
21279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
21280 <libm-alias-float.h>.
21281 (llrintf): Define using libm_alias_float.
21282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
21283 <libm-alias-float.h>.
21284 (lrintf): Define using libm_alias_float.
21285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
21286 <libm-alias-float.h>.
21287 (nearbyintf): Define using libm_alias_float.
21288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
21289 <libm-alias-float.h>.
21290 (rintf): Define using libm_alias_float.
21291 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
21292 <libm-alias-float.h>.
21293 (ceilf): Define using libm_alias_float.
21294 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
21295 <libm-alias-float.h>.
21296 (floorf): Define using libm_alias_float.
21297 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
21298 <libm-alias-float.h>.
21299 (fmaf): Define using libm_alias_float.
21300 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
21301 <libm-alias-float.h>.
21302 (lrintf): Define using libm_alias_float.
21303 (llrintf): Likewise.
21304 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
21305 <libm-alias-float.h>.
21306 (nearbyintf): Define using libm_alias_float.
21307 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
21308 <libm-alias-float.h>.
21309 (rintf): Define using libm_alias_float.
21310 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
21311 <libm-alias-float.h>.
21312 (truncf): Define using libm_alias_float.
21313 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
21314 <libm-alias-float.h>.
21315 (copysignf): Define using libm_alias_float.
21316 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
21317 <libm-alias-float.h>.
21318 (fabsf): Define using libm_alias_float.
21319 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
21320 <libm-alias-float.h>.
21321 (lrintf): Define using libm_alias_float.
21322 (llrintf): Likewise.
21323 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
21324 <libm-alias-float.h>.
21325 (nearbyintf): Define using libm_alias_float.
21326 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
21327 <libm-alias-float.h>.
21328 (rintf): Define using libm_alias_float.
21330 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21332 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
21333 <libm-alias-double.h>.
21334 (copysign): Define using libm_alias_double.
21335 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
21336 <libm-alias-double.h>.
21337 (fabs): Define using libm_alias_double.
21338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21339 Include <libm-alias-double.h>.
21340 (copysign): Define using libm_alias_double.
21341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
21342 <libm-alias-double.h>.
21343 (fabs): Define using libm_alias_double.
21344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
21345 <libm-alias-double.h>.
21346 (fdim): Define using libm_alias_double.
21347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
21348 <libm-alias-double.h>.
21349 (fma): Define using libm_alias_double.
21350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
21351 <libm-alias-double.h>.
21352 (llrint): Define using libm_alias_double.
21353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
21354 Include <libm-alias-double.h>.
21355 (nearbyint): Define using libm_alias_double.
21356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
21357 <libm-alias-double.h>.
21358 (rint): Define using libm_alias_double.
21359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
21360 <libm-alias-double.h>.
21361 (fabs): Define using libm_alias_double.
21362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
21363 <libm-alias-double.h>.
21364 (llrint): Define using libm_alias_double.
21365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
21366 <libm-alias-double.h>.
21367 (nearbyint): Define using libm_alias_double.
21368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
21369 <libm-alias-double.h>.
21370 (rint): Define using libm_alias_double.
21371 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
21372 <libm-alias-double.h>.
21373 (ceil): Define using libm_alias_double.
21374 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
21375 <libm-alias-double.h>.
21376 (floor): Define using libm_alias_double.
21377 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
21378 <libm-alias-double.h>.
21379 (fma): Define using libm_alias_double.
21380 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
21381 <libm-alias-double.h>.
21382 (lrint): Define using libm_alias_double.
21383 (llrint): Likewise.
21384 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
21385 <libm-alias-double.h>.
21386 (nearbyint): Define using libm_alias_double.
21387 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
21388 <libm-alias-double.h>.
21389 (rint): Define using libm_alias_double.
21390 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
21391 <libm-alias-double.h>.
21392 (trunc): Define using libm_alias_double.
21393 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
21394 <libm-alias-double.h>.
21395 (copysign): Define using libm_alias_double.
21396 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
21397 <libm-alias-double.h>.
21398 (fabs): Define using libm_alias_double.
21399 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
21400 <libm-alias-double.h>.
21401 (lrint): Define using libm_alias_double.
21402 (llrint): Likewise.
21403 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
21404 <libm-alias-double.h>.
21405 (nearbyint): Define using libm_alias_double.
21406 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
21407 <libm-alias-double.h>.
21408 (rint): Define using libm_alias_double.
21411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
21413 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
21415 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21416 SPARC --disable-multi-arch glibc variants.
21418 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
21419 <libm-alias-float.h>.
21420 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21422 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
21423 <libm-alias-float.h>.
21424 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21426 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
21427 <libm-alias-float.h>.
21428 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21430 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
21431 <libm-alias-float.h>.
21432 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21434 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
21435 <libm-alias-float.h>.
21436 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21438 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
21439 <libm-alias-float.h>.
21440 (ceilf): Define using libm_alias_float.
21441 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
21442 <libm-alias-float.h>.
21443 (floorf): Define using libm_alias_float.
21444 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
21445 <libm-alias-float.h>.
21446 (fmaf): Define using libm_alias_float.
21447 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
21448 <libm-alias-float.h>.
21449 (nearbyintf): Define using libm_alias_float.
21450 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
21451 <libm-alias-float.h>.
21452 (rintf): Define using libm_alias_float.
21453 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
21454 <libm-alias-float.h>.
21455 (truncf): Define using libm_alias_float.
21456 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
21457 (copysignf): Define using libm_alias_float.
21458 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
21459 (cosf): Define using libm_alias_float.
21460 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
21461 (fabsf): Define using libm_alias_float.
21462 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21463 (fmaxf): Define using libm_alias_float.
21464 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
21465 (fminf): Define using libm_alias_float.
21466 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
21467 (llrintf): Define using libm_alias_float.
21468 [!__ILP32__] (lrintf): Likewise.
21469 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
21470 (sincosf): Define using libm_alias_float.
21471 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
21472 (sinf): Define using libm_alias_float.
21473 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
21474 (lrintf): Define using libm_alias_float.
21476 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
21477 <libm-alias-double.h>.
21478 (atan): Define using libm_alias_double.
21479 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
21480 <libm-alias-double.h>.
21481 (ceil): Define using libm_alias_double.
21482 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
21483 <libm-alias-double.h>.
21484 (floor): Define using libm_alias_double.
21485 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
21486 <libm-alias-double.h>.
21487 (fma): Define using libm_alias_double.
21488 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
21489 <libm-alias-double.h>.
21490 (nearbyint): Define using libm_alias_double.
21491 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
21492 <libm-alias-double.h>.
21493 (rint): Define using libm_alias_double.
21494 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
21495 <libm-alias-double.h>.
21496 (sin): Define using libm_alias_double.
21498 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
21499 <libm-alias-double.h>.
21500 (tan): Define using libm_alias_double.
21501 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
21502 <libm-alias-double.h>.
21503 (trunc): Define using libm_alias_double.
21504 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
21505 (copysign): Define using libm_alias_double.
21506 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
21507 (fabs): Define using libm_alias_double.
21508 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
21509 (fmax): Define using libm_alias_double.
21510 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
21511 (fmin): Define using libm_alias_double.
21512 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
21513 (llrint): Define using libm_alias_double.
21514 [!__ILP32__] (lrint): Likewise.
21515 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
21516 (lrint): Define using libm_alias_double.
21518 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21520 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21521 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
21523 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
21524 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
21525 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
21526 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
21527 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
21528 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21530 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21531 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
21533 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
21534 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
21535 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
21536 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
21537 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
21538 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21540 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21541 (libm-sysdep_routines): Add s_nearbyint-generic and
21542 s_nearbyintf-generic objects.
21543 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
21544 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
21545 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
21546 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
21547 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
21548 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
21550 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21551 Add s_finitef-generic and s_finite-generic objects.
21552 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
21553 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
21554 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
21555 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
21556 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
21557 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
21559 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21560 Add s_isinff-generic and s_isinf-generic objects.
21561 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
21562 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
21563 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
21564 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
21565 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
21566 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21568 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21569 Add s_isnanf-generic and s_isnan-generic objects.
21570 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
21571 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
21572 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
21573 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
21574 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
21575 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21577 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
21579 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
21581 (sysdep_routines): Use sysdep_calls as base.
21582 (libm-sysdep_routines): Add generic rule for symbols shared with
21583 libc. Add s_signbit-generic and s_signbitf-generic objects.
21584 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
21585 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
21586 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
21587 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
21588 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
21589 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21591 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21593 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
21594 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
21595 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
21596 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
21597 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
21598 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
21599 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
21600 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
21601 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
21602 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
21603 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
21604 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
21605 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
21606 libm_alias_float_r.
21607 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
21608 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
21610 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
21611 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
21612 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
21613 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
21614 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
21615 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
21616 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
21617 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
21618 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
21619 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
21621 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
21623 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
21624 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
21625 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
21626 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
21627 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
21628 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
21629 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
21630 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
21631 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
21632 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
21633 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
21634 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
21635 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
21636 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
21637 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
21638 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
21639 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
21640 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
21641 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
21643 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
21644 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
21645 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
21646 * sysdeps/ia64/fpu/w_lgammaf_main.c
21647 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
21648 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
21650 2017-11-28 Mike FABIAN <mfabian@redhat.com>
21651 Alexandre Oliva <aoliva@redhat.com>
21654 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
21655 * localedata/fr_CA.UTF-8.in: New file with test data for backward
21657 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
21659 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
21660 * localedata/locales/de_DE (LC_COLLATE): Likewise.
21661 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
21662 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
21663 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
21664 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
21665 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
21666 instead of “ifdef DIACRIT_BACKWARD”.
21668 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21670 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
21671 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
21672 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
21673 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
21674 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
21675 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
21676 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
21677 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
21678 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
21679 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
21680 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
21681 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
21682 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
21683 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
21684 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
21685 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
21686 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
21687 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
21688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21689 ($(have-as-vis3) == yes): Remove conditional.
21690 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
21692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
21694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
21696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
21698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
21700 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
21701 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
21702 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
21703 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
21704 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
21705 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
21706 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
21707 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
21709 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21711 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
21712 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
21713 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
21714 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
21715 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
21716 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
21717 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
21718 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
21719 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
21720 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
21721 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
21722 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
21723 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
21724 libm_alias_double_r.
21725 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
21727 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
21728 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
21729 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
21730 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
21731 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
21732 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
21733 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
21734 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
21735 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
21736 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
21737 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
21739 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
21741 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
21742 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
21743 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
21744 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
21745 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
21746 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
21747 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
21748 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
21749 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
21750 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
21751 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
21752 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
21753 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
21754 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
21755 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
21756 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
21757 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
21758 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
21760 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
21761 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
21762 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
21763 * sysdeps/ia64/fpu/w_lgamma_main.c
21764 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
21765 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
21767 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
21769 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
21770 address of $global$ into %dp register earlier. Use pc-relative
21771 instruction sequence for PIC case.
21773 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21775 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
21776 (asinhf): Define using libm_alias_float.
21777 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
21778 (atanf): Define using libm_alias_float.
21779 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
21780 (cbrtf): Define using libm_alias_float.
21781 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
21782 (ceilf): Define using libm_alias_float.
21783 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
21784 (copysignf): Define using libm_alias_float.
21785 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
21786 (expm1f): Define using libm_alias_float.
21787 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
21788 (fabsf): Define using libm_alias_float.
21789 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
21790 (floorf): Define using libm_alias_float.
21791 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21792 (fmaxf): Define using libm_alias_float.
21793 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
21794 (fminf): Define using libm_alias_float.
21795 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
21796 (frexpf): Define using libm_alias_float.
21797 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
21798 (llrintf): Define using libm_alias_float.
21799 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
21800 (logbf): Define using libm_alias_float.
21801 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
21802 (lrintf): Define using libm_alias_float.
21803 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
21804 (nearbyintf): Define using libm_alias_float.
21805 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
21806 (remquof): Define using libm_alias_float.
21807 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
21808 (rintf): Define using libm_alias_float.
21809 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
21810 (truncf): Define using libm_alias_float.
21811 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
21812 <libm-alias-float.h>.
21813 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21815 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
21816 <libm-alias-float.h>.
21817 (expf): Define using libm_alias_float, or libm_alias_float_other
21819 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
21820 <libm-alias-float.h>.
21821 (log2f): Define using libm_alias_float, or libm_alias_float_other
21823 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
21824 <libm-alias-float.h>.
21825 (logf): Define using libm_alias_float, or libm_alias_float_other
21827 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
21828 <libm-alias-float.h>.
21829 (powf): Define using libm_alias_float, or libm_alias_float_other
21831 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
21832 <libm-alias-float.h>.
21833 (cosf): Define using libm_alias_float.
21834 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
21835 <libm-alias-float.h>.
21836 (sincosf): Define using libm_alias_float.
21837 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
21838 <libm-alias-float.h>.
21839 (sinf): Define using libm_alias_float.
21840 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21841 (fmaxf): Define using libm_alias_float.
21842 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
21843 (fminf): Define using libm_alias_float.
21844 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21845 <libm-alias-float.h>.
21846 (fmaf): Define using libm_alias_float.
21848 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
21849 (asinh): Define using libm_alias_double.
21850 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
21851 (atan): Define using libm_alias_double.
21852 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
21853 (cbrt): Define using libm_alias_double.
21854 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
21855 (ceil): Define using libm_alias_double.
21856 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
21857 (copysign): Define using libm_alias_double.
21858 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
21859 (expm1): Define using libm_alias_double.
21860 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
21861 (fabs): Define using libm_alias_double.
21862 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
21863 (fdim): Define using libm_alias_double.
21864 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
21865 (floor): Define using libm_alias_double.
21866 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
21867 (fmax): Define using libm_alias_double.
21868 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
21869 (fmin): Define using libm_alias_double.
21870 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
21871 (frexp): Define using libm_alias_double.
21872 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
21873 (llrint): Define using libm_alias_double.
21874 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
21875 (logb): Define using libm_alias_double.
21876 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
21877 (lrint): Define using libm_alias_double.
21878 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
21879 (nearbyint): Define using libm_alias_double.
21880 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
21881 (remquo): Define using libm_alias_double.
21882 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
21883 (rint): Define using libm_alias_double.
21884 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
21885 (trunc): Define using libm_alias_double.
21886 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
21887 (fmax): Define using libm_alias_double.
21888 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
21889 (fmin): Define using libm_alias_double.
21890 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
21891 (fma): Define using libm_alias_double.
21893 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
21896 * elf/dl-hwcaps.c (ROUND): Removed.
21897 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
21898 and ELF_NOTE_NEXT_OFFSET.
21899 * elf/dl-load.c (ROUND): Removed.
21900 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21901 * elf/readelflib.c (ROUND): Removed.
21902 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21903 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
21904 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
21905 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
21907 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21909 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21910 [!__fmaf] (fmaf): Define using libm_alias_float.
21912 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
21913 [!__fma] (fma): Define using libm_alias_double.
21914 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
21916 2017-11-28 Mike FABIAN <mfabian@redhat.com>
21919 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
21920 and implement the collation rules for cs from CLDR on top of that.
21921 * Makefile: Add cs_CZ.UTF-8 to test-input.
21922 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
21924 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
21926 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
21928 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21929 Icarus Sparry <icarus.w.sparry@intel.com>
21931 * benchtests/Makefile:Add BENCHSET to allow subsets of
21932 benchmarks to be run.
21933 * benchtests/README: Add documentation for: Running subsets of
21936 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21938 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
21939 range of tests names.
21941 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
21942 result from property and remove "max", min" and "mean" from
21943 required properties based on benchtests/bench-skeleton.c.
21945 2017-11-28 Florian Weimer <fweimer@redhat.com>
21948 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
21949 due to Internet requirement.
21950 * posix/Makefile (tests): Remove tst-getaddrinfo4,
21952 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
21954 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21956 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21957 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
21958 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21959 (sysdep_routines): Add memset-ultra1.
21960 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
21962 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
21963 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
21964 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
21965 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
21966 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
21967 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
21968 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
21969 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21971 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
21973 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
21974 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
21975 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
21976 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
21977 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
21978 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
21979 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
21981 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21982 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
21983 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21984 (sysdep_routines): Add memcpy-ultra1.
21985 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
21986 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
21988 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21990 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
21991 (cfloat_versions): Take function argument without trailing 'f'.
21992 Call libm_alias_float_other.
21993 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
21994 * sysdeps/alpha/fpu/cargf.c: Likewise.
21995 * sysdeps/alpha/fpu/cimagf.c: Likewise.
21996 * sysdeps/alpha/fpu/conjf.c: Likewise.
21997 * sysdeps/alpha/fpu/crealf.c: Likewise.
21998 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
21999 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
22000 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
22001 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
22002 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
22003 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
22004 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
22005 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
22006 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
22007 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
22008 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
22009 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
22010 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
22011 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
22012 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
22013 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
22014 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
22015 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
22016 (clog10f): Use libm_alias_float_other.
22017 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
22018 (ceilf): Define using libm_alias_float.
22019 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
22020 (copysignf): Define using libm_alias_float.
22021 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
22022 (fabsf): Define using libm_alias_float.
22023 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
22024 (floorf): Define using libm_alias_float.
22025 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
22026 (fmaxf): Define using libm_alias_float.
22027 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
22028 (fminf): Define using libm_alias_float.
22029 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
22030 (lrintf): Define using libm_alias_float.
22031 (llrintf): Likewise.
22032 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
22033 (lroundf): Define using libm_alias_float.
22034 (llroundf): Likewise.
22035 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
22036 (rintf): Define using libm_alias_float.
22037 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
22038 (truncf): Define using libm_alias_float.
22040 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
22041 (ceilf): Define using libm_alias_float.
22042 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
22043 (floorf): Define using libm_alias_float.
22044 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
22045 (fmaf): Define using libm_alias_float.
22046 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
22047 (fmaxf): Define using libm_alias_float.
22048 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
22049 (fminf): Define using libm_alias_float.
22050 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
22051 (llrintf): Define using libm_alias_float.
22052 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
22053 (llroundf): Define using libm_alias_float.
22054 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
22055 (lrintf): Define using libm_alias_float.
22056 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
22057 (lroundf): Define using libm_alias_float.
22058 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
22059 <libm-alias-float.h>.
22060 (nearbyintf): Define using libm_alias_float.
22061 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
22062 (rintf): Define using libm_alias_float.
22063 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
22064 (roundf): Define using libm_alias_float.
22065 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
22066 (truncf): Define using libm_alias_float.
22068 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
22069 (ceil): Define using libm_alias_double.
22070 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
22071 (copysign): Define using libm_alias_double.
22072 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
22073 (fabs): Define using libm_alias_double.
22074 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
22075 (floor): Define using libm_alias_double.
22076 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
22077 (fmax): Define using libm_alias_double.
22078 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
22079 (fmin): Define using libm_alias_double.
22080 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
22081 (lrint): Define using libm_alias_double.
22082 (llrint): Likewise.
22083 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
22084 (lround): Define using libm_alias_double.
22085 (llround): Likewise.
22086 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
22087 (rint): Define using libm_alias_double.
22088 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
22089 (trunc): Define using libm_alias_double.
22091 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
22092 (libm_alias_double_r): Add semicolon after weak_alias call.
22094 2017-11-27 Joseph Myers <joseph@codesourcery.com>
22096 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
22097 (ceil): Define using libm_alias_double.
22098 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
22099 (floor): Define using libm_alias_double.
22100 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
22101 (fma): Define using libm_alias_double.
22102 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
22103 (fmax): Define using libm_alias_double.
22104 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
22105 (fmin): Define using libm_alias_double.
22106 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
22107 (llrint): Define using libm_alias_double.
22108 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
22109 (llround): Define using libm_alias_double.
22110 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
22111 (lrint): Define using libm_alias_double.
22112 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
22113 (lround): Define using libm_alias_double.
22114 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
22115 (nearbyint): Define using libm_alias_double.
22116 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
22117 (rint): Define using libm_alias_double.
22118 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
22119 (round): Define using libm_alias_double.
22120 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
22121 (trunc): Define using libm_alias_double.
22123 2017-11-27 Florian Weimer <fweimer@redhat.com>
22125 * sysdeps/unix/sysv/linux/mlock2.c: New file.
22126 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
22127 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
22128 (tests): Add tst-mlock2.
22129 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
22130 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
22131 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
22132 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
22133 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
22134 for mlock. Document mlock2.
22136 2017-11-27 Joseph Myers <joseph@codesourcery.com>
22138 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
22139 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
22141 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
22143 * sysdeps/x86/Makeconfig: New file.
22144 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
22145 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22146 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
22147 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22148 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22149 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22150 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
22152 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22153 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22154 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22155 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22156 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22157 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22158 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22159 * manual/math.texi (Mathematics): Document support for _Float64x.
22160 * math/Versions (GLIBC_2.27): Add _Float64x functions.
22161 * stdlib/Versions (GLIBC_2.27): Likewise.
22162 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22163 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22164 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22165 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22166 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22167 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22168 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22169 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22170 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22171 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22172 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22173 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22178 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22179 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22180 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22181 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22182 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22183 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22184 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22185 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22186 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22187 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22188 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22189 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22190 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22191 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22193 2017-11-27 Andreas Schwab <schwab@suse.de>
22195 * elf/Makefile (dl-routines): Add dl-sort-maps.
22196 * elf/dl-sort-maps.c: New file.
22197 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
22198 (_dl_sort_maps): Declare.
22199 * elf/dl-fini.c (_dl_sort_fini): Remove.
22200 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
22201 * elf/dl-close.c (_dl_close_worker): Likewise.
22202 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
22204 * elf/dl-open.c (dl_open_worker): Likewise.
22206 2017-11-24 Joseph Myers <joseph@codesourcery.com>
22208 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
22209 using libm_alias_float128.
22210 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
22212 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
22214 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
22215 (setpayloadsigf128): Likewise.
22216 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
22218 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
22221 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
22222 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
22223 -mfloat128 to CFLAGS.
22225 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
22227 (CFLAGS-libm-test-support-float64x.c): New variable.
22228 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
22229 $(f128-loader-link) to gnulib-tests.
22231 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
22232 (libm_alias_float128_other_r): If
22233 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
22235 (libm_alias_float128_r): Add semicolon after weak_alias call.
22236 * sysdeps/generic/libm-alias-ldouble.h
22237 (libm_alias_ldouble_other_r_f128): New macro.
22238 (libm_alias_ldouble_other_r_f64x): Likewise.
22239 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
22240 and libm_alias_ldouble_other_r_f64x.
22241 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
22242 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
22243 (libm_alias_ldouble_other_r_f128): New macro.
22244 (libm_alias_ldouble_other_r_f64x): Likewise.
22245 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
22246 and libm_alias_ldouble_other_r_f64x.
22248 * stdlib/strfroml.c: Always include <stdlib.h>.
22249 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
22250 undefine as macro and define as weak alias.
22251 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
22252 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
22254 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
22255 Define and later undefine as macro and define as weak alias.
22257 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
22258 Define and later undefine as macro. Define as weak alias if
22260 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
22261 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22262 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
22263 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
22264 Define and later undefine as macro. Define as weak alias if
22266 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
22267 Define and later undefine as macro. Define as weak alias if
22269 * sysdeps/ieee754/float128/strtof128_l.c
22270 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
22271 Define and later undefine as macro. Define as weak alias if
22273 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
22274 Define and later undefine as macro. Define as weak alias if
22276 * sysdeps/ieee754/ldbl-128/strtold_l.c
22277 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22278 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22279 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22280 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22281 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
22282 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22283 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22284 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22285 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22286 * sysdeps/ieee754/ldbl-96/strtold_l.c
22287 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22288 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22289 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22290 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22292 * math/test-float64x.h: New file.
22293 * math/Makefile (type-float64x-yes): New variable.
22294 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
22296 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
22297 function-like macro.
22298 (min_of_type_): Likewise.
22299 (min_of_type_l): Likewise.
22300 (min_of_type_f128): Likewise.
22301 (min_of_type): Pass () as last argument of __MATH_TG.
22303 * stdlib/tst-strtod-round-skeleton.c
22304 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
22307 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
22308 for combinations of long double with _Float64 and _Float64x.
22310 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
22311 (__DECL_SIMD_cosf32): Likewise.
22312 (__DECL_SIMD_cosf64): Likewise.
22313 (__DECL_SIMD_cosf32x): Likewise.
22314 (__DECL_SIMD_cosf64x): Likewise.
22315 (__DECL_SIMD_cosf128x): Likewise.
22316 (__DECL_SIMD_sinf16): Likewise.
22317 (__DECL_SIMD_sinf32): Likewise.
22318 (__DECL_SIMD_sinf64): Likewise.
22319 (__DECL_SIMD_sinf32x): Likewise.
22320 (__DECL_SIMD_sinf64x): Likewise.
22321 (__DECL_SIMD_sinf128x): Likewise.
22322 (__DECL_SIMD_sincosf16): Likewise.
22323 (__DECL_SIMD_sincosf32): Likewise.
22324 (__DECL_SIMD_sincosf64): Likewise.
22325 (__DECL_SIMD_sincosf32x): Likewise.
22326 (__DECL_SIMD_sincosf64x): Likewise.
22327 (__DECL_SIMD_sincosf128x): Likewise.
22328 (__DECL_SIMD_logf16): Likewise.
22329 (__DECL_SIMD_logf32): Likewise.
22330 (__DECL_SIMD_logf64): Likewise.
22331 (__DECL_SIMD_logf32x): Likewise.
22332 (__DECL_SIMD_logf64x): Likewise.
22333 (__DECL_SIMD_logf128x): Likewise.
22334 (__DECL_SIMD_expf16): Likewise.
22335 (__DECL_SIMD_expf32): Likewise.
22336 (__DECL_SIMD_expf64): Likewise.
22337 (__DECL_SIMD_expf32x): Likewise.
22338 (__DECL_SIMD_expf64x): Likewise.
22339 (__DECL_SIMD_expf128x): Likewise.
22340 (__DECL_SIMD_powf16): Likewise.
22341 (__DECL_SIMD_powf32): Likewise.
22342 (__DECL_SIMD_powf64): Likewise.
22343 (__DECL_SIMD_powf32x): Likewise.
22344 (__DECL_SIMD_powf64x): Likewise.
22345 (__DECL_SIMD_powf128x): Likewise.
22347 * stdlib/Versions (libc): Move entries for wcstof128 and
22348 wcstof128_l to ....
22349 * wcsmbs/Versions (libc): ... here.
22350 Include <float128-abi.h>.
22352 2017-11-24 Florian Weimer <fweimer@redhat.com>
22354 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22355 bits/mman-shared.h.
22356 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
22357 <bits/mman-shared.h>.
22358 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
22360 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
22361 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
22362 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
22363 <bits/mman-shared.h>.
22365 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22368 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
22369 posix_memalign/free.
22370 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
22372 2017-11-22 Mike FABIAN <mfabian@redhat.com>
22375 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
22376 and implement the collation rules for pl from CLDR on top of that.
22377 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
22378 of locales to be built for testing.
22379 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
22381 2017-11-23 Joseph Myers <joseph@codesourcery.com>
22383 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
22384 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
22385 libm_alias_ldouble_other.
22386 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
22387 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
22388 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
22389 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
22390 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
22391 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
22392 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
22393 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
22394 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
22395 libm_alias_ldouble_r.
22396 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
22397 libm_alias_ldouble_other.
22398 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
22399 (log10l): Likewise.
22400 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
22401 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
22402 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
22403 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
22404 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
22405 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
22406 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
22407 (atan2l): Likewise.
22408 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
22409 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
22410 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
22411 libm_alias_ldouble.
22412 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
22414 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
22415 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
22416 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
22418 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
22419 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
22420 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
22421 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
22422 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
22423 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
22424 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
22425 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
22426 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
22427 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
22428 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
22429 libm_alias_ldouble.
22430 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
22431 libm_alias_ldouble_other.
22432 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
22433 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
22434 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
22435 libm_alias_ldouble.
22436 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
22437 libm_alias_ldouble_other.
22438 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
22439 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
22440 * sysdeps/ia64/fpu/w_lgammal_main.c
22441 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
22442 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
22444 2017-11-23 Florian Weimer <fweimer@redhat.com>
22446 * malloc/malloc.c (tcache_thread_shutdown): Rename from
22447 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
22448 alike. Remove freeres marker.
22449 * malloc/arena.c (arena_thread_freeres): Call
22450 tcache_thread_shutdown.
22452 2017-11-23 Florian Weimer <fweimer@redhat.com>
22455 Export nscd hash function as __nss_hash.
22456 * include/nss.h (__nss_hash): Declare.
22457 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
22459 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
22460 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
22462 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
22463 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
22464 * nss/Makefiles (routines): Add nss_hash.
22465 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
22466 * nss/nss_hash.c: Rename from nis/nis_hash.c.
22467 (__nss_hash): Rename from __nis_hash. Define hidden alias.
22468 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
22470 2017-11-23 Florian Weimer <fweimer@redhat.com>
22473 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
22474 Return error code, not -1.
22475 * signal/tst-sigwait-eintr.c: New file.
22476 * signal/Makefile (tests): Add tst-sigwait-eintr.
22478 2017-11-23 Florian Weimer <fweimer@redhat.com>
22480 Linux: Add memfd_create system call wrapper
22481 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
22483 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
22484 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
22485 [__USE_GNU] (memfd_create): Declare.
22486 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
22487 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
22488 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
22489 * sysdeps/unix/sysv/linux/**.abilist: Update.
22490 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
22492 2017-11-22 Joseph Myers <joseph@codesourcery.com>
22494 * localedata/gen-locale.sh: Fix typo in variable name.
22496 * resolv/res_debug.c (p_secstodate): Condition definition on
22497 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
22498 directly as __p_secstodate, and as a compat symbol. Do not use
22499 libresolv_hidden_def.
22500 * resolv/resolv.h (p_secstodate): Remove macro and function
22502 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
22503 using p_secstodate.
22504 * include/resolv.h (__p_secstodate): Do not use
22505 libresolv_hidden_proto.
22506 * resolv/Makefile (tests): Move tst-p_secstodate to ....
22507 (tests-internal): ... here.
22508 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
22509 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
22510 and declare and use __p_secstodate and use compat_symbol_reference
22512 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
22513 implementation returning 77.
22516 * resolv/res_debug.c: Include <libc-diag.h>.
22517 (p_secstodate): Assert time_t at least as wide as u_long. On
22518 overflow, use integer seconds since the epoch as output, or use
22519 "<overflow>" as output and set errno to EOVERFLOW if integer
22520 seconds since the epoch would be 14 or more characters.
22521 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
22523 * resolv/tst-p_secstodate.c: New file.
22524 * resolv/Makefile (tests): Add tst-p_secstodate.
22525 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
22527 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
22528 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
22529 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
22531 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
22533 * posix/regcomp.c (init_word_char): Add comments.
22535 2017-11-22 Joseph Myers <joseph@codesourcery.com>
22538 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
22539 strlen to compute length of ut_user and set trailing NUL byte of
22542 2017-11-21 Mike FABIAN <mfabian@redhat.com>
22545 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
22546 using “copy "iso14651_t1"” and then implementing the
22547 collation rules for lv from CLDR on top of that.
22548 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
22549 of locales to be built for testing.
22550 * lv_LV.UTF-8.in: New file with test data to test the Latvian
22553 2017-11-21 Joseph Myers <joseph@codesourcery.com>
22555 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
22556 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
22557 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
22558 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
22559 [__USE_MISC] (MADV_HWPOISON): New macro.
22560 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
22562 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22564 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
22565 -Wmissing-braces on GCC 4.9.
22567 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
22569 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
22570 * sysdeps/s390/s390-32/start.S (_start): Likewise
22571 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
22572 (thread_start): Likewise.
22573 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
22574 (thread_start): Likewise.
22575 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
22576 (__makecontext_ret): Likewise.
22577 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
22578 (__makecontext_ret): Likewise.
22580 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
22582 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
22583 __wcschrnul): Remove attribute_hidden.
22585 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
22587 regex: don't assume uint64_t or uint32_t
22588 This avoids -Werror=overflow errors for 32-bit systems in
22589 the 64-bit case. Problem reported by Joseph Myers in:
22590 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
22591 Also, when this code is used in Gnulib it ports to platforms
22592 that lack uint64_t and uint32_t. The C standard doesn't guarantee
22593 them, and on some 32-bit compilers there is no uint64_t.
22594 Problem reported by Gianluigi Tiesi in:
22595 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
22596 * posix/regcomp.c (init_word_char): Don't assume that the types
22597 uint64_t and uint32_t exist. Adapted from Gnulib patch
22598 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
22599 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
22601 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
22603 * sysdeps/aarch64/memset-reg.h: New file.
22604 * sysdeps/aarch64/memset.S: Use it.
22605 (__memset): Rename to MEMSET macro.
22606 [ZVA_MACRO]: Use zva_macro.
22607 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
22608 Add memset_generic and memset_falkor.
22609 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
22610 (__libc_ifunc_impl_list): Add memset ifuncs.
22611 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
22612 local variable zva_size.
22613 * sysdeps/aarch64/multiarch/memset.c: New file.
22614 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
22615 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
22616 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
22617 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
22618 (DCZID_DZP_MASK): New macro.
22619 (DCZID_BS_MASK): Likewise.
22620 (init_cpu_features): Read and set zva_size.
22621 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
22622 (struct cpu_features): New member zva_size.
22624 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
22625 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
22626 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
22628 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
22629 backwards. Fix timing computation.
22630 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
22631 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
22632 on memset by N at a time. Fix timing computation.
22634 2017-11-20 Florian Weimer <fweimer@redhat.com>
22636 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
22637 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
22639 2017-11-19 Florian Weimer <fweimer@redhat.com>
22641 manual: Document mprotect
22642 * manual/memory.texi (Memory Protection): New section.
22643 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
22644 documentation of PROT_* flags and reference the Memory Protection
22647 2017-11-19 Florian Weimer <fweimer@redhat.com>
22649 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
22650 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
22651 (Scatter-Gather): ... to here. Remove misleading comment.
22653 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
22655 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
22658 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
22659 when /proc/<pid>/setgroups does not exist.
22661 2017-11-18 Florian Weimer <fweimer@redhat.com>
22663 * sysdeps/unix/sysv/linux/tst-ttyname.c
22664 (become_root_in_mount_ns): Remove.
22665 (do_in_chroot_1): Call support_enter_mount_namespace.
22666 (do_in_chroot_2): Likewise.
22667 (do_test): Call support_become_root early.
22669 2017-11-18 Florian Weimer <fweimer@redhat.com>
22671 * support/namespace.h (support_enter_mount_namespace): Declare.
22672 * support/support_enter_mount_namespace.c: New file.
22673 * support/Makefile (libsupport-routines): Add
22674 support_enter_mount_namespace.
22676 2017-11-18 Florian Weimer <fweimer@redhat.com>
22678 * support/temp_file.c (support_create_temp_directory): Use
22679 test_dir and do not rely on the presence of the XXXXXX suffix.
22680 * support/temp_file.h (support_create_temp_directory): Update
22682 * support/tst-xreadlink.c (do_test): Adjust.
22683 * support/support_chroot.c (support_chroot_create): Likewise.
22685 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22687 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
22689 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
22692 2017-11-17 Joseph Myers <joseph@codesourcery.com>
22694 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22695 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22696 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22697 (ceill): Define using libm_alias_ldouble.
22698 * sysdeps/x86_64/fpu/s_copysignl.S: Include
22699 <libm-alias-ldouble.h>.
22700 (copysignl): Define using libm_alias_ldouble.
22701 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22702 (fabsl): Define using libm_alias_ldouble.
22703 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22704 (floorl): Define using libm_alias_ldouble.
22705 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22706 (fmaxl): Define using libm_alias_ldouble.
22707 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22708 (fminl): Define using libm_alias_ldouble.
22709 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
22710 (llrintl): Define using libm_alias_ldouble.
22711 (lrintl): Likewise.
22712 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
22713 <libm-alias-ldouble.h>.
22714 (nearbyintl): Define using libm_alias_ldouble.
22715 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
22716 (truncl): Define using libm_alias_ldouble.
22717 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
22718 <libm-alias-ldouble.h>.
22719 (lrintl): Define using libm_alias_ldouble.
22721 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22722 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22723 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
22724 (asinhl): Define using libm_alias_ldouble.
22725 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
22726 (atanl): Define using libm_alias_ldouble.
22727 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
22728 (cbrtl): Define using libm_alias_ldouble.
22729 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22730 (ceill): Define using libm_alias_ldouble.
22731 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
22732 (copysignl): Define using libm_alias_ldouble.
22733 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22734 (fabsl): Define using libm_alias_ldouble.
22735 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22736 (floorl): Define using libm_alias_ldouble.
22737 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22738 (fmaxl): Define using libm_alias_ldouble.
22739 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22740 (fminl): Define using libm_alias_ldouble.
22741 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
22742 (frexpl): Define using libm_alias_ldouble.
22743 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
22744 (llrintl): Define using libm_alias_ldouble.
22745 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
22746 (logbl): Define using libm_alias_ldouble.
22747 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
22748 (lrintl): Define using libm_alias_ldouble.
22749 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
22750 (nearbyintl): Define using libm_alias_ldouble.
22751 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
22752 (nextafterl): Define using libm_alias_ldouble.
22753 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
22754 (remquol): Define using libm_alias_ldouble.
22755 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
22756 (rintl): Define using libm_alias_ldouble.
22757 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
22758 (truncl): Define using libm_alias_ldouble.
22759 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22760 (fmaxl): Define using libm_alias_ldouble.
22761 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22762 (fminl): Define using libm_alias_ldouble.
22764 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
22765 to C syntax instead of availability and properties of types.
22766 * bits/floatn.h [!__ASSEMBLER]: Likewise.
22767 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
22768 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
22769 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
22770 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
22771 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
22773 2017-11-17 Florian Weimer <fweimer@redhat.com>
22775 support_become_root: Enable file creation in namespaces.
22776 * support/support_become_root.c (setup_mapping): New function.
22777 (support_become_root): Call it.
22779 2017-11-17 Joseph Myers <joseph@codesourcery.com>
22781 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
22784 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22786 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
22787 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
22789 2017-11-16 Joseph Myers <joseph@codesourcery.com>
22791 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
22793 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
22796 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
22798 * INSTALL: Fix botched up regeneration.
22800 * NEWS: Update sourceare link to https.
22801 * configure.ac: Likewise.
22802 * crypt/md5test-giant.c: Likewise.
22803 * dlfcn/bug-atexit1.c: Likewise.
22804 * dlfcn/bug-atexit2.c: Likewise.
22805 * localedata/README: Likewise.
22806 * malloc/tst-mallocfork.c: Likewise.
22807 * manual/install.texi: Likewise.
22808 * nptl/tst-pthread-getattr.c: Likewise.
22809 * stdio-common/tst-fgets.c: Likewise.
22810 * stdio-common/tst-fwrite.c: Likewise.
22811 * sunrpc/Makefile: Likewise.
22812 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
22813 * wcsmbs/tst-mbrtowc2.c: Likewise.
22814 * configure: Regenerate.
22815 * INSTALL: Regenerate.
22817 2017-11-15 Martin Sebor <msebor@redhat.com>
22819 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
22820 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
22821 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
22823 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22826 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
22827 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
22830 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
22831 Defer is_pty check until end of the function.
22832 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22835 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
22836 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
22837 (ttyname): Likewise.
22838 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
22839 (__ttyname_r): Likewise.
22841 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
22844 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
22846 * manual/terminal.texi (Is It a Terminal):
22847 Mention ENODEV for ttyname and ttyname_r.
22849 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22851 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
22852 constant and macro.
22854 * sysdeps/unix/sysv/linux/bits/mman-linux.h
22855 [__USE_MISC] (MADV_WIPEONFORK): New macro.
22856 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22857 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
22858 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
22859 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22861 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22863 * signal/sigrelse.c (sigrelse): Optimize implementation.
22865 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
22866 (__sigpause): Rely on __sigsuspend to implement single thread
22867 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
22869 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22871 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
22872 kernel version to 4.14.
22874 2017-11-15 Steve Ellcey <sellcey@cavium.com>
22877 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
22878 Check if ifname is too long.
22880 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22882 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
22884 2017-11-15 Mike FABIAN <mfabian@redhat.com>
22886 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
22887 was accidentally lost.
22889 2017-11-15 Mike FABIAN <mfabian@redhat.com>
22891 * localedata/locales/az_IR: Add standard copyright header.
22893 2017-11-15 Florian Weimer <fweimer@redhat.com>
22896 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
22897 not just the top one. Output a new "subheaps" statistic.
22899 2017-11-15 Florian Weimer <fweimer@redhat.com>
22902 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
22903 under the per-arena lock.
22904 * malloc/Makefile (tests): Add tst-malloc_info.
22905 (tst-malloc_info): Link with libpthread.
22906 * malloc/tst-malloc_info.c: New file.
22908 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22911 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
22912 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
22913 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
22914 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
22915 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
22916 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
22917 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
22918 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
22919 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
22920 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
22921 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
22922 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
22923 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
22924 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
22925 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
22926 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
22927 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
22928 (__floating_type): Likewise.
22929 (__real_integer_type): Likewise.
22930 (__complex_integer_type): Likewise.
22931 (__expr_is_real): Likewise.
22932 (__tgmath_real_type_sub): Likewise.
22933 (__tgmath_real_type): Likewise.
22934 (__tgmath_complex_type_sub): Likewise.
22935 (__tgmath_complex_type): Likewise.
22936 (__TGMATH_F128): Likewise.
22937 (__TGMATH_CF128): Likewise.
22938 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
22940 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
22941 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
22943 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
22945 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
22946 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
22947 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
22948 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
22950 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
22951 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
22953 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
22954 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
22955 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
22957 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
22958 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
22959 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
22963 2017-11-14 Joseph Myers <joseph@codesourcery.com>
22965 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
22966 for stpncpy calls for GCC 8.
22967 (test_strncat): Disable -Wstringop-truncation warning for strncat
22968 calls for GCC 8. Disable -Wstringop-overflow= warning for one
22969 strncat call for GCC 7.
22970 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
22972 (test_memcmp): Use memcpy instead of strncpy for calls not copying
22975 * string/bug-strncat1.c: Include <libc-diag.h>.
22976 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
22978 2017-11-13 Claude Paroz <claude@2xlibre.net>
22981 * localedata/locales/aa_DJ: Improved readibility by replacing
22982 <Uxxxx> sequences in the ASCII printable range by their ASCII
22983 character equivalents.
22984 * localedata/locales/aa_ER: Likewise.
22985 * localedata/locales/aa_ER@saaho: Likewise.
22986 * localedata/locales/aa_ET: Likewise.
22987 * localedata/locales/af_ZA: Likewise.
22988 * localedata/locales/agr_PE: Likewise.
22989 * localedata/locales/ak_GH: Likewise.
22990 * localedata/locales/am_ET: Likewise.
22991 * localedata/locales/anp_IN: Likewise.
22992 * localedata/locales/ar_AE: Likewise.
22993 * localedata/locales/ar_BH: Likewise.
22994 * localedata/locales/ar_DZ: Likewise.
22995 * localedata/locales/ar_EG: Likewise.
22996 * localedata/locales/ar_IN: Likewise.
22997 * localedata/locales/ar_IQ: Likewise.
22998 * localedata/locales/ar_JO: Likewise.
22999 * localedata/locales/ar_KW: Likewise.
23000 * localedata/locales/ar_LB: Likewise.
23001 * localedata/locales/ar_LY: Likewise.
23002 * localedata/locales/ar_MA: Likewise.
23003 * localedata/locales/ar_OM: Likewise.
23004 * localedata/locales/ar_QA: Likewise.
23005 * localedata/locales/ar_SA: Likewise.
23006 * localedata/locales/ar_SD: Likewise.
23007 * localedata/locales/ar_SS: Likewise.
23008 * localedata/locales/ar_SY: Likewise.
23009 * localedata/locales/ar_TN: Likewise.
23010 * localedata/locales/ar_YE: Likewise.
23011 * localedata/locales/as_IN: Likewise.
23012 * localedata/locales/ast_ES: Likewise.
23013 * localedata/locales/ayc_PE: Likewise.
23014 * localedata/locales/az_AZ: Likewise.
23015 * localedata/locales/az_IR: Likewise.
23016 * localedata/locales/be_BY: Likewise.
23017 * localedata/locales/be_BY@latin: Likewise.
23018 * localedata/locales/bem_ZM: Likewise.
23019 * localedata/locales/ber_DZ: Likewise.
23020 * localedata/locales/ber_MA: Likewise.
23021 * localedata/locales/bg_BG: Likewise.
23022 * localedata/locales/bhb_IN: Likewise.
23023 * localedata/locales/bho_IN: Likewise.
23024 * localedata/locales/bi_VU: Likewise.
23025 * localedata/locales/bn_BD: Likewise.
23026 * localedata/locales/bn_IN: Likewise.
23027 * localedata/locales/bo_CN: Likewise.
23028 * localedata/locales/bo_IN: Likewise.
23029 * localedata/locales/br_FR: Likewise.
23030 * localedata/locales/brx_IN: Likewise.
23031 * localedata/locales/bs_BA: Likewise.
23032 * localedata/locales/byn_ER: Likewise.
23033 * localedata/locales/ca_AD: Likewise.
23034 * localedata/locales/ca_ES: Likewise.
23035 * localedata/locales/ca_FR: Likewise.
23036 * localedata/locales/ca_IT: Likewise.
23037 * localedata/locales/ce_RU: Likewise.
23038 * localedata/locales/chr_US: Likewise.
23039 * localedata/locales/cmn_TW: Likewise.
23040 * localedata/locales/crh_UA: Likewise.
23041 * localedata/locales/cs_CZ: Likewise.
23042 * localedata/locales/csb_PL: Likewise.
23043 * localedata/locales/cv_RU: Likewise.
23044 * localedata/locales/cy_GB: Likewise.
23045 * localedata/locales/da_DK: Likewise.
23046 * localedata/locales/de_AT: Likewise.
23047 * localedata/locales/de_BE: Likewise.
23048 * localedata/locales/de_CH: Likewise.
23049 * localedata/locales/de_DE: Likewise.
23050 * localedata/locales/de_IT: Likewise.
23051 * localedata/locales/de_LI: Likewise.
23052 * localedata/locales/de_LU: Likewise.
23053 * localedata/locales/doi_IN: Likewise.
23054 * localedata/locales/dv_MV: Likewise.
23055 * localedata/locales/dz_BT: Likewise.
23056 * localedata/locales/el_CY: Likewise.
23057 * localedata/locales/el_GR: Likewise.
23058 * localedata/locales/en_AG: Likewise.
23059 * localedata/locales/en_AU: Likewise.
23060 * localedata/locales/en_BW: Likewise.
23061 * localedata/locales/en_CA: Likewise.
23062 * localedata/locales/en_DK: Likewise.
23063 * localedata/locales/en_GB: Likewise.
23064 * localedata/locales/en_HK: Likewise.
23065 * localedata/locales/en_IE: Likewise.
23066 * localedata/locales/en_IL: Likewise.
23067 * localedata/locales/en_IN: Likewise.
23068 * localedata/locales/en_NG: Likewise.
23069 * localedata/locales/en_NZ: Likewise.
23070 * localedata/locales/en_PH: Likewise.
23071 * localedata/locales/en_SG: Likewise.
23072 * localedata/locales/en_US: Likewise.
23073 * localedata/locales/en_ZA: Likewise.
23074 * localedata/locales/en_ZM: Likewise.
23075 * localedata/locales/en_ZW: Likewise.
23076 * localedata/locales/eo: Likewise.
23077 * localedata/locales/es_AR: Likewise.
23078 * localedata/locales/es_BO: Likewise.
23079 * localedata/locales/es_CL: Likewise.
23080 * localedata/locales/es_CO: Likewise.
23081 * localedata/locales/es_CR: Likewise.
23082 * localedata/locales/es_CU: Likewise.
23083 * localedata/locales/es_DO: Likewise.
23084 * localedata/locales/es_EC: Likewise.
23085 * localedata/locales/es_ES: Likewise.
23086 * localedata/locales/es_GT: Likewise.
23087 * localedata/locales/es_HN: Likewise.
23088 * localedata/locales/es_MX: Likewise.
23089 * localedata/locales/es_NI: Likewise.
23090 * localedata/locales/es_PA: Likewise.
23091 * localedata/locales/es_PE: Likewise.
23092 * localedata/locales/es_PR: Likewise.
23093 * localedata/locales/es_PY: Likewise.
23094 * localedata/locales/es_SV: Likewise.
23095 * localedata/locales/es_US: Likewise.
23096 * localedata/locales/es_UY: Likewise.
23097 * localedata/locales/es_VE: Likewise.
23098 * localedata/locales/et_EE: Likewise.
23099 * localedata/locales/eu_ES: Likewise.
23100 * localedata/locales/eu_ES@euro: Likewise.
23101 * localedata/locales/fa_IR: Likewise.
23102 * localedata/locales/ff_SN: Likewise.
23103 * localedata/locales/fi_FI: Likewise.
23104 * localedata/locales/fil_PH: Likewise.
23105 * localedata/locales/fo_FO: Likewise.
23106 * localedata/locales/fr_BE: Likewise.
23107 * localedata/locales/fr_CA: Likewise.
23108 * localedata/locales/fr_CH: Likewise.
23109 * localedata/locales/fr_FR: Likewise.
23110 * localedata/locales/fr_LU: Likewise.
23111 * localedata/locales/fur_IT: Likewise.
23112 * localedata/locales/fy_DE: Likewise.
23113 * localedata/locales/fy_NL: Likewise.
23114 * localedata/locales/ga_IE: Likewise.
23115 * localedata/locales/gd_GB: Likewise.
23116 * localedata/locales/gez_ER: Likewise.
23117 * localedata/locales/gez_ET: Likewise.
23118 * localedata/locales/gl_ES: Likewise.
23119 * localedata/locales/gu_IN: Likewise.
23120 * localedata/locales/gv_GB: Likewise.
23121 * localedata/locales/ha_NG: Likewise.
23122 * localedata/locales/hak_TW: Likewise.
23123 * localedata/locales/he_IL: Likewise.
23124 * localedata/locales/hi_IN: Likewise.
23125 * localedata/locales/hif_FJ: Likewise.
23126 * localedata/locales/hne_IN: Likewise.
23127 * localedata/locales/hr_HR: Likewise.
23128 * localedata/locales/hsb_DE: Likewise.
23129 * localedata/locales/ht_HT: Likewise.
23130 * localedata/locales/hu_HU: Likewise.
23131 * localedata/locales/hy_AM: Likewise.
23132 * localedata/locales/i18n: Likewise.
23133 * localedata/locales/ia_FR: Likewise.
23134 * localedata/locales/id_ID: Likewise.
23135 * localedata/locales/ig_NG: Likewise.
23136 * localedata/locales/ik_CA: Likewise.
23137 * localedata/locales/is_IS: Likewise.
23138 * localedata/locales/it_CH: Likewise.
23139 * localedata/locales/it_IT: Likewise.
23140 * localedata/locales/iu_CA: Likewise.
23141 * localedata/locales/ja_JP: Likewise.
23142 * localedata/locales/ka_GE: Likewise.
23143 * localedata/locales/kk_KZ: Likewise.
23144 * localedata/locales/kl_GL: Likewise.
23145 * localedata/locales/kn_IN: Likewise.
23146 * localedata/locales/ko_KR: Likewise.
23147 * localedata/locales/kok_IN: Likewise.
23148 * localedata/locales/ks_IN: Likewise.
23149 * localedata/locales/ks_IN@devanagari: Likewise.
23150 * localedata/locales/ku_TR: Likewise.
23151 * localedata/locales/kw_GB: Likewise.
23152 * localedata/locales/ky_KG: Likewise.
23153 * localedata/locales/lb_LU: Likewise.
23154 * localedata/locales/lg_UG: Likewise.
23155 * localedata/locales/li_BE: Likewise.
23156 * localedata/locales/li_NL: Likewise.
23157 * localedata/locales/lij_IT: Likewise.
23158 * localedata/locales/ln_CD: Likewise.
23159 * localedata/locales/lo_LA: Likewise.
23160 * localedata/locales/lt_LT: Likewise.
23161 * localedata/locales/lv_LV: Likewise.
23162 * localedata/locales/lzh_TW: Likewise.
23163 * localedata/locales/mag_IN: Likewise.
23164 * localedata/locales/mai_IN: Likewise.
23165 * localedata/locales/mg_MG: Likewise.
23166 * localedata/locales/mhr_RU: Likewise.
23167 * localedata/locales/mi_NZ: Likewise.
23168 * localedata/locales/mk_MK: Likewise.
23169 * localedata/locales/ml_IN: Likewise.
23170 * localedata/locales/mn_MN: Likewise.
23171 * localedata/locales/mni_IN: Likewise.
23172 * localedata/locales/mr_IN: Likewise.
23173 * localedata/locales/ms_MY: Likewise.
23174 * localedata/locales/mt_MT: Likewise.
23175 * localedata/locales/my_MM: Likewise.
23176 * localedata/locales/nan_TW: Likewise.
23177 * localedata/locales/nan_TW@latin: Likewise.
23178 * localedata/locales/nb_NO: Likewise.
23179 * localedata/locales/nds_DE: Likewise.
23180 * localedata/locales/nds_NL: Likewise.
23181 * localedata/locales/ne_NP: Likewise.
23182 * localedata/locales/nhn_MX: Likewise.
23183 * localedata/locales/niu_NU: Likewise.
23184 * localedata/locales/niu_NZ: Likewise.
23185 * localedata/locales/nl_AW: Likewise.
23186 * localedata/locales/nl_BE: Likewise.
23187 * localedata/locales/nl_NL: Likewise.
23188 * localedata/locales/nn_NO: Likewise.
23189 * localedata/locales/nr_ZA: Likewise.
23190 * localedata/locales/nso_ZA: Likewise.
23191 * localedata/locales/oc_FR: Likewise.
23192 * localedata/locales/om_ET: Likewise.
23193 * localedata/locales/om_KE: Likewise.
23194 * localedata/locales/or_IN: Likewise.
23195 * localedata/locales/os_RU: Likewise.
23196 * localedata/locales/pa_IN: Likewise.
23197 * localedata/locales/pa_PK: Likewise.
23198 * localedata/locales/pap_AW: Likewise.
23199 * localedata/locales/pap_CW: Likewise.
23200 * localedata/locales/pl_PL: Likewise.
23201 * localedata/locales/ps_AF: Likewise.
23202 * localedata/locales/pt_BR: Likewise.
23203 * localedata/locales/pt_PT: Likewise.
23204 * localedata/locales/quz_PE: Likewise.
23205 * localedata/locales/raj_IN: Likewise.
23206 * localedata/locales/ro_RO: Likewise.
23207 * localedata/locales/ru_RU: Likewise.
23208 * localedata/locales/ru_UA: Likewise.
23209 * localedata/locales/rw_RW: Likewise.
23210 * localedata/locales/sa_IN: Likewise.
23211 * localedata/locales/sat_IN: Likewise.
23212 * localedata/locales/sc_IT: Likewise.
23213 * localedata/locales/sd_IN: Likewise.
23214 * localedata/locales/sd_IN@devanagari: Likewise.
23215 * localedata/locales/se_NO: Likewise.
23216 * localedata/locales/sgs_LT: Likewise.
23217 * localedata/locales/shs_CA: Likewise.
23218 * localedata/locales/si_LK: Likewise.
23219 * localedata/locales/sid_ET: Likewise.
23220 * localedata/locales/sk_SK: Likewise.
23221 * localedata/locales/sl_SI: Likewise.
23222 * localedata/locales/sm_WS: Likewise.
23223 * localedata/locales/so_DJ: Likewise.
23224 * localedata/locales/so_ET: Likewise.
23225 * localedata/locales/so_KE: Likewise.
23226 * localedata/locales/so_SO: Likewise.
23227 * localedata/locales/sq_AL: Likewise.
23228 * localedata/locales/sq_MK: Likewise.
23229 * localedata/locales/sr_ME: Likewise.
23230 * localedata/locales/sr_RS: Likewise.
23231 * localedata/locales/sr_RS@latin: Likewise.
23232 * localedata/locales/ss_ZA: Likewise.
23233 * localedata/locales/st_ZA: Likewise.
23234 * localedata/locales/sv_FI: Likewise.
23235 * localedata/locales/sv_SE: Likewise.
23236 * localedata/locales/sw_KE: Likewise.
23237 * localedata/locales/sw_TZ: Likewise.
23238 * localedata/locales/szl_PL: Likewise.
23239 * localedata/locales/ta_IN: Likewise.
23240 * localedata/locales/ta_LK: Likewise.
23241 * localedata/locales/tcy_IN: Likewise.
23242 * localedata/locales/te_IN: Likewise.
23243 * localedata/locales/tg_TJ: Likewise.
23244 * localedata/locales/th_TH: Likewise.
23245 * localedata/locales/the_NP: Likewise.
23246 * localedata/locales/ti_ER: Likewise.
23247 * localedata/locales/ti_ET: Likewise.
23248 * localedata/locales/tig_ER: Likewise.
23249 * localedata/locales/tk_TM: Likewise.
23250 * localedata/locales/tl_PH: Likewise.
23251 * localedata/locales/tn_ZA: Likewise.
23252 * localedata/locales/to_TO: Likewise.
23253 * localedata/locales/tpi_PG: Likewise.
23254 * localedata/locales/tr_CY: Likewise.
23255 * localedata/locales/tr_TR: Likewise.
23256 * localedata/locales/ts_ZA: Likewise.
23257 * localedata/locales/tt_RU: Likewise.
23258 * localedata/locales/tt_RU@iqtelif: Likewise.
23259 * localedata/locales/ug_CN: Likewise.
23260 * localedata/locales/uk_UA: Likewise.
23261 * localedata/locales/unm_US: Likewise.
23262 * localedata/locales/ur_IN: Likewise.
23263 * localedata/locales/ur_PK: Likewise.
23264 * localedata/locales/uz_UZ: Likewise.
23265 * localedata/locales/uz_UZ@cyrillic: Likewise.
23266 * localedata/locales/ve_ZA: Likewise.
23267 * localedata/locales/vi_VN: Likewise.
23268 * localedata/locales/wa_BE: Likewise.
23269 * localedata/locales/wae_CH: Likewise.
23270 * localedata/locales/wal_ET: Likewise.
23271 * localedata/locales/wo_SN: Likewise.
23272 * localedata/locales/xh_ZA: Likewise.
23273 * localedata/locales/yi_US: Likewise.
23274 * localedata/locales/yo_NG: Likewise.
23275 * localedata/locales/yue_HK: Likewise.
23276 * localedata/locales/yuw_PG: Likewise.
23277 * localedata/locales/zh_CN: Likewise.
23278 * localedata/locales/zh_HK: Likewise.
23279 * localedata/locales/zh_SG: Likewise.
23280 * localedata/locales/zh_TW: Likewise.
23281 * localedata/locales/zu_ZA: Likewise.
23283 2017-11-13 Florian Weimer <fweimer@redhat.com>
23285 * support/next_to_fault.h, support/next_to_fault.c: New files.
23286 * support/Makefile (libsupport-routines): Add next_to_fault.
23287 * resolv/tst-inet_pton.c (struct next_to_fault)
23288 (next_to_fault_allocate, next_to_fault_free): Remove.
23289 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
23291 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
23293 * elf/dl-support.c: Include <dl-procruntime.c>.
23294 * include/link.h: Include <link_map.h>.
23295 * sysdeps/generic/dl-procruntime.c: New file.
23296 * sysdeps/generic/link_map.h: Likewise.
23297 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
23298 the writable ld.so namespace.
23300 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
23302 timezone: pacify GCC -Wstringop-truncation
23303 Problem reported by Martin Sebor in:
23304 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
23305 * timezone/zic.c (writezone): Use memcpy, not strncpy.
23307 2017-11-12 Florian Weimer <fweimer@redhat.com>
23309 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
23311 (tests): Add tst-xreadlink.
23312 * support/support.h (xstrndup): Declare.
23313 * support/xunistd.h (xunlink, xreadlink): Declare.
23314 * support/temp_file.h (support_create_temp_directory): Declare.
23315 * support/temp_file.c (support_create_temp_directory): New function.
23316 * support/support_chroot.c (support_chroot_create): Use it.
23317 * support/xreadlink.c: New file.
23318 * support/xstrndup.c: Likewise.
23319 * support/xunlink.c: Likewise.
23320 * support/tst-xreadlink.c: Likewise.
23322 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
23324 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
23326 2017-11-11 Florian Weimer <fweimer@redhat.com>
23330 * resolv/res_comp.c (printable_string, binary_hnok)
23331 (binary_leading_dash): New functions.
23332 (res_hnok): Reimplement using these functions and ns_name_pton.
23333 (res_ownok): Likewise.
23334 (res_mailok): Reimplement using printable_string, ns_name_pton and
23336 (res_dnok): Reimplement using printable_string and ns_name_pton.
23337 * resolv/tst-res_hnok.c (tests): Add additional tests.
23338 (LETTERDIGITS, PRINTABLE): Define.
23339 (do_test): Adjust one_char results.
23341 2017-11-11 Florian Weimer <fweimer@redhat.com>
23344 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
23345 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
23347 2017-11-11 Florian Weimer <fweimer@redhat.com>
23349 * resolv/tst-ns_name_pton.c: New file.
23350 * resolv/Makefile (tests): Add tst-ns_name_pton.
23351 (tst-ns_name_pton): Link against libresolv.
23353 2017-11-11 Florian Weimer <fweimer@redhat.com>
23355 * resolv/tst-res_hnok.c: New file.
23356 * resolv/Makefile (tests): Add tst-res_hnok.
23357 (tst-res_hnok): Link against libresolv.
23359 2017-11-11 Florian Weimer <fweimer@redhat.com>
23361 * resolv/tst-resolv-network.c: Use test framework instead explicit
23364 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
23366 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
23367 <jmp_buf-macros.h>.
23368 [!_ISOMAC] (STR_HELPER): New.
23369 [!_ISOMAC] (STR): Likewise.
23370 [!_ISOMAC] (TEST_SIZE): Likewise.
23371 [!_ISOMAC] (TEST_ALIGN): Likewise.
23372 [!_ISOMAC] (TEST_OFFSET): Likewise.
23373 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
23374 field offsets of jmp_buf as well as sigjmp_buf.
23375 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
23376 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
23377 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
23378 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
23379 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
23380 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
23381 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
23382 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
23383 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
23384 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
23386 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
23388 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
23389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
23391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
23393 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
23394 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
23395 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
23396 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
23397 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
23398 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
23400 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
23402 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
23403 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
23404 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
23406 2017-11-07 Joseph Myers <joseph@codesourcery.com>
23409 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23410 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
23411 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23412 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
23413 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23414 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
23415 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23416 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
23417 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23418 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
23419 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23420 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
23421 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23422 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
23423 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23424 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
23425 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23426 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
23427 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23428 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
23429 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23430 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
23431 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23432 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
23433 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23434 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
23435 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23436 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
23437 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23438 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
23439 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23440 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
23441 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23442 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
23443 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23444 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
23445 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23446 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
23447 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23448 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
23449 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23450 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
23451 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23452 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
23453 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23454 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
23455 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23456 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
23457 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23458 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
23459 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23460 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
23461 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23462 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
23463 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23464 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
23465 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23466 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
23467 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23468 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
23469 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23470 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
23471 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23472 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
23473 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23474 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
23475 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23476 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
23477 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23478 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
23479 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23480 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
23481 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23482 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
23483 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23484 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
23485 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23486 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
23487 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23488 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
23489 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23490 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
23491 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23492 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
23493 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23494 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
23495 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23496 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
23498 * stdlib/tst-strtod.h (F16): New macro.
23504 (IF_FLOAT16): Likewise.
23505 (IF_FLOAT32): Likewise.
23506 (IF_FLOAT64): Likewise.
23507 (IF_FLOAT32X): Likewise.
23508 (IF_FLOAT64X): Likewise.
23509 (IF_FLOAT128X): Likewise.
23510 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
23511 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
23512 (STRTOD_TEST_FOREACH): Likewise.
23513 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
23514 (CHOOSE_f64): Likewise.
23515 (CHOOSE_f32x): Likewise.
23516 (CHOOSE_f64x): Likewise.
23518 2017-11-07 Andreas Schwab <schwab@suse.de>
23520 * nptl/Makefile (tests-internal): Remove tst-typesizes.
23522 2017-11-07 Mike FABIAN <mfabian@redhat.com>
23525 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
23527 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
23530 2017-11-07 Claude Paroz <claude@2xlibre.net>
23533 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
23535 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
23537 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
23540 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23543 * nptl/allocatestack.c (allocate_stack): Check if
23544 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
23545 __PTHREAD_MUTEX_HAVE_PREV is defined.
23546 * nptl/descr.h (pthread): Likewise.
23547 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
23549 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
23550 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
23551 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
23552 * sysdeps/nptl/bits/thread-shared-types.h
23553 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
23555 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
23556 of __WORDSIZE for internal layout.
23557 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
23558 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
23559 instead of __WORDSIZE whether to use an union for __spins and __list
23561 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
23563 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
23564 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
23566 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
23567 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23569 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
23570 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23572 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
23573 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23575 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
23576 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23578 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
23579 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23581 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
23582 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23584 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
23585 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23587 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
23588 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23590 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
23591 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23593 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
23594 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23596 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
23597 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23599 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
23600 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23602 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
23603 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23605 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
23606 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23609 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
23611 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
23612 checks for expected input type size.
23613 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
23614 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
23616 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
23617 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
23618 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
23619 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
23620 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
23621 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
23622 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
23623 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
23624 superflous runtime assert check.
23625 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
23627 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
23629 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
23631 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
23633 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
23635 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
23637 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
23638 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
23639 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
23641 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
23643 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
23645 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
23647 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
23649 * nptl/pthread_attr_setinheritsched.c
23650 (__pthread_attr_setinheritsched): Likewise.
23651 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
23653 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
23655 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
23656 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
23657 __old_pthread_attr_setstack): Likewise.
23658 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
23660 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
23662 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
23664 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
23665 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
23667 * nptl/tst-typesizes.c: Remove file.
23669 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
23670 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
23671 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
23672 checks for internal pthread_mutex_t offsets.
23673 * sysdeps/aarch64/nptl/pthread-offsets.h
23674 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
23675 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
23676 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
23677 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
23678 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
23679 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
23680 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
23681 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
23682 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
23683 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
23684 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
23685 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
23686 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
23687 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
23688 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
23689 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
23690 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
23691 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
23693 2017-11-07 Florian Weimer <fweimer@redhat.com>
23695 * bits/mman-linux.h: Move ...
23696 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
23698 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
23701 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23703 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
23704 Redefine STRNLEN as __strnlen_power8.
23706 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23708 * signal/sighold.c (sighold): Optimize implementation.
23710 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
23711 __NR_rt_sigqueueinfo.
23713 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
23715 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
23716 assume __NR_rt_sigtimedwait.
23717 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
23718 and add LIBC_CANCEL_HANDLED for cancellation marking.
23719 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23721 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
23722 (sysdeps_routines): Add memchr_noneon.
23723 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
23724 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
23725 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
23726 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
23727 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
23728 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
23729 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
23731 * sysdeps/arm/arm-ifunc.h: New file.
23732 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
23733 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
23734 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
23735 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
23736 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
23737 (__memcpy_neon): Avoid create hidden alias.
23738 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
23739 (__memcpy_vfp): Likewise.
23740 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
23741 (sysdep_routines): Add memcpy_arm.
23742 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
23744 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
23747 * Makerules (make-link-multidir): New.
23748 * config.make.in (multidir): New.
23749 * configure.ac (libc_cv_multidir): New. AC_SUBST.
23750 * configure: Regenerated.
23751 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
23752 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
23753 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
23756 2017-11-06 Joseph Myers <joseph@codesourcery.com>
23759 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
23760 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
23762 2017-11-04 Mike FABIAN <mfabian@redhat.com>
23764 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
23767 2017-11-04 Florian Weimer <fweimer@redhat.com>
23769 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
23771 2017-11-03 Joseph Myers <joseph@codesourcery.com>
23773 * math/math.h [__HAVE_DISTINCT_FLOAT16
23774 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
23775 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23776 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23777 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
23778 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
23779 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
23780 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23781 (__MATH_TG_F32): New macro.
23782 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23783 (__MATH_TG_F64X): Likewise.
23784 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23785 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
23787 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
23789 * po/de.po: Update translations.
23790 * po/ru.po: Likewise.
23792 2017-11-03 Florian Weimer <fweimer@redhat.com>
23794 * manual/filesys.texi (Hard Links): Document linkat.
23796 2017-11-03 Joseph Myers <joseph@codesourcery.com>
23798 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
23799 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
23800 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23801 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23802 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23803 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23804 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
23805 the same as _Float128.
23806 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23807 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23808 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
23811 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
23813 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
23815 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
23817 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23818 (strtof32x): Likewise.
23819 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23820 (strtof64x): Likewise.
23821 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23822 (strtof128x): Likewise.
23823 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23824 (strfromf16): Likewise.
23825 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23826 (strfromf32): Likewise.
23827 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23828 (strfromf64): Likewise.
23829 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23830 (strfromf32x): Likewise.
23831 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23832 (strfromf64x): Likewise.
23833 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23834 (strfromf128x): Likewise.
23835 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
23836 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
23837 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
23838 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
23839 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
23840 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
23842 2017-11-03 Richard Henderson <rth@twiddle.net>
23844 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
23846 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23848 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
23850 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23852 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
23853 DT_TLSDESC_GOT initialization.
23854 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
23855 (_dl_tlsdesc_resolve_hold): Likewise.
23856 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
23857 (_dl_tlsdesc_resolve_hold): Likewise.
23858 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
23859 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23861 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23863 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
23865 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23868 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
23869 non-lazily for R_ARM_TLS_DESC.
23871 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23874 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
23875 R_ARM_TLS_DESC case.
23876 (elf_machine_lazy_rel): Remove the prelink check.
23878 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23880 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
23881 DT_TLSDESC_GOT initialization.
23882 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
23883 (_dl_tlsdesc_resolve_rela): Likewise.
23884 (_dl_tlsdesc_resolve_hold): Likewise.
23885 (_dl_tlsdesc_undefweak): Remove ldar.
23886 (_dl_tlsdesc_dynamic): Likewise.
23887 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
23888 (_dl_tlsdesc_resolve_rela): Likewise.
23889 (_dl_tlsdesc_resolve_hold): Likewise.
23890 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
23891 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23892 (_dl_tlsdesc_resolve_rela): Likewise.
23893 (_dl_tlsdesc_resolve_hold): Likewise.
23895 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23897 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
23898 binding and initialization non-lazily for R_AARCH64_TLSDESC.
23900 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23902 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
23903 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23905 2017-11-02 Joseph Myers <joseph@codesourcery.com>
23907 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
23909 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
23910 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
23911 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
23912 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
23913 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
23914 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
23915 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
23916 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
23917 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
23918 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
23919 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
23921 2017-11-02 Mike FABIAN <mfabian@redhat.com>
23924 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
23925 * localedata/locales/tpi_PG: Add standard header.
23927 2017-11-02 Florian Weimer <fweimer@redhat.com>
23929 test-errno-linux: quotactl can fail with EPERM in containers.
23930 * sysdeps/unix/sysv/linux/test-errno-linux.c
23931 (LIST, LIST_FORWARD): New macros.
23932 (check_error_in_list): New function.
23933 (test_wrp_rv): Accept list of permitted error codes.
23934 (test_wrp_rv2): Remove.
23935 (test_wrp): Call test_wrp_rv with list of error codes.
23936 (test_wrp2): Accept list of error codes.
23937 (do_test): Adjust. Allow EPERM for quotactl.
23939 2017-11-02 Florian Weimer <fweimer@redhat.com>
23941 * stdio-common/bug16.c (do_test): Use array_length.
23942 * stdio-common/errlist.c (_sys_nerr): Likewise.
23943 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
23944 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
23945 * stdio-common/psiginfo.c (psiginfo): Use array_length.
23946 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
23947 (do_test): Use array_length.
23948 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
23949 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
23950 * stdio-common/tst-printf-round.c (do_test): Likewise.
23951 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
23952 (CHECK): Use array_length.
23953 * stdio-common/tstdiomisc.c (t3, F): Likewise.
23954 * stdio-common/tstscanf.c (main): Likewise.
23955 * stdio-common/vfprintf.c (process_string_arg): Likewise.
23957 2017-11-02 Florian Weimer <fweimer@redhat.com>
23959 Add array_length and array_end macros.
23960 * include/array_length.h: New file.
23962 2017-11-02 Florian Weimer <fweimer@redhat.com>
23965 * posix/tst-glob-tilde.c (do_noescape): New variable.
23966 (one_test): Process it.
23967 (do_test): Set do_noescape. Add unescaping test case.
23969 2017-11-01 Joseph Myers <joseph@codesourcery.com>
23972 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
23973 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
23974 with appropriate macros defined and undefined.
23975 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
23976 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23977 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
23978 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23979 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
23980 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23981 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
23982 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23983 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
23984 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23987 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
23988 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
23989 that for long double. Do not condition define and undefine of
23990 _Mdouble_complex_ on [__CFLOAT128].
23992 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
23994 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
23995 of <sysdeps/generic/sysdep.h>.
23996 (ALIGNARG): Removed.
23997 (ASM_SIZE_DIRECTIVE): Likewise.
24000 (ENTRY_CHK): Likewise.
24001 (END_CHK): Likewise.
24002 (syscall_error): Likewise.
24003 (mcount): Likewise.
24004 (PSEUDO_END): Likewise.
24006 (atom_text_section): Likewise.
24007 * sysdeps/x86/sysdep.h: New file.
24008 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
24009 of <sysdeps/generic/sysdep.h>.
24010 (ALIGNARG): Removed.
24011 (ASM_SIZE_DIRECTIVE): Likewise.
24014 (ENTRY_CHK): Likewise.
24015 (END_CHK): Likewise.
24016 (syscall_error): Likewise.
24017 (mcount): Likewise.
24018 (PSEUDO_END): Likewise.
24020 (atom_text_section): Likewise.
24022 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
24024 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
24025 category of LC_CTYPE set to "i18n:2012".
24026 * localedata/locales/i18n_ctype: Regenerate.
24028 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
24030 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
24031 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
24032 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
24033 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
24035 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
24036 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
24037 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
24038 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
24040 2017-10-31 Joseph Myers <joseph@codesourcery.com>
24043 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
24045 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
24047 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
24049 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24050 (CMPLXF32X): Likewise.
24051 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24052 (CMPLXF64X): Likewise.
24053 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24054 (CMPLXF128X): Likewise.
24057 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
24058 (__MATH_EVAL_FMT2): Define to add 0.0f.
24060 2017-10-31 Alan Modra <amodra@gmail.com>
24062 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
24064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
24065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
24066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
24067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
24068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
24069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
24070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
24071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
24072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
24073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
24074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
24075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
24076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
24077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
24078 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
24079 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
24080 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
24081 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
24082 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
24083 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
24084 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
24085 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
24086 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
24087 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
24088 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
24089 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
24090 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
24091 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
24092 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
24093 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
24094 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
24095 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
24096 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
24097 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
24098 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
24099 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
24100 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
24101 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
24102 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
24103 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
24104 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
24105 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
24106 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
24107 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
24108 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
24109 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
24110 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
24111 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
24112 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
24113 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
24114 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
24115 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
24116 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
24117 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
24118 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
24119 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
24120 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
24121 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
24122 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
24123 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
24124 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
24125 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
24126 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
24127 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
24128 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
24129 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
24130 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
24131 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
24132 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
24134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
24135 include sysdep.h and math_ldbl_opt.h.
24137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
24138 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
24139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
24140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
24141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
24142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
24143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
24144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
24145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
24146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
24147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
24148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
24149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
24150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
24151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
24152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
24153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
24154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
24155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
24156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
24157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
24158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
24159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
24160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
24161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
24162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
24164 2017-10-31 Alan Modra <amodra@gmail.com>
24166 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
24167 string/strncase_l.c, not string/strncase.c.
24168 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
24169 (libc_hidden_def): Redefine.
24171 2017-10-31 Alan Modra <amodra@gmail.com>
24173 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
24174 (__STRCMP, STRCMP, __strcasecmp_l): Define.
24175 (__strcasecmp): Don't define.
24177 2017-10-31 Alan Modra <amodra@gmail.com>
24179 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
24181 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
24182 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
24183 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
24185 2017-10-31 Alan Modra <amodra@gmail.com>
24187 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
24190 2017-10-31 Alan Modra <amodra@gmail.com>
24192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
24193 Redefine only when SHARED.
24195 2017-10-30 Joseph Myers <joseph@codesourcery.com>
24197 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
24198 Include <bits/math-finite.h> with appropriate macros defined and
24200 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
24201 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
24202 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
24203 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
24204 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
24206 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
24207 [!_Mlong_double_] (_Mlong_double_): Likewise.
24208 [!_Mfloat16_] (_Mfloat16_): Likewise.
24209 [!_Mfloat32_] (_Mfloat32_): Likewise.
24210 [!_Mfloat64_] (_Mfloat64_): Likewise.
24211 [!_Mfloat128_] (_Mfloat128_): Likewise.
24212 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
24213 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
24214 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
24215 (_Mdouble_): Define without indirection through those macros.
24216 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
24217 [!_Mfloat128_] (_Mfloat128_): Likewise.
24218 [_Mlong_double_] (_Mlong_double_): Likewise.
24219 (_Mdouble_): Define without indirection through those macros.
24220 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
24221 not add -D_Mlong_double_=double.
24222 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
24223 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
24225 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24227 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
24229 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24231 * sysdeps/x86/libc-start.c: Reformat.
24233 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24236 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
24237 (1): Renamed to ...
24240 (L(Src2)): Likewise.
24241 (L(1)): Renamed to ...
24244 2017-10-30 Joseph Myers <joseph@codesourcery.com>
24246 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
24247 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
24248 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
24249 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
24250 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
24251 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
24252 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
24253 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
24254 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
24255 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
24256 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
24257 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
24258 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
24259 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
24260 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
24261 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
24262 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
24263 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
24264 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
24265 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
24266 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
24267 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
24268 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
24269 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
24270 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
24271 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
24272 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
24273 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
24274 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
24275 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
24276 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
24277 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
24278 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
24279 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
24280 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
24281 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
24282 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
24283 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
24284 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
24285 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
24286 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
24287 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
24288 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
24289 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
24290 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
24291 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
24292 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
24293 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
24294 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
24295 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
24296 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
24297 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
24298 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
24299 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
24300 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
24301 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
24302 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
24303 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
24304 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
24305 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
24306 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
24307 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
24308 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
24309 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
24310 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
24311 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
24313 2017-10-30 Florian Weimer <fweimer@redhat.com>
24315 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
24317 * io/tst-mkdirat.c (do_test): Likewise.
24318 * io/tst-mkfifoat.c (do_test): Likewise.
24319 * io/tst-mknodat.c (do_test): Likewise.
24320 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
24321 * locale/programs/locale.c (select_dirs): Likewise.
24322 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
24323 * posix/bug-glob2.c (my_readdir): Likewise.
24324 * posix/tst-dir.c (main): Likewise.
24325 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
24326 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
24328 2017-10-30 Florian Weimer <fweimer@redhat.com>
24330 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
24333 2017-10-30 Florian Weimer <fweimer@redhat.com>
24335 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
24336 Convert to support/test-driver.c.
24337 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
24338 New macro parameters.
24339 (PRINTF): Remove macro. Use test_verbose conditionals instead.
24340 * posix/tst-gnuglob.c: New file.
24341 * posix/tst-gnuglob64.c: Likewise.
24342 * posix/Makefile (tests): Add tst-gnuglob64.
24344 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
24347 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
24348 and use a better translation for March in “mon”.
24349 * localedata/locales/csb_PL: Use more ASCII to improve the
24350 readability of the source.
24352 2017-10-30 Mike FABIAN <mfabian@redhat.com>
24355 * localedata/locales/km_KH: Use ASCII as much
24356 as possible for better readability of the source and
24357 remove useless comments.
24358 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
24359 was commented out and apparently wrong anyway because it was
24360 using Lao characters. If Buddhist era should be used
24361 for km_KH, a native speaker should write the correct formaat
24363 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
24364 (According to CLDR, the first weekday for Cambodia is Sunday).
24365 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
24366 (These were using Lao characters which must be wrong. If we get
24367 the correct data from a native speaker, we could add it back, until
24368 then it is better not to have name_mr and name_mrs at all than
24371 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
24373 * locale/loadlocale.c: Correct size of
24374 _nl_value_type_LC_<category> arrays.
24376 2017-10-27 Joseph Myers <joseph@codesourcery.com>
24378 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
24379 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
24380 with appropriate macros defined and undefined.
24381 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
24382 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
24383 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
24384 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
24385 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
24387 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
24389 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
24392 2017-10-27 Mike FABIAN <mfabian@redhat.com>
24394 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
24395 with lowercase letters to make it agree with CLDR.
24397 2017-10-27 Mike FABIAN <mfabian@redhat.com>
24400 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
24401 first letters of yesstr and nostr in yesexpr and noexpr,
24402 not for the full words.
24403 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
24404 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
24405 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
24406 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
24407 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
24408 first letters of yesstr and nostr in yesexpr and noexpr,
24409 until now only English was matched in yesexpr and noexpr.
24410 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
24411 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
24412 fil but not for tl. As tl and fil are very similar, using fil
24413 is probably better than using English.
24415 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
24418 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
24419 in yesstr and nostr.
24421 2017-10-26 Joseph Myers <joseph@codesourcery.com>
24423 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
24424 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
24425 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
24427 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
24429 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
24431 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
24433 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24434 (SNANF128X): Likewise.
24436 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
24437 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
24438 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24439 (HUGE_VAL_F32): Likewise.
24440 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24441 (HUGE_VAL_F64): Likewise.
24442 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24443 (HUGE_VAL_F32X): Likewise.
24444 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24445 (HUGE_VAL_F64X): Likewise.
24446 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24447 (HUGE_VAL_F128X): Likewise.
24449 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
24451 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
24452 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
24453 for the br_FR locale.
24455 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
24458 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
24460 2017-10-25 Carlos O'Donell <carlos@redhat.com>
24462 * locale/programs/record-status.h: Define globals, and function
24463 prototypes. Move function bodies...
24464 * locale/programs/record-status.c: ... to here. New file.
24465 * iconv/Makefile (iconv_prog-modules): Add record-status.
24466 * locale/Makefile (lib-modules): Likewise.
24467 * iconv/iconv_prog.c: Remove verbose.
24468 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
24469 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
24470 record a warning about ASCII compatibility.
24471 * locale/programs/ld-monetary.c (monetary_finish): If
24472 warn_int_curr_symbol is true then record a warning about the symbol
24473 not being in our ISO 4217 list.
24474 * locale/programs/locale.c: Include record-status.h. Remove verbose.
24475 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
24476 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
24477 (OPT_NO_WARN): Define.
24478 (OPT_WARN): Define.
24479 (options): Add entry for --no-warnings, and --warnings.
24480 (set_warnings): New function to enable/disable warnings.
24481 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
24482 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
24483 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
24484 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
24485 Pass flags to generate_locale.
24486 (generate_locale): Accept new flag argument and pass it to localedef
24488 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
24489 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
24491 * localedata/Makefile (test-input-data): Use full file name.
24492 * localedata/da_DK.in: Rename to...
24493 * localedata/da_DK.ISO-8859-1.in: ...this.
24494 * localedata/de_DE.in: Rename to...
24495 * localedata/de_DE.ISO-8859-1.in: ...this.
24496 * localedata/en_US.in: Rename to...
24497 * localedata/en_US.ISO-8859-1.in: ...this.
24498 * localedata/fr_FR.in: Rename to...
24499 * localedata/fr_FR.UTF-8.in: ... this.
24500 * localedata/hr_HR.in: Rename to...
24501 * localedata/hr_HR.ISO-8859-2.in: ...this.
24502 * localedata/hu_HU.in: Rename to...
24503 * localedata/hu_HU.UTF-8.in: ...this.
24504 * localedata/si_LK.in: Rename to...
24505 * localedata/si_LK.UTF-8.in: ...this.
24506 * localedata/sv_SE.in: Rename to...
24507 * localedata/sv_SE.ISO-8859-1.in: ...this.
24508 * localedata/tr_TR.in: Rename to...
24509 * localedata/tr_TR.UTF-8.in: ...this.
24510 * localedata/uk_UA.in: Rename to...
24511 * localedata/uk_UA.UTF-8.in: ...this.
24512 * localedata/sort-test.sh: Test file is locale name with the
24515 * localedata/unicode-gen/Makefile (check_i18n): Rename to
24516 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
24518 * localedata/locales/i18n_ctype: Regenerate.
24519 * localedata/locales/tr_TR: Likewise.
24520 * localedata/locales/translit_circle: Likewise.
24521 * localedata/locales/translit_cjk_compat: Likewise.
24522 * localedata/locales/translit_combining: Likewise.
24523 * localedata/locales/translit_compat: Likewise.
24524 * localedata/locales/translit_font: Likewise.
24525 * localedata/locales/translit_fraction: Likewise.
24527 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24529 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
24530 lxvd2x/stxvd2x with lvx/stvx.
24531 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
24533 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
24535 * include/alloc_buffer.h: Replace "if if " with "if " in
24537 * sysdeps/mips/memcpy.S: Likkewise.
24538 * sysdeps/mips/memset.S: Likewise.
24539 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
24541 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
24543 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
24546 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24549 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
24550 yesexpr and noexpr.
24551 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
24552 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
24553 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
24554 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24555 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
24556 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
24557 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
24559 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24561 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
24562 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
24563 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
24564 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
24565 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
24566 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
24567 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
24568 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
24569 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
24570 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
24571 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
24572 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
24574 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24576 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
24577 as possible for better readability of the source.
24578 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
24579 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
24580 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
24581 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
24582 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
24583 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
24584 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
24585 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
24586 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
24587 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
24588 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
24589 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
24590 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
24591 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
24592 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
24593 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
24594 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
24595 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
24596 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
24597 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
24598 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
24599 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
24600 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
24601 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
24602 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
24603 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
24604 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
24605 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
24606 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
24607 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
24608 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
24609 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
24610 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
24611 * localedata/locales/en_US (LC_MESSAGES): Likewise.
24612 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
24613 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
24614 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
24615 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
24616 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
24617 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
24618 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
24619 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
24620 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
24621 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
24622 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
24623 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
24624 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
24625 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
24626 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
24627 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
24628 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
24629 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
24630 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
24631 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
24632 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
24633 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
24634 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
24635 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
24636 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
24637 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
24638 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
24639 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
24640 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
24641 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
24642 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
24643 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
24644 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
24645 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
24646 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
24647 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
24648 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
24649 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
24650 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
24651 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
24652 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
24653 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
24654 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
24655 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
24656 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
24657 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
24658 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
24659 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
24660 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
24661 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
24662 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
24663 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
24664 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
24665 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
24666 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
24667 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
24668 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
24669 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
24670 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
24671 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
24672 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
24673 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
24674 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
24675 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24676 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
24677 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
24678 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
24679 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
24680 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
24681 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
24682 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
24683 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
24684 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
24685 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
24686 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
24687 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
24688 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
24689 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
24690 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
24691 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
24692 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
24693 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
24694 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
24695 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
24696 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
24697 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
24698 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
24699 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
24700 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
24701 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
24702 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
24703 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
24704 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
24705 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
24706 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
24707 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
24708 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
24709 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
24710 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
24711 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
24712 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
24713 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
24714 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
24715 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
24716 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
24717 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
24718 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
24719 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
24720 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
24721 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
24722 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
24723 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
24724 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
24725 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
24726 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
24727 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
24728 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
24729 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
24730 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
24731 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
24732 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
24733 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
24734 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
24735 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
24736 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
24737 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
24738 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
24739 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
24740 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
24741 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
24742 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
24743 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
24744 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
24745 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
24746 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
24747 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
24748 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
24749 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
24750 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
24751 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
24753 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24755 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
24756 (Use first letters of yesstr and nostr correctly instead of using
24759 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24761 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
24762 (Use first letters of yesstr and nostr correctly).
24764 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24766 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
24767 also check for the first characters of yesstr and nostr.
24768 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
24769 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
24771 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24773 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
24774 also check for Chinese characters.
24776 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24778 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
24779 match also for the contents of yesstr and nostr. As the first letter
24780 of yesstr and nostr is equal, checking only for the first letter
24783 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24785 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
24786 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
24788 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24790 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
24791 of main contributor.
24793 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24795 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
24796 instead of using English.
24798 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24800 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
24801 by including the first letters of nostr and yesexpr in the regexp.
24802 Also make it more readable by using ASCII where possible.
24804 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24806 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
24807 the first letter of nostr in the regexp. It agrees with CLDR now.
24808 Also make it more readable by using ASCII where possible.
24810 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24812 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
24813 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
24814 these strings contain a U+17D6 (which somewhat looks like a colon)
24815 instead of a real colon to separate the full words for “yes”
24816 and “no” from the single letter responses.
24818 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24820 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
24821 it agree with CLDR (include the first letter of yesstr).
24822 Also make it more readable by using ASCII where possible.
24824 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24826 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
24827 and improve yesexpr and noexpr. The yesstr and nostr apparently
24828 came from CLDR. And CLDR has a bug there: these strings contain
24829 a U+0903 (which looks like a colon) instead of a real colon
24830 to separate the full words for “yes” and “no” from the single
24833 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24835 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
24836 letters of the full yesstr and nostr in yesexpr and noexpr.
24838 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24840 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
24841 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
24842 * localedata/locales/an_ES: Make source more readable by using ASCII
24845 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24848 * localedata/locales/yuw_PG: New file.
24849 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
24850 * locale/iso-639.def: Add Yau (Uruwa).
24852 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24854 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
24856 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24858 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
24859 (__libc_realloc): Likewise.
24860 (_mid_memalign): Likewise.
24861 (__libc_calloc): Likewise.
24863 2017-10-23 Mike FABIAN <mfabian@redhat.com>
24865 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
24866 by adding the generic +1 and -0 as in all other locales.
24867 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
24868 day names and make it more readable by using ASCII where possible.
24870 2017-10-24 Joseph Myers <joseph@codesourcery.com>
24872 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
24873 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
24875 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24877 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
24878 WNOHANG in waitpid call.
24880 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
24882 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
24883 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
24885 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
24886 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
24887 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
24888 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
24889 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
24890 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
24891 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
24892 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
24895 2017-10-23 Michael Collison <michael.collison@arm.com>
24897 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
24898 with __builtin_sqrt.
24899 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
24900 with __builtin_sqrtf.
24901 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
24902 with __builtin_ceil.
24903 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
24904 with __builtin_ceilf.
24905 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
24906 with __builtin_floor.
24907 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
24908 with __builtin_floorf.
24909 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
24910 with __builtin_fma.
24911 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
24912 with __builtin_fmaf.
24913 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
24914 with __builtin_fmax.
24915 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
24916 with __builtin_fmaxf.
24917 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
24918 with __builtin_fmin.
24919 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
24920 with __builtin_fminf.
24921 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
24922 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
24923 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
24924 with builtin_rint and conversion to int.
24925 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
24926 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
24927 with builtin_llround.
24928 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
24929 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
24930 with builtin_rint and conversion to long int.
24931 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
24932 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
24933 with builtin_lround.
24934 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
24935 with builtin_lroundf.
24936 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
24937 statements with __builtin_nearbyint.
24938 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
24939 statements with __builtin_nearbyintf.
24940 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
24941 with __builtin_rint.
24942 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
24943 with __builtin_rintf.
24944 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
24945 with __builtin_round.
24946 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
24947 with __builtin_roundf.
24948 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
24949 with __builtin_trunc.
24950 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
24951 with __builtin_truncf.
24952 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
24953 and s_l[l]round[f].c too.
24955 2017-10-23 Alan Modra <amodra@gmail.com>
24957 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
24958 Adjust stack after restoring regs. Add missing LR cfi_restore.
24960 2017-10-23 Alan Modra <amodra@gmail.com>
24962 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
24963 Move LR save and frame setup/teardown and LR restore to
24964 immediately around memset call. Provide cfi.
24966 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24968 * sysdeps/i386/fpu/e_powf.S: Removed.
24969 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
24970 * sysdeps/i386/fpu/w_powf.c: Likewise.
24971 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
24972 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24973 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24975 (CFLAGS-e_powf-sse2.c): New.
24976 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
24977 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
24979 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24981 * sysdeps/i386/fpu/e_log2f.S: Removed.
24982 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
24983 * sysdeps/i386/fpu/w_log2f.c: Likewise.
24984 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
24985 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24986 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24988 (CFLAGS-e_log2f-sse2.c): New.
24989 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
24990 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
24992 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24994 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24996 (CFLAGS-e_powf-fma.c): New.
24997 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
24998 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
25000 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25002 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25004 (CFLAGS-e_log2f-fma.c): New.
25005 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
25006 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
25008 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25010 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25012 (CFLAGS-e_logf-fma.c): New.
25013 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
25014 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
25016 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25018 * sysdeps/i386/fpu/e_logf.S: Removed.
25019 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
25020 * sysdeps/i386/fpu/w_logf.c: Likewise.
25021 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
25022 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
25023 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25024 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25026 (CFLAGS-e_logf-sse2.c): New.
25027 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
25028 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
25030 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25032 * sysdeps/i386/fpu/e_exp2f.S: Removed.
25033 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
25034 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
25035 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25036 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25038 (CFLAGS-e_exp2f-sse2.c): New.
25039 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
25040 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
25042 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25044 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25046 (CFLAGS-e_exp2f-fma.c): New.
25047 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
25048 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
25050 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25052 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
25053 * sysdeps/i386/fpu/e_expf.S: Likewise.
25054 * sysdeps/i386/fpu/math_errf.c: Likewise.
25055 * sysdeps/i386/fpu/w_expf.c: Likewise.
25056 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
25057 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25058 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
25059 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
25060 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25061 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25062 Remove e_expf-ia32.
25063 (CFLAGS-e_expf-sse2.c): New.
25064 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
25065 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
25067 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25069 * sysdeps/x86_64/fpu/e_expf.S: Removed.
25070 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
25071 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
25072 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
25074 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
25076 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
25077 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
25079 (__redirect_expf): This.
25080 (SYMBOL_NAME): Changed to expf.
25081 (__ieee754_expf): Renamed to ...
25083 (__GI___expf): This.
25084 (__ieee754_expf): Add strong_alias.
25085 (__expf_finite): Likewise.
25087 Include <sysdeps/ieee754/flt-32/e_expf.c>.
25089 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
25092 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
25095 2017-10-21 Florian Weimer <fweimer@redhat.com>
25097 * posix/Makefile (tests): Add tst-glob-tilde.
25098 (tests-special): Add tst-glob-tilde-mem.out
25099 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
25100 (tst-glob-tilde-mem.out): Add mtrace check.
25101 * posix/tst-glob-tilde.c: New file.
25103 2017-10-20 Joseph Myers <joseph@codesourcery.com>
25105 * bits/floatn-common.h: New file.
25106 * math/Makefile (headers): Add bits/floatn-common.h.
25107 * bits/floatn.h: Include <bits/floatn-common.h>.
25108 * sysdeps/ia64/bits/floatn.h: Likewise.
25109 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
25110 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
25111 * sysdeps/powerpc/bits/floatn.h: Likewise.
25112 * sysdeps/x86/bits/floatn.h: Likewise.
25114 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25116 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
25117 indicates whether compiler emits an warning for alias for
25118 functions with incompatible types.
25121 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
25122 the auxiliary process is terminated by a signal before calling _exit
25125 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25128 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
25130 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
25131 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
25132 and bit_arch_XSAVEC_Usable if needed.
25133 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
25134 and bit_arch_Use_dl_runtime_resolve_opt.
25135 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
25137 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
25138 (bit_arch_Prefer_No_AVX512): Updated.
25139 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
25140 (bit_arch_XSAVEC_Usable): New.
25141 (STATE_SAVE_OFFSET): Likewise.
25142 (STATE_SAVE_MASK): Likewise.
25143 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
25144 (cpu_features): Add xsave_state_size and xsave_state_full_size.
25145 (index_arch_Use_dl_runtime_resolve_opt): Removed.
25146 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
25147 (index_arch_XSAVEC_Usable): New.
25148 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
25149 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
25150 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
25152 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
25153 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
25154 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
25155 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
25156 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
25157 _dl_runtime_resolve_xsavec.
25158 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
25160 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
25161 instead of VEC_SIZE.
25162 (REGISTER_SAVE_BND0): Removed.
25163 (REGISTER_SAVE_BND1): Likewise.
25164 (REGISTER_SAVE_BND3): Likewise.
25165 (REGISTER_SAVE_RAX): Always defined to 0.
25167 (_dl_runtime_resolve_avx): Likewise.
25168 (_dl_runtime_resolve_avx_slow): Likewise.
25169 (_dl_runtime_resolve_avx_opt): Likewise.
25170 (_dl_runtime_resolve_avx512): Likewise.
25171 (_dl_runtime_resolve_avx512_opt): Likewise.
25172 (_dl_runtime_resolve_sse): Likewise.
25173 (_dl_runtime_resolve_sse_vex): Likewise.
25175 (_dl_runtime_resolve_fxsave): Likewise.
25176 (USE_XSAVE): Likewise.
25177 (_dl_runtime_resolve_xsave): Likewise.
25178 (USE_XSAVEC): Likewise.
25179 (_dl_runtime_resolve_xsavec): Likewise.
25180 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
25182 (_dl_runtime_resolve_avx512_opt): Likewise.
25183 (_dl_runtime_resolve_avx): Likewise.
25184 (_dl_runtime_resolve_avx_opt): Likewise.
25185 (_dl_runtime_resolve_sse): Likewise.
25186 (_dl_runtime_resolve_sse_vex): Likewise.
25187 (_dl_runtime_resolve_fxsave): New.
25188 (_dl_runtime_resolve_xsave): Likewise.
25189 (_dl_runtime_resolve_xsavec): Likewise.
25191 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
25195 * posix/glob.c (__glob): Fix one-byte overflow.
25197 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
25199 * malloc/malloc.c (sysdep-cancel.h): Add include.
25201 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
25203 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
25205 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
25207 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
25208 (tests): Remove $(objpfx)ga_test depdendency.
25209 * resolv/ga_test.c: Remove file.
25211 2017-10-20 Mike FABIAN <mfabian@redhat.com>
25214 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
25215 * localedata/locales/kab_DZ: New file.
25217 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25219 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
25220 _dl_relocate_static_pie instead of _dl_start to compute load
25221 address in static PIE.
25223 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25225 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
25227 2017-10-20 Mike FABIAN <mfabian@redhat.com>
25230 * localedata/SUPPORTED: Add shn_MM/UTF-8.
25231 * localedata/locales/shn_MM: New file.
25233 2017-10-20 Florian Weimer <fweimer@redhat.com>
25236 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
25237 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
25238 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
25239 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
25240 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
25241 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
25243 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
25245 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25247 2017-10-19 Joseph Myers <joseph@codesourcery.com>
25249 * sysdeps/mips/ieee754/bits/floatn.h: New file.
25252 * sysdeps/mips/bits/long-double.h: Move to ....
25253 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
25255 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
25257 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
25259 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
25260 H.J. Lu <hongjiu.lu@intel.com>
25263 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
25264 GLRO(dl_platform) to NULL.
25265 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
25266 (modules-names): Add tst-platformmod-1 and
25267 x86_64/tst-platformmod-2.
25268 (CFLAGS-tst-platform-1.c): New.
25269 (CFLAGS-tst-platformmod-1.c): Likewise.
25270 (CFLAGS-tst-platformmod-2.c): Likewise.
25271 (LDFLAGS-tst-platformmod-2.so): Likewise.
25272 ($(objpfx)tst-platform-1): Likewise.
25273 ($(objpfx)tst-platform-1.out): Likewise.
25274 (tst-platform-1-ENV): Likewise.
25275 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
25276 * sysdeps/x86_64/tst-platform-1.c: New file.
25277 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
25278 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
25280 2017-10-19 Mike FABIAN <mfabian@redhat.com>
25283 * locale/iso-639.def: Add Karbi.
25284 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
25285 * localedata/locales/mjw_IN: New file.
25287 2017-10-18 Joseph Myers <joseph@codesourcery.com>
25289 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
25290 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
25291 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
25292 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
25293 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
25294 (libm_alias_ldouble_other_r): Also create _Float128 alias.
25295 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
25297 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
25298 (libm_alias_ldouble_other_r): Also create _Float128 alias.
25299 * manual/math.texi (Mathematics): Document additional architecture
25300 support for _Float128.
25301 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25302 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25303 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25304 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25305 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25306 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25307 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25308 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25309 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25310 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25311 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25312 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25313 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25314 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25315 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25317 2017-10-18 Renlin Li <renlin.li@arm.com>
25319 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
25320 _DYNAMIC symbol to calculate load address.
25322 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
25324 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
25325 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
25327 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
25328 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
25330 2017-10-18 Mike FABIAN <mfabian@redhat.com>
25333 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
25334 and improve readability by using more ASCII.
25335 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
25336 and improve readability by using more ASCII.
25338 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
25340 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
25341 not all targets support atomics on bool.
25343 2017-10-17 Joseph Myers <joseph@codesourcery.com>
25345 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
25346 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
25348 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25349 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
25350 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25351 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
25352 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25353 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
25355 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25357 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
25360 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25363 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
25364 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
25365 (do_check_remalloced_chunk): Fix build bug.
25366 (do_check_malloc_state): Add assert that checks arena->top.
25367 (malloc_consolidate): Remove initialization.
25368 (int_mallinfo): Remove call to malloc_consolidate.
25369 (__libc_mallopt): Clarify why malloc_consolidate is needed.
25371 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25373 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
25374 (have_fastchunks): Remove.
25375 (clear_fastchunks): Remove.
25376 (set_fastchunks): Remove.
25377 (malloc_state): Add have_fastchunks.
25378 (malloc_init_state): Use have_fastchunks.
25379 (do_check_malloc_state): Remove incorrect invariant checks.
25380 (_int_malloc): Use have_fastchunks.
25381 (_int_free): Likewise.
25382 (malloc_consolidate): Likewise.
25384 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25386 * malloc/malloc.c (tcache_put): Inline.
25387 (tcache_get): Inline.
25389 2017-10-17 Jordi Mallach <jordi@gnu.org>
25391 Aurelien Jarno <aurelien@aurel32.net>
25393 * localedata/locales/ca_ES@valencia: New file.
25394 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
25396 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
25399 * math/math.h: Let signbit use the builtin in C++ mode with gcc
25402 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25404 * scripts/build-many-glibcs.py (Context.add_all_configs):
25405 Add arm-linux-gnueabihf multiarch extra_glibcs.
25407 * sysdeps/generic/ifunc-init.h: New file.
25408 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
25410 2017-10-17 Mike FABIAN <mfabian@redhat.com>
25413 * localedata/locales/el_GR: Set n_cs_precedes to 0.
25414 * localedata/locales/el_CY: copy "el_GR" because it is identical.
25415 * stdlib/tst-strfmon_l.c: adapt test case.
25417 2017-10-16 Joseph Myers <joseph@codesourcery.com>
25419 * sysdeps/generic/float128-abi.h: New file.
25420 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
25421 non-__prefixed symbols to ....
25422 * math/Versions: ... here. Include <float128-abi.h>.
25423 * stdlib/Versions ... and here. Include <float128-abi.h>
25425 2017-10-16 Florian Weimer <fweimer@redhat.com>
25427 * version.h (VERSION): Switch to ".9000" as the development
25430 2017-10-16 Florian Weimer <fweimer@redhat.com>
25433 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
25434 compat_symbol_reference to access non-default version.
25436 2017-10-16 Florian Weimer <fweimer@redhat.com>
25438 * malloc/Makefile (others-extras): Set to mcheck-init.o.
25440 2017-10-16 Carlos O'Donell <carlos@redhat.com>
25442 * include/shlib-compat.h (compat_symbol_reference): Update
25445 2017-10-16 Joseph Myers <joseph@codesourcery.com>
25447 * math/Makefile (test-types): Add
25448 $(type-float128-$(float128-alias-fcts)).
25449 * math/test-float128.h (TYPE_STR): Define conditional on
25450 [FLT128_MANT_DIG == LDBL_MANT_DIG].
25451 (ULP_IDX): Likewise.
25452 (ULP_I_IDX): Likewise.
25454 * stdlib/strtold.c: Include <bits/floatn.h>
25455 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
25456 and later undefine as macro. Define as weak alias if
25458 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
25459 and later undefine as macro. Define as weak alias if
25461 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
25462 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
25463 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25464 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
25465 Define and later undefine as macro. Define as weak alias if
25467 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
25469 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
25470 Define and later undefine as macro. Define as weak alias if
25472 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
25473 Define and later undefine as macro. Define as weak alias if
25476 2017-10-15 Carlos O'Donell <carlos@redhat.com>
25478 * localedata/collate-test.c (allocate_arrays): Don't use \n in
25479 record_verbose messages.
25481 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
25484 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
25485 to silence -O3 -Wall warning with GCC 7.
25487 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
25489 * Makeconfig (+link-static-before-libc): Use the first of
25490 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
25491 * gmon/Makefile (tests): Add tst-gmon-static.
25492 (tests-static): Likewise.
25493 (CFLAGS-tst-gmon-static.c): New.
25494 (CRT-tst-gmon-static): Likewise.
25495 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
25496 (tst-gmon-static-ENV): Likewise.
25497 (tests-special): Likewise.
25498 ($(objpfx)tst-gmon-static.out): Likewise.
25499 (clean-tst-gmon-static-data): Likewise.
25500 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
25501 * gmon/tst-gmon-static-gprof.sh: New file.
25502 * gmon/tst-gmon-static.c: Likewise.
25504 2017-10-13 Carlos O'Donell <carlos@redhat.com>
25507 * locale/programs/linereader.c (get_string): Don't warn on
25508 non-symbolic character.
25511 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
25515 * locale/programs/record-status.h: New file
25516 * locale/programs/locale.c: Add comment.
25517 * locale/programs/charmap-dir.c: Don't include error.h.
25518 (charmap_opendir): Use record_error.
25519 * locale/programs/charmap.c: Don't include error.h.
25520 (charmap_read): Use record_error, and record_warning.
25521 (parse_charmap): Likewise.
25522 * locale/programs/ld-address.c: Don't include error.h.
25523 (address_finish): Use record_error, and record_warning.
25524 * locale/programs/ld-collate.c: Don't include error.h.
25525 (collate_finish): Use record_error, and record_error_at_line.
25526 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
25527 (ctype_class_new): Likewise.
25528 (ctype_map_new): Likewise.
25529 (set_one_default): Likewise.
25530 (set_class_defaults): Likewise.
25531 (translit_flatten): Likewise.
25532 (allocate_arrays): Use record_error, and record_verbose.
25533 * locale/programs/ld-identification.c: Don't include error.h.
25534 (indentation_finish): Use record_error and record_warning.
25535 * locale/programs/ld-measurement.c: Don't include error.h.
25536 (measurement_finish): Use record_error.
25537 * locale/programs/ld-messages.c
25538 (message_finish): Likewise.
25539 * locale/programs/ld-monetary.c
25540 (monetary_finish): Likewise.
25541 * locale/programs/ld-name.c (name_finish): Use record_error
25542 and record_warning.
25543 * locale/programs/ld-numeric.c
25544 (numeric_finish): Use record_error.
25545 * locale/programs/ld-paper.c: Don't include error.h.
25546 (paper_finish): Use record_error.
25547 * locale/programs/ld-telephone.c: Don't include error.h.
25548 (telephone_finish): Use record_error.
25549 * locale/programs/ld-time.c (time_finish): Likewise.
25550 * locale/programs/linereader.h (lr_error): Make inline func.
25551 * locale/programs/localedef.c: Define recorded_warning_count,
25552 and recorded_error_count.
25553 (main): Use record_error. Use recorded_error_count and
25554 recorded_warning_count to issue correct error returns.
25555 (add_to_readlist): Use record_error.
25556 (find_locale): Likewise.
25557 (load_locale): Likewise.
25558 * locale/programs/localedef.h: Remove be_quiet
25559 and WITH_CUR_LOCALE.
25560 * locale/programs/locarchive.c (compare_from_file): Use
25562 * locale/programs/locfile.c (write_locale_data): Use
25564 * locale/programs/repertoire.c: Dont include error.h.
25565 (repertoire_complain): Use record_error.
25566 * localedata/tst-fmon.sh: Expect failures from localedef.
25567 * localedata/tst-locale.sh: Likewise.
25568 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
25570 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
25571 (REPORTS): Likewise.
25573 (i18n): Rename to...
25574 (i18n_ctype): ...this.
25575 (i18n-report): Rename to...
25576 (i18n_ctype-report): ...this.
25577 * localedata/locales/i18n_ctype: Regenerate.
25578 * localedata/locales/i18n: copy i18n_ctype.
25580 2017-10-13 Joseph Myers <joseph@codesourcery.com>
25582 * stdlib/strfroml.c: Include <bits/floatn.h>.
25583 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
25584 Define before include of <stdlib.h> and undefine afterwards, then
25585 define as weak alias.
25587 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
25588 Undefine and restore default definition. Use
25589 libm_alias_ldouble_other.
25591 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
25594 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
25597 2017-10-13 James Clarke <jrtc27@jrtc27.com>
25599 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
25600 Assign sym_map to be map for local symbols, as TLS relocations
25601 use sym_map to determine whether the symbol is defined and to
25602 extract the TLS information.
25603 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
25604 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
25606 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25609 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
25610 (math_force_eval): Add powerpc version.
25613 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
25615 (do_test): Likewise.
25616 * stdio-common/tst-printf.sh: Likewise.
25617 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
25618 ifdef clause in order to set the carry bit right. Replace r0 by
25619 0 without changing the behavior.
25621 2017-10-13 Joseph Myers <joseph@codesourcery.com>
25623 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
25624 <libm-alias-ldouble.h>.
25625 (fabsl): Define using libm_alias_ldouble.
25626 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
25627 <libm-alias-ldouble.h>.
25628 (fabsl): Define using libm_alias_ldouble.
25630 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
25631 Remove conditional code.
25633 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
25634 Rename to __clog10_internal_l.
25635 (__clog10_internal_l): Define aliases using
25636 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
25639 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25641 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
25642 * benchtests/sincosf-inputs: New file.
25643 * benchtests/cosf-inputs: New file.
25644 * benchtests/sinf-inputs: New file.
25646 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
25648 * posix/tst-spawn.c (do_test): Wait for both children.
25650 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
25653 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
25654 tests-pie): Add tst-gmon-pie.
25655 (CFLAGS-tst-gmon-pie.c): New.
25656 (CRT-tst-gmon-pie): Likewise.
25657 (tst-gmon-pie-ENV): Likewise.
25658 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
25659 ($(objpfx)tst-gmon-pie.out): Likewise.
25660 (clean-tst-gmon-pie-data): Likewise.
25661 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
25662 * gmon/gmon.c [PIC]: Include <link.h>.
25663 [PIC] (callback): New function.
25664 (write_hist): Add an argument for load address. Subtract load
25666 (write_call_graph): Likewise.
25667 (write_gmon): Call __dl_iterate_phdr to get load address, pass
25668 it to write_hist and write_call_graph.
25669 * gmon/tst-gmon-pie.c: New file.
25671 2017-10-11 Joseph Myers <joseph@codesourcery.com>
25673 * math/Makefile (test-types-basic): New variable.
25674 (test-types): Likewise.
25675 (libm-test-support): Use $(test-types) instead of $(types).
25676 (libm-tests-base-normal): Likewise.
25677 (libm-tests-base-finite): Likewise.
25678 (libm-tests-base-inline): Likewise.
25679 (generated): Likewise.
25680 ($(objpfx)libm-test-support-$(t).c): Likewise.
25681 (libm-tests-for-type iterator): Likewise.
25682 (libm-test-support iterator): Likewise.
25683 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
25684 (ulp_idx): Use ULP_IDX.
25685 * math/test-ldouble.h: Include <float.h>.
25686 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
25687 (ULP_IDX): New macro.
25688 (ULP_I_IDX): Likewise.
25689 * math/test-double.h (ULP_IDX): Likewise.
25690 (ULP_I_IDX): Likewise.
25691 * math/test-float.h (ULP_IDX): Likewise.
25692 (ULP_I_IDX): Likewise.
25693 * math/test-float128.h (ULP_IDX): Likewise.
25694 (ULP_I_IDX): Likewise.
25696 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25698 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
25699 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25700 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25701 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
25702 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25703 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
25704 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
25705 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25706 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25707 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25708 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
25709 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25710 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25711 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25712 (SINGLE_THREAD_BY_GLOBAL): Define.
25713 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25715 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25717 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25719 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25721 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
25722 (SINGLE_THREAD_BY_GLOBAL): Likewise.
25723 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25726 2017-10-11 Andreas Schwab <schwab@suse.de>
25728 * nis/Makefile (aux): Remove.
25729 * nscd/Makefile (aux): Add nscd_hash.
25730 (nscd-modules): Likewise.
25731 ($(objpfx)nscd): Don't depend on libnsl.
25732 * nscd/nscd_hash.c: New file.
25733 * nscd/nscd_hash.h: Likewise.
25734 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
25735 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
25736 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
25737 instead of <nis/rpcsvc/nis.h>.
25738 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
25740 2017-10-11 Florian Weimer <fweimer@redhat.com>
25743 Avoid large NSS buffers with many addresses, aliases.
25744 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
25745 using dynarrays and struct alloc_buffer.
25746 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
25747 (tst-nss-files-hosts-multi): Link with -ldl.
25748 * nss/tst-nss-files-hosts-multi.c: New file.
25750 2017-10-11 Florian Weimer <fweimer@redhat.com>
25753 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
25754 scratch_buffer. Eliminate gotos.
25756 2017-10-11 Joseph Myers <joseph@codesourcery.com>
25758 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
25759 libm_alias_ldouble_other.
25760 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
25761 undefine and redefine.
25762 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
25763 (exp10l): Do not define here.
25764 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
25765 (weak_alias): Undefine and redefine.
25766 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
25767 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
25768 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
25769 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
25771 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
25772 [!__fma] (fma): Define using libm_alias_double.
25773 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
25774 [!__fmaf] (fmaf): Define using libm_alias_float.
25775 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
25776 (fmal): Define using libm_alias_ldouble.
25778 2017-10-10 Joseph Myers <joseph@codesourcery.com>
25780 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
25782 (libm_alias_double_other): Likewise.
25783 (libm_alias_double_r): Use libm_alias_double_other_r.
25784 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
25786 (libm_alias_float_other): Likewise.
25787 (libm_alias_float_r): Use libm_alias_float_other_r.
25788 * sysdeps/generic/libm-alias-float128.h
25789 (libm_alias_float128_other_r): New macro.
25790 (libm_alias_float128_other): Likewise.
25791 (libm_alias_float128_r): Use libm_alias_float128_other_r.
25792 * sysdeps/generic/libm-alias-ldouble.h
25793 (libm_alias_ldouble_other_r): New macro.
25794 (libm_alias_ldouble_other): Likewise.
25795 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25796 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
25797 (libm_alias_double_other_r): New macro.
25798 (libm_alias_double_other): Likewise.
25799 (libm_alias_double_r): Use libm_alias_double_other_r.
25800 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
25801 (libm_alias_ldouble_other_r): New macro.
25802 (libm_alias_ldouble_other): Likewise.
25803 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25804 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
25805 [!USE_AS_COMPAT]: Use libm_alias_double_other.
25806 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
25807 [!USE_AS_COMPAT]: Use libm_alias_float_other.
25808 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
25809 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
25810 * math/w_exp2f.c: Use libm_alias_float_other.
25811 * math/w_expf.c: Likewise.
25812 * math/w_log2f.c: Likewise.
25813 * math/w_logf.c: Likewise.
25814 * math/w_powf.c: Likewise.
25815 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
25816 [!__exp2f]: Use libm_alias_float_other.
25817 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
25818 [!__expf]: Use libm_alias_float_other.
25819 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
25820 [!__log2f]: Use libm_alias_float_other.
25821 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
25822 [!__logf]: Use libm_alias_float_other.
25823 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
25824 [!__powf]: Use libm_alias_float_other.
25826 2017-10-10 Florian Weimer <fweimer@redhat.com>
25828 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
25830 (_nss_files_gethostbyname3_r): Call it.
25832 2017-10-09 Joseph Myers <joseph@codesourcery.com>
25834 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
25835 error. Remove default definition of declare_mgen_alias.
25836 [!declare_mgen_alias_r]: Likewise.
25837 * sysdeps/generic/math-type-macros-double.h
25838 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
25839 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
25840 (declare_mgen_alias_r): Likewise.
25841 * sysdeps/generic/math-type-macros-float128.h
25842 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25843 * sysdeps/generic/math-type-macros-ldouble.h
25844 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25845 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
25847 (declare_mgen_alias_r_s): Likewise.
25848 (declare_mgen_alias_r): Likewise.
25849 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
25850 (lgamma_r): Define using libm_alias_double_r.
25851 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
25852 (lgammaf_r): Define using libm_alias_float_r.
25853 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
25854 (lgammal_r): Define using libm_alias_ldouble_r.
25855 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
25856 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
25858 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25860 * lib/glob.c (__glob_pattern_type): Remove now-spurious
25861 extern declaration.
25863 2017-10-09 Joseph Myers <joseph@codesourcery.com>
25865 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
25867 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
25870 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
25871 [__cplusplus >= 201103] (__USE_ISOC99): Define.
25872 * math/Makefile (test-math-cxx11): New test.
25873 * math/test-math-cxx11.cc: New file.
25875 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
25877 * login/openpty.c (openpty): Close slave pty file descriptor on error.
25879 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
25880 call to allocate the slave pty file descriptor.
25882 2017-10-06 Joseph Myers <joseph@codesourcery.com>
25884 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
25885 [!__fma] (fma): Define using libm_alias_double.
25886 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
25887 [!__fma] (fma): Define using libm_alias_double.
25889 * sysdeps/ieee754/float128/float128_private.h: Include
25890 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
25891 (libm_alias_ldouble_r): Undefine and redefine.
25892 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
25893 <libm-alias-ldouble.h>.
25894 (asinhl): Define using libm_alias_ldouble.
25895 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
25896 <libm-alias-ldouble.h>.
25897 (atanl): Define using libm_alias_ldouble.
25898 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
25899 <libm-alias-ldouble.h>.
25900 (cbrtl): Define using libm_alias_ldouble.
25901 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
25902 <libm-alias-ldouble.h>.
25903 (ceill): Define using libm_alias_ldouble.
25904 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
25905 <libm-alias-ldouble.h>.
25906 (copysignl): Define using libm_alias_ldouble.
25907 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
25908 <libm-alias-ldouble.h>.
25909 (cosl): Define using libm_alias_ldouble.
25910 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
25911 <libm-alias-ldouble.h>.
25912 (erfl): Define using libm_alias_ldouble.
25914 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
25915 <libm-alias-ldouble.h>.
25916 (expm1l): Define using libm_alias_ldouble.
25917 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
25918 <libm-alias-ldouble.h>.
25919 (fabsl): Define using libm_alias_ldouble.
25920 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
25921 <libm-alias-ldouble.h>.
25922 (floorl): Define using libm_alias_ldouble.
25923 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
25924 <libm-alias-ldouble.h>.
25925 (fmal): Define using libm_alias_ldouble.
25926 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
25927 <libm-alias-ldouble.h>.
25928 (frexpl): Define using libm_alias_ldouble.
25929 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
25930 libm_alias_ldouble.
25931 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
25932 <libm-alias-ldouble.h>.
25933 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
25934 libm_alias_ldouble.
25935 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
25936 <libm-alias-ldouble.h>.
25937 (getpayloadl): Define using libm_alias_ldouble.
25938 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
25939 <libm-alias-ldouble.h>.
25940 (llrintl): Define using libm_alias_ldouble.
25941 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
25942 <libm-alias-ldouble.h>.
25943 (llroundl): Define using libm_alias_ldouble.
25944 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
25945 <libm-alias-ldouble.h>.
25946 (logbl): Define using libm_alias_ldouble.
25947 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
25948 <libm-alias-ldouble.h>.
25949 (lrintl): Define using libm_alias_ldouble.
25950 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
25951 <libm-alias-ldouble.h>.
25952 (lroundl): Define using libm_alias_ldouble.
25953 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
25954 <libm-alias-ldouble.h>.
25955 (modfl): Define using libm_alias_ldouble.
25956 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
25957 <libm-alias-ldouble.h>.
25958 (nearbyintl): Define using libm_alias_ldouble.
25959 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
25960 <libm-alias-ldouble.h>.
25961 (nextafterl): Define using libm_alias_ldouble.
25962 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
25963 <libm-alias-ldouble.h>.
25964 (nextupl): Define using libm_alias_ldouble.
25965 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
25966 <libm-alias-ldouble.h>.
25967 (remquol): Define using libm_alias_ldouble.
25968 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
25969 <libm-alias-ldouble.h>.
25970 (rintl): Define using libm_alias_ldouble.
25971 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
25972 <libm-alias-ldouble.h>.
25973 (roundevenl): Define using libm_alias_ldouble.
25974 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
25975 <libm-alias-ldouble.h>.
25976 (roundl): Define using libm_alias_ldouble.
25977 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
25978 using libm_alias_ldouble.
25979 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
25980 <libm-alias-ldouble.h>.
25981 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
25982 Define using libm_alias_ldouble.
25983 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
25984 <libm-alias-ldouble.h>.
25985 (sincosl): Define using libm_alias_ldouble.
25986 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
25987 <libm-alias-ldouble.h>.
25988 (sinl): Define using libm_alias_ldouble.
25989 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
25990 <libm-alias-ldouble.h>.
25991 (tanhl): Define using libm_alias_ldouble.
25992 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
25993 <libm-alias-ldouble.h>.
25994 (tanl): Define using libm_alias_ldouble.
25995 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
25996 <libm-alias-ldouble.h>.
25997 (totalorderl): Define using libm_alias_ldouble.
25998 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
25999 <libm-alias-ldouble.h>.
26000 (totalordermagl): Define using libm_alias_ldouble.
26001 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
26002 <libm-alias-ldouble.h>.
26003 (truncl): Define using libm_alias_ldouble.
26004 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
26005 libm_alias_ldouble.
26006 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
26007 libm_alias_ldouble.
26008 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
26009 <libm-alias-ldouble.h>.
26010 (weak_alias): Do not undefine and redefine.
26011 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26012 (copysignl): Define with long_double_symbol only if [IS_IN
26014 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
26015 <libm-alias-ldouble.h>.
26016 (weak_alias): Do not undefine and redefine.
26017 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26018 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
26019 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
26020 <libm-alias-ldouble.h>.
26021 (weak_alias): Do not undefine and redefine.
26022 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26023 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
26024 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
26025 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
26026 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
26027 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
26028 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
26029 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
26030 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
26031 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
26032 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
26033 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
26034 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
26035 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
26036 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
26037 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
26038 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
26039 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
26040 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
26041 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
26042 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
26043 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
26044 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
26045 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
26046 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
26047 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
26049 2017-10-06 Carlos O'Donell <carlos@redhat.com>
26052 * malloc/malloc.c (tcache_shutting_down): Use bool type.
26053 (tcache_thread_freeres): Set tcache_shutting_down before
26054 freeing the tcache.
26055 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
26056 * malloc/tst-malloc-tcache-leak.c: New file.
26058 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26060 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
26061 back to powerpc32 file.
26062 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
26063 (memrchr): Add __memrchr_power8 to ifunc list.
26064 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
26065 extra bytes for unaligned inputs.
26067 2017-10-06 Joseph Myers <joseph@codesourcery.com>
26069 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
26070 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
26071 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
26072 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
26073 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
26075 2017-10-05 Joseph Myers <joseph@codesourcery.com>
26077 * sysdeps/arm/libm-test-ulps: Update.
26079 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
26080 <libm-alias-ldouble.h>.
26081 (asinhl): Define using libm_alias_ldouble.
26082 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
26083 <libm-alias-ldouble.h>.
26084 (cbrtl): Define using libm_alias_ldouble.
26085 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
26086 <libm-alias-ldouble.h>.
26087 (copysignl): Define using libm_alias_ldouble.
26088 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
26089 <libm-alias-ldouble.h>.
26090 (cosl): Define using libm_alias_ldouble.
26091 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
26092 <libm-alias-ldouble.h>.
26093 (erfl): Define using libm_alias_ldouble.
26095 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
26096 <libm-alias-ldouble.h>.
26097 (fmal): Define using libm_alias_ldouble.
26098 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
26099 <libm-alias-ldouble.h>.
26100 (frexpl): Define using libm_alias_ldouble.
26101 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
26102 libm_alias_ldouble.
26103 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
26104 <libm-alias-ldouble.h>.
26105 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
26106 libm_alias_ldouble.
26107 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
26108 <libm-alias-ldouble.h>.
26109 (getpayloadl): Define using libm_alias_ldouble.
26110 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
26111 <libm-alias-ldouble.h>.
26112 (llrintl): Define using libm_alias_ldouble.
26113 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
26114 <libm-alias-ldouble.h>.
26115 (llroundl): Define using libm_alias_ldouble.
26116 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
26117 <libm-alias-ldouble.h>.
26118 (lrintl): Define using libm_alias_ldouble.
26119 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
26120 <libm-alias-ldouble.h>.
26121 (lroundl): Define using libm_alias_ldouble.
26122 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
26123 <libm-alias-ldouble.h>.
26124 (modfl): Define using libm_alias_ldouble.
26125 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
26126 <libm-alias-ldouble.h>.
26127 (nextupl): Define using libm_alias_ldouble.
26128 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
26129 <libm-alias-ldouble.h>.
26130 (remquol): Define using libm_alias_ldouble.
26131 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
26132 <libm-alias-ldouble.h>.
26133 (roundevenl): Define using libm_alias_ldouble.
26134 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
26135 <libm-alias-ldouble.h>.
26136 (roundl): Define using libm_alias_ldouble.
26137 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
26138 using libm_alias_ldouble.
26139 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
26140 <libm-alias-ldouble.h>.
26141 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
26142 <libm-alias-ldouble.h>.
26143 (setpayloadsigl): Define using libm_alias_ldouble.
26144 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
26145 <libm-alias-ldouble.h>.
26146 (sincosl): Define using libm_alias_ldouble.
26147 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
26148 <libm-alias-ldouble.h>.
26149 (sinl): Define using libm_alias_ldouble.
26150 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
26151 <libm-alias-ldouble.h>.
26152 (tanhl): Define using libm_alias_ldouble.
26153 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
26154 <libm-alias-ldouble.h>.
26155 (tanl): Define using libm_alias_ldouble.
26156 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
26157 <libm-alias-ldouble.h>.
26158 (totalorderl): Define using libm_alias_ldouble.
26159 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
26160 <libm-alias-ldouble.h>.
26161 (totalordermagl): Define using libm_alias_ldouble.
26162 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
26163 libm_alias_ldouble.
26164 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
26165 libm_alias_ldouble.
26167 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
26169 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
26171 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
26172 (__libc_ifunc_impl_list): Likewise.
26173 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
26174 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
26176 * benchtests/bench-memmove-walk.c: New file.
26177 * benchtests/Makefile (string-benchset): Add it.
26179 * benchtests/bench-memset-walk.c: New file.
26180 * benchtests/Makefile (string-benchset): Add it.
26182 * benchtests/bench-memcpy-walk.c: New file.
26183 * benchtests/Makefile (string-benchset): Add it.
26185 2017-10-05 Florian Weimer <fweimer@redhat.com>
26187 nscd: Eliminate compilation time dependency in the build output.
26188 * nscd/nscd_stat.c (STATDATA_VERSION)
26189 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
26190 (STATDATA_VERSION_FULL): New macro definitions.
26191 (compilation): Remove.
26192 (struct statdata): Adjust version member.
26193 (send_stats): Set version from STATDATA_VERSION_FULL.
26194 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
26196 2017-10-05 Joseph Myers <joseph@codesourcery.com>
26198 * configure.ac (--enable-add-ons): Remove option.
26199 (machine): Do not mention add-ons in comment.
26200 (LIBC_PRECONFIGURE): Likewise.
26201 (add_ons): Remove variable and sanity checks and logic to locate
26203 (add_ons_automatic): Remove variable.
26204 (configured_add_ons): Likewise.
26205 (add_ons_sfx): Likewise.
26206 (add_ons_pfx): Likewise.
26207 (add_on_subdirs): Likewise.
26208 (sysnames_add_ons): Likewise. Remove loop over add-ons and
26209 consideration of add-ons in Implies handling.
26210 (sysdeps_add_ons): Likewise.
26211 * configure: Regenerated.
26212 * libidn/configure.ac: Remove.
26213 * libidn/configure: Likewise.
26214 * sysdeps/unix/inet/configure.ac: New file.
26215 * sysdeps/unix/inet/configure: New generated file.
26216 * sysdeps/unix/inet/Subdirs: Add libidn.
26217 * Makeconfig (sysdeps-srcdirs): Remove variable.
26218 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
26219 ($(common-objpfx)config.status): Do not depend on add-on files.
26220 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
26222 (all-subdirs): Do not include $(add-on-subdirs).
26223 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
26224 * config.make.in (add-ons): Remove variable.
26225 (add-on-subdirs): Likewise.
26226 (sysdeps-add-ons): Likewise.
26227 * manual/Makefile (add-chapters): Remove.
26228 ($(objpfx)texis): Do not depend on $(add-chapters).
26229 (nonexamples): Do not handle $(add-chapters).
26230 (examples): Do not handle $(add-ons).
26231 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
26233 * manual/install.texi (Installation): Do not mention add-ons.
26234 (--enable-add-ons): Do not document configure option.
26235 * INSTALL: Regenerated.
26236 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
26237 * manual/maint.texi (Hierarchy Conventions): Do not mention
26239 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
26241 * scripts/gen-sorted.awk: Do not handle Subdirs files from
26243 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
26244 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
26246 2017-10-05 Andreas Schwab <schwab@suse.de>
26249 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
26250 (_IO_flush_all_lockp): Always lock list_all_lock.
26251 (_IO_flush_all_linebuffered): Likewise.
26252 (_IO_unbuffer_all): Likewise.
26254 2017-10-05 Florian Weimer <fweimer@redhat.com>
26257 Do not flush stdio streams on abort.
26258 * stdlib/abort.c (fflush): Remove macro definition.
26259 (abort): Remove stages related to stdio flushing.
26261 2017-10-05 Florian Weimer <fweimer@redhat.com>
26263 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
26265 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
26267 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26269 2017-10-05 Florian Weimer <fweimer@redhat.com>
26271 * support/support_format_hostent.c (support_format_hostent): Add
26272 more error information for NETDB_INTERNAL.
26274 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26276 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
26277 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
26278 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
26279 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
26280 AC_DEFINE if multi-arch is enabled.
26281 * sysdeps/i386/configure: Regenerated.
26283 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26285 * Makeconfig (+link-static-before-libc): Use
26286 $(DEFAULT-LDFLAGS-$(@F)).
26287 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
26288 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
26289 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
26291 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26293 * elf/Makefile (tests): Add tst-main1.
26294 (modules-names): Add tst-main1mod.
26295 ($(objpfx)tst-main1): New.
26296 (CRT-tst-main1): Likewise.
26297 (LDFLAGS-tst-main1): Likewise.
26298 (LDLIBS-tst-main1): Likewise.
26299 (tst-main1mod.so-no-z-defs): Likewise.
26300 * elf/tst-main1.c: New file.
26301 * elf/tst-main1mod.c: Likewise.
26303 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26305 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
26307 2017-10-04 Joseph Myers <joseph@codesourcery.com>
26309 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
26310 (fma): Define using libm_alias_double.
26311 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
26312 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
26314 (fmal): Do not define as compat symbol here.
26315 * sysdeps/alpha/fpu/s_fma.c: New file.
26317 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26319 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
26321 2017-10-04 Joseph Myers <joseph@codesourcery.com>
26324 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
26326 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
26328 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
26329 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26330 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
26331 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
26332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26333 Include <math_ldbl_opt.h>
26334 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
26336 (compat_symbol): Undefine and redefine.
26337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
26339 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26340 (compat_symbol): Undefine and redefine.
26341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
26342 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
26343 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
26344 GLIBC_2_1 for libm.
26345 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
26346 GLIBC_2.0 copysignl symbol.
26347 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
26348 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
26350 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
26352 2017-10-04 Florian Weimer <fweimer@redhat.com>
26354 * scripts/check-local-headers.sh: Ignore nspr4 header file
26355 directory in addition to nspr.
26357 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
26360 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
26361 * configure: Regenerate.
26362 * crypt/Makefile (nss-cpp-flags): New variable.
26363 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
26364 (CPPFLAGS-md5-crypt.c): Use it.
26365 * scripts/check-local-headers.sh: Ignore nspr header file
26368 2017-10-04 Andreas Schwab <schwab@suse.de>
26370 * nis/Makefile (services): Remove compat.
26371 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
26372 ($(objpfx)libnss_compat.so): Remove rule.
26373 * nis/Versions (libnss_compat): Remove.
26374 * nss/Makefile (services): Add compat.
26375 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
26376 * nss/Versions (libnss_compat): Define.
26377 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
26378 Don't include <rpc/types.h>. Replace bool_t by bool.
26379 * nss/nss_compat/compat-initgroups.c: Likewise.
26380 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
26381 instead of <rpcsrv/ypclnt.h>.
26382 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
26383 yp_get_default_domain.
26384 * nss/nss_compat/compat-pwd.c: Likewise.
26385 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
26386 yp_get_default_domain.
26387 * nss/nss_compat/nisdomain.c: New file.
26388 * nss/nss_compat/nisdomain.h: Likewise.
26390 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26393 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
26394 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26396 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26399 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
26400 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
26402 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26404 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
26405 "movl main@GOTOFF(%ebx), %eax".
26407 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26409 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
26410 allow undefined _DYNAMIC in PIE libc.a.
26411 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
26414 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26416 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
26419 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26421 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
26424 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26426 * math/test-math-iscanonical.cc (error): Replace bool with int.
26428 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26430 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
26431 (modf): Define using libm_alias_double, only if [!__modf].
26432 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
26433 <libm-alias-double.h>.
26434 (modf): Define using libm_alias_double, only if [!__modf].
26435 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
26436 compat symbol here.
26437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
26438 (weak_alias): Do not undefine and redefine.
26439 (strong_alias): Likewise.
26440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
26441 (weak_alias): Likewise.
26442 (strong_alias): Likewise.
26444 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
26445 (logb): Define using libm_alias_double, only if [!__logb].
26446 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
26447 <libm-alias-double.h>.
26448 (logb): Define using libm_alias_double, only if [!__logb].
26449 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
26450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
26451 (weak_alias): Do not undefine and redefine.
26452 (strong_alias): Likewise.
26453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
26454 (weak_alias): Likewise.
26455 (strong_alias): Likewise.
26457 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26459 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
26460 Check SHARED instead PIC.
26462 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26464 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
26465 [!__fmaf] (fmaf): Define using libm_alias_float.
26467 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
26468 (frexp): Define using libm_alias_double.
26469 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
26470 <libm-alias-double.h>.
26471 (frexp): Define using libm_alias_double.
26472 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
26473 compat symbol here.
26475 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26478 * math/math.h: Trivial fix for unbalanced parentheses in comment.
26479 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
26480 (CFLAGS-test-math-iscanonical.cc): New variable.
26481 * math/test-math-iscanonical.cc: New file.
26482 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
26483 Provide a C++ implementation based on function overloading,
26484 rather than using __MATH_TG, which uses C-only builtins.
26485 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
26487 * sysdeps/powerpc/powerpc64le/Makefile
26488 (CFLAGS-test-math-iscanonical.cc): New variable.
26490 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26492 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
26493 (ceil): Define using libm_alias_double.
26494 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
26495 (floor): Define using libm_alias_double.
26496 * sysdeps/ieee754/dbl-64/s_llround.c: Include
26497 <libm-alias-double.h>.
26498 (llround): Define using libm_alias_double.
26499 * sysdeps/ieee754/dbl-64/s_lround.c: Include
26500 <libm-alias-double.h>.
26501 (lround): Define using libm_alias_double.
26502 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
26503 <libm-alias-double.h>.
26504 (nearbyint): Define using libm_alias_double.
26505 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
26506 <libm-alias-double.h>.
26507 (remquo): Define using libm_alias_double.
26508 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
26509 (rint): Define using libm_alias_double.
26510 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
26511 (round): Define using libm_alias_double.
26512 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
26513 (trunc): Define using libm_alias_double.
26514 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
26515 <libm-alias-double.h>.
26516 (ceil): Define using libm_alias_double.
26517 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
26518 <libm-alias-double.h>.
26519 (floor): Define using libm_alias_double.
26520 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
26521 <libm-alias-double.h>.
26522 (llround): Define using libm_alias_double.
26523 [_LP64] (lround): Likewise.
26524 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
26525 <libm-alias-double.h>.
26526 [!_LP64] (lround): Define using libm_alias_double.
26527 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
26528 <libm-alias-double.h>.
26529 (nearbyint): Define using libm_alias_double.
26530 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
26531 <libm-alias-double.h>.
26532 (remquo): Define using libm_alias_double.
26533 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
26534 <libm-alias-double.h>.
26535 (rint): Define using libm_alias_double.
26536 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
26537 <libm-alias-double.h>.
26538 (round): Define using libm_alias_double.
26539 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
26540 <libm-alias-double.h>.
26541 (trunc): Define using libm_alias_double.
26542 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
26543 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
26544 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
26545 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
26546 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
26547 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
26548 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
26549 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
26550 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
26552 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26554 * math/w_remainder.c: New file.
26555 * math/w_remainderf.c: New file.
26556 * math/w_remainderl.c: New file.
26558 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26560 * elf/rtld.c (BOOTSTRAP_MAP): New.
26561 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
26562 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26564 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26566 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26569 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
26571 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
26572 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
26573 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
26574 rtld_hidden_data_ver): Define to empty.
26575 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
26576 __assert_perror_fail): Likewise.
26577 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26578 (__rewinddir): Likewise.
26579 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26580 (__profile_frequency): Likewise.
26581 * include/setjmp.h (__sigsetjmp): Likewise.
26582 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
26583 __libc_sigaction): Likewise.
26584 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
26585 not set hidden attribute.
26586 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
26587 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
26588 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
26589 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
26590 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
26591 __fxstatat64): Likewise.
26592 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26593 (__uname): Likewise.
26594 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26595 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
26596 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
26597 (NO_RTLD_HIDDEN): Set.
26598 * sysdeps/mach/hurd/configure: Refresh.
26599 * config.h.in: Refresh.
26601 2017-10-02 Joseph Myers <joseph@codesourcery.com>
26603 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
26604 (atan): Define using libm_alias_double.
26605 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
26606 (tan): Define using libm_alias_double.
26607 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
26608 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
26610 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
26611 define as weak alias of __atan. Do not define any aliases if
26613 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
26614 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
26615 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
26616 as weak alias of __tan. Do not define any aliases if [__tan].
26617 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
26618 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
26619 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
26621 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
26622 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
26623 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
26624 and define as weak alias of __atan.
26625 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
26627 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
26628 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
26629 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
26630 define as weak alias of __tan.
26632 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26634 * math/w_lgamma.c: New file.
26635 * math/w_lgammaf.c: New file.
26636 * math/w_lgammal.c: New file.
26638 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26640 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
26641 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
26642 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
26643 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
26644 * sysdeps/ieee754/flt-32/w_logf.c: New file.
26645 * sysdeps/ieee754/flt-32/w_powf.c: New file.
26646 * sysdeps/i386/fpu/w_log2f.c: New file.
26647 * sysdeps/i386/fpu/w_logf.c: New file.
26648 * sysdeps/i386/fpu/w_powf.c: New file.
26649 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
26650 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
26651 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
26653 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26654 H.J. Lu <hongjiu.lu@intel.com>
26656 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
26657 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
26658 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
26659 * sysdeps/ieee754/flt-32/w_expf.c: New file.
26660 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
26662 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
26663 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
26664 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
26665 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
26666 * sysdeps/i386/fpu/w_exp2f.c: New file.
26667 * sysdeps/i386/fpu/w_expf.c: New file.
26668 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
26669 * sysdeps/x86_64/fpu/w_expf.c: New file.
26671 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26673 * math/Versions (logf): New libm symbol at GLIBC_2.27.
26676 * math/w_log2f.c: New file.
26677 * math/w_logf.c: New file.
26678 * math/w_powf.c: New file.
26679 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
26680 * math/w_logf_compat.c (__logf_compat): Likewise.
26681 * math/w_powf_compat.c (__powf_compat): Likewise.
26682 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
26683 * sysdeps/ia64/fpu/e_logf.S: Likewise.
26684 * sysdeps/ia64/fpu/e_powf.S: Likewise.
26685 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
26686 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26687 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26688 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26689 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26690 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26691 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26692 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26693 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26694 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26695 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26696 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26705 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26706 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26707 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26708 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26709 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26710 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26712 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26714 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26715 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26716 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26718 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26720 * sysdeps/powerpc/powerpc64/multiarch/Makefile
26721 (sysdep_routines): Add memrchr_power8.
26722 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26723 (memrchr): Add __memrchr_power8 to list of memrchr functions.
26724 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
26726 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
26727 (memrchr): Add __memrchr_power8 to ifunc list.
26728 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
26730 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26733 * sysdeps/unix/sysv/linux/posix_fadvise64.c
26734 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
26736 * sysdeps/unix/sysv/linux/posix_fallocate64.c
26737 (__posix_fallocate64_l64): Likewise.
26739 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26742 * sysdeps/unix/sysv/linux/sched_setaffinity.c
26743 (__sched_setaffinity_new): Add libc_hidden_proto and
26746 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26749 * include/glob.h (__glob64): Add libc_hidden_proto.
26750 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
26753 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26756 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
26759 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26762 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
26764 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26767 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
26770 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26773 * csu/version.c (__libc_print_version): Add attribute_hidden.
26775 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26778 * include/libc-internal.h (__init_misc): Add attribute_hidden.
26780 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26783 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
26785 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26788 * nscd/nscd_helper.c (__nis_hash): New prototype.
26790 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26793 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
26794 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
26796 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26797 * termios/tcgetattr.c (__tcgetattr): Likewise.
26799 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26802 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
26803 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
26804 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
26805 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
26806 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
26808 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26811 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
26813 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26816 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
26817 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
26819 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26822 * intl/hash-string.h (__hash_string): Add attribute_hidden.
26824 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26827 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
26828 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
26830 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26833 * include/ifreq.h: New file.
26834 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
26835 (__ifreq): Likewise.
26836 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
26837 (__ifreq): Likewise.
26839 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26842 * include/idna.h: New file.
26843 * inet/getnameinfo.c: Include <idna.h> instead of
26845 (__idna_to_unicode_lzlz): Removed.
26846 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
26848 (__idna_to_ascii_lz): Removed.
26849 (__idna_to_unicode_lzlz): Likewise.
26851 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26854 * include/plural-exp.h: New file.
26855 * intl/plural-exp.c: Include <plural-exp.h> instead of
26858 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26861 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
26862 "getsourcefilter.h".
26863 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
26864 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
26865 "getsourcefilter.h".
26866 (__get_sol): Removed.
26868 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26871 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
26873 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
26875 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26878 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
26881 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26884 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
26886 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26889 * include/search.h (__tdestroy): Add libc_hidden_proto.
26890 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
26892 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26895 * include/assert.h (__assert_fail_base): Add attribute_hidden.
26897 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26900 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
26903 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26906 * include/signal.h (__kill): Add libc_hidden_proto.
26907 (__sigblock): Likewise.
26908 (__sigprocmask): Likewise.
26909 (__sigaltstack): Likewise.
26910 * signal/kill.c (__kill): Add libc_hidden_def.
26911 * signal/sigblock.c (__sigblock): Likewise.
26912 * signal/sigprocmask.c (__sigprocmask): Likewise.
26913 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
26914 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
26915 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
26916 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
26917 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
26919 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
26921 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
26922 (__sigprocmask): Likewise.
26923 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
26925 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
26926 (__sigprocmask): Likewise.
26927 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
26930 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26933 * include/string.h (__strsep): Add libc_hidden_proto.
26934 * string/strsep.c (__strsep): Add libc_hidden_def.
26936 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26939 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
26941 (__spawni): Likewise.
26943 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26946 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
26947 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
26950 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26953 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
26955 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26958 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
26959 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
26960 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
26961 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
26962 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
26964 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
26965 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
26967 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26970 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
26971 (__dcigettext): Likewise.
26973 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26976 * include/sys/sysinfo.h (__get_nprocs_conf): Add
26978 (__get_nprocs): Likewise.
26979 (__get_phys_pages): Likewise.
26980 (__get_avphys_pages): Likewise.
26981 (__get_child_max): Add attribute_hidden.
26982 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
26983 (__get_nprocs): Likewise.
26984 (__get_phys_pages): Likewise.
26985 (__get_avphys_pages): Likewise.
26986 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
26988 (__get_nprocs): Likewise.
26989 (__get_phys_pages): Likewise.
26990 (__get_avphys_pages): Likewise.
26991 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
26993 (__get_nprocs_conf): Likewise.
26994 (__get_phys_pages): Likewise.
26995 (__get_avphys_pages): Likewise.
26997 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27000 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
27002 (__netlink_close): Likewise.
27003 (__netlink_free_handle): Likewise.
27004 (__netlink_request): Likewise.
27006 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27009 * include/rpc/rpc.h (__rpc_thread_variables): Add
27011 (__rpc_thread_svc_cleanup): Likewise.
27012 (__rpc_thread_clnt_cleanup): Likewise.
27013 (__rpc_thread_key_cleanup): Likewise.
27015 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27018 * include/sys/uio.h (__readv): Add libc_hidden_proto.
27019 (__writev): Likewise.
27020 * misc/readv.c (__readv): Add libc_hidden_def.
27021 * misc/writev.c (__writev): Likewise.
27022 * sysdeps/posix/readv.c (__readv): Likewise.
27023 * sysdeps/posix/writev.c (__writev): Likewise.
27024 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
27025 (__readv): Likewise.
27026 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
27027 (__writev): Likewise.
27029 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27032 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
27033 (__regcomp): Add libc_hidden_proto.
27034 (__regexec): Likewise.
27035 (__regfree): Likewise.
27036 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
27037 (__regfree): Likewise.
27038 * posix/regexec.c (__regexec): Likewise.
27040 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27043 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
27044 (__getutent): Likewise.
27045 (__getutid): Likewise.
27046 (__getutline): Likewise.
27047 (__pututline): Likewise.
27048 (__getutent_r): Likewise.
27049 (__getutid_r): Likewise.
27050 (__getutline_r): Likewise.
27051 (__utmpname): Add attribute_hidden.
27052 (__setutent): Likewise.
27053 (__endutent): Likewise.
27054 * login/getutent.c (__getutent): Add libc_hidden_def.
27055 * login/getutent_r.c (__getutent_r): Likewise.
27056 (__pututline): Likewise.
27057 * login/getutid.c (__getutid): Likewise.
27058 * login/getutid_r.c (__getutid_r): Likewise.
27059 * login/getutline.c (__getutline): Likewise.
27060 * login/getutline_r.c (__getutline_r): Likewise.
27061 * login/updwtmp.c (__updwtmp): Likewise.
27063 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27066 * include/dirent.h (__opendir): Always add attribute_hidden.
27067 (__fdopendir): Likewise.
27068 (__closedir): Likewise.
27069 (__readdir): Likewise.
27070 (__readdir64): Add libc_hidden_proto.
27071 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
27072 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
27073 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
27074 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
27077 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27080 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
27081 * include/netdb.h (__gethostbyaddr_r): Likewise.
27082 (__gethostbyname_r): Likewise.
27083 (__gethostbyname2_r): Likewise.
27084 (__getnetbyaddr_r): Likewise.
27085 (__getnetbyname_r): Likewise.
27086 (__getservbyname_r): Likewise.
27087 (__getservbyport_r): Likewise.
27088 (__getprotobyname_r): Likewise.
27089 (__getprotobynumber_r): Likewise.
27090 (__getnetgrent_r): Likewise.
27091 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
27092 (__getrpcbynumber_r): Likewise.
27093 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
27095 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27098 * include/stdio.h (__fcloseall): Add attribute_hidden.
27099 (__getline): Likewise.
27100 (__path_search): Likewise.
27101 (__gen_tempname): Likewise.
27102 (__libc_message): Likewise.
27103 (__flockfile): Likewise.
27104 (__funlockfile): Likewise.
27105 (__fxprintf): Likewise.
27106 (__fxprintf_nocancel): Likewise.
27108 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27111 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
27112 (__sgetsgent_r): Likewise.
27114 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27117 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
27118 (__statfs64): Likewise.
27119 (__fstatfs64): Likewise.
27120 * include/sys/statvfs.h (__statvfs64): Likewise.
27121 (__fstatvfs64): Likewise.
27122 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
27123 (__statfs_filesize_max): Likewise.
27124 (__statfs_symlinks): Likewise.
27125 (__statfs_chown_restricted): Likewise.
27127 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27130 * include/time.h (__tzstring): Add attribute_hidden.
27131 (__tzfile_read): Likewise.
27132 (__tzfile_compute): Likewise.
27133 (__tzfile_default): Likewise.
27134 (__tzset_parse_tz): Likewise.
27135 (__offtime): Likewise.
27136 (__asctime_r): Likewise.
27137 (__tzset): Likewise.
27138 (__tz_convert): Likewise.
27139 (__getdate_r): Likewise.
27140 (__getclktck): Likewise.
27142 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27145 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
27146 (__nscd_unmap): Likewise.
27147 (__nscd_cache_search): Likewise.
27148 (__nscd_get_nl_timestamp): Likewise.
27149 (__nscd_getpwnam_r): Likewise.
27150 (__nscd_getpwuid_r): Likewise.
27151 (__nscd_getgrnam_r): Likewise.
27152 (__nscd_getgrgid_r): Likewise.
27153 (__nscd_gethostbyname_r): Likewise.
27154 (__nscd_gethostbyname2_r): Likewise.
27155 (__nscd_gethostbyaddr_r): Likewise.
27156 (__nscd_getai): Likewise.
27157 (__nscd_getgrouplist): Likewise.
27158 (__nscd_getservbyname_r): Likewise.
27159 (__nscd_getservbyport_r): Likewise.
27160 (__nscd_innetgr): Likewise.
27161 (__nscd_setnetgrent): Likewise.
27163 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27166 * include/gmp.h: Declare internal functions only if _ISOMAC is
27168 (__mpn_extract_double): Add attribute_hidden.
27169 (__mpn_extract_long_double): Likewise.
27170 (__mpn_extract_float128): Likewise.
27171 (__mpn_construct_float): Likewise.
27172 (__mpn_construct_double): Likewise.
27173 (__mpn_construct_long_double): Likewise.
27174 (__mpn_construct_float128): Likewise.
27175 (mpn_add_1): Likewise.
27176 (mpn_addmul_1): Likewise.
27177 (mpn_add_n): Likewise.
27178 (mpn_cmp): Likewise.
27179 (mpn_divrem): Likewise.
27180 (mpn_lshift): Likewise.
27181 (mpn_mul): Likewise.
27182 (mpn_mul_1): Likewise.
27183 (mpn_rshift): Likewise.
27184 (mpn_sub_1): Likewise.
27185 (mpn_submul_1): Likewise.
27186 (mpn_sub_n): Likewise.
27188 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27191 * include/wchar.h (__wcsnlen): Add attribute_hidden.
27192 (__wcscat): Likewise.
27193 (__btowc): Likewise.
27194 (__wcrtomb): Likewise.
27195 (__mbsrtowcs): Likewise.
27196 (__wcsrtombs): Likewise.
27197 (__mbsnrtowcs): Likewise.
27198 (__wcsnrtombs): Likewise.
27199 (__wcsncpy): Likewise.
27200 (__wcpncpy): Likewise.
27201 (__wmemcpy): Likewise.
27202 (__wmempcpy): Likewise.
27203 (__wmemmove): Likewise.
27204 (__wcschrnul): Likewise.
27205 (__vfwscanf): Likewise.
27206 (__vswprintf): Likewise.
27207 (__fwprintf): Likewise.
27208 (__vfwprintf): Likewise.
27210 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27213 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
27214 (__getgrgid_r): Likewise.
27215 (__getgrnam_r): Likewise.
27216 * include/pwd.h (__getpwuid_r): Likewise.
27217 (__getpwnam_r): Likewise.
27218 (__fgetpwent_r): Likewise.
27219 * include/shadow.h (__getspnam_r): Likewise.
27220 (__sgetspent_r): Likewise.
27221 (__fgetspent_r): Likewise.
27223 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27226 * include/unistd.h (__access): Add attribute_hidden.
27227 (__lseek64): Likewise.
27228 (__libc_pread64): Likewise.
27229 (__pipe2): Likewise.
27230 (__sleep): Likewise.
27231 (__chdir): Likewise.
27232 (__fchdir): Likewise.
27233 (__getcwd): Likewise.
27234 (__rmdir): Likewise.
27235 (__execvpe): Likewise.
27236 (__execve): Likewise.
27237 (__setsid): Likewise.
27238 (__getuid): Likewise.
27239 (__geteuid): Likewise.
27240 (__getgid): Likewise.
27241 (__getegid): Likewise.
27242 (__getgroups): Likewise.
27243 (__group_member): Likewise.
27244 (__ttyname_r): Likewise.
27245 (__isatty): Likewise.
27246 (__readlink): Likewise.
27247 (__unlink): Likewise.
27248 (__gethostname): Likewise.
27249 (__profil): Likewise.
27250 (__getdtablesize): Likewise.
27252 (__ftruncate): Likewise.
27253 (__ftruncate64): Likewise.
27255 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27258 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
27259 * argp/argp-fs-xinl.c: Likewise.
27260 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
27261 * argp/argp-parse.c: Include <argp.h>.
27262 * argp/argp-xinl.c: Likewise.
27263 * include/argp-fmtstream.h: New file.
27264 * include/argp.h (__argp_error): Add attribute_hidden.
27265 (__argp_failure): Likewise.
27266 (__argp_input): Likewise.
27267 (__argp_state_help): Likewise.
27269 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27272 * include/wchar.h (____wcstof_l_internal): New prototype.
27273 (____wcstod_l_internal): Likewise.
27274 (____wcstold_l_internal): Likewise.
27275 (____wcstol_l_internal): Likewise.
27276 (____wcstoul_l_internal): Likewise.
27277 (____wcstoll_l_internal): Likewise.
27278 (____wcstoull_l_internal): Likewise.
27279 (____wcstof128_l_internal): Likewise.
27280 * sysdeps/ieee754/float128/wcstof128.c
27281 (____wcstof128_l_internal): Removed.
27282 * sysdeps/ieee754/float128/wcstof128_l.c
27283 (____wcstof128_l_internal): Likewise.
27284 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
27285 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
27286 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
27287 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
27288 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
27289 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
27290 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
27291 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
27292 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
27293 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
27295 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27298 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
27299 instead of <sys/statvfs.h>.
27300 (__internal_statvfs): Removed.
27301 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
27302 instead of <sys/statvfs.h>.
27303 (__internal_statvfs64): Removed.
27304 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
27305 "internal_statvfs.h" instead of <sys/statvfs.h>.
27306 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
27307 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
27308 instead of <sys/statvfs.h>.
27309 (__internal_statvfs): Removed.
27310 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
27311 instead of <sys/statvfs.h>.
27312 (__internal_statvfs64): Removed.
27314 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27317 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
27318 (__gconv_close): Likewise.
27319 (__gconv): Likewise.
27320 (__gconv_find_transform): Likewise.
27321 (__gconv_lookup_cache): Likewise.
27322 (__gconv_compare_alias_cache): Likewise.
27323 (__gconv_load_cache): Likewise.
27324 (__gconv_get_path): Likewise.
27325 (__gconv_close_transform): Likewise.
27326 (__gconv_release_cache): Likewise.
27327 (__gconv_find_shlib): Likewise.
27328 (__gconv_release_shlib): Likewise.
27329 (__gconv_get_builtin_trans): Likewise.
27330 (__gconv_compare_alias): Likewise.
27331 * include/dlfcn.h (_dlerror_run): Likewise.
27332 * include/stdio.h (__fortify_fail_abort): Likewise.
27333 * include/time.h (__tz_compute): Likewise.
27334 (__strptime_internal): Likewise.
27335 * intl/gettextP.h (_nl_find_domain): Likewise.
27336 (_nl_load_domain): Likewise.
27337 (_nl_find_msg): Likewise.
27338 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
27339 (EXTRACT_PLURAL_EXPRESSION): Likewise.
27340 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
27341 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
27342 (__gai_find_request): Likewise.
27343 (__gai_remove_request): Likewise.
27344 (__gai_notify): Likewise.
27345 (__gai_notify_only): Likewise.
27346 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
27347 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
27348 (_dl_non_dynamic_init): Likewise.
27349 (_dl_aux_init): Likewise.
27350 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
27351 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
27353 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
27354 (__wcsmbs_clone_conv): Likewise.
27355 (__wcsmbs_named_conv): Likewise.
27357 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27360 * include/stdlib.h (__random): Add attribute_hidden.
27361 (__random_r): Likewise.
27362 (__srandom_r): Likewise.
27363 (__initstate_r): Likewise.
27364 (__setstate_r): Likewise.
27365 (__erand48_r): Likewise.
27366 (__nrand48_r): Likewise.
27367 (__jrand48_r): Likewise.
27368 (__srand48_r): Likewise.
27369 (__seed48_r): Likewise.
27370 (__lcong48_r): Likewise.
27371 (__drand48_iterate): Likewise.
27372 (__setenv): Likewise.
27373 (__unsetenv): Likewise.
27374 (__clearenv): Likewise.
27375 (__ptsname_r): Likewise.
27376 (__posix_openpt): Likewise.
27377 (__add_to_environ): Likewise.
27378 (__realpath): Add libc_hidden_proto.
27379 (__ecvt_r): Likewise.
27380 (__fcvt_r): Likewise.
27381 (__qecvt_r): Likewise.
27382 (__qfcvt_r): Likewise.
27383 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
27384 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
27386 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27389 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
27390 * include/time.h (__mktime_internal): Likewise.
27391 * libio/iolibio.h (__fopen_internal): Likewise.
27393 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
27395 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
27397 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
27398 Correct offset used to restore PIC register.
27400 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
27403 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
27404 code to load address of __getcontext_ret when generating PIC code.
27406 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
27408 * elf/Makefile (tests-static-internal): Add
27409 tst-tls1-static-non-pie.
27410 (LDFLAGS-tst-tls1-static-non-pie): New.
27411 * elf/tst-tls1-static-non-pie.c: New file.
27413 2017-09-29 Joseph Myers <joseph@codesourcery.com>
27415 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
27416 (asinh): Define using libm_alias_double.
27417 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
27418 (cbrt): Define using libm_alias_double.
27419 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
27420 <libm-alias-double.h>.
27421 (copysign): Define using libm_alias_double.
27422 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
27423 (erf): Define using libm_alias_double.
27425 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
27426 (expm1): Define using libm_alias_double.
27427 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
27428 (fabs): Define using libm_alias_double.
27429 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
27431 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
27432 <libm-alias-double.h>.
27433 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
27435 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
27436 <libm-alias-double.h>.
27437 (getpayload): Define using libm_alias_double.
27438 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
27439 <libm-alias-double.h>.
27440 (llrint): Define using libm_alias_double.
27441 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
27442 (lrint): Define using libm_alias_double.
27443 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
27444 <libm-alias-double.h>.
27445 (nextup): Define using libm_alias_double.
27446 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
27447 <libm-alias-double.h>.
27448 (roundeven): Define using libm_alias_double.
27449 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
27451 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
27452 <libm-alias-double.h>.
27453 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
27454 using libm_alias_double.
27455 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
27456 (cos): Define using libm_alias_double.
27458 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
27459 <libm-alias-double.h>.
27460 (sincos): Define using libm_alias_double.
27461 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
27462 (tanh): Define using libm_alias_double.
27463 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
27464 <libm-alias-double.h>.
27465 (totalorder): Define using libm_alias_double.
27466 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
27467 <libm-alias-double.h>.
27468 (totalordermag): Define using libm_alias_double.
27469 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
27471 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
27473 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
27474 <libm-alias-double.h>.
27475 (getpayload): Define using libm_alias_double.
27476 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
27477 <libm-alias-double.h>.
27478 (roundeven): Define using libm_alias_double.
27479 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
27480 <libm-alias-double.h>.
27481 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
27482 <libm-alias-double.h>.
27483 (totalorder): Define using libm_alias_double.
27484 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
27485 <libm-alias-double.h>.
27486 (totalordermag): Define using libm_alias_double.
27487 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
27488 libc compat symbol here.
27489 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
27490 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
27491 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
27492 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
27493 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
27494 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
27495 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
27496 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
27497 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
27498 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
27500 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27502 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
27503 _dl_relocate_static_pie instead of _dl_start to compute load
27504 address in static PIE. Return 0 if _DYNAMIC is undefined for
27507 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27509 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
27510 _DYNAMIC is undefined for static executable.
27512 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27514 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
27516 2017-09-29 Joseph Myers <joseph@codesourcery.com>
27518 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27520 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
27522 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
27523 (__ieee754_lgamma_r): Use fabs rather than __fabs.
27524 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
27525 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
27526 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
27527 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
27528 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
27529 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
27530 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
27531 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
27532 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
27533 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
27534 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
27535 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
27536 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
27537 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
27538 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
27540 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
27542 * math/bits/cmathcalls.h (cimag): Remove inline.
27543 (creal): Remove inline.
27544 (conj): Remove inline.
27546 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27548 * math/Makefile (type-float-routines): Add e_powf_log2_data.
27549 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
27550 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
27551 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
27552 (issignalingf_inline): Likewise.
27553 (POWF_LOG2_TABLE_BITS): Likewise.
27554 (POWF_LOG2_POLY_ORDER): Likewise.
27555 (POWF_SCALE_BITS): Likewise.
27556 (POWF_SCALE): Likewise.
27557 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
27558 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
27559 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
27561 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27563 * math/Makefile (type-float-routines): Add e_log2f_data.
27564 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
27565 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
27566 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
27567 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
27568 * sysdeps/i386/fpu/e_log2f_data.c: New file.
27569 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
27570 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
27572 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27574 * math/Makefile (type-float-routines): Add e_logf_data.
27575 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
27576 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
27577 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
27578 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
27579 * sysdeps/i386/fpu/e_logf_data.c: New file.
27580 * sysdeps/ia64/fpu/e_logf_data.c: New file.
27581 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
27583 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
27585 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
27586 undefined _DYNAMIC in PIE libc.a.
27587 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
27590 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
27592 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
27593 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
27594 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
27595 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
27596 (__signbit): Remove.
27597 (__signbitl): Remove.
27598 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
27599 (__signbit): Remove.
27600 (__signbitl): Remove.
27601 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
27602 (__signbit): Remove.
27603 (__signbitl): Remove.
27604 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
27605 (__signbit): Remove.
27606 (__signbitl): Remove.
27607 * sysdeps/tile/bits/mathinline.h: Delete file.
27608 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
27609 (__signbit): Remove.
27610 (__signbitl): Remove.
27612 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
27614 * math/math.h: Improve handling of C99 isgreater macros.
27615 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
27616 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
27617 * sysdeps/powerpc/bits/mathinline.h: Likewise.
27618 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27619 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
27621 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
27623 * sysdeps/aarch64/libm-test-ulps: Update.
27625 2017-09-28 Joseph Myers <joseph@codesourcery.com>
27628 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27629 math_opt_barrier on argument when doing arithmetic on it.
27630 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27631 Likewise. Use math_force_eval not math_opt_barrier after
27633 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
27634 math_opt_barrier on argument when doing arithmetic on it.
27635 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27638 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
27640 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
27642 (__freeifaddrs): Likewise.
27644 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
27646 * include/dirent.h (__dirfd): New declaration.
27647 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
27649 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
27650 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
27651 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
27652 * include/unistd.h (__revoke): New declaration.
27653 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
27655 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
27656 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
27658 * include/dirent.h (__seekdir): New declaration.
27659 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
27660 redefine as weak alias.
27661 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
27663 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
27664 and use libc_hidden_def on them.
27665 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
27667 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
27668 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
27669 instead of getifaddrs and freeifaddrs.
27671 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27674 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
27675 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
27676 (__dso_handle): Remove declaration.
27677 * dlfcn/tstatexit.c (__dso_handle): Removed.
27678 (main): Don't check __dso_handle.
27679 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
27680 (main): Don't check __dso_handle.
27681 * include/dso_handle.h: New file.
27682 * malloc/mtrace.c: Include <dso_handle.h>.
27683 (mtrace): Pass __dso_handle directly.
27684 * nptl/pthread_atfork.c: Include <dso_handle.h>.
27685 (__dso_handle): Remove declaration.
27686 (__pthread_atfork): Pass __dso_handle directly.
27687 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
27688 (__dso_handle): Removed.
27689 * posix/wordexp-test.c: Include <dso_handle.h>.
27690 (__dso_handle): Remove declaration.
27691 (__app_register_atfork): Pass __dso_handle directly.
27692 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
27693 (__dso_handle): Remove declaration.
27694 (at_quick_exit): Pass __dso_handle directly.
27695 * stdlib/atexit.c: Include <dso_handle.h>.
27696 (__dso_handle): Remove declaration.
27697 (atexit): Pass __dso_handle directly.
27698 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
27699 (__dso_handle): Removed.
27701 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27703 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
27706 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
27708 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
27709 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
27710 values to correct default value for given type.
27712 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27715 * elf/Makefile (tests): Add tst-debug1.
27716 ($(objpfx)tst-debug1): New.
27717 ($(objpfx)tst-debug1.out): Likewise.
27718 ($(objpfx)tst-debug1mod1.so): Likewise.
27719 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
27720 with p_filesz == 0.
27721 * elf/tst-debug1.c: New file.
27723 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27725 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
27726 Define using __ifunc.
27728 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27730 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
27733 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27736 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
27738 2017-09-26 Florian Weimer <fweimer@redhat.com>
27740 * resolv/Makefile (tests-internal): Fix typo in comment.
27742 2017-09-26 Florian Weimer <fweimer@redhat.com>
27744 * resolv/nss_dns/dns-host.c: Fix typo in comment.
27746 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27748 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
27749 Use an union instead of a max_align_t array for __space,
27750 so that __space is the same size on all platforms.
27751 * malloc/scratch_buffer_grow_preserve.c
27752 (__libc_scratch_buffer_grow_preserve): Likewise.
27755 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
27757 * posix/Makefile (routines): Add glob-lstat-compat and
27758 glob64-lstat-compat.
27759 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
27760 * posix/glob-lstat-compat.c: New file.
27761 * posix/glob64-lstat-compat.c: Likewise.
27762 * posix/tst-glob_lstat_compat.c: Likewise.
27763 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
27764 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
27765 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
27766 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
27768 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
27769 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
27770 * posix/glob.c (glob_lstat): New function.
27771 (glob): Rename to __glob and add versioned symbol to 2.27.
27772 (glob_in_dir): Use glob_lstat.
27773 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
27774 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
27775 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
27777 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
27778 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
27779 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
27780 gl_lstat on glob call.
27781 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
27782 and glob64 symbols.
27783 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27784 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
27785 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
27786 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
27787 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
27788 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
27789 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
27790 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
27791 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
27792 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27793 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27794 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
27795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
27797 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
27798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
27799 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27800 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27801 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
27802 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27803 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27804 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
27805 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
27806 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
27807 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
27808 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
27810 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
27812 * configure.ac (AS): Require binutils 2.25 or later.
27813 * configure: Regenerated.
27815 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
27818 * stdlib/test-atexit-race-common.c (do_test): Minimize required
27821 2017-09-25 DJ Delorie <dj@redhat.com>
27824 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
27827 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
27829 * sysdeps/ieee754/dbl-64/sincos32.h
27830 [SINCCOS32_H]: Remove define.
27831 [SINCOS32_H]: Define.
27833 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27835 * math/Versions (expf): New libm symbol at GLIBC_2.27.
27837 * math/w_exp2f.c: New file.
27838 * math/w_expf.c: New file.
27839 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
27840 * math/w_expf_compat.c (__expf_compat): Likewise.
27841 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
27842 * sysdeps/ia64/fpu/e_expf.S: Likewise.
27843 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
27844 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27845 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
27846 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
27847 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27848 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27849 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
27850 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
27851 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
27852 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
27853 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27854 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
27855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
27857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
27863 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27864 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27865 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
27866 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27867 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27868 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
27870 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
27872 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
27873 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27874 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27876 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27878 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
27879 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
27880 (roundtoint, converttoint): Likewise.
27881 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
27882 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
27883 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
27884 * sysdeps/ieee754/flt-32/math_config.h: New file.
27885 * sysdeps/ieee754/flt-32/math_errf.c: New file.
27886 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
27887 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
27888 * sysdeps/i386/fpu/math_errf.c: New file.
27889 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
27890 * sysdeps/ia64/fpu/math_errf.c: New file.
27891 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
27892 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
27894 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
27896 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
27897 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
27898 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
27899 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
27900 to make sure that these symbols are defined.
27901 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
27903 (__need_NULL): Do not define.
27904 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
27906 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
27907 CMGROUP_MAX, cmsgcred): Do not define.
27908 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
27910 * bits/socket.h: Likewise.
27911 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
27912 __gettimeofday instead of gettimeofday.
27913 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
27914 instead of settimeofday.
27916 2017-09-22 Joseph Myers <joseph@codesourcery.com>
27918 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
27919 (asinhf): Define using libm_alias_float.
27920 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
27921 (atanf): Define using libm_alias_float.
27922 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
27923 (cbrtf): Define using libm_alias_float.
27924 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
27925 (ceilf): Define using libm_alias_float.
27926 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
27927 <libm-alias-float.h>.
27928 (copysignf): Define using libm_alias_float.
27929 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
27930 (cosf): Define using libm_alias_float.
27931 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
27932 (erff): Define using libm_alias_float.
27934 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
27935 (expm1f): Define using libm_alias_float.
27936 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
27937 (fabsf): Define using libm_alias_float.
27938 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
27939 (floorf): Define using libm_alias_float.
27940 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
27941 (frexpf): Define using libm_alias_float.
27942 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
27944 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
27945 <libm-alias-float.h>.
27946 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
27948 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
27949 <libm-alias-float.h>.
27950 (getpayloadf): Define using libm_alias_float.
27951 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
27952 <libm-alias-float.h>.
27953 (llrintf): Define using libm_alias_float.
27954 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
27955 <libm-alias-float.h>.
27956 (llroundf): Define using libm_alias_float.
27957 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
27958 (logbf): Define using libm_alias_float.
27959 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
27960 (lrintf): Define using libm_alias_float.
27961 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
27962 (lroundf): Define using libm_alias_float.
27963 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
27964 (modff): Define using libm_alias_float.
27965 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
27966 <libm-alias-float.h>.
27967 (nearbyintf): Define using libm_alias_float.
27968 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
27969 <libm-alias-float.h>.
27970 (nextafterf): Define using libm_alias_float.
27971 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
27972 <libm-alias-float.h>.
27973 (nextupf): Define using libm_alias_float.
27974 * sysdeps/ieee754/flt-32/s_remquof.c: Include
27975 <libm-alias-float.h>.
27976 (remquof): Define using libm_alias_float.
27977 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
27978 (rintf): Define using libm_alias_float.
27979 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
27980 <libm-alias-float.h>.
27981 (roundevenf): Define using libm_alias_float.
27982 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
27983 (roundf): Define using libm_alias_float.
27984 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
27985 using libm_alias_float.
27986 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
27987 <libm-alias-float.h>.
27988 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
27989 Define using libm_alias_float.
27990 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
27991 <libm-alias-float.h>.
27992 (sincosf): Define using libm_alias_float.
27993 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
27994 (sinf): Define using libm_alias_float.
27995 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
27996 (tanf): Define using libm_alias_float.
27997 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
27998 (tanhf): Define using libm_alias_float.
27999 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
28000 <libm-alias-float.h>.
28001 (totalorderf): Define using libm_alias_float.
28002 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
28003 <libm-alias-float.h>.
28004 (totalordermagf): Define using libm_alias_float.
28005 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
28006 (truncf): Define using libm_alias_float.
28007 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
28009 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
28012 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28015 math/math.h: Let fpclassify use the builtin in C++ mode, even
28016 when optimazing for size.
28018 2017-09-22 Joseph Myers <joseph@codesourcery.com>
28020 * csu/Makefile (generated): Do not add version-info.h.
28021 (before-compile): Likewise.
28022 (all-Banner-files): Remove variable.
28023 ($(objpfx)version-info.h): Remove rule.
28024 * csu/version.c (banner): Do not include "version-info.h".
28025 * libidn/Banner: Remove.
28026 * manual/contrib.texi (Simon Josefsson): New entry.
28028 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28030 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28031 Remove conditionals on LDBL_MANT_DIG.
28032 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
28033 (__ieee754_lgammal_r): Likewise.
28035 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28037 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
28039 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
28040 _Float128 and L(). Replace _Float128 with long double and L(x)
28041 with xL, throughout the file.
28042 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
28043 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
28044 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
28045 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
28047 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28049 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
28050 sysdeps/ieee754/ldbl-128ibm.
28051 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
28052 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
28053 of including it. Keep _Float128 and L() intact. These will be
28054 reviewed by a separate patch.
28055 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
28056 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
28057 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
28058 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
28060 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
28063 (__finitef128): Define to __redirect___finitef128.
28064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
28065 (__isinff128): Define to __redirect___isinff128.
28066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
28067 (__isnanf128): Define to __redirect___isnanf128.
28069 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28071 * sysdeps/powerpc/powerpc64le/Makefile
28072 (CFLAGS-tst-strtod-nan-locale.c): New variable.
28073 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
28075 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
28076 Carlos O'Donell <carlos@redhat.com>
28079 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
28080 * stdlib/test-dlclose-exit-race.c: New file.
28081 * stdlib/test-dlclose-exit-race-helper.c: New file.
28082 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
28084 2017-09-21 Joseph Myers <joseph@codesourcery.com>
28086 * crypt/Banner: Remove file.
28087 * nptl/Banner: Likewise.
28088 * resolv/Banner: Likewise.
28089 * soft-fp/Banner: Likewise.
28090 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
28091 ($(objpfx)version.d): Remove dependency on banner.h.
28092 ($(objpfx)version.os): Likewise.
28093 * nptl/version.c (banner): Do not include banner.h.
28094 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
28095 Jelinek and BIND code.
28097 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
28098 Carlos O'Donell <carlos@redhat.com>
28100 * support/xdlfcn.h: New file.
28101 * support/xdlfcn.c: New file.
28102 * support/Makefile (libsupport-routines): Add xdlfcn.
28103 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
28105 2017-09-20 Joseph Myers <joseph@codesourcery.com>
28108 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28109 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
28110 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
28111 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
28112 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
28113 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
28114 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
28115 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
28117 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
28118 Ricky Zhou <rickyz@google.com>
28119 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
28122 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
28124 (__new_exitfn): Fail registration when we finished at_exit processing.
28125 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
28126 * stdlib/on_exit.c (__on_exit): Likewise.
28127 * stdlib/exit.c (__exit_funcs_done): New variable.
28128 (__run_exit_handlers): Use __exit_funcs_lock.
28129 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
28131 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
28132 (test-cxa_atexit-race, test-on_exit-race): New tests.
28133 * stdlib/test-atexit-race-common.c: New file.
28134 * stdlib/test-atexit-race.c: New file.
28135 * stdlib/test-at_quick_exit-race.c: New file.
28136 * stdlib/test-cxa_atexit-race.c: New file.
28137 * stdlib/test-on_exit-race.c: New file.
28139 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
28141 * benchtests/Makefile: Add exp2f and log2f benchmarks.
28142 * benchtests/exp2f-inputs: Copy of expf-inputs.
28143 * benchtests/log2f-inputs: Copy of logf-inputs.
28145 2017-09-19 Joseph Myers <joseph@codesourcery.com>
28147 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
28148 Explicitly take address of first element of array arguments in
28149 call to INLINE_SYSCALL.
28151 2017-09-19 Andreas Schwab <schwab@suse.de>
28154 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
28156 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
28158 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
28159 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
28160 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28161 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
28162 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28163 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
28164 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28165 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
28166 * posix/Makefile (tests): Add tst-fexecve.
28167 * posix/tst-fexecve.c: New file.
28169 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28171 * benchtests/Makefile: Add logf benchmark.
28172 * benchtests/logf-inputs: Add reduced trace from wrf_r.
28174 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28176 * benchtests/Makefile: Add expf benchmark.
28177 * benchtests/expf-inputs: Add reduced trace from wrf_r.
28179 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28181 * csu/Makefile: Add -funwind-tables to libc-start.c.
28182 * debug/Makefile: Add -funwind-tables to backtrace.c.
28183 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
28184 * sysdeps/arm/Makefile: Likewise.
28185 * sysdeps/i386/Makefile: Likewise.
28186 * sysdeps/m68k/Makefile: Likewise.
28187 * sysdeps/mips/Makefile: Likewise.
28188 * sysdeps/nios2/Makefile: Likewise.
28189 * sysdeps/sh/Makefile: Likewise.
28190 * sysdeps/sparc/Makefile: Likewise.
28192 2017-09-19 Joseph Myers <joseph@codesourcery.com>
28194 * benchtests/Makefile (bench-math): Add trunc and truncf.
28195 (CFLAGS-bench-trunc.c): New variable.
28196 (CFLAGS-bench-truncf.c): Likewise.
28197 * benchtests/trunc-inputs: New file.
28198 * benchtests/truncf-inputs: Likewise.
28200 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28202 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
28204 2017-09-18 Joseph Myers <joseph@codesourcery.com>
28206 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
28207 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
28209 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
28210 (exp10l): Define as weak alias.
28211 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
28212 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
28214 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
28215 (remainderl): Define as weak alias.
28217 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
28218 (fmal): Define using libm_alias_ldouble.
28219 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
28220 (acoshl): Define using libm_alias_ldouble.
28221 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
28222 (acosl): Define using libm_alias_ldouble.
28223 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
28224 (asinl): Define using libm_alias_ldouble.
28225 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
28226 (atan2l): Define using libm_alias_ldouble.
28227 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
28228 (atanhl): Define using libm_alias_ldouble.
28229 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
28230 (coshl): Define using libm_alias_ldouble.
28231 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
28232 (exp10l): Define using libm_alias_ldouble.
28233 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
28234 (exp2l): Define using libm_alias_ldouble.
28235 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
28236 (expl): Define using libm_alias_ldouble.
28237 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
28238 (fmodl): Define using libm_alias_ldouble.
28239 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
28240 (hypotl): Define using libm_alias_ldouble.
28241 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
28242 (j0l): Define using libm_alias_ldouble.
28244 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
28245 (j1l): Define using libm_alias_ldouble.
28247 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
28248 (jnl): Define using libm_alias_ldouble.
28250 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
28251 (log10l): Define using libm_alias_ldouble.
28252 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
28253 (log2l): Define using libm_alias_ldouble.
28254 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
28255 (logl): Define using libm_alias_ldouble.
28256 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
28257 (powl): Define using libm_alias_ldouble.
28258 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
28259 (remainderl): Define using libm_alias_ldouble.
28260 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
28261 (sinhl): Define using libm_alias_ldouble.
28262 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
28263 (sqrtl): Define using libm_alias_ldouble.
28264 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
28265 (tgammal): Define using libm_alias_ldouble.
28266 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
28267 (exp10l): Do not use long_double_symbol here.
28268 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
28269 [LIBM_SVID_COMPAT] (remainderl): Likewise.
28270 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
28271 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
28272 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
28273 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
28274 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
28275 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
28276 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
28277 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
28278 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
28279 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
28280 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
28281 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
28282 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
28283 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
28284 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
28285 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
28286 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
28287 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
28288 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
28289 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
28291 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
28293 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
28294 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
28296 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
28298 * io/read.c (read): Add libc_hidden_weak.
28299 * sysdeps/mach/hurd/read.c (read): Likewise.
28300 * io/write.c (write): Likewise.
28301 * sysdeps/mach/hurd/write.c (write): Likewise.
28302 * io/pread64.c (__pread64): Likewise.
28303 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
28304 * posix/pread64.c (__pread64): Add libc_hidden_def.
28306 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
28308 * benchtests/scripts/compare_strings.py: New option -g.
28309 (draw_graph): Print a message that a graph is being generated.
28310 (process_results): Generate graph only if -g is passed.
28311 (main): Process option -g.
28313 * benchtests/scripts/compare_strings.py (process_results):
28314 Better spacing for output.
28316 * benchtests/scripts/compare_strings.py: Use argparse.
28317 * benchtests/README: Document existence of compare_strings.py.
28319 2017-09-15 Joseph Myers <joseph@codesourcery.com>
28321 * math/s_fma.c: Include <libm-alias-double.h>.
28322 (fma): Define using libm_alias_double.
28323 * math/s_nextafter.c: Include <libm-alias-double.h>.
28324 (nextafter): Define using libm_alias_double.
28325 * math/w_acos_compat.c: Include <libm-alias-double.h>.
28326 (acos): Define using libm_alias_double.
28327 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
28328 (aocsh): Define using libm_alias_double.
28329 * math/w_asin_compat.c: Include <libm-alias-double.h>.
28330 (asin): Define using libm_alias_double.
28331 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
28332 (atan2): Define using libm_alias_double.
28333 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
28334 (atanh): Define using libm_alias_double.
28335 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
28336 (cosh): Define using libm_alias_double.
28337 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
28338 (exp10): Define using libm_alias_double.
28339 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
28340 (exp2): Define using libm_alias_double.
28341 * math/w_exp_compat.c: Include <libm-alias-double.h>.
28342 (exp): Define using libm_alias_double.
28343 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
28344 (fmod): Define using libm_alias_double.
28345 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
28346 (hypot): Define using libm_alias_double.
28347 * math/w_j0_compat.c: Include <libm-alias-double.h>.
28348 (j0): Define using libm_alias_double.
28350 * math/w_j1_compat.c: Include <libm-alias-double.h>.
28351 (j1): Define using libm_alias_double.
28353 * math/w_jn_compat.c: Include <libm-alias-double.h>.
28354 (jn): Define using libm_alias_double.
28356 * math/w_log10_compat.c: Include <libm-alias-double.h>.
28357 (log10): Define using libm_alias_double.
28358 * math/w_log2_compat.c: Include <libm-alias-double.h>.
28359 (log2): Define using libm_alias_double.
28360 * math/w_log_compat.c: Include <libm-alias-double.h>.
28361 (log): Define using libm_alias_double.
28362 * math/w_pow_compat.c: Include <libm-alias-double.h>.
28363 (pow): Define using libm_alias_double.
28364 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
28365 (remainder): Define using libm_alias_double.
28366 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
28367 (sinh): Define using libm_alias_double.
28368 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
28369 (sqrt): Define using libm_alias_double.
28370 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
28371 (tgamma): Define using libm_alias_double.
28372 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
28373 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
28374 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
28375 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
28376 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
28377 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
28378 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
28379 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
28380 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
28381 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
28382 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
28383 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
28384 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
28385 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
28386 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
28387 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
28388 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
28389 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
28390 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
28391 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
28392 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
28393 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
28394 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
28395 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
28396 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
28398 * math/e_acoshl.c: Remove.
28399 * math/e_acosl.c: Likewise.
28400 * math/e_asinl.c: Likewise.
28401 * math/e_atan2l.c: Likewise.
28402 * math/e_atanhl.c: Likewise.
28403 * math/e_coshl.c: Likewise.
28404 * math/e_expl.c: Likewise.
28405 * math/e_fmodl.c: Likewise.
28406 * math/e_gammal_r.c: Likewise.
28407 * math/e_hypotl.c: Likewise.
28408 * math/e_j0l.c: Likewise.
28409 * math/e_j1l.c: Likewise.
28410 * math/e_jnl.c: Likewise.
28411 * math/e_lgammal_r.c: Likewise.
28412 * math/e_log10l.c: Likewise.
28413 * math/e_log2l.c: Likewise.
28414 * math/e_logl.c: Likewise.
28415 * math/e_powl.c: Likewise.
28416 * math/e_rem_pio2l.c: Likewise.
28417 * math/e_sinhl.c: Likewise.
28418 * math/e_sqrtf128.c: Likewise.
28419 * math/e_sqrtl.c: Likewise.
28420 * math/k_cosl.c: Likewise.
28421 * math/k_sinl.c: Likewise.
28422 * math/k_tanl.c: Likewise.
28423 * math/s_asinhl.c: Likewise.
28424 * math/s_atanl.c: Likewise.
28425 * math/s_cbrtl.c: Likewise.
28426 * math/s_erfl.c: Likewise.
28427 * math/s_expm1l.c: Likewise.
28428 * math/s_log1pl.c: Likewise.
28429 * math/s_tanhl.c: Likewise.
28431 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28434 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
28435 [$(subdir) = math] (sysdep_calls): New variable. Has the
28436 previous contents of sysdep_routines, but re-sorted..
28437 [$(subdir) = math] (sysdep_routines): Re-use the contents from
28439 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
28440 defined in sysdep_calls and replace by the respective m_* names.
28441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
28442 (compat_symbol): Undefine to avoid duplicated compat symbols in
28445 2017-09-15 Joseph Myers <joseph@codesourcery.com>
28447 * math/s_fmaf.c: Include <libm-alias-float.h>.
28448 (fmaf): Define using libm_alias_float.
28449 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
28450 (acosf): Define using libm_alias_float.
28451 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
28452 (acoshf): Define using libm_alias_float.
28453 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
28454 (asinf): Define using libm_alias_float.
28455 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
28456 (atan2f): Define using libm_alias_float.
28457 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
28458 (atanhf): Define using libm_alias_float.
28459 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
28460 (coshf): Define using libm_alias_float.
28461 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
28462 (exp10f): Define using libm_alias_float.
28463 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
28464 (fmodf): Define using libm_alias_float.
28465 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
28466 (hypotf): Define using libm_alias_float.
28467 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
28468 (j0f): Define using libm_alias_float.
28470 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
28471 (j1f): Define using libm_alias_float.
28473 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
28474 (jnf): Define using libm_alias_float.
28476 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
28477 (log10f): Define using libm_alias_float.
28478 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
28479 (log2f): Define using libm_alias_float.
28480 * math/w_logf_compat.c: Include <libm-alias-float.h>.
28481 (logf): Define using libm_alias_float.
28482 * math/w_powf_compat.c: Include <libm-alias-float.h>.
28483 (powf): Define using libm_alias_float.
28484 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
28485 (remainderf): Define using libm_alias_float.
28486 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
28487 (sinhf): Define using libm_alias_float.
28488 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
28489 (sqrtf): Define using libm_alias_float.
28490 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
28491 (tgammaf): Define using libm_alias_float.
28493 2017-09-14 Joseph Myers <joseph@codesourcery.com>
28495 * include/math.h (roundeven): Change hidden_proto call to
28497 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
28499 [NO_LONG_DOUBLE] (__j0l): New strong alias.
28500 (y0): Rename to __y0 and define as weak alias.
28501 [NO_LONG_DOUBLE] (__y0l): New strong alias.
28502 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
28504 (y0f): Rename to __y0f and define as weak alias.
28505 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
28507 [NO_LONG_DOUBLE] (__j1l): New strong alias.
28508 (y1): Rename to __y1 and define as weak alias.
28509 [NO_LONG_DOUBLE] (__y1l): New strong alias.
28510 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
28512 (y1f): Rename to __y1f and define as weak alias.
28513 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
28515 [NO_LONG_DOUBLE] (__jnl): New strong alias.
28516 (yn): Rename to __yn and define as weak alias.
28517 [NO_LONG_DOUBLE] (__ynl): New strong alias.
28518 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
28520 (ynf): Rename to __ynf and define as weak alias.
28521 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
28522 (fromfp): Define as weak alias.
28523 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
28524 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
28525 (fromfpx): Define as weak alias.
28526 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
28527 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
28528 __getpayload and define as weak alias.
28529 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
28530 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
28531 __roundeven and define as weak alias.
28532 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
28533 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
28535 (setpayload): Define as weak alias.
28536 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
28537 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
28539 (setpayloadsig): Define as weak alias.
28540 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
28541 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
28542 __totalorder and define as weak alias.
28543 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
28544 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
28545 to __totalordermag and define as weak alias.
28546 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
28547 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
28548 (ufromfp): Define as weak alias.
28549 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
28550 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
28552 (ufromfpx): Define as weak alias.
28553 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
28554 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
28555 Rename to __getpayload and define as weak alias.
28556 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
28557 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
28558 Rename to __roundeven and define as weak alias.
28559 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
28560 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
28561 Rename to __totalorder and define as weak alias.
28562 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
28563 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
28564 (totalordermag): Rename to __totalordermag and define as weak
28566 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
28567 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
28569 (__roundevenl): Likewise.
28570 (__totalorderl): Likewise.
28571 (__totalordermagl): Likewise
28572 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
28574 (fromfpf128): Define as weak alias.
28575 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
28577 (fromfpxf128): Define as weak alias.
28578 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
28580 (setpayloadf128): Define as weak alias.
28581 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
28582 __setpayloadsigf128.
28583 (setpayloadsigf128): Define as weak alias.
28584 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
28586 (ufromfpf128): Define as weak alias.
28587 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
28589 (ufromfpxf128): Define as weak alias.
28590 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
28591 (fromfpf): Define as weak alias.
28592 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
28594 (fromfpxf): Define as weak alias.
28595 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
28596 __getpayloadf and define as weak alias.
28597 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
28598 __roundevenf and define as weak alias.
28599 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
28601 (setpayloadf): Define as weak alias.
28602 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
28604 (setpayloadsigf): Define as weak alias.
28605 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
28606 __totalorderf and define as weak alias.
28607 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
28608 Rename to __totalordermagf and define as weak alias.
28609 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
28611 (ufromfpf): Define as weak alias.
28612 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
28614 (ufromfpxf): Define as weak alias.
28615 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
28617 (fromfpl): Define as weak alias.
28618 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
28620 (fromfpxl): Define as weak alias.
28621 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
28622 to __getpayloadl and define as weak alias.
28623 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
28624 __roundevenl and define as weak alias.
28625 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
28627 (setpayloadl): Define as weak alias.
28628 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
28630 (setpayloadsigl): Define as weak alias.
28631 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
28632 to __totalorderl and define as weak alias.
28633 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
28634 Rename to __totalordermagl and define as weak alias.
28635 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
28637 (ufromfpl): Define as weak alias.
28638 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
28640 (ufromfpxl): Define as weak alias.
28641 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
28643 (fromfpl): Define as weak alias.
28644 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
28646 (fromfpxl): Define as weak alias.
28647 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
28648 Rename to __getpayloadl and define as weak alias.
28649 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
28650 to __roundevenl and define as weak alias. Call __roundeven
28651 instead of roundeven.
28652 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
28654 (setpayloadl): Define as weak alias.
28655 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
28657 (setpayloadsigl): Define as weak alias.
28658 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
28659 Rename to __totalorderl and define as weak alias.
28660 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
28661 Rename to __totalordermagl and define as weak alias.
28662 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
28664 (ufromfpl): Define as weak alias.
28665 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
28667 (ufromfpxl): Define as weak alias.
28668 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
28670 (fromfpl): Define as weak alias.
28671 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
28673 (fromfpxl): Define as weak alias.
28674 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
28675 __getpayloadl and define as weak alias.
28676 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
28677 __roundevenl and define as weak alias.
28678 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
28680 (setpayloadl): Define as weak alias.
28681 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
28683 (setpayloadsigl): Define as weak alias.
28684 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
28685 __totalorderl and define as weak alias.
28686 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
28687 Rename to __totalordermagl and define as weak alias.
28688 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
28690 (ufromfpl): Define as weak alias.
28691 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
28693 (ufromfpxl): Define as weak alias.
28695 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
28697 * benchtests/bench-string.h (realloc_bufs): New function.
28698 (test_init): Call it.
28699 * benchtests/bench-memset-large.c (do_test): Likewise.
28700 * benchtests/bench-memset.c (do_test): Likewise.
28702 * benchtests/bench-memset-large.c: Print output in JSON
28704 * benchtests/bench-memset.c: Likewise.
28706 2017-09-14 Mike FABIAN <mfabian@redhat.com>
28709 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
28710 * iconvdata/Makefile: Add IBM858.
28711 * iconvdata/gconv-modules: Likewise.
28712 * iconvdata/tst-tables.sh: Likewise.
28713 * iconvdata/ibm858.c: New file.
28714 * localedata/charmaps/IBM858: Likewise.
28716 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
28719 * locales/niu_NZ (LC_TIME): copy "niu_NU".
28720 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
28722 2017-09-14 Mike FABIAN <mfabian@redhat.com>
28725 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
28726 and add tel_int_fmt.
28728 2017-09-14 Joseph Myers <joseph@codesourcery.com>
28730 * sysdeps/generic/libm-alias-float128.h: New file.
28731 * sysdeps/generic/math-type-macros-float128.h: Include
28732 <libm-alias-float128.h>.
28733 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28735 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28737 * sysdeps/generic/libm-alias-ldouble.h: New file.
28738 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
28739 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
28740 * sysdeps/generic/math-type-macros-ldouble.h: Include
28741 <libm-alias-ldouble.h>.
28742 [!declare_mgen_alias] (declare_mgen_alias): Define to use
28743 libm_alias_ldouble.
28745 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
28747 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
28748 * math/w_exp_compat.c: ... here.
28749 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
28750 * math/w_expf_compat.c: ... here.
28751 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
28752 * math/w_expl_compat.c: ... here.
28753 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
28754 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
28755 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
28756 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
28758 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28760 * math/w_scalbln_template.c (strong_alias): Do not undefine and
28762 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
28764 (ldexpl): Only define as compat symbol for libc, not libm.
28765 (scalbnl): Define as compat symbol for libc here.
28766 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
28767 define for [IS_IN (libc)].
28768 (__ldexpl_2): Remove alias.
28769 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
28770 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
28771 name in long_double_symbol call.
28772 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
28773 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
28774 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
28775 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
28776 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
28778 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
28779 Define as compat symbol.
28781 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28783 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
28784 * sysdeps/unix/sysv/linux/alpha/Makefile
28785 [$(subdir) = csu] (sysdep_routines): Remove rule.
28787 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28789 * sysdeps/generic/libm-alias-double.h: New file.
28790 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
28791 * sysdeps/generic/math-type-macros-double.h: Include
28792 <libm-alias-double.h>.
28793 [declare_mgen_alias] (declare_mgen_alias): Define to use
28795 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
28796 (M_LIBM_NEED_COMPAT): Remove macro.
28797 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
28798 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
28799 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
28801 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28802 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28803 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28804 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28805 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28806 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28807 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28808 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28809 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28810 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28811 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28812 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28813 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28814 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28815 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28816 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28817 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28818 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28819 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28820 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28821 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28822 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28823 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28824 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28825 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28826 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28827 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28828 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
28829 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
28831 (declare_mgen_alias): New macro.
28832 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
28833 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
28834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
28835 (M_LIBM_NEED_COMPAT): Remove macro.
28836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
28837 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
28838 <first-versions.h>.
28839 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
28840 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
28842 2017-09-12 Joseph Myers <joseph@codesourcery.com>
28844 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
28845 (declare_mgen_alias_2): Remove.
28846 * sysdeps/generic/math-type-macros-double.h
28847 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
28849 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
28851 (ldexp): Define with declare_mgen_alias.
28852 (scalbn): Likewise.
28854 2017-09-12 Steve Ellcey <sellcey@cavium.com>
28856 * grp/initgroups.c: Include config.h.
28857 (DEFAULT_CONFIG): New macro.
28858 (internal_getgrouplist): Use DEFAULT_CONFIG.
28859 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28860 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
28861 (DEFAULT_DEFCONFIG): New macro.
28862 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
28863 * nss/grp-lookup.c: Include config.h
28864 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
28865 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
28866 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
28867 * manual/nss.texi: Update default values section.
28869 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
28872 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
28874 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
28875 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
28876 Handle MathVec_Prefer_No_AVX512.
28877 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
28878 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
28881 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
28883 * posix/sched_primax.c (__sched_get_priority_max): Add
28885 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
28886 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
28887 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
28888 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
28889 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
28890 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
28891 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
28892 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
28895 2017-09-11 Joseph Myers <joseph@codesourcery.com>
28897 * sysdeps/generic/libm-alias-float.h: New file.
28898 * sysdeps/generic/math-type-macros-float.h: Include
28899 <libm-alias-float.h>.
28900 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28902 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
28905 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
28906 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
28907 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
28908 (HWCAP_IMPORTANT): Likewise.
28909 (HWCAP_X86_64): New enum.
28910 (HWCAP_X86_AVX512_1): Updated.
28911 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
28912 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
28913 (modules-names): Add x86_64/tst-x86_64mod-1.
28914 (LDFLAGS-tst-x86_64mod-1.so): New.
28915 ($(objpfx)tst-x86_64-1): Likewise.
28916 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
28917 (tst-x86_64-1-clean): Likewise.
28918 * sysdeps/x86_64/tst-x86_64-1.c: New file.
28919 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
28921 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
28923 * po/sv.po: Update translations.
28924 * po/fr.po: Likewise.
28926 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28928 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
28930 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
28932 * elf/rtld-Rules: Fix $(error) use.
28934 2017-09-09 Mike FABIAN <mfabian@redhat.com>
28937 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
28938 * locale/iso-639.def: Change “Bengali” to “Bangla”.
28939 * localedata/locales/bn_BD: “Bengali” was still used in some
28940 comments. Change it to “Bangla”.
28942 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
28944 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
28946 2017-09-08 Steve Ellcey <sellcey@cavium.com>
28948 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
28949 thunderx2t99p1 to list of cpu names.
28950 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
28951 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
28953 2017-09-08 Steve Ellcey <sellcey@cavium.com>
28955 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
28956 Use strcmp instead of tunable_is_name.
28958 2017-09-08 Joseph Myers <joseph@codesourcery.com>
28960 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28961 (F_GET_RW_HINT): New macro.
28962 [__USE_GNU] (F_SET_RW_HINT): Likewise.
28963 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
28964 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
28965 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
28966 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
28967 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
28968 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
28969 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
28970 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
28972 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28973 (F_ADD_SEALS): New macro.
28974 [__USE_GNU] (F_GET_SEALS): Likewise.
28975 [__USE_GNU] (F_SEAL_SEAL): Likewise.
28976 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
28977 [__USE_GNU] (F_SEAL_GROW): Likewise.
28978 [__USE_GNU] (F_SEAL_WRITE): Likewise.
28980 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28982 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
28983 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
28984 * posix/glob_internal.h (__glob_pattern_type):
28985 * posix/glob.c (glob):
28986 * posix/glob_pattern_p.c (__glob_pattern_p):
28989 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
28990 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28991 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
28992 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
28993 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
28994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
28995 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
28996 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
28997 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
28998 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28999 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
29000 * sysdeps/wordsize-64/glob.c: Likewise.
29001 * sysdeps/wordsize-64/glob64.c: Likewise.
29002 * sysdeps/wordsize-64/globfree.c: Likewise.
29003 * sysdeps/wordsize-64/globfree64.c: Likewise.
29004 * sysdeps/unix/sysv/linux/glob.c: New file.
29005 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
29006 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
29007 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
29008 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
29009 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
29010 adds !GLOB_NO_OLD_VERSION as an extra condition.
29011 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
29012 using relative path instead of absolute one.
29013 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
29014 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29015 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29016 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
29017 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
29018 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
29021 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
29022 (glob): Use the same scratch buffer for both getlogin_r and
29023 getpwnam_r. Don’t require preallocation of the login name. This
29024 simplifies storage allocation, and corrects the handling of
29028 * posix/glob.c (glob): Port recent patches to platforms
29029 lacking getpwnam_r.
29030 (glob): Fix longstanding misuse of errno after getpwnam_r, which
29031 returns an error number rather than setting errno.
29033 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
29034 instead of GCC extension.
29035 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
29036 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
29037 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
29041 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
29042 * posix/bug-glob1.c: Remove file.
29043 * posix/tst-glob_symlinks.c: New file.
29044 * posix/glob.c (__lstat64): New macro.
29045 (is_dir): New function.
29046 (glob, glob_in_dir): Match symlinks even if they are dangling.
29047 (link_stat, link_exists_p): Remove. All uses removed.
29051 * posix/glob.c (struct readdir_result): Remove skip_entry member.
29052 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
29057 * posix/Makefile (routines): Add globfree, globfree64, and
29059 * posix/flexmember.h: New file.
29060 * posix/glob_internal.h: Likewise.
29061 * posix/glob_pattern_p.c: Likewise.
29062 * posix/globfree.c: Likewise.
29063 * posix/globfree64.c: Likewise.
29064 * sysdeps/gnu/globfree64.c: Likewise.
29065 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
29066 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
29067 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
29068 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
29069 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
29070 * sysdeps/wordsize-64/globfree.c: Likewise.
29071 * sysdeps/wordsize-64/globfree64.c: Likewise.
29072 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
29073 [NDEBUG): Remove comments.
29074 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
29075 (dirent_type): New type. Use uint_fast8_t not
29076 uint8_t, as C99 does not require uint8_t.
29077 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
29078 (struct readdir_result): Use dirent_type. Do not define skip_entry
29079 unless it is needed; this saves a byte on platforms lacking d_ino.
29080 (readdir_result_type, readdir_result_skip_entry):
29081 New functions, replacing ...
29082 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
29083 these functions, which were removed. This makes the callers
29084 easier to read. All callers changed.
29085 (D_INO_TO_RESULT): Now empty if there is no d_ino.
29086 (size_add_wrapv, glob_use_alloca): New static functions.
29087 (glob, glob_in_dir): Check for size_t overflow in several places,
29088 and fix some size_t checks that were not quite right.
29089 Remove old code using SHELL since Bash no longer
29091 (glob, prefix_array): Separate MS code better.
29092 (glob_in_dir): Remove old Amiga and VMS code.
29093 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
29095 (glob_in_dir): Do not rely on undefined behavior in accessing
29096 struct members beyond their bounds. Use a flexible array member
29098 (link_stat): Rename from link_exists2_p and return -1/0 instead of
29099 0/1. Caller changed.
29100 (glob): Fix memory leaks.
29101 * posix/glob64 (globfree64): Move to separate file.
29102 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
29103 (globfree64): Remove hidden alias.
29104 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
29106 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
29108 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
29110 Move compat code to separate file.
29111 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
29114 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
29116 * resolv/tst-resolv-qtypes.c (domain): Changed to
29117 "const char domain[] =".
29119 2017-09-07 Joseph Myers <joseph@codesourcery.com>
29121 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
29124 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
29125 (TCP_MD5SIG_EXT): Likewise.
29126 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
29127 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
29128 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
29130 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
29132 2017-09-07 Mike FABIAN <mfabian@redhat.com>
29134 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
29136 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
29139 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
29141 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
29143 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
29144 before assuming that the file is empty. Avoid testing buffer content
29147 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29150 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
29152 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
29154 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
29156 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
29158 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
29160 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
29162 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
29165 2017-09-06 Florian Weimer <fweimer@redhat.com>
29167 * malloc/dynarray_emplace_enlarge.c
29168 (__libc_dynarray_emplace_enlarge): Add missing else.
29170 2017-09-06 Florian Weimer <fweimer@redhat.com>
29173 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
29174 case of failure to obtain the global conf object.
29176 2017-09-06 Florian Weimer <fweimer@redhat.com>
29179 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
29180 dynarray allocation failure.
29182 2017-09-06 Florian Weimer <fweimer@redhat.com>
29184 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
29185 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
29186 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
29188 (response): Call them. Add 'p', '6' flag processing.
29189 (test_reverse): New function.
29190 (test_get2_any): Call it.
29191 (test_no_inet6): Add 'p' test.
29192 (test_inet6): Likewise.
29194 2017-09-06 Florian Weimer <fweimer@redhat.com>
29196 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
29197 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
29199 (test_gai): Adjust query names. Add additional tests.
29200 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
29201 test_get2. Adjust query names. Add additional tests.
29202 (test_no_inet6): New function, extracted from threadfunc.
29203 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
29204 Add additional tests.
29206 2017-09-06 Mike FABIAN <mfabian@redhat.com>
29209 * localedata/unicode-gen/utf8_gen.py: Set the width for
29210 characters with Prepended_Concatenation_Mark property to 1
29211 * localedata/charmaps/UTF-8: Updated using the improved script.
29213 2017-09-06 Mike FABIAN <mfabian@redhat.com>
29216 * localedata/unicode-gen/utf8_gen.py: Improve the script to
29217 use the range notation for all ranges of neighbouring characters
29218 with the same width.
29220 2017-09-05 Joseph Myers <joseph@codesourcery.com>
29222 * sysdeps/generic/math-type-macros-double.h: Include
29223 <math-svid-compat.h>.
29224 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29225 * sysdeps/generic/math-type-macros-float.h: Include
29226 <math-svid-compat.h>.
29227 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29228 * sysdeps/generic/math-type-macros-ldouble.h: Include
29229 <math-svid-compat.h>.
29230 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29231 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
29233 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
29234 * math/w_acosf_compat.c: Likewise.
29235 * math/w_acosh_compat.c: Likewise.
29236 * math/w_acoshf_compat.c: Likewise.
29237 * math/w_acoshl_compat.c: Likewise.
29238 * math/w_acosl_compat.c: Likewise.
29239 * math/w_asin_compat.c: Likewise.
29240 * math/w_asinf_compat.c: Likewise.
29241 * math/w_asinl_compat.c: Likewise.
29242 * math/w_atan2_compat.c: Likewise.
29243 * math/w_atan2f_compat.c: Likewise.
29244 * math/w_atan2l_compat.c: Likewise.
29245 * math/w_atanh_compat.c: Likewise.
29246 * math/w_atanhf_compat.c: Likewise.
29247 * math/w_atanhl_compat.c: Likewise.
29248 * math/w_cosh_compat.c: Likewise.
29249 * math/w_coshf_compat.c: Likewise.
29250 * math/w_coshl_compat.c: Likewise.
29251 * math/w_exp10_compat.c: Likewise.
29252 * math/w_exp10f_compat.c: Likewise.
29253 * math/w_exp10l_compat.c: Likewise.
29254 * math/w_exp2_compat.c: Likewise.
29255 * math/w_exp2f_compat.c: Likewise.
29256 * math/w_exp2l_compat.c: Likewise.
29257 * math/w_fmod_compat.c: Likewise.
29258 * math/w_fmodf_compat.c: Likewise.
29259 * math/w_fmodl_compat.c: Likewise.
29260 * math/w_hypot_compat.c: Likewise.
29261 * math/w_hypotf_compat.c: Likewise.
29262 * math/w_hypotl_compat.c: Likewise.
29263 * math/w_j0_compat.c: Likewise.
29264 * math/w_j0f_compat.c: Likewise.
29265 * math/w_j0l_compat.c: Likewise.
29266 * math/w_j1_compat.c: Likewise.
29267 * math/w_j1f_compat.c: Likewise.
29268 * math/w_j1l_compat.c: Likewise.
29269 * math/w_jn_compat.c: Likewise.
29270 * math/w_jnf_compat.c: Likewise.
29271 * math/w_jnl_compat.c: Likewise.
29272 * math/w_lgamma_r_compat.c: Likewise.
29273 * math/w_lgammaf_r_compat.c: Likewise.
29274 * math/w_lgammal_r_compat.c: Likewise.
29275 * math/w_log10_compat.c: Likewise.
29276 * math/w_log10f_compat.c: Likewise.
29277 * math/w_log10l_compat.c: Likewise.
29278 * math/w_log2_compat.c: Likewise.
29279 * math/w_log2f_compat.c: Likewise.
29280 * math/w_log2l_compat.c: Likewise.
29281 * math/w_log_compat.c: Likewise.
29282 * math/w_logf_compat.c: Likewise.
29283 * math/w_logl_compat.c: Likewise.
29284 * math/w_pow_compat.c: Likewise.
29285 * math/w_powf_compat.c: Likewise.
29286 * math/w_powl_compat.c: Likewise.
29287 * math/w_remainder_compat.c: Likewise.
29288 * math/w_remainderf_compat.c: Likewise.
29289 * math/w_remainderl_compat.c: Likewise.
29290 * math/w_sinh_compat.c: Likewise.
29291 * math/w_sinhf_compat.c: Likewise.
29292 * math/w_sinhl_compat.c: Likewise.
29293 * math/w_sqrt_compat.c: Likewise.
29294 * math/w_sqrtf_compat.c: Likewise.
29295 * math/w_sqrtl_compat.c: Likewise.
29296 * math/w_tgamma_compat.c: Likewise.
29297 * math/w_tgammaf_compat.c: Likewise.
29298 * math/w_tgammal_compat.c: Likewise.
29299 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
29300 [LIBM_SVID_COMPAT].
29301 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
29302 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
29303 [LIBM_SVID_COMPAT].
29304 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
29305 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
29306 [LIBM_SVID_COMPAT].
29307 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
29308 * sysdeps/i386/fpu/w_sqrt.c: New file.
29309 * sysdeps/ia64/fpu/w_acos.c: Likewise.
29310 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
29311 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
29312 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
29313 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
29314 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
29315 * sysdeps/ia64/fpu/w_asin.c: Likewise.
29316 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
29317 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
29318 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
29319 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
29320 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
29321 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
29322 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
29323 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
29324 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
29325 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
29326 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
29327 * sysdeps/ia64/fpu/w_exp.c: Likewise.
29328 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
29329 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
29330 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
29331 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
29332 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
29333 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
29334 * sysdeps/ia64/fpu/w_expf.c: Likewise.
29335 * sysdeps/ia64/fpu/w_expl.c: Likewise.
29336 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
29337 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
29338 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
29339 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
29340 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
29341 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
29342 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
29343 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
29344 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
29345 * sysdeps/ia64/fpu/w_log.c: Likewise.
29346 * sysdeps/ia64/fpu/w_log10.c: Likewise.
29347 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
29348 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
29349 * sysdeps/ia64/fpu/w_log2.c: Likewise.
29350 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
29351 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
29352 * sysdeps/ia64/fpu/w_logf.c: Likewise.
29353 * sysdeps/ia64/fpu/w_logl.c: Likewise.
29354 * sysdeps/ia64/fpu/w_pow.c: Likewise.
29355 * sysdeps/ia64/fpu/w_powf.c: Likewise.
29356 * sysdeps/ia64/fpu/w_powl.c: Likewise.
29357 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
29358 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
29359 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
29360 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
29361 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
29362 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
29363 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
29364 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
29365 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
29366 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
29367 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
29368 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
29369 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
29370 [LIBM_SVID_COMPAT].
29371 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
29372 * sysdeps/ieee754/k_standard.c: Likewise.
29373 * sysdeps/ieee754/k_standardf.c: Likewise.
29374 * sysdeps/ieee754/k_standardl.c: Likewise.
29375 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
29376 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
29377 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
29378 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
29379 long_double_symbol call on [LIBM_SVID_COMPAT].
29380 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
29381 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
29382 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
29383 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
29384 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
29385 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
29386 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
29387 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
29388 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
29389 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
29390 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
29391 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
29392 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
29393 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
29394 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
29395 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
29396 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
29397 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
29398 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
29399 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
29400 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
29401 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
29403 2017-09-05 Steve Ellcey <sellcey@cavium.com>
29405 * include/shlib-compat.h (TEST_COMPAT): New Macro.
29406 * malloc/tst-mallocstate.c: Convert from test-skeleton
29407 to test-driver. Ifdef code using TEST_COMPAT macro.
29408 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
29409 * math/test-matherr.c: Likewise.
29411 2017-09-05 Joseph Myers <joseph@codesourcery.com>
29414 * debug/pcprofiledump.c (main): Use byte-swapped mask when
29415 comparing word with byte-swapped constant.
29417 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
29420 * locale/iso-639.def: add Miskito.
29421 * localedata/SUPPORTED: Add miq_NI/UTF-8.
29422 * localedata/locales/miq_NI: New file.
29424 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
29427 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
29428 (__mkdir): Likewise.
29429 * io/chmod.c (__chmod): Add libc_hidden_def.
29430 * io/mkdir.c (__mkdir): Likewise.
29431 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
29432 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
29433 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
29434 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
29436 2017-09-04 Joseph Myers <joseph@codesourcery.com>
29438 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
29442 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
29443 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
29445 2017-09-04 Florian Weimer <fweimer@redhat.com>
29447 * math/math.h: Issue warning if log is defined.
29449 2017-09-04 Joseph Myers <joseph@codesourcery.com>
29451 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
29452 kernel version to 4.13.
29454 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
29456 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
29457 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
29459 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
29460 just <bits/types.h>.
29461 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
29462 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
29463 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
29464 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
29465 * misc/preadv2.c: Include <errno.h>.
29466 * misc/preadv64v2.c: Include <errno.h>.
29467 * misc/pwritev2.c: Include <errno.h>.
29468 * misc/pwritev64v2.c: Include <errno.h>.
29469 * sysdeps/posix/preadv2.c: Include <errno.h>.
29470 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
29471 Fix <unistd.h> inclusion.
29472 * sysdeps/posix/pwritev2.c: Include <errno.h>.
29473 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
29474 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
29475 __strtoul_internal): New functions.
29476 * sysdeps/posix/pause.c: Include <sigsetops.h>.
29477 * sysdeps/posix/system.c: Include <sigsetops.h>.
29478 * sysdeps/mach/hurd/i386/Makefile
29479 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
29480 [$(subdir) = csu] (sysdep-only-routines): Likewise.
29481 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
29482 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
29483 __feraiseexcept_renamed to feraiseexcept instead of
29484 __GI_feraiseexcept.
29485 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
29486 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
29487 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
29488 RWF_NOWAIT): Define to 0 if undefined already.
29489 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
29491 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
29492 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
29494 2017-09-01 Joseph Myers <joseph@codesourcery.com>
29496 * manual/math.texi (pow10): Do not document.
29497 (pow10f): Likewise.
29498 (pow10l): Likewise.
29499 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
29500 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
29501 * math/libm-test-exp10.inc (pow10_test): Remove.
29502 (do_test): Do not call pow10.
29503 * math/w_exp10_compat.c (pow10): Make into compat symbol.
29504 [NO_LONG_DOUBLE] (pow10l): Likewise.
29505 * math/w_exp10f_compat.c (pow10f): Likewise.
29506 * math/w_exp10l_compat.c (pow10l): Likewise.
29507 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
29508 (pow10): Make into compat symbol.
29509 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
29510 (pow10f): Make into compat symbol.
29511 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
29512 (pow10l): Make into compat symbol.
29513 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
29515 (CFLAGS-nldbl-pow10.c): Remove variable..
29516 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
29517 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
29518 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
29519 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
29520 Undefine and redefine.
29521 (pow10l): Make into compat symbol.
29522 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
29523 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
29524 * sysdeps/arm/libm-test-ulps: Likewise.
29525 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
29526 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
29527 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29528 * sysdeps/microblaze/libm-test-ulps: Likewise.
29529 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
29530 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29531 * sysdeps/nios2/libm-test-ulps: Likewise.
29532 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29533 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
29534 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29535 * sysdeps/sh/libm-test-ulps: Likewise.
29536 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29537 * sysdeps/tile/libm-test-ulps: Likewise.
29538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29540 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
29542 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
29544 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29546 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
29547 "../ChangeLog.old/ChangeLog.8".
29548 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
29549 "../ChangeLog.old/ChangeLog.14".
29551 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29553 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
29556 2017-09-01 Joseph Myers <joseph@codesourcery.com>
29558 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
29560 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29562 * csu/version.c (banner): Remove "by Roland McGrath et al.".
29563 * nptl/Banner: Remove "by Ulrich Drepper et al.".
29565 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
29567 * stdlib/tst-atexit-common.c (do_test): Test support for at least
29568 32 atexit handlers.
29570 2017-09-01 Zack Weinberg <zackw@panix.com>
29572 * math/math.h (HUGE_VAL): Improve commentary.
29574 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29575 Andreas Schwab <schwab@suse.de>
29578 * include/stdio.h (__gen_tempfd): New function.
29579 * stdio-common/Makefile (routines): Add gentempfd.
29580 * stdio-common/gentempfd.c: New file.
29581 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
29582 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
29583 unnamed file first.
29585 2017-09-01 Florian Weimer <fweimer@redhat.com>
29589 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
29590 result to determine success or failure, not the errno value.
29591 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
29592 (tst-nss-files-hosts-erange): Link with -ldl.
29593 * nss/tst-nss-files-hosts-erange.c: New file.
29594 * nss/tst-resolv-basic.c (response): Handle nodata.example.
29595 (do_test): Add NO_DATA tests.
29596 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
29597 (do_test): Call it.
29599 2017-09-01 Florian Weimer <fweimer@redhat.com>
29602 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
29603 coming from gethostbyname2_r.
29605 2017-09-01 Florian Weimer <fweimer@redhat.com>
29607 * support/namespace.h (struct support_chroot_configuration): Add
29609 (struct support_chroot): Add path_hosts, path_host_conf.
29610 * support/support_chroot.c (write_file): New function.
29611 (support_chroot_create): Call it to process /etc/resolv.conf,
29612 /etc/hosts, /etc/host.conf.
29613 (support_chroot_free): Update.
29615 2017-09-01 Florian Weimer <fweimer@redhat.com>
29617 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
29618 status indicates it is set.
29620 2017-09-01 Florian Weimer <fweimer@redhat.com>
29623 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
29624 function lookup failures more reliable.
29626 2017-09-01 Florian Weimer <fweimer@redhat.com>
29628 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
29629 (getcanonname): Likewise.
29630 (gaih_inet): Likewise.
29632 2017-09-01 Florian Weimer <fweimer@redhat.com>
29634 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
29635 (getcanonname): Likewise.
29636 (gaih_inet): Likewise.
29638 2017-08-31 Steve Ellcey <sellcey@cavium.com>
29639 Richard Henderson <rth@twiddle.net>
29641 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
29642 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
29643 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
29644 (IREG_SIZE, OREG_SIZE): New macros.
29645 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
29646 (IREG_SIZE, OREG_SIZE): New macros.
29647 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
29648 (IREG_SIZE): New macro.
29649 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
29650 (IREG_SIZE): New macro.
29651 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
29653 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
29654 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
29655 (__CONCATX): Handle exceptions correctly on large values that may
29657 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
29658 Initialize if not already set.
29659 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
29661 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29663 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
29664 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
29666 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
29668 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
29670 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
29672 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
29674 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
29676 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
29678 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
29679 (NO_CANCELLATION): Likewise.
29680 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
29682 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
29684 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
29686 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
29687 (NO_CANCELLATION): Likewise.
29688 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
29689 (NO_CANCELLATION): Likewise.
29690 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
29692 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
29694 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
29696 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
29698 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
29700 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
29701 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
29703 2017-08-31 Steve Ellcey <sellcey@cavium.com>
29705 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
29708 2017-08-31 Florian Weimer <fweimer@redhat.com>
29710 * include/libc-symbols.h (internal_function): Remove.
29712 2017-08-31 Florian Weimer <fweimer@redhat.com>
29714 * stdlib/fmtmsg.c (internal_addseverity): Remove
29717 2017-08-31 Florian Weimer <fweimer@redhat.com>
29719 * stdio-common/printf_fp.c (group_number): Remove
29721 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
29723 2017-08-31 Florian Weimer <fweimer@redhat.com>
29725 * posix/fnmatch.c (internal_function): Remove definition.
29726 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
29727 * posix/regcomp.c (peek_token, init_word_char)
29728 (duplicate_node_closure, fetch_token, peek_token)
29729 (peek_token_bracket, build_range_exp, build_collating_symbol):
29731 * posix/regex_internal.c (re_string_construct_common)
29732 (create_ci_newstate, create_cd_newstate, re_string_allocate)
29733 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
29734 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
29735 (re_string_translate_buffer, re_string_reconstruct)
29736 (re_string_peek_byte_case, re_string_fetch_byte_case)
29737 (re_string_destruct, re_string_context_at, re_node_set_alloc)
29738 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
29739 (re_node_set_add_intersect, re_node_set_init_union)
29740 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
29741 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
29742 (re_dfa_add_node, calc_state_hash, re_acquire_state)
29743 (re_acquire_state_context): Likewise.
29744 * posix/regex_internal.h (internal_function): Remove definition.
29745 (re_string_realloc_buffers, build_wcs_buffer)
29746 (build_wcs_upper_buffer, build_upper_buffer)
29747 (re_string_translate_buffer, re_string_context_at)
29748 (re_string_char_size_at, re_string_wchar_at)
29749 (re_string_elem_size_at): Likewise.
29750 * posix/regexec.c (match_ctx_init, match_ctx_clean)
29751 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
29752 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
29753 (re_search_internal, re_search_2_stub, re_search_stub)
29754 (re_copy_regs, prune_impossible_nodes, check_matching)
29755 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
29756 (free_fail_stack_return, sift_states_iter_mb)
29757 (sift_states_backward, build_sifted_states)
29758 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
29759 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
29760 (check_subexp_limits, sift_states_bkref, merge_state_array)
29761 (find_recover_state, transit_state, merge_state_with_log)
29762 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
29763 (transit_state_mb, transit_state_bkref, get_subexp)
29764 (get_subexp_sub, find_subexp_node, check_arrival)
29765 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
29766 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
29767 (check_node_accept_bytes, find_collation_sequence_value)
29768 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
29769 (acquire_init_state_context, check_halt_node_context)
29770 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
29771 (sub_epsilon_src_nodes): Likewise.
29772 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
29773 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
29774 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
29775 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
29776 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
29777 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
29778 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
29779 * sysdeps/posix/ttyname.c (getttyname): Likewise.
29780 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
29781 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
29782 (PREADV): Likewise.
29783 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
29784 (PREADV): Likewise.
29785 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
29786 (PWRITEV): Likewise.
29787 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
29788 (PWRITEV): Likewise.
29789 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
29790 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
29792 2017-08-31 Florian Weimer <fweimer@redhat.com>
29794 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
29795 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
29796 Remove internal_function.
29797 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
29798 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
29799 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
29800 (__deallocate_stack, __libc_pthread_init)
29801 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
29802 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
29803 (__libc_disable_asynccancel, __librt_disable_asynccancel):
29805 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
29806 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
29807 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
29809 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
29810 (__pthread_mutex_unlock_usercnt): Likewise.
29812 2017-08-31 Florian Weimer <fweimer@redhat.com>
29814 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
29815 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
29816 (fts_safe_changedir): Remove internal_function.
29817 * io/ftw.c (internal_function): Remove definition.
29818 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
29820 2017-08-31 Florian Weimer <fweimer@redhat.com>
29822 * inet/deadline.c (__deadline_current_time)
29823 (__deadline_from_timeval, __deadline_to_ms): Remove
29825 * inet/getnameinfo.c (nrl_domainname): Likewise.
29826 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
29827 * inet/inet6_option.c (add_pad): Likewise.
29828 * inet/net-internal.h (__deadline_current_time)
29829 (__deadline_from_timeval, __deadline_to_ms): Likewise.
29830 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
29831 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
29832 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
29834 2017-08-31 Joseph Myers <joseph@codesourcery.com>
29836 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
29837 include <bits/nan.h>.
29838 * math/Makefile (headers): Remove bits/nan.h.
29839 * bits/nan.h: Remove.
29840 * sysdeps/ieee754/bits/nan.h: Likewise.
29841 * sysdeps/mips/bits/nan.h: Likewise.
29843 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
29844 not include <bits/inf.h>.
29845 * math/Makefile (headers): Remove bits/inf.h.
29846 * bits/inf.h: Remove.
29847 * sysdeps/ieee754/bits/inf.h: Likewise.
29849 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
29850 bits/huge_vall.h or bits/huge_val_flt128.h.
29851 (HUGE_VAL): Define directly here.
29852 [__USE_ISOC99] (HUGE_VALF): Likewise.
29853 [__USE_ISOC99] (HUGE_VALL): Likewise.
29854 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29855 (HUGE_VAL_F128): Likewise.
29856 * math/Makefile (headers): Remove bits/huge_val.h,
29857 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
29858 * bits/huge_val.h: Remove.
29859 * bits/huge_val_flt128.h: Likewise.
29860 * bits/huge_valf.h: Likewise.
29861 * bits/huge_vall.h: Likewise.
29862 * sysdeps/ia64/bits/huge_vall.h: Likewise.
29863 * sysdeps/ieee754/bits/huge_val.h: Likewise.
29864 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
29865 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
29866 * sysdeps/sh/bits/huge_val.h: Likewise.
29867 * sysdeps/sparc/bits/huge_vall.h: Likewise.
29868 * sysdeps/x86/bits/huge_vall.h: Likewise.
29870 2017-08-31 Florian Weimer <fweimer@redhat.com>
29872 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
29874 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
29876 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
29877 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
29878 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
29879 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
29880 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29881 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
29882 * elf/dl-libc.c (dlerror_run): Likewise.
29883 * elf/dl-load.c (add_name_to_object, decompose_rpath)
29884 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
29885 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
29886 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
29888 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
29889 (_dl_higher_prime_number, _dl_strtoul): Likewise.
29890 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
29891 * elf/dl-profile.c (_dl_start_profile): Likewise.
29892 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
29893 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
29895 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
29896 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
29897 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
29898 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
29899 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
29900 (_dl_allocate_tls_storage): Likewise.
29901 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
29902 (_dl_check_all_versions): Likewise.
29903 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
29904 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
29905 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
29906 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29907 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
29908 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
29909 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
29910 internal_function from __dl_start.
29911 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
29912 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
29913 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
29914 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
29915 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
29916 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
29917 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
29918 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
29919 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
29920 (_dl_next_ld_env_entry, _dl_important_hwcaps)
29921 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
29922 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
29923 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
29924 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
29925 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
29927 (struct rtld_global_ro): Remove internal_function from the
29928 _dl_lookup_symbol_x member.
29929 (_dl_symbol_value): Remove. No longer defined anywhere.
29930 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
29932 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29933 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
29934 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
29935 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
29936 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
29937 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
29938 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
29939 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
29940 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
29941 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
29942 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29943 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
29945 2017-08-31 Florian Weimer <fweimer@redhat.com>
29947 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
29948 Remove internal_function.
29949 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29951 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29954 2017-08-31 Florian Weimer <fweimer@redhat.com>
29956 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
29957 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
29958 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
29960 2017-08-31 Florian Weimer <fweimer@redhat.com>
29962 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
29963 (__gai_enqueue_request): Remove internal_function.
29964 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
29965 (__gai_remove_request, __gai_notify, __gai_notify_only)
29966 (__gai_sigqueue): Likewise.
29967 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
29968 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
29969 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
29970 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29973 2017-08-31 Florian Weimer <fweimer@redhat.com>
29975 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
29976 * include/dirent.h (__opendirat, __getdents, __getdents64)
29977 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
29978 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
29979 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
29980 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
29982 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
29984 2017-08-31 Florian Weimer <fweimer@redhat.com>
29986 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
29988 (GETCWD_RETURN_TYPE): Likewise.
29990 2017-08-31 Florian Weimer <fweimer@redhat.com>
29992 * include/time.h (__tz_compute, __strptime_internal): Remove
29994 * time/strptime_l.c (__strptime_internal): Likewise.
29995 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
29997 2017-08-31 Florian Weimer <fweimer@redhat.com>
29999 * iconv/gconv.c (__gconv): Remove internal_function.
30000 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
30001 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
30002 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
30003 (__gconv_release_cache): Likewise.
30004 * iconv/gconv_close.c (__gconv_close): Likewise.
30005 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
30006 (read_conf_file, __gconv_get_path): Likewise.
30007 * iconv/gconv_db.c (derivation_lookup, add_derivation)
30008 (__gconv_release_step, gen_steps, increment_counter)
30009 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
30010 (__gconv_close_transform, free_modules_db): Likewise.
30011 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
30013 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
30014 (__gconv_find_transform, __gconv_lookup_cache)
30015 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
30016 (__gconv_close_transform, __gconv_release_cache)
30017 (__gconv_loaded_object, __gconv_release_shlib)
30018 (__gconv_compare_alias): Likewise.
30019 * iconv/gconv_open.c (__gconv_open): Likewise.
30020 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
30021 * iconv/iconvconfig.c (add_module): Likewise.
30022 * intl/dcigettext.c (plural_lookup, guess_category_value)
30023 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
30024 * intl/eval-plural.h (plural_eval): Likewise.
30025 * intl/finddomain.c (_nl_find_domain): Likewise.
30026 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
30027 (_nl_load_domain, _nl_find_msg): Likewise.
30028 (internal_function): Remove definition.
30029 * intl/loadinfo.h (internal_function): Likewise.
30030 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
30032 * intl/localealias.c (internal_function): Remove definition.
30033 (read_alias_file): Remove internal_function.
30034 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
30035 * intl/plural-exp.h (internal_function): Remove definition.
30036 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
30038 * intl/plural.c: Regenerate.
30039 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
30040 * locale/coll-lookup.c (__collidx_table_lookup)
30041 (__collseq_table_lookup): Likewise.
30042 * locale/coll-lookup.h (__collidx_table_lookup)
30043 (__collseq_table_lookup): Likewise.
30044 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
30045 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30046 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
30047 (_nl_unload_locale): Likewise.
30048 * locale/localeinfo.h (struct __locale_data): Remove
30049 internal_function from cleanup member.
30050 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
30051 (_nl_remove_locale, _nl_load_locale_from_archive)
30052 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
30053 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
30054 (_nl_cleanup_time): Remove internal_function.
30055 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
30056 (_nl_parse_alt_digit): Likewise.
30057 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
30058 (_nl_select_era_entry): Likewise.
30059 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
30060 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
30061 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
30062 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
30063 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
30065 2017-08-31 Florian Weimer <fweimer@redhat.com>
30067 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
30068 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
30069 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
30070 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
30072 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
30073 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
30074 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
30075 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
30077 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
30079 2017-08-31 Florian Weimer <fweimer@redhat.com>
30081 * misc/getttyent.c (skip, value): Remove internal_function.
30082 * misc/syslog.c (openlog_internal): Likewise.
30083 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
30085 2017-08-31 Florian Weimer <fweimer@redhat.com>
30087 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
30088 (__nss_rewrite_field): Remove internal_function.
30089 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30090 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
30091 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
30092 * nss/nsswitch.c (nss_parse_file, nss_getline)
30093 (nss_parse_service_list, nss_new_service): Likewise.
30094 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
30095 * nss/valid_field.c (__nss_valid_field): Likewise.
30096 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
30098 2017-08-31 Florian Weimer <fweimer@redhat.com>
30100 * malloc/arena.c (__malloc_fork_lock_parent)
30101 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
30102 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
30103 internal_function from defintions.
30104 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
30105 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
30106 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
30107 internal_function from declarations.
30108 * malloc/malloc.c (internal_function): Do not define.
30109 (mem2mem_check): Remove internal_function from declaration.
30110 (munmap_chunk, mremap_chunk): Remove internal_function.
30111 * malloc/mtrace.c (tr_where): Likewise.
30113 2017-08-31 Florian Weimer <fweimer@redhat.com>
30115 * include/rpc/pmap_clnt.h (__get_socket): Remove
30117 * sunrpc/auth_des.c (synchronize): Likewise.
30118 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
30119 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
30120 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
30121 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
30122 (key_call): Likewise.
30123 * sunrpc/pm_getport.c (__get_socket): Likewise.
30124 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
30125 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
30126 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
30127 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
30128 (invalidate): Likewise.
30129 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
30130 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
30131 (set_input_fragment, get_input_bytes): Likewise.
30133 2017-08-31 Florian Weimer <fweimer@redhat.com>
30135 * malloc/malloc.c (_int_free): Remove locked variable and related
30138 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
30141 * Makerules (build-module-helper-objlist): Filter out
30142 $(elf-objpfx)sofini.os.
30143 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
30146 2017-08-31 Florian Weimer <fweimer@redhat.com>
30148 * libio/fcloseall.c: Assume weak_alias is defined.
30149 * libio/feof.c: Likewise.
30150 * libio/fileno.c: Likewise.
30151 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
30152 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
30154 (_IO_file_open): Call __open directly.
30155 (_IO_new_file_sync): Assume ESPIPE is defined.
30156 (_IO_file_seekoff_maybe_mmap): Call __read directly.
30157 (_IO_new_file_write): Call __write directly.
30158 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
30159 * libio/ftello64.c (__ftello64): Assume EIO is defined.
30160 * libio/genops.c: Assume _LIBC is defined.
30161 (save_for_backup): Remove internal_function.
30162 * libio/getc.c: Assume weak_alias is defined.
30163 * libio/getwc.c: Likewise.
30164 * libio/iofclose.c: Assume _LIBC is defined.
30165 * libio/iofdopen.c: Likewise.
30166 (_IO_fcntl): Remove macro definition.
30167 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
30168 Call __fcntl directly.
30169 * libio/iofflush.c: Assume weak_alias is defined.
30170 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
30172 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
30173 * libio/iofgets.c: Likewise.
30174 * libio/iofopen.c: Assume _LIBC is defined.
30175 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
30176 * libio/iofputs.c: Assume weak_alias is defined.
30177 * libio/iofread.c: Likewise.
30178 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
30179 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
30180 * libio/ioftell.c: Assume weak_alias is defined.
30181 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
30182 * libio/iofwide.c: Assume _LIBC is defined.
30183 (_IO_fwide): Drop SHARED conditional because it is implied by
30185 * libio/iofwrite.c: Assume weak_alias is defined.
30186 * libio/iogetdelim.c: Likewise.
30187 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
30188 * libio/iogetwline.c (wmemcpy): Remove macro definition.
30189 (_IO_getwline): Call __wmemcpy directly.
30190 * libio/iopopen.c: Assume _LIBC is defined.
30191 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
30192 (_IO_close): Remove macro definitions.
30193 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
30195 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
30197 * libio/ioputs.c: Assume weak_alias is defined.
30198 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
30199 * libio/iosetbuffer.c: Assume weak_alias is defined.
30200 * libio/iosetvbuf.c: Likewise.
30201 * libio/ioungetc.c: Likewise.
30202 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
30203 libc_hidden_def, libc_hidden_weak, NULL are defined.
30204 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
30205 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
30207 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
30209 (_IO_old_file_init_internal): Drop SHARED conditional because it
30210 is implied by SHLIB_COMPAT.
30211 (_IO_old_file_fopen): Call __open directly.
30212 (_IO_old_file_sync): Assume ESPIPE is defined.
30213 (_IO_old_file_write): Call __write directly.
30214 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
30215 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
30216 Call __fcntl directly.
30217 * libio/oldiofgetpos.c: Assume weak_alias is defined.
30218 (_IO_old_fgetpos): Assume EIO is defined.
30219 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
30220 (_IO_old_fgetpos64): Assume EIO is defined.
30221 * libio/oldiofsetpos.c: Assume weak_alias is defined.
30222 (_IO_old_fsetpos): Assume EIO is defined.
30223 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
30224 (_IO_old_fsetpos64): Assume EIO is defined.
30225 * libio/oldiopopen.c: Assume _LIBC is defined.
30226 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
30227 (_IO_close): Remove macro definitions.
30228 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
30230 (_IO_old_proc_close): Call __close, __waitpid directly.
30231 * libio/put.c: Assume weak_alias is defined.
30232 * libio/stdfiles.c: Assume _LIBC is defined.
30233 * libio/stdio.c: Likewise.
30234 * libio/wfileops.c: Likewise.
30235 (_IO_wfile_sync): Assume ESPIPE is defined.
30236 * libio/wgenops.c: Assume _LIBC is defined.
30237 (save_for_wbackup): Remove internal_function.
30239 2017-08-31 Florian Weimer <fweimer@redhat.com>
30241 * malloc/malloc.c (top_check): Change return type to void. Remove
30243 * malloc/hooks.c (top_check): Likewise.
30244 (malloc_check, realloc_check, memalign_check): Adjust.
30246 2017-08-30 Joseph Myers <joseph@codesourcery.com>
30249 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
30250 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
30251 sigcontext and namespace requirements.
30252 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
30253 * sysdeps/m68k/sys/ucontext.h: Likewise.
30254 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
30255 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
30256 <bits/sigcontext.h>.
30257 (__ctx): Define earlier.
30258 (mcontext_t): Define structure contents rather than using struct
30260 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
30261 __glibc_reserved1 instead of __reserved.
30262 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
30263 <bits/sigcontext.h>.
30264 (__ctx): Define earlier.
30265 (mcontext_t): Define structure contents rather than using struct
30267 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
30268 mcontext_t instead of struct sigcontext.
30269 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
30270 <bits/sigcontext.h>.
30271 (__ctx): Define earlier.
30272 (mcontext_t): Define structure contents rather than using struct
30274 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
30275 <bits/sigcontext.h>.
30276 (__ctx): Define earlier.
30277 (mcontext_t): Define structure contents rather than using struct
30279 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
30280 mcontext_t instead of struct sigcontext.
30281 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
30282 mcontext_t instead of struct sigcontext.
30283 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
30284 <bits/sigcontext.h>.
30285 (__ctx): New macro.
30286 (struct __ia64_fpreg_mcontext): New type.
30287 (mcontext_t): Define structure contents rather than using struct
30289 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
30290 (uc_sigmask): Define using __ctx.
30291 (uc_stack): Likewise.
30292 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
30293 <bits/sigcontext.h>.
30294 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30295 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
30296 <bits/sigcontext.h>.
30297 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
30298 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
30299 <bits/sigcontext.h>.
30300 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
30301 <bits/sigcontext.h>.
30302 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
30303 <bits/sigcontext.h>.
30304 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
30305 <bits/sigcontext.h>.
30306 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
30307 <bits/sigcontext.h>.
30308 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
30309 <bits/sigcontext.h>.
30310 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
30311 <bits/sigcontext.h>.
30312 (__ctx): Define earlier.
30313 (mcontext_t): Define structure contents rather than using struct
30315 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
30316 <bits/sigcontext.h>. Include <bits/types.h>.
30317 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
30318 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
30319 (test-xfail-XPG42/ucontext.h/conform): Likewise.
30320 (test-xfail-UNIX98/signal.h/conform): Likewise.
30321 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
30322 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
30323 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
30324 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
30325 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
30326 (test-xfail-POSIX2008/signal.h/conform): Likewise.
30327 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
30328 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
30329 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
30331 2017-08-30 Florian Weimer <fweimer@redhat.com>
30333 * malloc/dynarray_emplace_enlarge.c
30334 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
30335 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
30336 * malloc/tst-dynarray.c (test_long_overflow): New function.
30337 (do_test): Call it.
30339 2017-08-30 Florian Weimer <fweimer@redhat.com>
30341 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
30342 (set_arena_corrupt): Remove definitions.
30343 (mtrim): Do not check for corrupt arena.
30344 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
30347 2017-08-30 Florian Weimer <fweimer@redhat.com>
30350 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
30352 (ptmalloc_init): Do not set or use check_action.
30353 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
30354 call to malloc_printerr. Remove return statement.
30355 (free_check): Likewise. Remove arena unlock.
30356 (top_check): Update comment. Adjust call to malloc_printerr.
30357 Remove heap repair code.
30358 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
30359 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
30360 (sysmalloc): Adjust call to malloc_printerr.
30361 (munmap_chunk, __libc_realloc): Likewise. Remove return
30363 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
30364 Remove errout label and corresponding gotos.
30365 (_int_free): Likewise. Remove arena unlock.
30366 (do_set_mallopt_check): Do not set check_action.
30367 (malloc_printerr): Adjust parameter list. Do not mark arena as
30369 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
30371 * manual/probes.texi (Memory Allocation Probes): Remove
30372 memory_mallopt_check_action.
30374 2017-08-30 Steve Ellcey <sellcey@cavium.com>
30376 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
30377 Use pointer to uint64_t instead of long int for sp.
30379 2017-08-30 Florian Weimer <fweimer@redhat.com>
30382 * malloc/malloc.c (malloc_printerr): Always terminate the process,
30383 without printing a backtrace. Do not leak any information in the
30385 * manual/memory.texi (Heap Consistency Checking): Update.
30386 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
30388 2017-08-30 Florian Weimer <fweimer@redhat.com>
30390 Do not scale NPTL tests with available number of CPUs.
30391 * nptl/tst-cond16.c (count): Set to constant value of 8.
30392 * nptl/tst-cond18.c (count): Likewise.
30394 2017-08-29 Joseph Myers <joseph@codesourcery.com>
30397 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
30398 Define to take a second argument that is a macro that
30399 concatentates a suffix, not the suffix itself.
30400 (__CONCAT_d): New macro.
30401 (__CONCAT_f): Likewise.
30402 (__CONCAT_l): Likewise.
30404 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
30406 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
30409 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30410 Aurelien Jarno <aurelien@aurel32.net>
30411 Maciej W. Rozycki <macro@imgtec.com>
30414 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
30415 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
30416 `mips16-syscall6' and `mips16-syscall7'.
30417 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
30418 (CFLAGS-mips16-syscall7.c): Remove.
30419 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
30420 Remove `__mips16_syscall5', `__mips16_syscall6' and
30421 `__mips16_syscall7'.
30422 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
30423 (__mips16_syscall0): Rename `__mips16_syscall_return' to
30424 `__mips_syscall_return'.
30425 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
30426 (__mips16_syscall1): Likewise.
30427 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
30428 (__mips16_syscall2): Likewise.
30429 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
30430 (__mips16_syscall3): Likewise.
30431 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
30432 (__mips16_syscall4): Likewise.
30433 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
30435 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
30437 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
30439 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
30440 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
30441 `__mips16_syscall5'. Remove prototype.
30442 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
30443 `__mips16_syscall6'. Remove prototype.
30444 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
30445 `__mips16_syscall7'. Remove prototype.
30446 (__nomips16, __mips16_syscall_return): Move to...
30447 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
30448 (__nomips16, __mips_syscall_return): ... here.
30449 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
30450 `__mips16_syscall_return' to `__mips_syscall_return'.
30451 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
30452 `internal_syscall##nr'.
30453 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
30454 `internal_syscall##nr'.
30455 (FORCE_FRAME_POINTER): Remove.
30456 (__mips_syscall5): New prototype.
30457 (internal_syscall5): Rewrite to call `__mips_syscall5'.
30458 (__mips_syscall6): New prototype.
30459 (internal_syscall6): Rewrite to call `__mips_syscall6'.
30460 (__mips_syscall7): New prototype.
30461 (internal_syscall7): Rewrite to call `__mips_syscall7'.
30462 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
30463 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
30464 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
30465 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
30466 (sysdep_routines): Add libc-do-syscall.
30467 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
30468 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
30470 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30473 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
30474 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
30475 (advise_stack_range): New function.
30476 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
30477 stack non required to advise_stack_range at allocatestack.c
30479 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30481 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
30483 2017-08-29 Florian Weimer <fweimer@redhat.com>
30486 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
30487 __end_fct. Mangle __end_fct after setting it to NULL.
30488 * iconv/Makefile (tests): Add tst-gconv-init-failure.
30489 (modules-names, modules-names-tests): Add
30490 tst-gconv-init-failure-mod.
30491 (gconv-modules): New target.
30492 (tst-gconv-init-failure-mod.so): Link against libsupport.
30493 (tst-gconv-init-failure): Depend on gconv-modules,
30494 tst-gconv-init-failure-mod.so.
30495 * iconv/tst-gconv-init-failure-mod.c: New file.
30496 * iconv/tst-gconv-init-failure.c: Likewise.
30497 * iconv/test-gconv-modules: Likewise.
30499 2017-08-29 Florian Weimer <fweimer@redhat.com>
30502 * iconv/gconv_db.c (free_derivation): Remove redundant
30504 (gen_steps): Unconditionally mangle __btowc_fct after
30506 (increment_counter): Likewise. Do not call init_fct for internal
30509 2017-08-29 Joseph Myers <joseph@codesourcery.com>
30512 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
30513 (_MSUF_): Remove macro.
30514 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
30516 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
30517 (__REDIRFROM_X): New macro.
30518 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
30520 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
30521 (__REDIRTO_X): Likewise.
30522 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
30524 (__MATH_REDIRCALL_2): Likewise.
30525 (__MATH_REDIRCALL_INTERNAL): Likewise.
30526 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30527 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
30528 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
30529 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30530 * math/test-finite-macros.c: New file.
30531 * math/Makefile (tests): Add test-finite-macros.
30532 (CFLAGS-test-finite-macros.c): New variable.
30534 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
30535 Jeff Law <law@redhat.com>
30538 Mangle NULL pointers in iconv/gconv.
30539 * iconv/gconv_cache.c (find_module): Demangle init_fct before
30540 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
30541 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
30542 is non-NULL before demangling the end_fct. Check for NULL
30543 end_fct after demangling.
30544 (__gconv_release_step): Demangle the end_fct before checking
30545 it for NULL. Remove assert on __shlibc_handle != NULL.
30546 (gen_steps): Don't check btowc_fct for NULL before mangling.
30547 Demangle init_fct before checking for NULL.
30548 (increment_counter): Likewise.
30549 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
30550 end_fct for NULL before mangling.
30551 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
30554 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
30557 * locale/iso-639.def: add Morisyen.
30559 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30562 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
30563 (iszero): New C++ implementation that does not use
30564 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
30565 signaling nans are enabled, since __builtin_types_compatible_p
30566 is a C-only feature.
30567 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
30568 defined, include ieee754_float128.h for access to the union and
30569 member ieee854_float128.ieee.
30570 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
30571 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
30572 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
30573 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
30574 options of test-math-zero on powerpc64le.
30576 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
30578 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
30579 Change double to float.
30581 2017-08-28 Joseph Myers <joseph@codesourcery.com>
30583 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
30585 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
30586 conditional code; define contents only for [LIBM_SVID_COMPAT].
30588 2017-08-28 Florian Weimer <fweimer@redhat.com>
30590 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
30591 (abi-lp64_be-options): Remove.
30592 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
30593 (abi-hard-options): Likewise.
30594 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
30595 (abi-o32_hard-options, abi-o32_soft_2008-options)
30596 (abi-o32_hard_2008-options, abi-n32_soft-options)
30597 (abi-n32_hard-options, abi-n32_soft_2008-options)
30598 (abi-n32_hard_2008-options, abi-n64_soft-options)
30599 (abi-n64_hard-options, abi-n64_soft_2008-options)
30600 (abi-n64_hard_2008-options): Likewise.
30601 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
30602 (abi-64-v1-options, abi-64-v2-options): Likewise.
30603 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
30604 (abi-64-options): Likewise.
30605 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
30606 (abi-64-options): Likewise.
30607 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
30608 (abi-64-options): Likewise.
30609 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
30610 (abi-64-options, abi-x32-options): Likewise.
30612 2017-08-28 Florian Weimer <fweimer@redhat.com>
30614 Store supported list of SYS_* system calls in the source tree.
30615 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
30616 (bits/syscall.h): Generate from list file.
30617 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
30618 [$(subdir) = misc] (tests): Add tst-syscall-list.
30619 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
30620 [$(subdir) = misc] (tst-syscall-list-macros.list)
30621 [$(subdir) = misc] (tst-syscall-list-nr.list)
30622 (tst-syscall-list-sys.list): Helper targets for new
30623 tst-syscall-list test.
30624 [$(subdir) = misc] (tst-syscall-list.out): Run test script
30625 tst-syscall-list.sh.
30626 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
30627 target. Do not include bits/syscall.d.
30628 [$(subdir) = misc] (generated): Do not update.
30629 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
30630 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
30631 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
30632 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
30634 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
30636 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
30637 (tst-cxa_atexit, tst-on_exit): Likewise.
30638 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
30639 tst-cxa_atexit, and tst-on_exit.
30640 * stdlib/tst-atexit-common.c: New file.
30641 * stdlib/tst-atexit.c: New file.
30642 * stdlib/tst-at_quick_exit.c: New file.
30643 * stdlib/tst-cxa_atexit.c: New file.
30644 * stdlib/tst-on_exit.c: New file.
30646 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
30648 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
30649 * mach/stack_chk_fail_local.c: New file.
30650 * hurd/stack_chk_fail_local.c: New file.
30651 * mach/Machrules ($(interface-library)-routines): Add
30652 stack_chk_fail_local.
30653 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
30654 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
30655 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
30656 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
30657 * hurd/Makefile (CFLAGS-hurdstartup.o,
30658 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
30660 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
30662 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
30663 (index_cpu_*, index_arch_*): Removed.
30665 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30667 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
30668 Use uint64_t instead of unsigned long.
30670 2017-08-25 Joseph Myers <joseph@codesourcery.com>
30672 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
30673 [__HAVE_DISTINCT_FLOAT128].
30675 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
30676 of <bits/math-finite.h>.
30677 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
30678 inclusion of <bits/math-finite.h>.
30679 * math/bits/math-finite.h (__REDIRTO_X): Do not define
30680 conditionally on [__MATH_DECLARING_LDOUBLE && defined
30681 __NO_LONG_DOUBLE_MATH].
30682 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
30683 (__MATH_REDIRCALL_2): Likewise.
30684 (__MATH_REDIRCALL_INTERNAL): Likewise.
30685 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30686 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
30687 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
30691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
30693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
30695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
30697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
30699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
30701 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
30702 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
30703 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
30704 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
30705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
30706 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
30707 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
30708 w_sqrtf_compat-ppc32.
30710 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30712 * math/math.h [defined __cplusplus] (issignaling): In the long
30713 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
30714 is not defined. Call __issignaling, otherwise.
30716 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30718 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
30719 syscall definitions and replace __builtin_expect with __glibc_likely.
30720 * sysdeps/unix/syscall-template.S: Update comment about cancellable
30722 (SYSCALL_CANCELLABLE): Removedefinition
30723 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
30725 (PSEUDO_END): Likewise.
30726 [IS_IN (libpthread)] (CENABLE): Likewise.
30727 [IS_IN (libpthread)] (CDISABLE): Likewise.
30728 [IS_IN (libc)] (CENABLE): Likewise.
30729 [IS_IN (libc)] (CENABLE): Likewise.
30730 [IS_IN (librt)] (CDISABLE): Likewise.
30731 [IS_IN (librt)] (CDISABLE): Likewise.
30732 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30733 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
30735 (PSEUDO_END): Likewise.
30736 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
30737 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
30738 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
30739 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
30740 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
30741 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
30742 (CENABLE): Likewise.
30743 (CDISABLE): Likewise.
30744 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30745 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
30747 (PSEUDO_END): Likewise.
30748 [IS_IN (libpthread)] (CENABLE): Likewise.
30749 [IS_IN (libpthread)] (CDISABLE): Likewise.
30750 [IS_IN (libc)] (CENABLE): Likewise.
30751 [IS_IN (libc)] (CENABLE): Likewise.
30752 [IS_IN (librt)] (CDISABLE): Likewise.
30753 [IS_IN (librt)] (CDISABLE): Likewise.
30754 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30755 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
30757 (PSEUDO_END): Likewise.
30758 [IS_IN (libpthread)] (CENABLE): Likewise.
30759 [IS_IN (libpthread)] (CDISABLE): Likewise.
30760 [IS_IN (libc)] (CENABLE): Likewise.
30761 [IS_IN (libc)] (CENABLE): Likewise.
30762 [IS_IN (librt)] (CDISABLE): Likewise.
30763 [IS_IN (librt)] (CDISABLE): Likewise.
30764 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30765 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
30767 (PSEUDO_END): Likewise.
30768 [IS_IN (libpthread)] (CENABLE): Likewise.
30769 [IS_IN (libpthread)] (CDISABLE): Likewise.
30770 [IS_IN (libc)] (CENABLE): Likewise.
30771 [IS_IN (libc)] (CENABLE): Likewise.
30772 [IS_IN (librt)] (CDISABLE): Likewise.
30773 [IS_IN (librt)] (CDISABLE): Likewise.
30774 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30775 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
30777 (PSEUDO_END): Likewise.
30778 [IS_IN (libpthread)] (CENABLE): Likewise.
30779 [IS_IN (libpthread)] (CDISABLE): Likewise.
30780 [IS_IN (libc)] (CENABLE): Likewise.
30781 [IS_IN (libc)] (CENABLE): Likewise.
30782 [IS_IN (librt)] (CDISABLE): Likewise.
30783 [IS_IN (librt)] (CDISABLE): Likewise.
30784 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30785 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
30787 (PSEUDO_END): Likewise.
30788 [IS_IN (libpthread)] (CENABLE): Likewise.
30789 [IS_IN (libpthread)] (CDISABLE): Likewise.
30790 [IS_IN (libc)] (CENABLE): Likewise.
30791 [IS_IN (libc)] (CENABLE): Likewise.
30792 [IS_IN (librt)] (CDISABLE): Likewise.
30793 [IS_IN (librt)] (CDISABLE): Likewise.
30794 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30795 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
30797 (PSEUDO_END): Likewise.
30798 [IS_IN (libpthread)] (CENABLE): Likewise.
30799 [IS_IN (libpthread)] (CDISABLE): Likewise.
30800 [IS_IN (libc)] (CENABLE): Likewise.
30801 [IS_IN (libc)] (CENABLE): Likewise.
30802 [IS_IN (librt)] (CDISABLE): Likewise.
30803 [IS_IN (librt)] (CDISABLE): Likewise.
30804 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30805 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
30807 (PSEUDO_END): Likewise.
30808 [IS_IN (libpthread)] (CENABLE): Likewise.
30809 [IS_IN (libpthread)] (CDISABLE): Likewise.
30810 [IS_IN (libc)] (CENABLE): Likewise.
30811 [IS_IN (libc)] (CENABLE): Likewise.
30812 [IS_IN (librt)] (CDISABLE): Likewise.
30813 [IS_IN (librt)] (CDISABLE): Likewise.
30814 (SINGLE_THREAD_P): Likewise.
30815 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
30817 (PSEUDO_END): Likewise.
30818 [IS_IN (libpthread)] (CENABLE): Likewise.
30819 [IS_IN (libpthread)] (CDISABLE): Likewise.
30820 [IS_IN (libc)] (CENABLE): Likewise.
30821 [IS_IN (libc)] (CENABLE): Likewise.
30822 [IS_IN (librt)] (CDISABLE): Likewise.
30823 [IS_IN (librt)] (CDISABLE): Likewise.
30824 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30825 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
30827 (PSEUDO_END): Likewise.
30828 [IS_IN (libpthread)] (CENABLE): Likewise.
30829 [IS_IN (libpthread)] (CDISABLE): Likewise.
30830 [IS_IN (libc)] (CENABLE): Likewise.
30831 [IS_IN (libc)] (CENABLE): Likewise.
30832 [IS_IN (librt)] (CDISABLE): Likewise.
30833 [IS_IN (librt)] (CDISABLE): Likewise.
30834 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30835 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
30836 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30837 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
30838 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
30840 (PSEUDO_END): Likewise.
30841 [IS_IN (libpthread)] (CENABLE): Likewise.
30842 [IS_IN (libpthread)] (CDISABLE): Likewise.
30843 [IS_IN (libc)] (CENABLE): Likewise.
30844 [IS_IN (libc)] (CENABLE): Likewise.
30845 [IS_IN (librt)] (CDISABLE): Likewise.
30846 [IS_IN (librt)] (CDISABLE): Likewise.
30847 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30848 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
30850 (PSEUDO_END): Likewise.
30851 [IS_IN (libpthread)] (CENABLE): Likewise.
30852 [IS_IN (libpthread)] (CDISABLE): Likewise.
30853 [IS_IN (libc)] (CENABLE): Likewise.
30854 [IS_IN (libc)] (CENABLE): Likewise.
30855 [IS_IN (librt)] (CDISABLE): Likewise.
30856 [IS_IN (librt)] (CDISABLE): Likewise.
30857 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30858 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
30860 (PSEUDO_END): Likewise.
30861 [IS_IN (libpthread)] (CENABLE): Likewise.
30862 [IS_IN (libpthread)] (CDISABLE): Likewise.
30863 [IS_IN (libc)] (CENABLE): Likewise.
30864 [IS_IN (libc)] (CENABLE): Likewise.
30865 [IS_IN (librt)] (CDISABLE): Likewise.
30866 [IS_IN (librt)] (CDISABLE): Likewise.
30867 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30868 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
30869 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30870 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
30871 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
30873 (PSEUDO_END): Likewise.
30874 [IS_IN (libpthread)] (CENABLE): Likewise.
30875 [IS_IN (libpthread)] (CDISABLE): Likewise.
30876 [IS_IN (libc)] (CENABLE): Likewise.
30877 [IS_IN (libc)] (CENABLE): Likewise.
30878 [IS_IN (librt)] (CDISABLE): Likewise.
30879 [IS_IN (librt)] (CDISABLE): Likewise.
30880 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30881 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
30883 (PSEUDO_END): Likewise.
30884 [IS_IN (libpthread)] (CENABLE): Likewise.
30885 [IS_IN (libpthread)] (CDISABLE): Likewise.
30886 [IS_IN (libc)] (CENABLE): Likewise.
30887 [IS_IN (libc)] (CENABLE): Likewise.
30888 [IS_IN (librt)] (CDISABLE): Likewise.
30889 [IS_IN (librt)] (CDISABLE): Likewise.
30890 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30892 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
30894 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
30896 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30898 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30900 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30903 * string/stratcliff.c (do_test): Declare size, nchars, inner,
30904 middle and outer with size_t instead of int. Repleace %d and
30905 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
30906 "MAX (outer, nchars - 64)" to support unsigned outer and
30907 nchars. Also exit loop when outer == 0.
30909 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30911 * include/fcntl.h (__fcntl_nocancel): Remove definition.
30912 * include/signal.h (__sigsuspend_nocancel): Likewise.
30913 * include/time.h (__nanosleep_nocancel): Likewise.
30914 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
30915 * login/utmp_file.c: Include non cancellable syscall header.
30916 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
30919 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30921 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
30922 .byte sequences with AVX512F instructions.
30923 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
30924 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
30925 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
30926 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
30928 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
30931 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
30932 Steve Ellcey <sellcey@cavium.com>
30934 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
30935 Use PTR_REG macro in cmp instruction.
30937 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30939 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
30940 Change the return type of the ifunc resolver to match the return
30941 type of the target function.
30943 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30945 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
30946 (preadv64): Likewise.
30947 (pwrite64(: Likewise.
30948 (pwritev64): Likewise.
30950 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
30951 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
30952 (LOAD_ARGS_0): Likewise.
30953 (LOAD_ARGS_1): Likewise.
30954 (LOAD_ARGS_2): Likewise.
30955 (LOAD_ARGS_3): Likewise.
30956 (LOAD_ARGS_4): Likewise.
30957 (LOAD_ARGS_5): Likewise.
30958 (LOAD_ARGS_6): Likewise.
30959 (LOAD_REGS_0): Likewise.
30960 (LOAD_REGS_1): Likewise.
30961 (LOAD_REGS_2): Likewise.
30962 (LOAD_REGS_3): Likewise.
30963 (LOAD_REGS_4): Likewise.
30964 (LOAD_REGS_5): Likewise.
30965 (LOAD_REGS_6): Likewise.
30966 (ASM_ARGS_0): Likewise.
30967 (ASM_ARGS_1): Likewise.
30968 (ASM_ARGS_2): Likewise.
30969 (ASM_ARGS_3): Likewise.
30970 (ASM_ARGS_4): Likewise.
30971 (ASM_ARGS_5): Likewise.
30972 (ASM_ARGS_6): Likewise.
30973 (LOAD_ARGS_TYPES_1): Likewise.
30974 (LOAD_ARGS_TYPES_2): Likewise.
30975 (LOAD_ARGS_TYPES_3): Likewise.
30976 (LOAD_ARGS_TYPES_4): Likewise.
30977 (LOAD_ARGS_TYPES_5): Likewise.
30978 (LOAD_ARGS_TYPES_6): Likewise.
30979 (LOAD_REGS_TYPES_1): Likewise.
30980 (LOAD_REGS_TYPES_2): Likewise.
30981 (LOAD_REGS_TYPES_3): Likewise.
30982 (LOAD_REGS_TYPES_4): Likewise.
30983 (LOAD_REGS_TYPES_5): Likewise.
30984 (LOAD_REGS_TYPES_6): Likewise.
30985 (TYPEFY): New define.
30986 (ARGIFY): Likewise.
30987 (internal_syscall0): Likewise.
30988 (internal_syscall1): Likewise.
30989 (internal_syscall2): Likewise.
30990 (internal_syscall3): Likewise.
30991 (internal_syscall4): Likewise.
30992 (internal_syscall5): Likewise.
30993 (internal_syscall6): Likewise.
30994 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
30995 (INTERNAL_SYSCALL_NCS): Remove define.
30996 (internal_syscall1): Add define.
30998 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31000 * math/w_remainder_compat.c: Remove duplicate inclusion of
31001 math-svid-compat.h.
31002 * math/w_remainderf_compat.c: Likewise.
31003 * math/w_remainderl_compat.c: Likewise.
31005 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31007 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31009 2017-08-22 Joseph Myers <joseph@codesourcery.com>
31012 * math/tgmath.h (__floating_type): Simplify definitions.
31013 (__real_integer_type): New macro.
31014 (__complex_integer_type): Likewise.
31015 (__expr_is_real): Likewise.
31016 (__tgmath_real_type_sub): Update comment to describe handling of
31018 (__tgmath_complex_type_sub): New macro.
31019 (__tgmath_complex_type): Likewise.
31020 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31021 (__TGMATH_CF128): Use __expr_is_real.
31022 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
31024 (__TGMATH_BINARY_REAL_IMAG): Likewise.
31025 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
31026 * math/gen-tgmath-tests.py (Type.create_type): Create complex
31029 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31031 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
31033 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
31035 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
31038 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
31039 nanosleep_not_cancel with __nanosleep_nocancel.
31040 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
31041 (__nanosleep_nocancel): New macro.
31042 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
31044 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
31046 (__nanosleep_nocancel): New prototype.
31048 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
31049 pause_not_cancel with __pause_nocancel.
31050 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
31051 (__pause_nocancel): New macro.
31052 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
31054 (__pause_nocancel): New prototype.
31055 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
31057 2017-08-22 Martin Sebor <msebor@redhat.com>
31059 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
31060 to return a pointer to the same type as the target function.
31062 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
31066 * include/printf.h (__printf_fphex): Add attribute_hidden.
31067 (__guess_grouping): New prototype.
31068 * stdio-common/printf_fp.c (__guess_grouping): Removed.
31069 * stdio-common/reg-printf.c (__register_printf_specifier): Add
31070 libc_hidden_proto and libc_hidden_def.
31071 * stdlib/strfmon_l.c (__guess_grouping): Removed.
31072 (__vstrfmon_l): Remove the third argument passed to
31075 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31077 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
31078 definition for issignaling that does not rely on __MATH_TG,
31079 since __MATH_TG uses __builtin_types_compatible_p, which is only
31080 available in C mode.
31081 (CFLAGS-test-math-issignaling.cc): New variable.
31082 * math/Makefile [CXX] (tests): Add test-math-issignaling.
31083 * math/test-math-issignaling.cc: New test for C++ implementation
31084 of type-generic issignaling.
31085 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
31086 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
31087 options of test-math-issignaling on powerpc64le.
31089 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
31091 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31093 (hidden_proto): Likewise.
31094 (hidden_tls_proto): Likewise.
31095 (__hidden_proto): Likewise.
31097 2017-08-22 Florian Weimer <fweimer@redhat.com>
31099 math: Statically link tests of internal functionality.
31100 * math/Makefile (tests): Remove atest-exp, atest-sincos,
31102 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
31103 (gmp-objs): Remove assignment.
31104 (atest-exp, atest-sincos, atest-exp2): Remove targets.
31106 2017-08-22 Joseph Myers <joseph@codesourcery.com>
31109 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
31111 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
31113 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
31116 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
31117 variable definitions above inclusion of ../Rules.
31119 2017-08-21 Joseph Myers <joseph@codesourcery.com>
31121 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
31122 case calling __builtin_unreachable.
31124 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31126 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
31127 __waitpid_nocancel.
31128 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
31129 (__waitpid_nocancel): New macro.
31130 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
31132 (__waitpid_nocancel): Replace macro with a function.
31133 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
31136 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
31138 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
31139 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
31141 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
31142 __writev_nocancel_nostatus.
31143 (write_call_graph): Likewise.
31144 (write_bb_counts): Likewise.
31145 * resolv/herror.c (herror): Likewise.
31146 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
31148 (__writev_nocancel_nostatus): New macro.
31149 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
31151 (__writev_nocancel_nostatus): New function.
31153 2017-08-21 Joseph Myers <joseph@codesourcery.com>
31156 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31158 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31160 (hidden_proto): Likewise.
31161 (hidden_tls_proto): Likewise.
31162 (__hidden_proto): Likewise.
31165 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
31166 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
31167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
31169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
31171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
31173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
31175 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
31176 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
31177 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
31178 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
31179 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
31180 GLIBC_2.0 sqrtl symbol.
31182 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
31183 [__USE_MISC] (_LIB_VERSION): Likewise.
31184 [__USE_MISC] (struct exception): Likewise.
31185 [__USE_MISC] (matherr): Likewise.
31186 [__USE_MISC] (DOMAIN): Likewise.
31187 [__USE_MISC] (SING): Likewise.
31188 [__USE_MISC] (OVERFLOW): Likewise.
31189 [__USE_MISC] (UNDERFLOW): Likewise.
31190 [__USE_MISC] (TLOSS): Likewise.
31191 [__USE_MISC] (PLOSS): Likewise.
31192 [__USE_MISC] (HUGE): Likewise.
31193 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
31194 * math/math-svid-compat.h: New file.
31195 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
31197 * include/math.h [!_ISOMAC] (__matherr): Remove.
31198 * manual/arith.texi (FP Exceptions): Do not document matherr.
31199 * math/Makefile (tests): Change test-matherr to test-matherr-3.
31200 (tests-internal): New variable.
31201 (install-lib): Do not add libieee.a.
31202 (non-lib.a): Likewise.
31203 (extra-objs): Do not add libieee.a and ieee-math.o.
31204 (CPPFLAGS-s_lib_version.c): Remove variable.
31205 ($(objpfx)libieee.a): Remove rule.
31206 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
31207 * math/ieee-math.c: Remove.
31208 * math/libm-test-support.c (matherr): Remove.
31209 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
31210 and license notices. Include <math-svid-compat.h> and
31212 (matherr): Undefine as macro. Use compat_symbol_reference.
31213 (_LIB_VERSION): Likewise.
31214 * math/test-matherr-2.c: New file.
31215 * math/test-matherr-3.c: Likewise.
31216 * sysdeps/generic/math_private.h (__kernel_standard): Remove
31218 (__kernel_standard_f): Likewise.
31219 (__kernel_standard_l): Likewise.
31220 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
31221 <math_private.h>. Include <math-svid-compat.h>.
31222 (_LIB_VERSION): Undefine as macro.
31223 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
31224 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
31225 [LIBM_SVID_COMPAT], use compat_symbol.
31226 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
31227 <math_private.h>. Include <math-svid-compat.h>.
31228 (matherr): Undefine as macro.
31229 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
31231 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
31232 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
31233 compat_symbol_reference.
31234 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
31235 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
31236 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
31237 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
31238 (MATHERR_D): Remove declaration.
31239 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
31240 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
31241 [LIBM_BUILD] (pmatherrf): Likewise.
31242 [LIBM_BUILD] (pmatherr): Likewise.
31243 [LIBM_BUILD] (pmatherrl): Likewise.
31244 (DOMAIN): Likewise.
31246 (OVERFLOW): Likewise.
31247 (UNDERFLOW): Likewise.
31250 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
31251 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
31253 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
31254 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
31256 * math/lgamma-compat.h: Include <math-svid-compat.h>.
31257 * math/w_acos_compat.c: Likewise.
31258 * math/w_acosf_compat.c: Likewise.
31259 * math/w_acosh_compat.c: Likewise.
31260 * math/w_acoshf_compat.c: Likewise.
31261 * math/w_acoshl_compat.c: Likewise.
31262 * math/w_acosl_compat.c: Likewise.
31263 * math/w_asin_compat.c: Likewise.
31264 * math/w_asinf_compat.c: Likewise.
31265 * math/w_asinl_compat.c: Likewise.
31266 * math/w_atan2_compat.c: Likewise.
31267 * math/w_atan2f_compat.c: Likewise.
31268 * math/w_atan2l_compat.c: Likewise.
31269 * math/w_atanh_compat.c: Likewise.
31270 * math/w_atanhf_compat.c: Likewise.
31271 * math/w_atanhl_compat.c: Likewise.
31272 * math/w_cosh_compat.c: Likewise.
31273 * math/w_coshf_compat.c: Likewise.
31274 * math/w_coshl_compat.c: Likewise.
31275 * math/w_exp10_compat.c: Likewise.
31276 * math/w_exp10f_compat.c: Likewise.
31277 * math/w_exp10l_compat.c: Likewise.
31278 * math/w_exp2_compat.c: Likewise.
31279 * math/w_exp2f_compat.c: Likewise.
31280 * math/w_exp2l_compat.c: Likewise.
31281 * math/w_fmod_compat.c: Likewise.
31282 * math/w_fmodf_compat.c: Likewise.
31283 * math/w_fmodl_compat.c: Likewise.
31284 * math/w_hypot_compat.c: Likewise.
31285 * math/w_hypotf_compat.c: Likewise.
31286 * math/w_hypotl_compat.c: Likewise.
31287 * math/w_j0_compat.c: Likewise.
31288 * math/w_j0f_compat.c: Likewise.
31289 * math/w_j0l_compat.c: Likewise.
31290 * math/w_j1_compat.c: Likewise.
31291 * math/w_j1f_compat.c: Likewise.
31292 * math/w_j1l_compat.c: Likewise.
31293 * math/w_jn_compat.c: Likewise.
31294 * math/w_jnf_compat.c: Likewise.
31295 * math/w_jnl_compat.c: Likewise.
31296 * math/w_lgamma_main.c: Likewise.
31297 * math/w_lgamma_r_compat.c: Likewise.
31298 * math/w_lgammaf_main.c: Likewise.
31299 * math/w_lgammaf_r_compat.c: Likewise.
31300 * math/w_lgammal_main.c: Likewise.
31301 * math/w_lgammal_r_compat.c: Likewise.
31302 * math/w_log10_compat.c: Likewise.
31303 * math/w_log10f_compat.c: Likewise.
31304 * math/w_log10l_compat.c: Likewise.
31305 * math/w_log2_compat.c: Likewise.
31306 * math/w_log2f_compat.c: Likewise.
31307 * math/w_log2l_compat.c: Likewise.
31308 * math/w_log_compat.c: Likewise.
31309 * math/w_logf_compat.c: Likewise.
31310 * math/w_logl_compat.c: Likewise.
31311 * math/w_pow_compat.c: Likewise.
31312 * math/w_powf_compat.c: Likewise.
31313 * math/w_powl_compat.c: Likewise.
31314 * math/w_remainder_compat.c: Likewise.
31315 * math/w_remainderf_compat.c: Likewise.
31316 * math/w_remainderl_compat.c: Likewise.
31317 * math/w_scalb_compat.c: Likewise.
31318 * math/w_scalbf_compat.c: Likewise.
31319 * math/w_scalbl_compat.c: Likewise.
31320 * math/w_sinh_compat.c: Likewise.
31321 * math/w_sinhf_compat.c: Likewise.
31322 * math/w_sinhl_compat.c: Likewise.
31323 * math/w_sqrt_compat.c: Likewise.
31324 * math/w_sqrtf_compat.c: Likewise.
31325 * math/w_sqrtl_compat.c: Likewise.
31326 * math/w_tgamma_compat.c: Likewise.
31327 * math/w_tgammaf_compat.c: Likewise.
31328 * math/w_tgammal_compat.c: Likewise.
31329 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
31330 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
31331 * sysdeps/ieee754/k_standard.c: Likewise.
31332 * sysdeps/ieee754/k_standardf.c: Likewise.
31333 * sysdeps/ieee754/k_standardl.c: Likewise.
31334 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
31335 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
31336 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
31337 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
31338 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
31339 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
31340 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
31341 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
31342 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
31343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
31345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
31347 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
31348 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
31349 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
31350 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
31352 2017-08-21 Florian Weimer <fweimer@redhat.com>
31355 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
31356 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
31357 Move before inclusion of ../Rules.
31359 2017-08-21 Florian Weimer <fweimer@redhat.com>
31362 * assert/assert.h (assert): Use static_cast (bool) for C++.
31363 Use the ternary operator in the warning branch for GNU C.
31364 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
31365 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
31366 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
31367 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
31368 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
31370 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31373 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31374 (__syscall_clock_gettime): Add attribute_hidden.
31375 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
31376 (__start_context): Likewise.
31378 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31380 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31382 (hidden_proto): Likewise.
31383 (hidden_tls_proto): Likewise.
31384 (__hidden_proto): Likewise.
31386 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31388 * include/libc-symbols.h (attribute_hidden): Enable hidden
31389 visibility in libc.a compiled with PIE.
31391 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31394 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
31395 Add attribute_hidden.
31397 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31400 * Makerules (all-nonlib): Add $(others-extras).
31401 * catgets/Makefile (others-extras): New.
31402 * elf/Makefile (others-extras): Likewise.
31403 * nss/Makefile (others-extras): Likewise.
31405 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31408 * csu/libc-start.c (__libc_multiple_libcs): Removed.
31409 * elf/dl-open.c: Include <libc-internal.h>.
31410 (__libc_multiple_libcs): Removed.
31411 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
31413 * include/libc-internal.h (__libc_multiple_libcs): New.
31414 * misc/sbrk.c: Include <libc-internal.h>.
31415 (__libc_multiple_libcs): Removed.
31417 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31420 * grp/initgroups.c (__nss_group_database): Removed.
31421 (__nss_initgroups_database): Likewise.
31422 * nscd/gai.c (__nss_hosts_database): Likewise.
31423 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
31424 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
31425 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
31426 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
31427 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
31428 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
31430 * nss/nsswitch.c (__nss_database_custom): Define only if
31431 USE_NSCD is defined.
31432 (__nss_configure_lookup): Use __nss_database_custom only if
31433 USE_NSCD is defined.
31434 * nss/nsswitch.h (__nss_database_custom): Declare only if
31435 USE_NSCD is defined. Add attribute_hidden.
31436 (__nss_setent): Add attribute_hidden.
31437 (__nss_endent): Likewise.
31438 (__nss_getent_r): Likewise.
31439 (__nss_getent): Likewise.
31440 (DEFINE_DATABASE): Declare __nss_##arg##_database.
31442 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31445 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
31446 libc_hidden_proto and libc_hidden_def.
31448 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31451 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
31452 Add libc_hidden_proto.
31453 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
31454 Add libc_hidden_def.
31456 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31459 * gmon/Makefile (routines): Remove bb_init_func and
31461 (elide-routines.os): Removed.
31462 * gmon/bb_exit_func.c: Likewise.
31463 * gmon/bb_init_func.c: Likewise.
31464 * include/sys/gmon.h (__bb): Likewise.
31465 (__bb_init_func): Likewise.
31466 (__bb_exit_func): Likewise.
31467 * sysdeps/alpha/bb_init_func.S: Likewise.
31469 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31471 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
31472 * include/setjmp.h (____longjmp_chk): Here. Add
31475 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
31478 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
31480 (__strspn_sse2): Likewise.
31482 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31484 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
31485 (close_not_cancel_no_status): Likewise.
31486 (__close_nocancel): New macro.
31487 (__close_nocancel_nostatus): Likewise.
31488 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
31490 (close_not_cancel): Likewise.
31491 (close_not_cancel_no_status): Likewise.
31492 (__close_nocancel): New prototype.
31493 (__close_nocancel_nostatus): New function.
31494 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
31495 * catgets/open_catalog.c (__open_catalog): Replace
31496 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
31497 * gmon/gmon.c (write_gmon): Likewise.
31498 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
31499 * intl/loadmsgcat.c (close): Likewise.
31500 * io/ftw.c (open_dir_stream): Likewise.
31501 (ftw_startup): Likewise.
31502 * libio/fileops.c (_IO_file_open): Likewise.
31503 (_IO_file_close_mmap): Likewise.
31504 (_IO_file_close): Likewise.
31505 * libio/iopopen.c (_IO_dup2): Likewise.
31506 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31507 * locale/loadlocale.c (_nl_load_locale): Likewise.
31508 * login/utmp_file.c (pututline_file): Likewise.
31509 (endutent_file): Likewise.
31510 * misc/daemon.c (daemon): Likewise.
31511 * nscd/nscd_getai.c (__nscd_getai): Likewise.
31512 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31513 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31514 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31515 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31516 * nscd/nscd_helper.c (open_socket): Likewise.
31517 (__nscd_open_socket): Likewise.
31518 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
31519 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
31520 (__nscd_innetgr): Likewise.
31521 * nss/nss_db/db-open.c (internal_setent): Likewise.
31522 * resolv/res-close.c (__res_iclose): Likewise.
31523 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
31524 * sysdeps/posix/closedir.c (__closedir): Likewise.
31525 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
31526 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31527 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
31528 (opendir_tail): Likewise.
31529 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31530 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
31531 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
31532 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31533 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31534 (gethostid): Likewise.
31535 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31536 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31538 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31539 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
31540 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31541 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31543 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
31544 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
31545 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31547 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
31548 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31550 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31552 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
31553 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31554 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31557 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
31558 (openat_not_cancel_3): Likewise.
31559 (openat64_not_cancel_3): Likewise).
31560 (openat_not_cancel_3): Likewise).
31561 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
31563 (openat_not_cancel_3): Likewise.
31564 (openat64_not_cancel): Likewise.
31565 (openat64_not_cancel_3): Likewise.
31566 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
31567 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
31568 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
31569 __open{64}_nocancel.
31570 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31571 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31572 * sysdeps/posix/opendir.c (__opendirat): Likewise.
31574 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31577 * include/argz.h (__argz_create_sep): New function prototype.
31578 (__argz_append): Likewise.
31579 (__argz_add): Likewise.
31580 (__argz_add_sep): Likewise.
31581 (__argz_delete): Likewise.
31582 (__argz_insert): Likewise.
31583 (__argz_replace): Likewise.
31584 * string/argz.h (__argz_create_sep): Removed.
31585 (__argz_append): Likewise.
31586 (__argz_add): Likewise.
31587 (__argz_add_sep): Likewise.
31588 (__argz_delete): Likewise.
31589 (__argz_insert): Likewise.
31590 (__argz_replace): Likewise.
31592 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31594 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
31595 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
31596 (GNU_PROPERTY_STACK_SIZE): Likewie.
31597 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
31598 (GNU_PROPERTY_LOPROC): Likewise.
31599 (GNU_PROPERTY_HIPROC): Likewise.
31600 (GNU_PROPERTY_LOUSER): Likewise.
31601 (GNU_PROPERTY_HIUSER): Likewise.
31602 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
31603 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
31604 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
31605 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
31606 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
31607 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
31608 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
31609 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
31610 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
31611 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
31612 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
31613 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
31614 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
31615 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
31616 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
31617 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
31618 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
31619 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
31620 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
31621 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
31622 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
31623 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
31624 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
31626 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31628 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
31631 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31634 * math/math.h (isinf): Check if in C or C++ mode before using
31635 __builtin_types_compatible_p, since this is a C mode feature.
31637 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31639 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
31640 (__write_nocancel): New macro.
31641 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
31642 Rewrite as a function prototype.
31643 (write_not_cancel): Remove macro.
31644 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
31645 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
31646 (write_gmon): Likewise.
31647 * libio/fileops.c (_IO_new_file_write): Likewise.
31648 * login/utmp_file.c (pututline_file): Likewise.
31649 (updwtmp_file): Likewise.
31650 * stdio-common/psiginfo.c (psiginfo): Likewise.
31651 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31652 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31653 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31655 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31658 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
31659 (__read_nocancel): New macro.
31660 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31662 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
31664 (__read_nocancel): New prototype.
31665 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
31666 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
31667 with __read_nocancel.
31668 * intl/loadmsgcat.c (read): Likewise.
31669 * libio/fileops.c (_IO_file_read): Likewise.
31670 * locale/loadlocale.c (_nl_load_locale): Likewise.
31671 * login/utmp_file.c (getutent_r_file): Likewise.
31672 (internal_getut_r): Likewise.
31673 (getutline_r_file): Likewise.
31674 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31675 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31676 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31677 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31679 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
31680 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31681 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31683 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31685 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31687 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31689 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31691 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31694 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
31695 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
31698 2017-08-17 DJ Delorie <dj@redhat.com>
31700 * bug17079.c: Update to new test harness.
31701 * test-digits-dots.c: Likewise.
31702 * test-netdb.c: Likewise.
31703 * tst-field.c: Likewise.
31704 * tst-nss-getpwent.c: Likewise.
31705 * tst-nss-static.c: Likewise.
31706 * tst-nss-test1.c: Likewise.
31707 * tst-nss-test2.c: Likewise.
31708 * tst-nss-test3.c: Likewise.
31709 * tst-nss-test4.c: Likewise.
31710 * tst-nss-test5.c: Likewise.
31712 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31714 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
31715 (open_not_cancel_2): Likewise.
31716 (open_nocancel): New macro.
31717 (open64_nocancel): Likewise.
31718 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
31719 (open_not_cancel_2): Likewise.
31720 (__open_nocancel): New prototype.
31721 (__open64_nocancel): Likewise.
31722 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31724 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
31725 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
31726 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
31727 with __open_nocancel.
31728 * csu/check_fds.c (check_one_fd): Likewise.
31729 * gmon/gmon.c (write_gmon): Likewise.
31730 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
31731 * intl/loadmsgcat.c (open): Likewise.
31732 * libio/fileops.c (_IO_file_open): Likewise.
31733 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31734 * locale/loadlocale.c (_nl_load_locale): Likewise.
31735 * login/utmp_file.c (setutent_file): Likewise.
31736 * misc/daemon.c (daemon): Likewise.
31737 * nss/nss_db/db-open.c (internal_setent): Likewise.
31738 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31739 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
31740 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
31741 (__opendir): Likewise.
31742 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31743 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31744 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31745 (gethostid): Likewise.
31746 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31747 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31749 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31750 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
31751 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31752 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31754 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31756 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31758 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
31760 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31762 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31764 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
31765 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31767 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
31769 * benchtests/bench-skeleton.c (main): Add support for
31770 latency benchmarking.
31771 * benchtests/scripts/bench.py: Add support for latency benchmarking.
31773 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
31775 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
31776 the startup object.
31778 2017-08-17 Florian Weimer <fweimer@redhat.com>
31780 * include/sys/socket.h (__opensock): Remove internal_function.
31781 * socket/opensock.c (__opensock): Likewise.
31782 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
31784 2017-08-16 Joseph Myers <joseph@codesourcery.com>
31787 * signal/bits/types/__sigval_t.h: New file.
31788 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
31789 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
31790 and define sigval_t using __sigval_t.
31791 * include/bits/types/__sigval_t.h: New file.
31792 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
31793 instead of <bits/types/__sigval_t.h>.
31794 (struct sigevent): Use __sigval_t instead of sigval_t.
31795 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
31796 instead of <bits/types/__sigval_t.h>.
31797 (siginfo_t): Use __sigval_t instead of sigval_t.
31798 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
31799 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31800 (struct sigevent): Use __sigval_t instead of sigval_t.
31801 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
31802 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31803 (siginfo_t): Use __sigval_t instead of sigval_t.
31804 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
31806 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31808 * NEWS: Remove "[Add new features here]" for 2.27.
31810 2017-08-16 Joseph Myers <joseph@codesourcery.com>
31812 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
31815 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31817 * NEWS: Mention x86-64 FMA optimization.
31819 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31822 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31824 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
31825 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
31826 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
31828 2017-08-16 Andreas Schwab <schwab@suse.de>
31832 * elf/ldd.bash.in: Never run file directly.
31834 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
31837 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
31838 (L(SP_INF_0)): Likewise.
31840 2017-08-15 Florian Weimer <fweimer@redhat.com>
31842 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
31845 2017-08-15 Florian Weimer <fweimer@redhat.com>
31847 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
31848 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
31849 BROKEN_THREAD_SIGNALS code.
31850 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
31851 request_list): Remove caller_pid member used for
31852 BROKEN_THREAD_SIGNALS.
31853 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
31854 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31855 Remove BROKEN_THREAD_SIGNALS support.
31856 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
31857 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
31859 2017-08-15 Florian Weimer <fweimer@redhat.com>
31861 * gmon/Makefile (tests): Add tst-gmon.
31862 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
31864 (tests-special): Add tst-gmon-prof.out.
31865 (tst-gmon.out): Depend on clean-tst-gmon-data.
31866 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
31867 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
31868 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
31870 * aclocal.m4 (GPROF): Set and substitute.
31871 * config.amke.in (GPROF): Set.
31872 * configure: Regenerate.
31874 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
31876 * elf/elf.h A (NT_PPC_TAR): New macro.
31877 (NT_PPC_PPR): Likewise.
31878 (NT_PPC_DSCR): Likewise.
31879 (NT_PPC_EBB): Likewise.
31880 (NT_PPC_PMU): Likewise.
31881 (NT_PPC_TM_CGPR): Likewise.
31882 (NT_PPC_TM_CFPR): Likewise.
31883 (NT_PPC_TM_CVMX): Likewise.
31884 (NT_PPC_TM_CVSX): Likewise.
31885 (NT_PPC_TM_SPR): Likewise.
31886 (NT_PPC_TM_CTAR): Likewise.
31887 (NT_PPC_TM_CPPR): Likewise.
31888 (NT_PPC_TM_CDSCR): Likewise.
31890 2017-08-15 Florian Weimer <fweimer@redhat.com>
31892 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
31893 regparm (2) instead of internal_function.
31894 (_MCOUNT_DECL): Adjust.
31896 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
31898 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
31899 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
31901 2017-08-14 Joseph Myers <joseph@codesourcery.com>
31903 * conform/data/sys/wait.h-data (si_value): Do not expect for
31906 2017-08-14 Florian Weimer <fweimer@redhat.com>
31909 NSS: Create stubs for accidentally exported lookup functions.
31910 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
31911 Remove declaration.
31912 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
31913 (ether_hostton): Call __nss_ethers_lookup2 instead.
31914 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
31915 (ether_ntohost): Call __nss_ethers_lookup2 instead.
31916 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
31917 (setup): Call __nss_netgroup_lookup2 instead.
31918 * nss/Makefile (routines): Add compat-lookup.
31919 * nss/Versions (GLIBC_2.27): Add symbol version.
31920 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
31921 (DB_COMPAT_FCT): Remove.
31922 * nss/compat-lookup.c: New file.
31923 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
31924 from databases.def.
31925 * nss/service-lookup.c (NO_COMPAT): Remove definition.
31926 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
31927 (netname2user): Call __nss_publickey_lookup2 instead.
31928 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
31929 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
31932 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31933 Sergei Trofimovich <slyfox@inbox.ru>
31936 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
31937 Rename to MMAP2_PAGE_UNIT.
31938 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
31939 __OFF_T_MATCHES_OFF64_T is not defined.
31940 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
31942 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
31943 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
31945 2017-08-14 Florian Weimer <fweimer@redhat.com>
31947 i386: Do not set internal_function.
31948 * config.h.in (USE_REGPARMS, internal_function): Remove.
31949 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
31950 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
31952 2017-08-14 Florian Weimer <fweimer@redhat.com>
31954 * elf/dl-init.c (_dl_init): Remove internal_function.
31955 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
31956 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
31958 2017-08-14 Florian Weimer <fweimer@redhat.com>
31960 * elf/rtld.c (_dl_start): Remove internal_function.
31961 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
31964 2017-08-14 Florian Weimer <fweimer@redhat.com>
31966 * elf/dl-fini.c (_dl_fini): Remove internal_function
31967 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
31969 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
31971 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
31972 (bit_cpu_SHSTK): Likewise.
31973 (index_cpu_IBT): Likewise.
31974 (index_cpu_SHSTK): Likewise.
31975 (reg_IBT): Likewise.
31976 (reg_SHSTK): Likewise.
31977 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
31978 Handle index_cpu_IBT and index_cpu_SHSTK.
31980 2017-08-14 Mike FABIAN <mfabian@redhat.com>
31983 * po/fr.po: Fix spelling mistake.
31985 2017-08-13 Florian Weimer <fweimer@redhat.com>
31987 * elf/dl-addr.c (_dl_addr): Remove internal_function.
31988 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
31989 (_dl_catch_error, _dl_receive_error): Likewise.
31990 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
31991 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
31992 (_dl_deallocate_tls): Likewise.
31993 * include/dlfcn.h (_dl_addr): Likewise.
31994 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
31995 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
31996 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
31999 2017-08-13 Florian Weimer <fweimer@redhat.com>
32001 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
32002 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
32004 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
32006 2017-08-13 Florian Weimer <fweimer@redhat.com>
32008 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
32010 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
32011 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
32012 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
32013 internal_function from _dl_make_stack_executable_hook member.
32014 (_dl_make_stack_executable): Remove internal_function.
32015 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
32017 * sysdeps/unix/sysv/linux/dl-execstack.c
32018 (_dl_make_stack_executable): Likewise.
32020 2017-08-13 Florian Weimer <fweimer@redhat.com>
32022 * sysdeps/unix/sysv/linux/netlinkaccess.h
32023 (__netlink_assert_response): Remove internal_function.
32024 * sysdeps/unix/sysv/linux/netlink_assert_response.c
32025 (__netlink_assert_response): Likewise.
32027 2017-08-13 Florian Weimer <fweimer@redhat.com>
32029 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
32031 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
32033 2017-08-13 Florian Weimer <fweimer@redhat.com>
32035 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
32037 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
32038 * inet/netgroup.h (__internal_setnetgrent)
32039 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
32040 * inet/getnetgrent_r.c (__internal_setnetgrent)
32041 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
32042 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
32043 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
32044 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
32045 * nss/nsswitch.h (db_lookup_function): Likewise.
32047 2017-08-13 Florian Weimer <fweimer@redhat.com>
32049 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
32050 Remove internal_function.
32051 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
32052 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
32053 message argument on the stack.
32054 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
32057 2017-08-12 Mike FABIAN <mfabian@redhat.com>
32059 Adapt test case data to the changes in the thousands
32063 * localedata/tst-langinfo.sh: Adapt test case data.
32064 * stdlib/tst-strfmon_l.c: Likewise.
32065 * stdlib/tst-strtod4.c: Likewise.
32066 * stdlib/tst-strtod5i.c: Likewise.
32068 2017-08-11 Florian Weimer <fweimer@redhat.com>
32071 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
32072 Suppress pedantic warning resulting from statement expression.
32073 (__ASSERT_FUNCTION): Add missing __extension__.
32075 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
32077 * benchtests/bench-memmove-large.c: Print output in JSON
32079 * benchtests/bench-memmove.c: Likewise.
32081 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
32082 * benchtests/bench-memchr.c (do_one_test): Likewise.
32083 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
32084 * benchtests/bench-memcpy.c (do_one_test): Likewise.
32085 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
32086 * benchtests/bench-memmove.c (do_one_test): Likewise.
32087 * benchtests/bench-memset-large.c (do_one_test): Likewise.
32088 * benchtests/bench-memset.c (do_one_test): Likewise.
32089 * benchtests/bench-string.h (test_init): Remove memsets.
32091 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
32094 (Computing the Width of an Integer Data Type): Rename section to
32095 "Width of an Integer Type". Remove inaccurate statement regarding
32096 lack of C language facilities for determining width of integer
32097 types, and reorder content to improve flow and context of
32100 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
32102 * lang.texi (va_copy): Change standard from ISO to C99.
32103 (__va_copy): Add standard and header annotation.
32104 Update description for clarity of origins and current use.
32106 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32109 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
32110 xssqrtqp requires operands to be in Vector Registers
32111 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
32112 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
32113 (__ieee754_sqrtf128): Likewise.
32115 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
32117 * sysdeps/aarch64/memcmp.S (memcmp):
32118 Rewrite of optimized memcmp.
32120 2017-08-10 Florian Weimer <fweimer@redhat.com>
32122 Introduce ld.so exceptions.
32123 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
32124 (_dl_exception_create, _dl_exception_create_format)
32125 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
32126 (_dl_catch_exception): Declare.
32127 (_dl_catch_error): Update comment.
32128 * elf/dl-error-skeleton.c (struct catch): Replace objname,
32129 errstring, malloced members with exception member.
32130 (_dl_out_of_memory): Remove.
32131 (fatal_error): New function, extracted from _dl_signal_error.
32132 (_dl_signal_exception, _dl_signal_cexception): New functions.
32133 (_dl_signal_error): Call _dl_exception_create to allocate an
32135 (_dl_catch_exception): New function, based on _dl_catch_error.
32136 (_dl_catch_error): Implement using _dl_catch_exception.
32137 * elf/dl-exception.c: New file.
32138 * elf/Makefile (dl-routines): Add dl-exception.
32139 (elide-routines.os): Likewise.
32140 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
32141 _dl_exception_create_format, _dl_exception_free.
32142 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
32143 _dl_signal_exception.
32144 * elf/dl-lookup.c (make_string): Remove.
32145 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
32146 _dl_signal_cexception, _dl_exception_free.
32147 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
32148 _dl_signal_exception.
32149 * elf/dl-sym.c (do_sym): Likewise.
32150 * elf/dl-version.c (make_string): Remove.
32151 (match_symbol): Use _dl_exception_create_format,
32152 _dl_signal_cexception, _dl_exception_free.
32153 (_dl_check_map_versions): Likewise.
32154 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
32155 _dl_catch_exception.
32156 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
32157 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
32158 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
32159 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
32160 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
32161 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
32162 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
32163 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
32165 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
32166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
32168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
32170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
32172 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
32173 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
32174 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
32176 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
32178 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
32180 2017-08-10 Florian Weimer <fweimer@redhat.com>
32182 * inet/net-internal.h (__inet6_scopeid_pton): Remove
32183 attribute_hidden, internal_function.
32184 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
32187 2017-08-10 Florian Weimer <fweimer@redhat.com>
32189 * malloc/malloc.c (get_max_fast): Reimplement as an inline
32190 function which calls __builtin_unreachable.
32192 2017-08-10 Mike FABIAN <mfabian@redhat.com>
32194 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
32195 Indian monetary formatting
32196 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
32199 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
32201 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
32202 Fix typo in comment.
32205 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
32206 PTRACE_SEIZE_DEVEL): Remove.
32207 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
32208 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32209 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32210 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32211 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32213 2017-08-09 Joseph Myers <joseph@codesourcery.com>
32215 * posix/bits/types.h (__qaddr_t): Remove.
32218 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
32219 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32221 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
32222 (ucontext_t): Use __ctx with uc_flags.
32223 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
32224 (__ctxt): Likewise.
32225 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32227 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
32228 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32230 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
32231 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32233 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
32235 (ucontext_t): Use __ctx with uc_flags.
32236 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
32237 (ucontext_t): Use __ctx with uc_flags.
32238 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
32239 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
32240 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
32241 (ucontext_t): Use __ctx with uc_flags.
32242 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
32243 undefine further down.
32244 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32246 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
32247 undefine further down.
32248 (ucontext_t): Use __ctx with uc_flags.
32249 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
32250 undefine further down.
32251 (ucontext_t): Use __ctx with uc_flags.
32252 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
32253 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
32254 Rename uc_pad to __glibc_reserved1.
32255 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
32256 undefine further down.
32257 (ucontext_t): Use __ctx with uc_flags.
32258 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
32260 (ucontext_t): Use __ctx with uc_flags.
32261 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
32262 __ctx with uc_flags.
32263 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
32264 (ucontext_t): Use __ctx with uc_flags.
32265 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
32266 __ctx with uc_flags.
32268 2017-08-09 Florian Weimer <fweimer@redhat.com>
32271 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
32272 before early return.
32274 2017-08-09 Andreas Schwab <schwab@suse.de>
32277 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
32281 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
32282 tst-compat-forwarder.
32283 (modules-names): Add tst-compat-forwarder-mod.
32284 ($(objpfx)tst-compat-forwarder): Depend on
32285 $(objpfx)tst-compat-forwarder-mod.so.
32286 * nptl/tst-compat-forwarder.c: New file.
32287 * nptl/tst-compat-forwarder-mod.c: New file.
32289 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
32291 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
32294 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
32295 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
32297 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
32299 (__libc_ifunc_impl_list): Add __memcpy_falkor.
32300 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
32301 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
32302 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
32304 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
32307 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32310 * manual/setjmp.texi (getcontex): Document uc_stack value
32311 compatibility differences.
32313 2017-08-08 Joseph Myers <joseph@codesourcery.com>
32315 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
32316 (old_malloc_hook): Likewise.
32317 (old_memalign_hook): Likewise.
32318 (old_realloc_hook): Likewise.
32319 (struct hdr): Likewise.
32321 (freehook): Likewise.
32322 (mallochook): Likewise.
32323 (memalignhook): Likewise.
32324 (reallochook): Likewise.
32325 (mprobe): Likewise.
32326 * malloc/mtrace.c (mallwatch): Likewise.
32327 (tr_old_free_hook): Likewise.
32328 (tr_old_malloc_hook): Likewise.
32329 (tr_old_realloc_hook): Likewise.
32330 (tr_old_memalign_hook): Likewise.
32331 (tr_where): Likewise.
32332 (lock_and_info): Likewise.
32333 (tr_freehook): Likewise.
32334 (tr_mallochook): Likewise.
32335 (tr_reallochook): Likewise.
32336 (tr_memalignhook): Likewise.
32337 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
32338 * misc/mmap.c (__mmap): Likewise.
32339 * misc/mmap64.c (__mmap64): Likewise.
32340 * misc/mprotect.c (__mprotect): Likewise.
32341 * misc/msync.c (msync): Likewise.
32342 * misc/munmap.c (__munmap): Likewise.
32343 * posix/posix_madvise.c (posix_madvise): Likewise.
32344 * socket/send.c (__send): Likewise.
32345 * socket/sendto.c (__sendto): Likewise.
32346 * socket/setsockopt.c (__setsockopt): Likewise.
32347 * string/memcmp.c (__ptr_t): Remove macro.
32348 (MEMCMP): Use void * instead of ptr_t.
32349 * string/memrchr.c (__ptr_t): Remove macro.
32350 (__memrchr): Use void * instead of ptr_t.
32351 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
32352 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
32353 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
32354 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
32355 * sysdeps/mach/msync.c (msync): Likewise.
32356 * sysdeps/mach/munmap.c (__munmap): Likewise.
32357 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
32359 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32360 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
32361 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
32362 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
32363 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
32364 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
32365 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
32366 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
32368 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
32369 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
32370 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
32371 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
32372 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
32373 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
32374 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
32375 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
32376 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
32378 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
32379 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
32380 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
32381 (MEMCMP): Use void * instead of ptr_t.
32382 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
32383 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
32385 2017-08-08 Florian Weimer <fweimer@redhat.com>
32387 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
32390 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
32393 * csu/libc-tls.c: Include <startup.h> first.
32394 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
32395 * elf/dl-tunables.c: Include <startup.h> first.
32396 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
32397 * sysdeps/generic/startup.h: New file.
32398 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
32399 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
32400 (I386_USE_SYSENTER): New. Defined to 0.
32402 2017-08-08 Andreas Schwab <schwab@suse.de>
32405 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
32406 * nptl/pt-system.c (system): Likewise.
32408 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32411 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
32413 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
32414 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
32415 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
32416 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
32417 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
32418 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
32419 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
32421 2017-08-07 Joseph Myers <joseph@codesourcery.com>
32424 * bits/sigaction.h (struct sigaction): Define sa_handler and
32425 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
32426 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32427 [__USE_XOPEN_EXTENDED].
32428 (SA_RESTART): Likewise.
32429 (SA_NODEFER): Likewise.
32430 (SA_RESETHAND): Likewise.
32431 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
32432 (struct sigaction): Define sa_handler and sa_sigaction using union
32433 also for [__USE_XOPEN_EXTENDED].
32434 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32435 [__USE_XOPEN_EXTENDED].
32436 (SA_RESTART): Likewise.
32437 (SA_NODEFER): Likewise.
32438 (SA_RESETHAND): Likewise.
32439 * sysdeps/unix/sysv/linux/bits/sigaction.h
32440 (struct sigaction): Define sa_handler and sa_sigaction using union
32441 also for [__USE_XOPEN_EXTENDED].
32442 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32443 [__USE_XOPEN_EXTENDED].
32444 (SA_RESTART): Likewise.
32445 (SA_NODEFER): Likewise.
32446 (SA_RESETHAND): Likewise.
32447 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
32448 (struct sigaction): Define sa_handler and sa_sigaction using union
32449 also for [__USE_XOPEN_EXTENDED].
32450 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32451 [__USE_XOPEN_EXTENDED].
32452 (SA_RESTART): Likewise.
32453 (SA_NODEFER): Likewise.
32454 (SA_RESETHAND): Likewise.
32455 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
32456 (struct sigaction): Define sa_handler and sa_sigaction using union
32457 also for [__USE_XOPEN_EXTENDED].
32458 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32459 [__USE_XOPEN_EXTENDED].
32460 (SA_RESTART): Likewise.
32461 (SA_NODEFER): Likewise.
32462 (SA_RESETHAND): Likewise.
32463 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
32464 (struct sigaction): Define sa_handler and sa_sigaction using union
32465 also for [__USE_XOPEN_EXTENDED].
32466 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32467 [__USE_XOPEN_EXTENDED].
32468 (SA_RESTART): Likewise.
32469 (SA_NODEFER): Likewise.
32470 (SA_RESETHAND): Likewise.
32471 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
32472 (struct sigaction): Define sa_handler and sa_sigaction using union
32473 also for [__USE_XOPEN_EXTENDED].
32474 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32475 [__USE_XOPEN_EXTENDED].
32476 (SA_RESTART): Likewise.
32477 (SA_NODEFER): Likewise.
32478 (SA_RESETHAND): Likewise.
32479 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
32480 (struct sigaction): Define sa_handler and sa_sigaction using union
32481 also for [__USE_XOPEN_EXTENDED].
32482 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32483 [__USE_XOPEN_EXTENDED].
32484 (SA_RESTART): Likewise.
32485 (SA_NODEFER): Likewise. Define directly rather than as alias.
32486 (SA_RESETHAND): Likewise.
32487 (SA_INTERRUPT): Define only for [__USE_MISC].
32488 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
32489 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
32491 (SA_STACK): Define only for [__USE_MISC].
32492 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
32493 (struct sigaction): Define sa_handler and sa_sigaction using union
32494 also for [__USE_XOPEN_EXTENDED].
32495 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32496 [__USE_XOPEN_EXTENDED].
32497 (SA_RESTART): Likewise.
32498 (SA_NODEFER): Likewise.
32499 (SA_RESETHAND): Likewise.
32500 (SA_NOPTRACE): Define only for [__USE_MISC].
32502 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
32503 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
32504 (struct catalog_info): Likewise.
32505 * inet/htontest.c (lo): Likewise.
32507 * inet/inet_lnaof.c (inet_lnaof): Likewise.
32508 * inet/inet_net.c (inet_network): Likewise.
32509 * inet/inet_netof.c (inet_netof): Likewise.
32510 * inet/rcmd.c (__ivaliduser): Likewise.
32511 (iruserok): Likewise.
32512 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
32513 * locale/programs/locale-spec.c (locale_special): Likewise.
32514 * nis/nis_findserv.c (struct findserv_req): Likewise.
32515 (__nis_findfastest_with_timeout): Likewise.
32516 * nss/test-netdb.c (test_network): Likewise.
32517 * resolv/inet_neta.c (inet_neta): Likewise.
32518 * resolv/ns_date.c (ns_datetosecs): Likewise.
32519 (SECS_PER_DAY): Likewise.
32520 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
32522 * resolv/res_comp.c (__putlong): Likewise.
32523 (__putshort): Likewise.
32524 (_getlong): Likewise.
32525 (_getshort): Likewise.
32526 * resolv/res_debug.c (p_time): Likewise.
32527 (precsize_ntoa): Likewise.
32528 (precsize_aton): Likewise.
32529 (latlon2ul): Likewise.
32530 (loc_aton): Likewise.
32531 (loc_ntoa): Likewise.
32532 * resolv/res_hconf.c (struct netaddr): Likewise.
32533 (_res_hconf_reorder_addrs): Likewise.
32534 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
32535 (clnttcp_control): Likewise.
32536 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32537 (clntudp_control): Likewise.
32538 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
32539 (clntunix_control): Likewise.
32540 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
32541 * sunrpc/rpc/auth.h (union des_block): Likewise.
32542 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
32543 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
32544 (xdrrec_create): Likewise.
32545 (xdrrec_endofrecord): Likewise.
32546 (flush_out): Likewise.
32547 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
32548 (xdrstdio_putlong): Likewise.
32549 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
32552 * misc/sys/cdefs.h (__long_double_t): Remove.
32553 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
32554 instead of __long_double_t,
32555 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
32557 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
32559 * benchtests/scripts/compare_strings.py: Avoid display error when
32560 running on a text terminal.
32562 * benchtests/scripts/compare_strings.py (main): Add an
32563 optional -base option.
32564 (process_results): New argument base_func.
32566 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
32568 * benchtests/bench-memcpy-large.c (test_name): Likewise.
32569 * benchtests/bench-memcpy-random.c (test_name): Likewise.
32571 2017-08-07 Andreas Schwab <schwab@suse.de>
32573 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
32574 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
32575 * intl/Makefile ($(objpfx)tst-gettext.out)
32576 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
32577 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
32578 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
32579 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
32580 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
32581 * posix/Makefile ($(objpfx)globtest.out)
32582 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
32583 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
32584 ($(objpfx)tst-printf.out): Likewise.
32585 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
32586 ($(objpfx)tst-setcontext3.out): Likewise.
32588 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
32590 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32591 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
32592 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
32593 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
32594 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
32596 (CFLAGS-doasin-fma.c): New.
32597 (CFLAGS-dosincos-fma.c): Likewise.
32598 (CFLAGS-e_asin-fma.c): Likewise.
32599 (CFLAGS-e_atan2-fma.c): Likewise.
32600 (CFLAGS-e_exp-fma.c): Likewise.
32601 (CFLAGS-e_log-fma.c): Likewise.
32602 (CFLAGS-e_pow-fma.c): Likewise.
32603 (CFLAGS-halfulp-fma.c): Likewise.
32604 (CFLAGS-mpa-fma.c): Likewise.
32605 (CFLAGS-mpatan-fma.c): Likewise.
32606 (CFLAGS-mpatan2-fma.c): Likewise.
32607 (CFLAGS-mpexp-fma.c): Likewise.
32608 (CFLAGS-mplog-fma.c): Likewise.
32609 (CFLAGS-mpsqrt-fma.c): Likewise.
32610 (CFLAGS-mptan-fma.c): Likewise.
32611 (CFLAGS-s_atan-fma.c): Likewise.
32612 (CFLAGS-sincos32-fma.c): Likewise.
32613 (CFLAGS-slowexp-fma.c): Likewise.
32614 (CFLAGS-slowpow-fma.c): Likewise.
32615 (CFLAGS-s_sin-fma.c): Likewise.
32616 (CFLAGS-s_tan-fma.c): Likewise.
32617 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
32618 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
32619 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
32620 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
32621 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
32622 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
32623 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
32624 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
32625 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
32626 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
32627 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
32628 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
32629 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
32630 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
32631 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
32632 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
32633 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
32634 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
32635 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
32636 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
32637 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
32638 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
32639 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
32640 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
32641 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32642 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32643 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32644 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
32645 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32646 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32647 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32649 2017-08-04 Joseph Myers <joseph@codesourcery.com>
32651 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
32652 (min_of_type_f): New macro.
32653 (min_of_type_): Likewise.
32654 (min_of_type_l): Likewise.
32655 (min_of_type_f128): Likewise.
32656 (min_of_type): Define using __MATH_TG and taking an expression
32658 (math_check_force_underflow): Pass expression instead of type to
32660 (math_check_force_underflow_nonneg): Likewise.
32662 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32664 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32665 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
32666 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
32668 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32670 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32671 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
32672 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
32673 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
32674 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
32675 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
32676 memcpy_chk-nonshared, mempcpy_chk-nonshared,
32677 memmove_chk-nonshared and memset_chk-nonshared
32678 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
32679 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
32680 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
32681 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
32682 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
32683 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
32684 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
32685 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
32686 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
32687 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
32688 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
32689 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
32690 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
32691 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
32692 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
32693 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
32694 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
32695 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
32696 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
32697 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
32698 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
32699 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
32700 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
32701 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
32702 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
32703 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
32704 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
32705 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
32706 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
32707 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
32708 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
32709 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
32710 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
32711 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32712 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32713 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
32714 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
32715 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
32716 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
32717 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
32718 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
32719 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
32720 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
32721 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
32722 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
32723 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
32724 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
32725 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
32726 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
32727 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
32728 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
32729 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
32730 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
32731 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
32732 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
32733 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
32734 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
32735 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
32736 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
32737 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
32738 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
32739 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
32740 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
32741 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
32742 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
32743 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
32744 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
32745 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
32746 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
32747 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
32748 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
32749 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32750 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32751 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32752 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32753 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32754 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32755 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32756 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32757 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32758 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32759 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32760 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32761 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32762 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32763 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32764 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32765 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32766 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32767 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32768 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32769 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32770 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32771 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32772 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32773 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32774 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32775 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32776 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32777 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32778 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32779 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32780 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32781 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32782 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32783 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32784 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32785 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32787 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32789 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
32790 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
32791 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
32792 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
32793 svml_d_log2_core-sse2, svml_d_log4_core-sse,
32794 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
32795 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
32796 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
32797 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
32798 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
32799 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
32800 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
32801 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
32802 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
32803 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
32804 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
32805 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
32806 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
32807 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
32808 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
32809 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
32810 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
32811 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
32812 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
32813 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
32814 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
32815 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
32816 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
32817 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
32818 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
32819 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
32820 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
32821 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
32822 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
32823 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
32824 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
32825 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
32826 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
32827 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
32828 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
32829 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
32830 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
32831 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
32832 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
32833 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
32834 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
32835 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
32836 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
32837 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
32838 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
32839 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
32840 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
32841 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
32842 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
32843 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
32844 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
32845 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
32846 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
32847 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
32849 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
32850 Don't include <sysdep.h> nor <init-arch.h>.
32851 (_ZGVbN2v_cos): Removed.
32852 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
32854 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
32855 Don't include <sysdep.h> nor <init-arch.h>.
32856 (_ZGVdN4v_cos): Removed.
32857 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
32859 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
32860 Don't include <sysdep.h> nor <init-arch.h>.
32861 (_ZGVeN8v_cos): Removed.
32862 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
32864 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
32865 Don't include <sysdep.h> nor <init-arch.h>.
32866 (_ZGVbN2v_exp): Removed.
32867 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
32869 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
32870 Don't include <sysdep.h> nor <init-arch.h>.
32871 (_ZGVdN4v_exp): Removed.
32872 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
32874 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
32875 Don't include <sysdep.h> nor <init-arch.h>.
32876 (_ZGVeN8v_exp): Removed.
32877 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
32879 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
32880 Don't include <sysdep.h> nor <init-arch.h>.
32881 (_ZGVbN2v_log): Removed.
32882 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
32884 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
32885 Don't include <sysdep.h> nor <init-arch.h>.
32886 (_ZGVdN4v_log): Removed.
32887 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
32889 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
32890 Don't include <sysdep.h> nor <init-arch.h>.
32891 (_ZGVeN8v_log): Removed.
32892 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
32894 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
32895 Don't include <sysdep.h> nor <init-arch.h>.
32896 (_ZGVbN2vv_pow): Removed.
32897 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
32899 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
32900 Don't include <sysdep.h> nor <init-arch.h>.
32901 (_ZGVdN4vv_pow): Removed.
32902 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
32904 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
32905 Don't include <sysdep.h> nor <init-arch.h>.
32906 (_ZGVeN8vv_pow): Removed.
32907 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
32909 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
32910 Don't include <sysdep.h> nor <init-arch.h>.
32911 (_ZGVbN2v_sin): Removed.
32912 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
32914 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
32915 Don't include <sysdep.h> nor <init-arch.h>.
32916 (_ZGVbN4v_sin): Removed.
32917 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
32919 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
32920 Don't include <sysdep.h> nor <init-arch.h>.
32921 (_ZGVbN8v_sin): Removed.
32922 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
32924 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
32925 Don't include <sysdep.h> nor <init-arch.h>.
32926 (_ZGVbN2vvv_sincos): Removed.
32927 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
32929 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
32930 Don't include <sysdep.h> nor <init-arch.h>.
32931 (_ZGVdN4vvv_sincos): Removed.
32932 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
32934 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
32935 Don't include <sysdep.h> nor <init-arch.h>.
32936 (_ZGVeN8vvv_sincos): Removed.
32937 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
32939 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
32940 Don't include <sysdep.h> nor <init-arch.h>.
32941 (_ZGVeN16v_cosf): Removed.
32942 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
32944 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
32945 Don't include <sysdep.h> nor <init-arch.h>.
32946 (_ZGVbN4v_cosf): Removed.
32947 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
32949 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
32950 Don't include <sysdep.h> nor <init-arch.h>.
32951 (_ZGVdN8v_cosf): Removed.
32952 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
32954 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
32955 Don't include <sysdep.h> nor <init-arch.h>.
32956 (_ZGVeN16v_expf): Removed.
32957 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
32959 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
32960 Don't include <sysdep.h> nor <init-arch.h>.
32961 (_ZGVbN4v_expf): Removed.
32962 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
32964 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
32965 Don't include <sysdep.h> nor <init-arch.h>.
32966 (_ZGVdN8v_expf): Removed.
32967 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
32969 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
32970 Don't include <sysdep.h> nor <init-arch.h>.
32971 (_ZGVeN16v_logf): Removed.
32972 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
32974 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
32975 Don't include <sysdep.h> nor <init-arch.h>.
32976 (_ZGVbN4v_logf): Removed.
32977 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
32979 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
32980 Don't include <sysdep.h> nor <init-arch.h>.
32981 (_ZGVdN8v_logf): Removed.
32982 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
32984 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
32985 Don't include <sysdep.h> nor <init-arch.h>.
32986 (_ZGVeN16vv_powf): Removed.
32987 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
32989 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
32990 Don't include <sysdep.h> nor <init-arch.h>.
32991 (_ZGVbN4vv_powf): Removed.
32992 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
32994 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
32995 Don't include <sysdep.h> nor <init-arch.h>.
32996 (_ZGVdN8vv_powf): Removed.
32997 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
32999 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
33000 Don't include <sysdep.h> nor <init-arch.h>.
33001 (_ZGVeN16vvv_sincosf): Removed.
33002 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
33004 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
33005 Don't include <sysdep.h> nor <init-arch.h>.
33006 (_ZGVbN4vvv_sincosf): Removed.
33007 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
33009 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
33010 Don't include <sysdep.h> nor <init-arch.h>.
33011 (_ZGVdN8vvv_sincosf): Removed.
33012 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
33014 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
33015 Don't include <sysdep.h> nor <init-arch.h>.
33016 (_ZGVeN16v_sinf): Removed.
33017 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
33019 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
33020 Don't include <sysdep.h> nor <init-arch.h>.
33021 (_ZGVbN4v_sinf): Removed.
33022 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
33024 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
33025 Don't include <sysdep.h> nor <init-arch.h>.
33026 (_ZGVdN8v_sinf): Removed.
33028 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33030 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33031 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
33032 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
33033 s_rint-sse4_1 and s_rintf-sse4_1.
33034 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
33035 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
33036 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
33037 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
33038 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
33039 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
33040 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
33041 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
33042 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
33043 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
33044 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
33045 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33047 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
33048 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
33049 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33050 (__ceilf): Removed.
33051 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
33052 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
33053 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33054 (__floor): Removed.
33055 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
33056 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
33057 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33058 (__floorf): Removed.
33059 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
33060 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
33061 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33062 (__nearbyint): Removed.
33063 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
33064 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
33065 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33066 (__nearbyintf): Removed.
33067 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
33068 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
33069 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33071 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
33072 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
33073 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33074 (__rintf): Removed.
33076 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33078 * sysdeps/i386/start.S (_start): Check Check PIC instead of
33079 SHARED. Avoid dynamic relocation against main in static PIE.
33081 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33084 * elf/Makefile (CFLAGS-tst-prelink.c): New.
33085 (LDFLAGS-tst-prelink): Likewise.
33087 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33089 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
33090 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
33091 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
33092 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
33093 (INTERNAL_SYSCALL_NCS): Likewise.
33094 (LOADARGS_1): Likewise.
33095 (LOADARGS_5): Likewise.
33096 (RESTOREARGS_1): Likewise.
33097 (RESTOREARGS_5): Likewise.
33099 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33101 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
33102 (MEMPCPY_SYMBOL): Likewise.
33103 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
33104 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
33105 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
33107 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33108 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
33110 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
33111 (__hidden_ver1): Don't use in libc.a.
33112 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
33113 (__mempcpy): Don't create a weak alias in libc.a.
33114 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
33116 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
33117 (__hidden_ver1): Don't use in libc.a.
33119 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33121 * config.make.in (have-insert): New.
33122 * configure.ac (libc_cv_insert): New. Set to yes if linker
33123 supports INSERT in linker script.
33124 (AC_SUBST(libc_cv_insert): New.
33125 * configure: Regenerated.
33126 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
33127 if $(have-insert) == yes.
33129 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33131 * elf/Makefile (tests): Add vismain only if
33132 $(have-protected-data) == yes.
33133 (tests-pie): Likewise.
33135 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33138 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
33139 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
33141 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33144 * sysdeps/i386/i586/memset.S
33145 (__memset_zero_constant_len_parameter): Removed.
33146 * sysdeps/i386/i686/memset.S
33147 (__memset_zero_constant_len_parameter): Likewise.
33148 * sysdeps/i386/i686/multiarch/memset_chk.S
33149 (__memset_zero_constant_len_parameter): Likewise.
33150 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
33153 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
33155 * stdlib/getentropy.c (getentropy): Change return type to int.
33157 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
33159 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
33161 2017-08-03 Joseph Myers <joseph@codesourcery.com>
33163 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
33165 * math/s_nexttowardf.c (__nexttowardf): Likewise.
33166 * sysdeps/generic/math_private.h (ieee_double_shape_type):
33168 (ieee_float_shape_type): Likewise.
33169 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
33170 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
33171 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
33172 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33173 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
33174 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
33175 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
33176 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
33177 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
33179 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
33180 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
33181 (__ieee754_yn): Likewise.
33182 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
33183 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
33184 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
33186 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
33187 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
33188 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
33189 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
33190 (__erfc): Likewise.
33191 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
33192 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
33193 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
33194 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
33195 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
33196 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
33198 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
33199 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
33200 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
33201 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
33202 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
33203 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
33204 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
33205 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
33206 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
33207 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
33208 (__issignaling): Likewise.
33209 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
33210 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
33211 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
33213 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33214 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
33215 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
33216 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
33218 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
33220 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
33221 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
33222 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
33223 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
33224 (__erfcf): Likewise.
33225 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
33226 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
33227 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
33228 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
33230 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
33231 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
33233 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
33234 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
33235 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
33236 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
33237 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
33238 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
33239 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
33240 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
33242 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
33244 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
33246 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
33247 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
33249 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
33251 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
33252 (__ieee754_ynl): Likewise.
33253 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
33254 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
33256 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
33258 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
33259 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
33260 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33262 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
33263 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
33264 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
33265 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
33266 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
33267 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
33268 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
33269 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
33271 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
33272 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
33273 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
33275 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
33276 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
33277 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
33278 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
33279 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
33280 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33282 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
33284 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33286 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33288 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
33289 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
33290 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33291 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
33292 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
33293 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
33294 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
33296 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
33298 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
33299 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33301 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
33302 (__ieee754_remainderl): Likewise.
33303 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33304 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33305 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
33306 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
33308 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
33309 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33311 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33312 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
33313 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
33314 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
33315 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
33316 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
33318 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
33319 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
33320 (__ieee754_y0l): Likewise.
33323 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33324 (__ieee754_y1l): Likewise.
33327 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
33328 (__ieee754_ynl): Likewise.
33329 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
33330 (__ieee754_lgammal_r): Likewise.
33331 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
33333 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
33334 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
33335 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
33336 (__erfcl): Likewise.
33337 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
33338 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
33340 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
33341 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
33342 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
33343 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
33344 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
33345 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33346 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33348 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
33349 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
33350 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
33351 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
33352 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33354 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
33355 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
33357 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
33358 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
33359 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
33360 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
33361 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
33363 2017-08-03 Florian Weimer <fweimer@redhat.com>
33366 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
33367 on memory allocation failure.
33369 2017-08-03 Alan Modra <amodra@gmail.com>
33371 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
33372 tst-tlsopt-powerpc.c with function name change and no test harness.
33373 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
33374 Call tls_get_addr_opt_test.
33375 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
33376 (modules-names): Add mod-tlsopt-powerpc.
33377 (mod-tlsopt-powerpc.so-no-z-defs): Define.
33378 (tst-tlsopt-powerpc): Depend on .so.
33379 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
33380 define. Expand use in TLS_GD and TLS_LD.
33382 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
33384 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
33386 * sysdeps/posix/shm_open.c: Include <pthread.h>.
33388 2017-08-02 Joseph Myers <joseph@codesourcery.com>
33391 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
33392 comparing size with that of double.
33393 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
33394 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
33395 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
33396 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
33397 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33398 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
33399 unsigned __int128 types.
33401 2017-08-02 Steve Ellcey <sellcey@cavium.com>
33403 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
33404 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
33405 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
33406 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
33407 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
33409 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33411 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
33413 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33415 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
33417 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
33418 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
33419 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33420 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
33421 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
33422 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
33423 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
33425 2017-08-02 Joseph Myers <joseph@codesourcery.com>
33428 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
33429 bit-field expressions passed to sizeof or typeof.
33430 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33431 (__TGMATH_F128): Likewise.
33432 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33433 (__TGMATH_CF128): Likewise.
33434 (__TGMATH_UNARY_REAL_ONLY): Likewise.
33435 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
33436 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
33437 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
33438 (__TGMATH_BINARY_REAL_ONLY): Likewise.
33439 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
33440 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
33441 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
33442 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
33443 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
33444 (__TGMATH_UNARY_REAL_IMAG): Likewise.
33445 (__TGMATH_UNARY_IMAG): Likewise.
33446 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
33447 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33448 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
33450 (define_vars_for_type): Handle bit_field type specially.
33451 (Tests.__init__): Declare structure with bit-field element.
33453 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33456 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
33457 (MEMCPY_CHK): Define only if SHARED is defined.
33458 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
33460 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
33463 See ChangeLog.18 for earlier changes.